:root {
  --canvas: #F1F4F0;
  --surface: #F8F9F6;
  --elevated: #FCFCFA;
  --navigation: #E8EDE8;
  --header: #F3F6F2;
  --outline: #D8DED8;
  --divider: #E3E8E3;
  --text: #202522;
  --secondary: #68736D;
  --muted: #929B95;
  --accent: #718B7C;
  --accent-hover: #60786A;
  --accent-active: #506457;
  --selection: #D8E5DC;
  --success: #78967D;
  --oak: #B9A37E;
  --pine: #405D4B;
  --shadow-soft: 0 18px 48px rgba(54, 67, 58, 0.10);
  --shadow-deep: 0 42px 110px rgba(39, 50, 43, 0.18);
  --inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.78), inset 0 -1px 0 rgba(216, 222, 216, 0.45);
  --radius: 8px;
  --content: 1180px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.78), transparent 30rem),
    radial-gradient(circle at 86% 12%, rgba(216, 229, 220, 0.68), transparent 28rem),
    linear-gradient(180deg, #FAFBF8 0%, var(--canvas) 46%, #E8EDE8 100%);
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 640ms ease;
}

body.ready {
  opacity: 1;
}

body.page-leaving {
  opacity: 0;
}

::selection {
  background: var(--selection);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-active);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.paper-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32,37,34,0.035) 1px, transparent 1px),
    repeating-radial-gradient(circle at 40% 20%, rgba(32,37,34,0.08) 0 1px, transparent 1px 5px);
  background-size: 34px 34px, 34px 34px, 13px 13px;
  mix-blend-mode: soft-light;
}

.skip-link {
  background: var(--text);
  color: var(--elevated);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 200;
}

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

.content-width {
  margin: 0 auto;
  max-width: var(--content);
  padding-left: clamp(20px, 4vw, 46px);
  padding-right: clamp(20px, 4vw, 46px);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(232, 237, 232, 0.74);
  border-bottom: 1px solid rgba(216, 222, 216, 0.78);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 70px;
  padding: 13px clamp(20px, 4vw, 52px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  transition: background 420ms ease, box-shadow 420ms ease, border-color 420ms ease, transform 600ms var(--ease), opacity 600ms var(--ease);
}

.site-header.scenic-nav {
  background: linear-gradient(180deg, rgba(248,249,246,0.44), rgba(248,249,246,0.16));
  border-bottom-color: transparent;
}

.site-header.is-scrolled {
  background: rgba(248, 249, 246, 0.88);
  border-bottom-color: rgba(216, 222, 216, 0.78);
  box-shadow: var(--shadow-soft);
}

.site-header.nav-vanish {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 650;
}

.brand-mark {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 12px;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(252, 252, 250, 0.66);
  border-color: rgba(216, 222, 216, 0.72);
  color: var(--text);
}

main:not(.home-journey) {
  padding-top: 70px;
}

.eyebrow {
  color: var(--accent-active);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.2rem, 7.4vw, 6rem);
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 560;
  line-height: 1.18;
}

p {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.home-journey {
  background:
    linear-gradient(180deg, rgba(248,249,246,0) 0, rgba(241,244,240,0.9) 42%, rgba(232,237,232,0.75) 100%);
}

.scene {
  min-height: 100svh;
  position: relative;
}

.scene-approach {
  align-items: center;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  padding: 0 clamp(22px, 6vw, 110px);
}

.approach-art {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.scenic-layer {
  will-change: transform;
}

.sun-wash {
  background:
    radial-gradient(circle at 72% 36%, rgba(244, 222, 171, 0.42), transparent 7rem),
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.92), transparent 26rem);
  inset: -8%;
  position: absolute;
}

.contours {
  bottom: 0;
  height: 100%;
  left: 0;
  opacity: 0.18;
  position: absolute;
  width: 100%;
}

.contours path {
  fill: none;
  stroke: var(--accent-active);
  stroke-width: 1;
}

.mountain {
  clip-path: polygon(0 76%, 12% 54%, 21% 64%, 35% 40%, 47% 63%, 58% 48%, 73% 67%, 86% 44%, 100% 71%, 100% 100%, 0 100%);
  left: -8%;
  position: absolute;
  right: -8%;
}

.mountain-far {
  background: linear-gradient(180deg, rgba(216,222,216,0.18), rgba(216,222,216,0.72));
  bottom: 16%;
  height: 52%;
}

.mountain-mid {
  background: linear-gradient(180deg, rgba(194,207,196,0.20), rgba(166,184,170,0.58));
  bottom: 2%;
  height: 46%;
  transform: scaleX(1.08);
}

.fog-sheet {
  background: linear-gradient(90deg, transparent 0, rgba(252,252,250,0.82) 18%, rgba(252,252,250,0.58) 50%, rgba(252,252,250,0.84) 76%, transparent 100%);
  filter: blur(22px);
  height: 22vh;
  left: -12%;
  opacity: 0.78;
  position: absolute;
  right: -12%;
}

.fog-one {
  bottom: 26%;
}

.fog-two {
  bottom: 10%;
  opacity: 0.68;
}

.cabin-glow {
  background: radial-gradient(circle, rgba(212,180,119,0.72) 0 6px, rgba(212,180,119,0.22) 7px 28px, transparent 50px);
  bottom: 24%;
  height: 70px;
  left: 67%;
  position: absolute;
  width: 70px;
}

.pine-band,
.near-pines {
  bottom: -2px;
  left: -5%;
  position: absolute;
  right: -5%;
}

.pine-band {
  background:
    linear-gradient(135deg, transparent 35%, rgba(64,93,75,0.26) 36% 45%, transparent 46%) 0 0 / 44px 120px,
    linear-gradient(225deg, transparent 35%, rgba(64,93,75,0.22) 36% 45%, transparent 46%) 0 0 / 44px 120px;
  height: 220px;
  opacity: 0.68;
}

.near-pines {
  background:
    linear-gradient(135deg, transparent 32%, rgba(32,37,34,0.20) 33% 42%, transparent 43%) 0 0 / 64px 210px,
    linear-gradient(225deg, transparent 32%, rgba(32,37,34,0.18) 33% 42%, transparent 43%) 0 0 / 64px 210px;
  height: 280px;
  opacity: 0.58;
}

.approach-copy {
  margin-top: 7vh;
  max-width: 980px;
  position: relative;
  z-index: 3;
}

.approach-copy h1 {
  max-width: 10ch;
}

.approach-copy p:not(.eyebrow) {
  color: #46524B;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.55;
  margin-top: 28px;
  max-width: 720px;
}

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 950ms var(--ease), transform 950ms var(--ease);
}

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

.scene-grow {
  min-height: 430vh;
  background:
    linear-gradient(180deg, rgba(241,244,240,0.92), rgba(248,249,246,0.88) 34%, rgba(232,237,232,0.75) 100%);
}

.workspace-sticky {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(280px, 0.58fr) minmax(520px, 1fr);
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(86px, 9vw, 130px) clamp(22px, 5vw, 90px);
  position: sticky;
  top: 0;
}

.workspace-copy {
  max-width: 560px;
}

.workspace-copy h2 {
  font-size: clamp(2.7rem, 6vw, 6.6rem);
}

.workspace-copy p:not(.eyebrow) {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  margin-top: 24px;
}

.assembling-workspace {
  height: min(68vh, 680px);
  min-height: 520px;
  position: relative;
}

.workspace-part {
  transition: opacity 820ms var(--ease), transform 820ms var(--ease), filter 820ms var(--ease);
}

.manuscript-page {
  background:
    linear-gradient(180deg, rgba(255,255,253,0.95), rgba(252,252,250,0.92)),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(216,222,216,0.34) 34px 35px);
  border: 1px solid rgba(216,222,216,0.9);
  box-shadow: var(--shadow-deep), var(--inset-soft);
  left: 50%;
  min-height: 560px;
  padding: clamp(36px, 5vw, 74px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(66%, 520px);
  z-index: 5;
}

.doc-kicker {
  color: var(--accent-active);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manuscript-page h3 {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  margin-top: 26px;
}

.manuscript-page p:not(.doc-kicker) {
  color: #3E4841;
  font-family: "Lora", Georgia, serif;
  font-size: 1.08rem;
  margin-top: 26px;
}

.caret {
  animation: blink 1.4s steps(2) infinite;
  background: var(--accent-active);
  display: inline-block;
  height: 1.3em;
  margin-top: 24px;
  width: 2px;
}

.chapter-rail,
.scene-rail,
.inspector,
.research-thread {
  background: rgba(252,252,250,0.68);
  border: 1px solid rgba(216,222,216,0.9);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  position: absolute;
}

.chapter-rail {
  display: grid;
  gap: 14px;
  left: 2%;
  opacity: 0;
  padding: 22px;
  top: 16%;
  transform: translateX(44px);
  width: 25%;
}

.chapter-rail span {
  border-bottom: 1px solid var(--divider);
  color: var(--secondary);
  font-size: 0.9rem;
  padding-bottom: 12px;
}

.scene-rail {
  bottom: 8%;
  display: grid;
  gap: 10px;
  left: 24%;
  opacity: 0;
  padding: 18px;
  transform: translateY(34px);
  width: 44%;
}

.scene-rail span,
.inspector span {
  background: rgba(104,115,109,0.20);
  display: block;
  height: 8px;
}

.inspector {
  opacity: 0;
  padding: 22px;
  right: 4%;
  top: 18%;
  transform: translateX(-44px);
  width: 27%;
}

.inspector p {
  color: var(--accent-active);
  font-size: 0.78rem;
  font-weight: 750;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.inspector span {
  margin-bottom: 12px;
}

.research-thread {
  bottom: 18%;
  display: flex;
  gap: 10px;
  opacity: 0;
  padding: 16px;
  right: 0;
  transform: translateY(38px) scale(0.96);
}

.research-thread span {
  background: rgba(216,229,220,0.72);
  border: 1px solid rgba(113,139,124,0.18);
  color: var(--accent-active);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 11px;
  white-space: nowrap;
}

.workspace-sticky[data-stage="1"] .chapter-rail,
.workspace-sticky[data-stage="2"] .chapter-rail,
.workspace-sticky[data-stage="3"] .chapter-rail,
.workspace-sticky[data-stage="4"] .chapter-rail,
.workspace-sticky[data-stage="2"] .scene-rail,
.workspace-sticky[data-stage="3"] .scene-rail,
.workspace-sticky[data-stage="4"] .scene-rail,
.workspace-sticky[data-stage="3"] .inspector,
.workspace-sticky[data-stage="4"] .inspector,
.workspace-sticky[data-stage="4"] .research-thread {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.workspace-sticky[data-stage="4"] .manuscript-page {
  transform: translate(-50%, -50%) scale(0.98);
}

.principles-cinema {
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,0.82), transparent 25rem),
    linear-gradient(180deg, rgba(232,237,232,0.75), rgba(248,249,246,0.94));
  padding: clamp(90px, 12vw, 170px) clamp(22px, 6vw, 110px);
}

.principle-moment {
  align-items: center;
  display: grid;
  gap: clamp(34px, 7vw, 110px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 1fr);
  min-height: 78svh;
  max-width: 1320px;
  margin: 0 auto;
}

.principle-moment:nth-child(even) {
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.78fr);
}

.principle-moment span {
  color: var(--accent);
  display: block;
  font-weight: 800;
  margin-bottom: 18px;
}

.principle-moment h2 {
  max-width: 12ch;
}

.principle-moment p {
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
  margin-top: 24px;
  max-width: 540px;
}

.moment-visual {
  min-height: 46vh;
  position: relative;
}

.moment-visual::before,
.moment-visual::after {
  content: "";
  position: absolute;
}

.visual-page::before {
  background: var(--elevated);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-deep), var(--inset-soft);
  inset: 7% 22% 4% 18%;
}

.visual-page::after {
  background: repeating-linear-gradient(0deg, rgba(104,115,109,0.26) 0 1px, transparent 1px 28px);
  inset: 19% 31% 16% 27%;
}

.visual-panels::before {
  background:
    linear-gradient(90deg, rgba(252,252,250,0.54) 0 24%, transparent 24% 31%, rgba(252,252,250,0.95) 31% 69%, transparent 69% 76%, rgba(252,252,250,0.54) 76% 100%);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  inset: 10% 2% 10% 2%;
}

.visual-panels::after {
  background: linear-gradient(180deg, rgba(113,139,124,0.34), rgba(113,139,124,0.08));
  inset: 28% 42% 28% 42%;
}

.visual-folder::before {
  background: linear-gradient(180deg, rgba(252,252,250,0.94), rgba(241,244,240,0.9));
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-deep);
  clip-path: polygon(0 18%, 30% 18%, 36% 8%, 58% 8%, 64% 18%, 100% 18%, 100% 100%, 0 100%);
  inset: 12% 8% 8% 8%;
}

.visual-folder::after {
  background: repeating-linear-gradient(0deg, rgba(104,115,109,0.20) 0 1px, transparent 1px 22px);
  inset: 34% 20% 22% 20%;
}

.visual-retreat::before {
  background: var(--elevated);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-deep);
  inset: 10% 28% 8% 28%;
}

.visual-retreat::after {
  background:
    linear-gradient(90deg, rgba(252,252,250,0.18), transparent 24%, transparent 76%, rgba(252,252,250,0.18)),
    radial-gradient(circle, rgba(252,252,250,0.78), transparent 18rem);
  inset: 0;
}

.visual-annotation::before {
  background: var(--elevated);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-deep);
  inset: 8% 30% 8% 10%;
}

.visual-annotation::after {
  background:
    linear-gradient(90deg, var(--accent) 0 3px, transparent 3px),
    linear-gradient(180deg, rgba(252,252,250,0.82), rgba(248,249,246,0.78));
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft);
  inset: 22% 6% 42% 54%;
}

.project-today {
  align-items: center;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,255,255,0.86), transparent 21rem),
    linear-gradient(180deg, rgba(248,249,246,0.96), rgba(232,237,232,0.76));
  display: grid;
  padding: clamp(60px, 10vw, 120px) clamp(22px, 6vw, 110px);
}

.today-panel {
  background: rgba(252,252,250,0.68);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  max-width: 960px;
  padding: clamp(32px, 6vw, 76px);
}

.today-panel h2 {
  max-width: 12ch;
}

.today-panel p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin-top: 26px;
  max-width: 700px;
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.inline-links a,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 650;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.inline-links a {
  background: rgba(252,252,250,0.62);
  border: 1px solid var(--outline);
  color: var(--accent-active);
  box-shadow: var(--inset-soft);
}

.inline-links a:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--elevated);
}

.button.quiet {
  background: rgba(252,252,250,0.62);
  border: 1px solid var(--outline);
  color: var(--text);
}

.scene-disappear {
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(252,252,250,0.92), transparent 19rem),
    linear-gradient(180deg, rgba(232,237,232,0.78), rgba(241,244,240,0.98));
  display: grid;
  justify-items: center;
  min-height: 130svh;
  overflow: hidden;
  padding: 9vh 22px;
}

.disappear-copy {
  margin-top: -4vh;
  max-width: 940px;
  text-align: center;
}

.disappear-copy p {
  color: var(--text);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 7.4rem);
  line-height: 1.02;
}

.page-hero {
  padding: clamp(92px, 12vw, 150px) 0 clamp(54px, 8vw, 96px);
}

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

.page-hero p:not(.eyebrow) {
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  margin-top: 24px;
  max-width: 780px;
}

.philosophy-list {
  padding-bottom: clamp(90px, 12vw, 150px);
}

.philosophy-room {
  display: grid;
  min-height: 58svh;
  place-items: center;
  padding: 0 clamp(20px, 6vw, 90px) clamp(60px, 10vw, 110px);
}

.philosophy-room-paper {
  background:
    linear-gradient(180deg, rgba(252,252,250,0.92), rgba(248,249,246,0.78)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(216,222,216,0.36) 43px 44px);
  box-shadow: 0 28px 70px rgba(54,67,58,0.13);
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  padding: clamp(34px, 6vw, 82px);
  width: 100%;
}

.philosophy-room-paper span {
  color: var(--text);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  line-height: 1.14;
}

.philosophy-item {
  border-top: 1px solid var(--divider);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.36fr 1fr;
  padding: clamp(30px, 5vw, 58px) 0;
}

.philosophy-item h2 {
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  max-width: 10ch;
  text-wrap: balance;
}

.philosophy-item p {
  font-size: 1.08rem;
  max-width: 760px;
}

.blog-index {
  padding-bottom: clamp(90px, 12vw, 150px);
}

.blog-card {
  align-items: center;
  background: rgba(252,252,250,0.64);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  display: grid;
  gap: 24px;
  grid-template-columns: 160px 1fr auto;
  min-height: 150px;
  padding: 24px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-deep), var(--inset-soft);
  transform: translateY(-3px);
}

.blog-card time,
.article-date {
  color: var(--accent-active);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
}

.blog-card .arrow {
  color: var(--accent-active);
  font-size: 1.9rem;
}

.article-shell {
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(92px, 11vw, 142px) clamp(20px, 4vw, 46px) clamp(90px, 12vw, 150px);
}

.article-shell h1 {
  max-width: 12ch;
}

.article-back-link {
  align-items: center;
  color: var(--accent-active);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 750;
  gap: 8px;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.article-back-link::before {
  content: none;
}

.article-back-link i {
  font-size: 0.95rem;
  line-height: 1;
}

.article-back-link:hover {
  color: var(--accent-hover);
  transform: translateX(-3px);
}

.article-content {
  background: rgba(252,252,250,0.7);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  margin-top: 42px;
  padding: clamp(28px, 5vw, 58px);
}

.article-content h1,
.article-content h2,
.article-content h3 {
  line-height: 1.1;
  margin: 1.6em 0 0.55em;
}

.article-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-content p,
.article-content li {
  color: #3D4841;
  line-height: 1.8;
}

.article-content p {
  margin: 1em 0;
}

.article-content ul,
.article-content ol {
  color: var(--secondary);
  padding-left: 1.4rem;
}

.article-content blockquote {
  background: rgba(216, 229, 220, 0.34);
  box-shadow: inset 0 0 0 1px rgba(113,139,124,0.18);
  color: var(--secondary);
  margin: 2rem 0;
  padding: 1rem 1.2rem;
}

.article-content table {
  border-collapse: collapse;
  margin: 2rem 0;
  width: 100%;
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--divider);
  padding: 12px;
  text-align: left;
}

.article-content pre {
  background: #F4F6F2;
  border: 1px solid var(--divider);
  overflow: auto;
  padding: 18px;
}

.article-content code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.roadmap-section {
  padding-bottom: clamp(90px, 12vw, 160px);
}

.roadmap-grid {
  display: grid;
  gap: 48px 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.roadmap-grid::before {
  background:
    linear-gradient(90deg, var(--success) 0 18%, var(--accent) 18% 25%, var(--outline) 25% 100%) 7% 54px / 86% 12px no-repeat,
    linear-gradient(var(--outline), var(--outline)) calc(93% - 6px) 54px / 12px calc(50% - 6px) no-repeat,
    linear-gradient(90deg, var(--outline), var(--outline)) 7% calc(50% + 48px) / 86% 12px no-repeat,
    linear-gradient(var(--outline), var(--outline)) 7% calc(50% + 48px) / 12px calc(50% - 6px) no-repeat,
    linear-gradient(90deg, var(--outline), var(--outline)) 7% calc(100% - 196px) / 86% 12px no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.roadmap-card {
  background: rgba(252,252,250,0.7);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  min-height: 250px;
  padding: 26px;
  position: relative;
  z-index: 1;
}

.roadmap-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease), box-shadow 240ms ease;
}

.roadmap-card:not(.is-visible) {
  opacity: 0.72;
  transform: translateY(18px);
}

.roadmap-card:nth-child(2) { animation-delay: 90ms; }
.roadmap-card:nth-child(3) { animation-delay: 180ms; }
.roadmap-card:nth-child(4) { animation-delay: 270ms; }
.roadmap-card:nth-child(5) { animation-delay: 360ms; }
.roadmap-card:nth-child(6) { animation-delay: 450ms; }
.roadmap-card:nth-child(7) { animation-delay: 540ms; }
.roadmap-card:nth-child(8) { animation-delay: 630ms; }
.roadmap-card:nth-child(9) { animation-delay: 720ms; }

.roadmap-card::before {
  background: var(--surface);
  border: 4px solid var(--outline);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(248,249,246,0.9);
  content: "";
  height: 24px;
  left: 26px;
  position: absolute;
  top: 42px;
  width: 24px;
}

.roadmap-card.done::before {
  background: var(--success);
  border-color: var(--success);
}

.roadmap-card.active::before {
  border-color: var(--accent);
}

.roadmap-card h2 {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  margin-top: 44px;
}

.roadmap-card p {
  margin-top: 14px;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 70px);
  place-items: center;
  padding: clamp(92px, 12vw, 140px) clamp(20px, 4vw, 46px);
}

.not-found-panel {
  background:
    linear-gradient(90deg, rgba(252,252,250,0.94), rgba(252,252,250,0.70)),
    url("assets/cabin-fog-path.png") center right / cover no-repeat;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-deep), var(--inset-soft);
  overflow: hidden;
  padding: clamp(38px, 7vw, 90px);
  position: relative;
  width: min(100%, 1040px);
}

.not-found-panel::after {
  border: 1px solid rgba(113,139,124,0.22);
  bottom: 50px;
  content: "";
  height: 170px;
  position: absolute;
  right: clamp(30px, 8vw, 110px);
  width: 120px;
}

.not-found-panel h1 {
  font-size: clamp(5rem, 18vw, 14rem);
}

.not-found-panel p:not(.eyebrow) {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 600px;
}


@keyframes blink {
  50% { opacity: 0; }
}

@keyframes flowIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .workspace-sticky {
    grid-template-columns: 1fr;
  }

  .assembling-workspace {
    height: 62vh;
    min-height: 500px;
  }

  .principle-moment,
  .principle-moment:nth-child(even),
  .philosophy-item {
    grid-template-columns: 1fr;
  }

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

  .roadmap-grid::before {
    bottom: 0;
    height: auto;
    left: 38px;
    right: auto;
    top: 28px;
    width: 10px;
  }

  .roadmap-card:nth-child(n) {
    grid-column: auto;
  }

  .philosophy-room-paper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 112px;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 3px;
    width: 100%;
  }

  main:not(.home-journey) {
    padding-top: 112px;
  }

  .scene-approach {
    padding-top: 92px;
  }

  .approach-copy {
    margin-top: 0;
  }

  .fog-sheet {
    left: 0;
    right: 0;
  }

  .workspace-sticky {
    padding: 118px 18px 46px;
  }

  .assembling-workspace {
    min-height: 470px;
  }

  .manuscript-page {
    min-height: 430px;
    width: min(78vw, 420px);
  }

  .chapter-rail,
  .inspector {
    width: 34%;
  }

  .chapter-rail {
    left: 0;
  }

  .inspector {
    right: 0;
  }

  .research-thread {
    left: 8%;
    right: auto;
    transform-origin: left center;
    max-width: 86vw;
    overflow: hidden;
  }

  .principles-cinema,
  .project-today {
    padding-left: 18px;
    padding-right: 18px;
  }

  .moment-visual {
    min-height: 34vh;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .philosophy-room-paper {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body {
    opacity: 1;
  }

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

/* Impeccable pass: Cabin home as atmospheric product cinema. */
.cabin-scene,
.workspace-sequence,
.principles-cinema,
.project-today,
.disappear-scene {
  overflow: hidden;
}

.approach-scene {
  align-items: end;
  background:
    radial-gradient(circle at 68% 42%, rgba(212, 180, 119, 0.16), transparent 9rem),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.94), transparent 28rem),
    linear-gradient(180deg, #F9FAF7 0%, #EEF3ED 54%, #DDE6DE 100%);
  display: grid;
  min-height: 100svh;
  padding: 0 clamp(22px, 6vw, 108px) clamp(76px, 10vh, 126px);
  position: relative;
}

.atmosphere {
  contain: paint;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.scene-layer {
  position: absolute;
  will-change: transform;
}

.morning-light {
  background:
    radial-gradient(circle at 72% 38%, rgba(212,180,119,0.42), transparent 4.5rem),
    radial-gradient(circle at 30% 8%, rgba(255,255,255,0.96), transparent 34rem);
  inset: -8%;
}

.range {
  left: -8vw;
  right: -8vw;
  clip-path: polygon(0 84%, 10% 62%, 18% 72%, 29% 44%, 39% 68%, 50% 52%, 61% 73%, 76% 43%, 88% 65%, 100% 54%, 100% 100%, 0 100%);
}

.range-a {
  background: linear-gradient(180deg, rgba(216,222,216,0.04), rgba(200,212,201,0.72));
  bottom: 17vh;
  height: 48vh;
}

.range-b {
  background: linear-gradient(180deg, rgba(184,199,187,0.08), rgba(127,153,134,0.46));
  bottom: 4vh;
  height: 45vh;
  transform: scaleX(1.08);
}

.mist {
  background:
    linear-gradient(90deg, transparent, rgba(252,252,250,0.94) 18%, rgba(252,252,250,0.58) 46%, rgba(252,252,250,0.88) 72%, transparent);
  filter: blur(18px);
  height: 22vh;
  left: -10vw;
  right: -10vw;
}

.mist-a {
  bottom: 31vh;
  opacity: 0.78;
}

.mist-b {
  bottom: 13vh;
  opacity: 0.7;
}

.window-light {
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(32,37,34,0.28) 34% 66%, transparent 66% 100%),
    radial-gradient(circle, rgba(212,180,119,0.86) 0 7px, rgba(212,180,119,0.32) 8px 42px, transparent 76px);
  bottom: 24vh;
  height: 92px;
  left: 66vw;
  opacity: 0.9;
  width: 92px;
}

.forest {
  left: -4vw;
  right: -4vw;
}

.forest-mid {
  background:
    linear-gradient(135deg, transparent 34%, rgba(64,93,75,0.34) 35% 44%, transparent 45%) 0 0 / 48px 150px,
    linear-gradient(225deg, transparent 34%, rgba(64,93,75,0.28) 35% 44%, transparent 45%) 0 0 / 48px 150px;
  bottom: 0;
  height: 230px;
}

.forest-near {
  background:
    linear-gradient(135deg, transparent 31%, rgba(32,37,34,0.28) 32% 42%, transparent 43%) 0 0 / 80px 280px,
    linear-gradient(225deg, transparent 31%, rgba(32,37,34,0.24) 32% 42%, transparent 43%) 0 0 / 80px 280px;
  bottom: -58px;
  height: 340px;
  opacity: 0.78;
}

.approach-copy {
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.approach-copy h1 {
  color: var(--text);
  max-width: 11ch;
  text-wrap: balance;
}

.approach-copy p:not(.eyebrow) {
  color: #3f4d45;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.6;
  margin-top: 26px;
  max-width: 620px;
  text-wrap: pretty;
}

.workspace-sequence {
  background:
    radial-gradient(circle at 78% 26%, rgba(255,255,255,0.82), transparent 24rem),
    linear-gradient(180deg, #E7EDE7 0%, #F7F8F4 36%, #E9EFE9 100%);
  min-height: 460vh;
}

.workspace-sticky {
  grid-template-columns: minmax(280px, 0.48fr) minmax(560px, 1fr);
}

.workspace-copy h2 {
  font-size: clamp(2.3rem, 5vw, 5.3rem);
  max-width: 9.5ch;
  text-wrap: balance;
}

.assembling-workspace {
  isolation: isolate;
}

.assembling-workspace::before {
  background:
    linear-gradient(90deg, rgba(185,163,126,0.14), transparent 22% 78%, rgba(64,93,75,0.12)),
    rgba(252,252,250,0.32);
  border: 1px solid rgba(216,222,216,0.72);
  box-shadow: 0 18px 42px rgba(54,67,58,0.08);
  content: "";
  inset: 5% 0 3%;
  position: absolute;
  z-index: 0;
}

.manuscript-page {
  border: 0;
  box-shadow: 0 24px 56px rgba(54,67,58,0.16), inset 0 0 0 1px rgba(216,222,216,0.72);
}

.chapter-rail,
.scene-rail,
.inspector,
.research-thread {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(216,222,216,0.7), 0 12px 26px rgba(54,67,58,0.07);
}

.principles-cinema {
  background:
    linear-gradient(90deg, rgba(80,100,87,0.08), transparent 34%),
    linear-gradient(180deg, #E8EDE8, #F9FAF7 36%, #EAF0EA);
}

.principle-moment {
  min-height: 88svh;
}

.principle-moment h2 {
  font-size: clamp(2.1rem, 5vw, 5rem);
  max-width: 11ch;
}

.principle-moment span {
  color: var(--accent-active);
  letter-spacing: 0;
}

.moment-visual {
  filter: saturate(0.92);
}

.project-today {
  min-height: 100svh;
}

.today-panel {
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(216,222,216,0.8), 0 22px 50px rgba(54,67,58,0.10);
}

.disappear-scene {
  background:
    radial-gradient(circle at 50% 44%, rgba(252,252,250,0.94), transparent 20rem),
    linear-gradient(180deg, #E8EDE8, #F5F7F3);
  display: grid;
  min-height: 130svh;
  place-items: center;
  padding: 8vh 22px;
}

.disappear-copy p {
  max-width: 1000px;
  text-wrap: balance;
}

@media (max-width: 1100px) {
  .workspace-sticky {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .approach-scene {
    padding-top: 130px;
  }

  .window-light {
    left: 58vw;
  }

  .workspace-sticky {
    padding-top: 136px;
  }

  .workspace-copy h2,
  .principle-moment h2 {
    max-width: 100%;
  }

  .forest-near {
    bottom: -96px;
  }
}

/* Impeccable authority pass: calmer, more tactile, less generic. */
h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1.08;
}

p {
  font-size: 1.06rem;
}

.site-header {
  background: rgba(248, 249, 246, 0.82);
  box-shadow: none;
}

.site-header.scenic-nav {
  background: linear-gradient(180deg, rgba(248,249,246,0.68), rgba(248,249,246,0.18));
}

.site-header.nav-vanish {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-nav a {
  min-height: 42px;
}

.approach-scene {
  align-items: center;
  background: var(--canvas);
  min-height: 100svh;
  padding: clamp(130px, 16vh, 180px) clamp(22px, 7vw, 132px) clamp(68px, 9vh, 112px);
}

.atmosphere-canvas {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.approach-room {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.room-plane {
  background: linear-gradient(180deg, rgba(252,252,250,0.42), rgba(232,237,232,0.16));
  border: 1px solid rgba(216,222,216,0.36);
  box-shadow: 0 38px 90px rgba(54,67,58,0.09);
  position: absolute;
  transform: rotate(-8deg);
}

.room-left {
  height: 62vh;
  left: -11vw;
  top: 24vh;
  width: 34vw;
}

.room-right {
  height: 78vh;
  right: -14vw;
  top: 12vh;
  transform: rotate(7deg);
  width: 39vw;
}

.approach-copy {
  margin-top: 0;
  max-width: 860px;
}

.approach-copy h1 {
  max-width: 12ch;
}

.approach-copy .hero-actions {
  margin-top: 32px;
}

.project-note {
  color: var(--accent-active) !important;
  font-size: 0.94rem !important;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-top: 22px !important;
}

.button.primary {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 12px 28px rgba(32,37,34,0.12);
}

.button.quiet,
.inline-links a {
  background: rgba(252,252,250,0.72);
}

.workspace-sequence {
  min-height: 245vh;
}

.workspace-sticky {
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: minmax(280px, 0.46fr) minmax(460px, 1fr);
}

.workspace-copy h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.9rem);
  line-height: 1.08;
  max-width: 11ch;
}

.workspace-copy p:not(.eyebrow) {
  max-width: 520px;
}

.assembling-workspace {
  min-height: 500px;
}

.assembling-workspace::before {
  border-radius: 10px;
  inset: 8% 2% 4%;
}

.manuscript-page {
  min-height: 500px;
  width: min(60%, 500px);
}

.principles-cinema {
  padding-top: clamp(42px, 6vw, 82px);
}

.principles-intro {
  margin: 0 auto clamp(36px, 6vw, 72px);
  max-width: 1120px;
}

.principles-intro h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  max-width: 16ch;
  text-wrap: balance;
}

.principles-intro p:not(.eyebrow) {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  margin-top: 24px;
  max-width: 720px;
}

.principle-moment {
  min-height: min(78svh, 760px);
}

.principle-moment h2 {
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1.08;
}

.moment-visual {
  min-height: 360px;
}

.project-today {
  min-height: 76svh;
}

.today-panel h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  max-width: 13ch;
}

.disappear-scene {
  min-height: 105svh;
}

.disappear-copy p {
  font-size: clamp(2.2rem, 5.8vw, 6.3rem);
  line-height: 1.07;
}

.page-hero {
  padding-top: clamp(96px, 10vw, 132px);
}

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

.philosophy-room {
  min-height: auto;
  padding-bottom: clamp(42px, 7vw, 82px);
}

.philosophy-room-paper {
  display: block;
  max-width: 1120px;
  padding: clamp(34px, 6vw, 78px);
  position: relative;
}

.philosophy-room-paper::after {
  background:
    linear-gradient(90deg, rgba(113,139,124,0.34), transparent),
    repeating-linear-gradient(90deg, rgba(216,222,216,0.56) 0 1px, transparent 1px 42px);
  bottom: clamp(22px, 4vw, 42px);
  content: "";
  height: 1px;
  left: clamp(34px, 6vw, 78px);
  position: absolute;
  right: clamp(34px, 6vw, 78px);
}

.philosophy-room-paper h2 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.14;
  max-width: 18ch;
  text-wrap: balance;
}

.philosophy-room-paper p:not(.eyebrow) {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  margin-top: 22px;
  max-width: 680px;
}

.philosophy-item {
  align-items: start;
  gap: clamp(18px, 4vw, 42px);
  grid-template-columns: 72px minmax(220px, 0.44fr) minmax(0, 1fr);
}

.philosophy-item > span {
  color: var(--accent-active);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.philosophy-item h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.55rem);
  line-height: 1.14;
  max-width: 14ch;
}

.philosophy-item p {
  font-size: 1.03rem;
  line-height: 1.82;
  max-width: 72ch;
}

.blog-index {
  display: grid;
  gap: 18px;
}

.blog-card {
  border-radius: 8px;
  grid-template-columns: minmax(120px, 0.22fr) 1fr 42px;
}

.blog-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  line-height: 1.15;
}

.article-shell {
  max-width: min(1180px, calc(100vw - 36px));
}

.article-shell header {
  max-width: 860px;
}

.article-shell h1 {
  font-size: clamp(2.5rem, 5.8vw, 5.1rem);
  max-width: 14ch;
}

.article-shell header > p:not(.eyebrow) {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  max-width: 720px;
}

.article-content {
  border-radius: 8px;
  margin-top: 36px;
  max-width: none;
  padding: clamp(28px, 5vw, 72px);
}

.article-content > * {
  max-width: 75ch;
}

.article-content pre,
.article-content table {
  max-width: 100%;
}

.article-content table {
  display: block;
  overflow-x: auto;
}

.roadmap-grid {
  align-items: start;
  column-gap: clamp(30px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(238px, auto));
  padding: 74px 0 28px;
  position: relative;
  row-gap: 118px;
}

.roadmap-grid::before {
  content: none;
}

.roadmap-line {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.snake {
  background: var(--outline);
  display: block;
  position: absolute;
}

.snake-top,
.snake-top-fill {
  border-radius: 999px;
  height: 14px;
  left: 8%;
  top: 20px;
  width: 84%;
}

.snake-top-fill {
  background: var(--accent);
  width: 23%;
  z-index: 1;
}

.snake-right-curve,
.snake-left-curve {
  background: transparent;
  border-color: var(--outline);
  border-style: solid;
  height: 358px;
  width: 96px;
}

.snake-right-curve {
  border-radius: 0 56px 56px 0;
  border-width: 14px 14px 14px 0;
  right: 3%;
  top: 20px;
}

.snake-middle {
  border-radius: 999px;
  height: 14px;
  left: 8%;
  top: 364px;
  width: 84%;
}

.snake-left-curve {
  border-radius: 56px 0 0 56px;
  border-width: 14px 0 14px 14px;
  left: 3%;
  top: 364px;
}

.snake-bottom {
  border-radius: 999px;
  height: 14px;
  left: 8%;
  top: 708px;
  width: 84%;
}

.roadmap-card {
  border-radius: 8px;
  margin-top: 0;
  min-height: 220px;
}

.roadmap-card:nth-child(n) {
  grid-column: auto;
}

.roadmap-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.roadmap-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.roadmap-card:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.roadmap-card:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.roadmap-card:nth-of-type(5) { grid-column: 2; grid-row: 2; }
.roadmap-card:nth-of-type(6) { grid-column: 1; grid-row: 2; }
.roadmap-card:nth-of-type(7) { grid-column: 1; grid-row: 3; }
.roadmap-card:nth-of-type(8) { grid-column: 2; grid-row: 3; }
.roadmap-card:nth-of-type(9) { grid-column: 3; grid-row: 3; }

.roadmap-card:nth-of-type(1),
.roadmap-card:nth-of-type(2),
.roadmap-card:nth-of-type(3) {
  margin-top: 0;
}

.roadmap-card::before {
  border-width: 4px;
  height: 26px;
  left: 24px;
  top: -66px;
  width: 26px;
}

.roadmap-card.active::before {
  background: var(--elevated);
  box-shadow: 0 0 0 7px rgba(113,139,124,0.14);
}

.roadmap-card h2 {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .workspace-sequence {
    min-height: 230vh;
  }

  .workspace-sticky,
  .principle-moment,
  .principle-moment:nth-child(even),
  .philosophy-item {
    grid-template-columns: 1fr;
  }

  .philosophy-item > span {
    font-size: 1rem;
    font-family: "Geist", system-ui, sans-serif;
    font-weight: 750;
    letter-spacing: 0.12em;
  }

  .roadmap-line {
    display: none;
  }

  .roadmap-grid {
    gap: 24px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 0;
  }

  .roadmap-card {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 0;
    padding-left: 72px;
  }

  .roadmap-card::before {
    left: 28px;
    top: 28px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .site-header {
    gap: 10px;
  }

  .approach-scene {
    min-height: 92svh;
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .button,
  .inline-links a {
    width: 100%;
  }

  .workspace-sequence {
    min-height: auto;
  }

  .workspace-sticky {
    min-height: auto;
    padding-bottom: 72px;
    position: relative;
  }

  .assembling-workspace {
    min-height: 430px;
  }

  .manuscript-page {
    min-height: 360px;
    padding: 30px;
    width: min(82vw, 420px);
  }

  .chapter-rail,
  .inspector,
  .research-thread,
  .scene-rail {
    font-size: 0.82rem;
  }

  .chapter-rail,
  .inspector {
    width: 42%;
  }

  .principle-moment {
    min-height: auto;
    padding: 52px 0;
  }

  .moment-visual {
    min-height: 260px;
  }

  .philosophy-room-paper {
    padding-bottom: 68px;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .article-shell {
    max-width: calc(100vw - 28px);
  }

  .article-content {
    padding: 24px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --secondary: #4F5B54;
    --muted: #5F6963;
    --outline: #BFC8BF;
  }

  .paper-grain {
    opacity: 0.08;
  }

  .site-header,
  .blog-card,
  .today-panel,
  .article-content,
  .roadmap-card,
  .philosophy-room-paper {
    background: var(--elevated);
  }
}

/* Frontend-design pass: Cabin as a quiet mountain writing room. */
body {
  background:
    radial-gradient(circle at 78% 8%, rgba(212,180,119,0.16), transparent 24rem),
    radial-gradient(circle at 10% 18%, rgba(255,255,255,0.82), transparent 28rem),
    linear-gradient(180deg, #F6F8F4 0%, var(--canvas) 46%, #E7EDE7 100%);
}

.site-header {
  min-height: 82px;
  padding-bottom: 15px;
  padding-top: 15px;
}

.brand {
  font-size: 1.18rem;
}

.brand-mark {
  height: 48px;
  width: 48px;
}

.site-nav a {
  font-size: 1.02rem;
  min-height: 44px;
  padding-left: 15px;
  padding-right: 15px;
}

main:not(.home-journey) {
  padding-top: 82px;
}

.approach-scene {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

.approach-art-image {
  height: 110%;
  inset: -4% 0 auto;
  object-fit: cover;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.approach-scene::after {
  background:
    linear-gradient(90deg, rgba(241,244,240,0.94) 0%, rgba(241,244,240,0.58) 42%, rgba(241,244,240,0.18) 100%),
    linear-gradient(180deg, rgba(241,244,240,0.10) 0%, rgba(241,244,240,0.82) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.workspace-sequence {
  min-height: 330vh;
}

.workspace-sticky {
  padding-bottom: clamp(54px, 7vw, 88px);
  padding-top: clamp(76px, 8vw, 112px);
}

.principles-cinema {
  padding-top: clamp(34px, 5vw, 68px);
}

.moment-image {
  aspect-ratio: 1.35 / 1;
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(54,67,58,0.10);
  filter: saturate(0.88) contrast(0.96);
  height: auto;
  object-fit: cover;
  opacity: 0.82;
  width: min(100%, 560px);
}

.principle-moment:nth-child(odd) .moment-image {
  justify-self: end;
}

.page-hero {
  min-height: 48svh;
  position: relative;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(241,244,240,0.92), rgba(241,244,240,0.64), rgba(241,244,240,0.12)),
    var(--page-hero-image) center right / min(48vw, 640px) auto no-repeat;
  content: "";
  inset: 0 clamp(20px, 4vw, 46px);
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.philosophy-room-paper,
.article-content,
.blog-card,
.today-panel,
.roadmap-card,
.not-found-panel {
  border-radius: 8px;
}

.roadmap-section {
  max-width: 1320px;
}

.roadmap-grid {
  column-gap: clamp(22px, 3.5vw, 52px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(240px, auto));
  padding: 82px 0 42px;
  row-gap: 112px;
}

.roadmap-line {
  display: block;
}

.snake-top,
.snake-top-fill {
  height: 14px;
  left: 6%;
  top: 20px;
  width: 88%;
}

.snake-top-fill {
  width: 29%;
}

.snake-right-curve,
.snake-left-curve {
  height: 368px;
  width: 92px;
}

.snake-right-curve {
  right: 2%;
  top: 20px;
}

.snake-middle {
  height: 14px;
  left: 6%;
  top: 374px;
  width: 88%;
}

.snake-left-curve {
  left: 2%;
  top: 374px;
}

.snake-bottom {
  height: 14px;
  left: 6%;
  top: 728px;
  width: 88%;
}

.roadmap-card {
  min-height: 236px;
  padding: 26px;
}

.roadmap-card:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.roadmap-card:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.roadmap-card:nth-of-type(3) { grid-column: 3; grid-row: 1; }
.roadmap-card:nth-of-type(4) { grid-column: 4; grid-row: 1; }
.roadmap-card:nth-of-type(5) { grid-column: 4; grid-row: 2; }
.roadmap-card:nth-of-type(6) { grid-column: 3; grid-row: 2; }
.roadmap-card:nth-of-type(7) { grid-column: 2; grid-row: 2; }
.roadmap-card:nth-of-type(8) { grid-column: 1; grid-row: 2; }
.roadmap-card:nth-of-type(9) { grid-column: 1; grid-row: 3; }
.roadmap-card:nth-of-type(10) { grid-column: 2; grid-row: 3; }
.roadmap-card:nth-of-type(11) { grid-column: 3; grid-row: 3; }
.roadmap-card:nth-of-type(12) { grid-column: 4; grid-row: 3; }

.roadmap-card::before {
  height: 28px;
  left: 24px;
  top: -76px;
  width: 28px;
}

.roadmap-card.active::before {
  background: var(--elevated);
  box-shadow: 0 0 0 8px rgba(113,139,124,0.13);
}

.roadmap-card h2 {
  font-size: clamp(1.2rem, 1.75vw, 1.8rem);
  margin-top: 0;
}

.roadmap-card p {
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 0;
  }

  .roadmap-line {
    display: none;
  }

  .roadmap-card:nth-of-type(n) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 122px;
  }

  main:not(.home-journey) {
    padding-top: 122px;
  }

  .brand-mark {
    height: 42px;
    width: 42px;
  }

  .approach-art-image {
    height: 100%;
    opacity: 0.76;
  }

  .page-hero::after {
    background:
      linear-gradient(180deg, rgba(241,244,240,0.92), rgba(241,244,240,0.78)),
      var(--page-hero-image) center bottom / 100% auto no-repeat;
  }
}

/* Final polish pass: measured roadmap, unique image atmospheres, calmer article links. */
.workspace-copy {
  min-height: 22rem;
}

.workspace-copy h2,
.workspace-copy p:not(.eyebrow) {
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}

.workspace-copy.is-changing h2,
.workspace-copy.is-changing p:not(.eyebrow) {
  opacity: 0;
  transform: translateY(16px);
}

.chapter-rail {
  left: 1%;
  top: 20%;
  transform: translateX(32px);
  width: 23%;
}

.scene-rail {
  bottom: 7%;
  left: 29%;
  width: 36%;
}

.inspector {
  right: 2%;
  top: 20%;
  transform: translateX(-32px);
  width: 24%;
}

.research-thread {
  bottom: 17%;
  right: 1%;
}

.project-today {
  justify-items: center;
  text-align: center;
}

.today-panel {
  margin-inline: auto;
}

.today-panel h2,
.today-panel p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.inline-links {
  justify-content: center;
}

.disappear-scene {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  justify-items: center;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 80px);
}

.disappear-image {
  aspect-ratio: 1.5 / 1;
  border: 1px solid rgba(216,222,216,0.9);
  border-radius: 8px;
  box-shadow: var(--shadow-deep), var(--inset-soft);
  display: block;
  max-height: 54svh;
  max-width: min(1040px, 92vw);
  object-fit: cover;
  opacity: 0.96;
  width: 100%;
}

.disappear-copy {
  margin-top: 0;
}

.page-hero.content-width {
  margin: 0;
  max-width: none;
  min-height: 62svh;
  overflow: hidden;
  padding: clamp(112px, 12vw, 176px) clamp(22px, 7vw, 128px) clamp(76px, 10vw, 130px);
  position: relative;
  width: 100%;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(241,244,240,0.96), rgba(241,244,240,0.76) 42%, rgba(241,244,240,0.2)),
    var(--page-hero-image) center / cover no-repeat;
  inset: 0;
  opacity: 0.72;
}

body[data-page="blog"] .page-hero::after {
  background:
    linear-gradient(90deg, rgba(241,244,240,0.96), rgba(241,244,240,0.74) 44%, rgba(241,244,240,0.16)),
    var(--page-hero-image) center / cover no-repeat;
}

body[data-page="roadmap"] .page-hero::after {
  background:
    linear-gradient(90deg, rgba(241,244,240,0.96), rgba(241,244,240,0.72) 46%, rgba(241,244,240,0.18)),
    var(--page-hero-image) center / cover no-repeat;
}

body[data-page="philosophy"] {
  --page-hero-image: url("assets/cabin-writing-room.png");
}

body[data-page="blog"] {
  --page-hero-image: url("assets/cabin-blog-room.png");
}

body[data-page="roadmap"] {
  --page-hero-image: url("assets/cabin-roadmap-table.png");
}

.article-content a {
  color: var(--accent-active);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(80,100,87,0.42);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.article-content a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(246px, 1fr));
  padding: 96px 0 36px;
  row-gap: 136px;
}

.roadmap-line {
  display: block;
  inset: 0;
  overflow: visible;
}

.roadmap-line svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.roadmap-route-base,
.roadmap-route-live {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roadmap-route-base {
  stroke: var(--outline);
  stroke-width: 14;
}

.roadmap-route-live {
  stroke: var(--accent);
  stroke-width: 14;
}

.roadmap-dot {
  fill: var(--elevated);
  stroke: var(--outline);
  stroke-width: 4;
}

.roadmap-dot.is-done {
  fill: var(--success);
  stroke: var(--success);
}

.roadmap-dot.is-active {
  fill: var(--elevated);
  stroke: var(--accent);
}

.roadmap-card::before {
  content: none;
}

.roadmap-card {
  z-index: 1;
}

@media (max-width: 1100px) {
  .roadmap-card::before {
    background: var(--surface);
    border: 4px solid var(--outline);
    border-radius: 999px;
    content: "";
    height: 24px;
    left: 24px;
    position: absolute;
    top: 24px;
    width: 24px;
  }

  .roadmap-card.done::before {
    background: var(--success);
    border-color: var(--success);
  }

  .roadmap-card.active::before {
    border-color: var(--accent);
  }
}

@media (max-width: 760px) {
  .page-hero::after,
  body[data-page="blog"] .page-hero::after,
  body[data-page="roadmap"] .page-hero::after {
    background:
      linear-gradient(180deg, rgba(241,244,240,0.96), rgba(241,244,240,0.78)),
      var(--page-hero-image) center / cover no-repeat;
  }
}

/* Stability pass: keep page atmospheres visible and make the pinned workspace reversible. */
.workspace-sticky {
  align-items: center;
}

.workspace-sequence {
  overflow: visible;
}

.research-thread {
  align-items: center;
  bottom: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(16%, 180px);
  right: 3%;
  top: 64%;
  z-index: 6;
}

.research-thread span {
  white-space: normal;
}

.page-hero.content-width {
  isolation: isolate;
  margin-bottom: clamp(42px, 7vw, 90px);
}

.page-hero::after,
body[data-page="blog"] .page-hero::after,
body[data-page="roadmap"] .page-hero::after {
  inset: 0;
  z-index: 0;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.philosophy-room {
  padding-top: clamp(26px, 5vw, 72px);
}

.blog-index {
  padding-top: clamp(18px, 4vw, 56px);
}

.roadmap-section {
  padding-top: clamp(12px, 3vw, 42px);
}

.disappear-scene.is-dissolved .disappear-image {
  opacity: 0.5;
  transform: scale(1.015);
}

.disappear-image {
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

@media (max-width: 1100px) {
  .research-thread {
    bottom: 3%;
    left: auto;
    max-width: min(40%, 320px);
    right: 4%;
    top: auto;
  }
}

@media (max-width: 760px) {
  .research-thread {
    bottom: 2%;
    left: 6%;
    max-width: 88%;
    right: 6%;
    justify-content: flex-start;
  }

  .research-thread span {
    font-size: 0.72rem;
    padding: 7px 9px;
  }

  .page-hero.content-width {
    margin-bottom: clamp(32px, 9vw, 68px);
  }
}

/* Workspace story: a 16:9 writing app that earns structure gradually. */
.assembling-workspace {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(252,252,250,0.86), rgba(241,244,240,0.72)),
    linear-gradient(90deg, rgba(216,222,216,0.32), transparent 24% 76%, rgba(216,222,216,0.26));
  border: 1px solid rgba(216,222,216,0.92);
  border-radius: 10px;
  box-shadow: 0 34px 90px rgba(54,67,58,0.15), var(--inset-soft);
  height: auto;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: min(100%, 980px);
}

.assembling-workspace::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.42), transparent),
    repeating-linear-gradient(90deg, rgba(216,222,216,0.28) 0 1px, transparent 1px 84px);
  border: 0;
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.68;
  position: absolute;
  z-index: 0;
}

.manuscript-page {
  background:
    linear-gradient(180deg, rgba(255,255,253,0.98), rgba(252,252,250,0.95)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(216,222,216,0.28) 28px 29px);
  border: 1px solid rgba(216,222,216,0.92);
  box-shadow: 0 18px 44px rgba(54,67,58,0.12), var(--inset-soft);
  left: 50%;
  min-height: auto;
  padding: clamp(24px, 3.3vw, 44px);
  top: 47%;
  transform: translate(-50%, -50%);
  transition: transform 860ms var(--ease), width 860ms var(--ease), left 860ms var(--ease);
  width: min(52%, 470px);
  z-index: 4;
}

.manuscript-page h3 {
  font-size: clamp(1.35rem, 2.1vw, 2.25rem);
  margin-top: 16px;
}

.manuscript-page p:not(.doc-kicker) {
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  line-height: 1.75;
  margin-top: 18px;
}

.chapter-rail,
.inspector,
.fantasy-timeline {
  background: rgba(252,252,250,0.58);
  border: 0;
  box-shadow: none;
  opacity: 0;
  position: absolute;
  transition: opacity 620ms var(--ease), transform 760ms var(--ease);
  z-index: 3;
}

.chapter-rail {
  display: grid;
  gap: 13px;
  left: 0;
  padding: clamp(18px, 2.2vw, 28px);
  top: 0;
  transform: translateX(-14px);
  width: 24%;
}

.chapter-rail::before,
.inspector::before,
.fantasy-timeline::before {
  background: var(--accent);
  content: "";
  position: absolute;
  transform-origin: top;
  transition: transform 820ms var(--ease);
}

.chapter-rail::before {
  bottom: 0;
  left: 100%;
  top: 0;
  transform: scaleY(0);
  width: 2px;
}

.chapter-rail span {
  border-bottom: 1px solid rgba(216,222,216,0.75);
  color: var(--secondary);
  font-size: clamp(0.75rem, 0.9vw, 0.88rem);
  padding-bottom: 10px;
}

.inspector {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  right: 0;
  top: 0;
  transform: translateX(16px);
  width: 25%;
}

.inspector::before {
  bottom: 0;
  right: 100%;
  top: 0;
  transform: scaleY(0);
  width: 2px;
}

.inspector p {
  color: var(--accent-active);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.inspector strong {
  color: var(--text);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
}

.inspector span {
  background: transparent;
  color: var(--secondary);
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  height: auto;
  line-height: 1.55;
  margin: 0;
}

.fantasy-timeline {
  align-items: center;
  bottom: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 24%;
  padding: 22px clamp(18px, 3vw, 42px);
  right: 25%;
  transform: translateY(20px);
}

.fantasy-timeline::before {
  height: 2px;
  left: 0;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.fantasy-timeline span {
  color: var(--accent-active);
  font-size: clamp(0.72rem, 0.85vw, 0.86rem);
  font-weight: 750;
  line-height: 1.25;
  position: relative;
}

.fantasy-timeline span::before {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 9px;
  margin-bottom: 9px;
  width: 9px;
}

.workspace-sticky[data-stage="1"] .chapter-rail,
.workspace-sticky[data-stage="2"] .chapter-rail,
.workspace-sticky[data-stage="3"] .chapter-rail,
.workspace-sticky[data-stage="2"] .inspector,
.workspace-sticky[data-stage="3"] .inspector,
.workspace-sticky[data-stage="3"] .fantasy-timeline {
  opacity: 1;
  transform: translate(0, 0);
}

.workspace-sticky[data-stage="1"] .chapter-rail::before,
.workspace-sticky[data-stage="2"] .chapter-rail::before,
.workspace-sticky[data-stage="3"] .chapter-rail::before,
.workspace-sticky[data-stage="2"] .inspector::before,
.workspace-sticky[data-stage="3"] .inspector::before {
  transform: scaleY(1);
}

.workspace-sticky[data-stage="3"] .fantasy-timeline::before {
  transform: scaleX(1);
}

.workspace-sticky[data-stage="1"] .manuscript-page,
.workspace-sticky[data-stage="2"] .manuscript-page,
.workspace-sticky[data-stage="3"] .manuscript-page {
  left: 49.5%;
  width: min(45%, 430px);
}

.workspace-sticky[data-stage="3"] .manuscript-page {
  transform: translate(-50%, -72%) scale(0.84);
}

@media (max-width: 1100px) {
  .assembling-workspace {
    width: min(100%, 860px);
  }

  .chapter-rail {
    width: 25%;
  }

  .inspector {
    width: 27%;
  }

  .fantasy-timeline {
    left: 25%;
    right: 27%;
  }
}

@media (max-width: 760px) {
  .assembling-workspace {
    aspect-ratio: 4 / 5;
    min-height: 560px;
  }

  .manuscript-page,
  .workspace-sticky[data-stage="1"] .manuscript-page,
  .workspace-sticky[data-stage="2"] .manuscript-page,
  .workspace-sticky[data-stage="3"] .manuscript-page {
    left: 50%;
    top: 40%;
    width: min(70%, 360px);
  }

  .chapter-rail {
    height: auto;
    left: 0;
    top: 0;
    width: 30%;
  }

  .inspector {
    right: 0;
    top: 0;
    width: 30%;
  }

  .fantasy-timeline {
    grid-template-columns: 1fr;
    left: 0;
    right: 0;
  }
}

/* Workspace UI refinement: one app frame, manuscript first, tools resize around it. */
.assembling-workspace {
  background:
    linear-gradient(180deg, rgba(232,237,232,0.86) 0 38px, rgba(252,252,250,0.78) 38px),
    linear-gradient(90deg, rgba(216,222,216,0.32), transparent 24% 76%, rgba(216,222,216,0.26));
}

.assembling-workspace::after {
  background:
    radial-gradient(circle, var(--accent) 0 3px, transparent 4px) 18px 18px / 18px 18px no-repeat,
    radial-gradient(circle, rgba(113,139,124,0.45) 0 3px, transparent 4px) 38px 18px / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(216,222,216,0.86), rgba(216,222,216,0.22));
  content: "";
  height: 38px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 3;
}

.chapter-rail,
.inspector {
  bottom: 0;
  top: 38px;
}

.fantasy-timeline {
  background: rgba(248,249,246,0.82);
}

.manuscript-page {
  left: 50%;
  top: 53%;
  width: min(84%, 760px);
}

.workspace-sticky[data-stage="1"] .manuscript-page {
  left: 62%;
  width: min(62%, 580px);
}

.workspace-sticky[data-stage="2"] .manuscript-page {
  left: 49.5%;
  width: min(46%, 430px);
}

.workspace-sticky[data-stage="3"] .manuscript-page {
  left: 49.5%;
  top: 48%;
  transform: translate(-50%, -62%) scale(0.82);
  width: min(42%, 390px);
}

.fantasy-timeline .current-event::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(113,139,124,0.14);
}

@media (max-width: 1100px) {
  .workspace-sticky[data-stage="1"] .manuscript-page {
    left: 62%;
    width: min(60%, 520px);
  }

  .workspace-sticky[data-stage="2"] .manuscript-page {
    width: min(44%, 390px);
  }
}

.manuscript-page {
  height: 68%;
  overflow: hidden;
  transition: transform 860ms var(--ease), width 860ms var(--ease), left 860ms var(--ease), top 860ms var(--ease), height 860ms var(--ease);
}

.workspace-sticky[data-stage="1"] .manuscript-page,
.workspace-sticky[data-stage="2"] .manuscript-page {
  height: 68%;
  top: 54%;
}

.workspace-sticky[data-stage="3"] .manuscript-page {
  height: 42%;
  top: 51%;
  transform: translate(-50%, -50%);
  width: min(40%, 370px);
}

@media (max-width: 760px) {
  .manuscript-page,
  .workspace-sticky[data-stage="1"] .manuscript-page,
  .workspace-sticky[data-stage="2"] .manuscript-page,
  .workspace-sticky[data-stage="3"] .manuscript-page {
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: min(68%, 350px);
  }
}

/* Integrated app surface: the manuscript is the editor, not a floating sheet. */
.assembling-workspace {
  --app-chrome: 40px;
  --rail-width: clamp(150px, 22%, 220px);
  --inspector-width: clamp(168px, 24%, 236px);
  --timeline-height: clamp(92px, 18%, 118px);
  background:
    linear-gradient(180deg, rgba(232,237,232,0.92) 0 var(--app-chrome), rgba(252,252,250,0.88) var(--app-chrome)),
    repeating-linear-gradient(90deg, rgba(216,222,216,0.18) 0 1px, transparent 1px 80px),
    linear-gradient(135deg, rgba(252,252,250,0.94), rgba(241,244,240,0.84));
}

.assembling-workspace::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,253,0.56), transparent 30%),
    radial-gradient(circle at 74% 66%, rgba(216,229,220,0.38), transparent 34%),
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(216,222,216,0.18) 34px 35px);
  opacity: 0.78;
}

.assembling-workspace::after {
  background:
    radial-gradient(circle, #ff5f57 0 4px, rgba(118,82,74,0.2) 4.5px, transparent 5px) 22px 20px / 20px 20px no-repeat,
    radial-gradient(circle, #febc2e 0 4px, rgba(122,91,30,0.18) 4.5px, transparent 5px) 44px 20px / 20px 20px no-repeat,
    radial-gradient(circle, #28c840 0 4px, rgba(43,99,58,0.18) 4.5px, transparent 5px) 66px 20px / 20px 20px no-repeat,
    linear-gradient(90deg, rgba(216,222,216,0.86), rgba(232,237,232,0.48) 44%, rgba(248,249,246,0.18));
  box-shadow: 0 1px 0 rgba(216,222,216,0.82);
  height: var(--app-chrome);
}

.manuscript-page,
.workspace-sticky[data-stage="1"] .manuscript-page,
.workspace-sticky[data-stage="2"] .manuscript-page,
.workspace-sticky[data-stage="3"] .manuscript-page {
  background:
    linear-gradient(180deg, rgba(255,255,253,0.36), rgba(252,252,250,0.24)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(216,222,216,0.25) 32px 33px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  inset: var(--app-chrome) 0 0 0;
  left: auto;
  min-height: 0;
  overflow: hidden;
  padding: clamp(34px, 4vw, 58px) clamp(36px, 7vw, 96px);
  position: absolute;
  top: var(--app-chrome);
  transform: none;
  transition:
    inset 860ms var(--ease),
    padding 860ms var(--ease),
    opacity 700ms var(--ease);
  width: auto;
  z-index: 3;
}

.workspace-sticky[data-stage="1"] .manuscript-page {
  inset: var(--app-chrome) 0 0 var(--rail-width);
  padding-left: clamp(34px, 5vw, 74px);
}

.workspace-sticky[data-stage="2"] .manuscript-page {
  inset: var(--app-chrome) var(--inspector-width) 0 var(--rail-width);
  padding-left: clamp(32px, 4vw, 58px);
  padding-right: clamp(30px, 3.6vw, 54px);
}

.workspace-sticky[data-stage="3"] .manuscript-page {
  inset: var(--app-chrome) var(--inspector-width) var(--timeline-height) var(--rail-width);
  padding: clamp(28px, 3vw, 42px) clamp(30px, 4vw, 54px);
}

.manuscript-page .doc-kicker {
  margin-top: 0;
}

.manuscript-page h3 {
  max-width: 10.5em;
}

.manuscript-page p:not(.doc-kicker) {
  max-width: 52ch;
}

.chapter-rail,
.inspector {
  background: rgba(252,252,250,0.58);
  top: var(--app-chrome);
  z-index: 4;
}

.chapter-rail {
  width: var(--rail-width);
}

.inspector {
  width: var(--inspector-width);
}

.fantasy-timeline {
  left: var(--rail-width);
  min-height: var(--timeline-height);
  right: var(--inspector-width);
  z-index: 4;
}

@media (max-width: 900px) {
  .assembling-workspace {
    --rail-width: clamp(118px, 24%, 168px);
    --inspector-width: clamp(128px, 28%, 180px);
    --timeline-height: 108px;
  }

  .manuscript-page h3 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
  }
}

@media (max-width: 760px) {
  .assembling-workspace {
    --app-chrome: 38px;
    --rail-width: 34%;
    --inspector-width: 34%;
    --timeline-height: 150px;
  }

  .manuscript-page,
  .workspace-sticky[data-stage="1"] .manuscript-page,
  .workspace-sticky[data-stage="2"] .manuscript-page,
  .workspace-sticky[data-stage="3"] .manuscript-page {
    left: auto;
    top: var(--app-chrome);
    transform: none;
    width: auto;
  }

  .workspace-sticky[data-stage="2"] .manuscript-page,
  .workspace-sticky[data-stage="3"] .manuscript-page {
    padding-left: 22px;
    padding-right: 22px;
  }

  .chapter-rail span,
  .inspector span,
  .fantasy-timeline span {
    font-size: 0.68rem;
  }

  .fantasy-timeline {
    grid-template-columns: 1fr;
    left: var(--rail-width);
    padding: 16px 18px;
    right: var(--inspector-width);
  }
}

/* Realer Cabin UI details inside the progressive workspace. */
.assembling-workspace {
  --ui-hairline: rgba(113,139,124,0.34);
}

.chapter-rail {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(252,252,250,0.72), rgba(248,249,246,0.62));
  gap: 6px;
  padding: clamp(18px, 2vw, 24px) clamp(14px, 1.7vw, 20px);
}

.chapter-rail .rail-title,
.chapter-rail .chapter-item {
  border-bottom: 0;
  display: block;
  position: relative;
}

.chapter-rail .rail-title {
  color: var(--text);
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
  font-weight: 760;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding: 0 0 12px 2px;
  text-transform: uppercase;
}

.chapter-rail .rail-title::after {
  background: rgba(216,222,216,0.92);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.chapter-rail .chapter-item {
  border-radius: 6px;
  color: var(--secondary);
  cursor: grab;
  font-size: clamp(0.72rem, 0.84vw, 0.84rem);
  line-height: 1.25;
  margin-left: clamp(10px, 1vw, 16px);
  padding: 9px 8px 9px 28px;
  transition: background 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.chapter-rail .chapter-item::before {
  background:
    radial-gradient(circle, rgba(104,115,109,0.58) 0 1.2px, transparent 1.6px) 0 0 / 6px 6px,
    radial-gradient(circle, rgba(104,115,109,0.42) 0 1.2px, transparent 1.6px) 3px 3px / 6px 6px;
  content: "";
  height: 14px;
  left: 10px;
  opacity: 0.72;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
}

.chapter-rail .chapter-item.is-active {
  background: rgba(216,229,220,0.46);
  box-shadow: inset 0 0 0 1px rgba(113,139,124,0.18);
  color: var(--accent-active);
  font-weight: 650;
}

.inspector {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(252,252,250,0.72), rgba(248,249,246,0.58));
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
}

.inspector .note-label {
  border-bottom: 1px solid rgba(216,222,216,0.82);
  margin: 0 0 4px;
  padding-bottom: 11px;
}

.inspector strong {
  border-bottom: 1px solid rgba(216,222,216,0.62);
  display: block;
  margin-bottom: 2px;
  padding-bottom: 12px;
}

.inspector .note-field {
  border-bottom: 1px solid rgba(216,222,216,0.54);
  color: var(--secondary);
  display: grid;
  gap: 4px;
  line-height: 1.38;
  padding: 9px 0 10px;
}

.inspector .note-field b {
  color: var(--muted);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fantasy-timeline {
  align-content: center;
  background:
    linear-gradient(180deg, rgba(248,249,246,0.9), rgba(241,244,240,0.74));
  overflow: hidden;
}

.fantasy-timeline::after {
  background: linear-gradient(90deg, rgba(113,139,124,0.62), rgba(113,139,124,0.28));
  content: "";
  height: 2px;
  left: clamp(28px, 5vw, 54px);
  position: absolute;
  right: clamp(28px, 5vw, 54px);
  top: 34px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 820ms var(--ease);
  z-index: 1;
}

.workspace-sticky[data-stage="3"] .fantasy-timeline::after {
  transform: scaleX(1);
}

.fantasy-timeline span {
  z-index: 3;
}

.fantasy-timeline span::before {
  background: var(--elevated);
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .chapter-rail {
    padding-left: 12px;
    padding-right: 12px;
  }

  .chapter-rail .chapter-item {
    margin-left: 6px;
    padding-left: 24px;
  }

  .inspector .note-field {
    padding-block: 7px;
  }

  .fantasy-timeline::after {
    left: 30px;
    right: 30px;
  }
}

@media (max-width: 760px) {
  .chapter-rail .rail-title {
    letter-spacing: 0.04em;
  }

  .chapter-rail .chapter-item {
    margin-left: 0;
    padding: 8px 4px 8px 20px;
  }

  .chapter-rail .chapter-item::before {
    left: 5px;
    width: 8px;
  }

  .inspector {
    padding: 14px 12px;
  }

  .inspector strong {
    font-size: 0.95rem;
  }

  .fantasy-timeline::after {
    bottom: 22px;
    height: auto;
    left: 22px;
    right: auto;
    top: 27px;
    transform: scaleY(0);
    transform-origin: top;
    width: 2px;
  }

  .workspace-sticky[data-stage="3"] .fantasy-timeline::after {
    transform: scaleY(1);
  }
}

/* Final optical polish for the app chrome and initial manuscript state. */
.assembling-workspace::after {
  background:
    radial-gradient(circle, #ff5f57 0 4px, rgba(118,82,74,0.2) 4.5px, transparent 5px) 22px 50% / 20px 20px no-repeat,
    radial-gradient(circle, #febc2e 0 4px, rgba(122,91,30,0.18) 4.5px, transparent 5px) 44px 50% / 20px 20px no-repeat,
    radial-gradient(circle, #28c840 0 4px, rgba(43,99,58,0.18) 4.5px, transparent 5px) 66px 50% / 20px 20px no-repeat,
    linear-gradient(90deg, rgba(216,222,216,0.86), rgba(232,237,232,0.48) 44%, rgba(248,249,246,0.18));
}

.workspace-sticky:not([data-stage]) .manuscript-page,
.workspace-sticky[data-stage="0"] .manuscript-page {
  display: grid;
  align-content: center;
  justify-items: center;
  justify-content: center;
  text-align: center;
}

.workspace-sticky:not([data-stage]) .manuscript-page h3,
.workspace-sticky:not([data-stage]) .manuscript-page p:not(.doc-kicker),
.workspace-sticky[data-stage="0"] .manuscript-page h3,
.workspace-sticky[data-stage="0"] .manuscript-page p:not(.doc-kicker) {
  margin-left: auto;
  margin-right: auto;
}

.workspace-sticky:not([data-stage]) .manuscript-page .caret,
.workspace-sticky[data-stage="0"] .manuscript-page .caret {
  justify-self: center;
}

.workspace-sticky[data-stage="1"] .manuscript-page,
.workspace-sticky[data-stage="2"] .manuscript-page,
.workspace-sticky[data-stage="3"] .manuscript-page {
  display: block;
  text-align: left;
}

.fantasy-timeline::after {
  content: none;
}

.timeline-route {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 620ms var(--ease);
  z-index: 1;
}

.timeline-route svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.timeline-route-base {
  fill: none;
  stroke: rgba(113,139,124,0.62);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.timeline-dot {
  fill: var(--elevated);
  stroke: var(--accent);
  stroke-width: 2;
}

.timeline-dot.is-current {
  fill: var(--accent);
  stroke: var(--accent);
}

.workspace-sticky[data-stage="3"] .timeline-route {
  opacity: 1;
}

/* Final workspace fixes: one set of timeline dots, longer scroll, true opening center. */
.workspace-sequence {
  border-top: 1px solid rgba(216,222,216,0.78);
  min-height: 420vh;
}

.principles-cinema,
.project-today,
.disappear-scene,
.page-hero,
.philosophy-room,
.blog-index,
.roadmap-section {
  border-top: 1px solid rgba(216,222,216,0.62);
}

.workspace-sticky[data-stage="0"] .manuscript-page {
  align-content: center;
  display: grid;
  justify-content: stretch;
  justify-items: center;
  padding-left: clamp(48px, 10vw, 132px);
  padding-right: clamp(48px, 10vw, 132px);
  place-content: center;
  text-align: center;
}

.workspace-sticky[data-stage="0"] .manuscript-page .doc-kicker,
.workspace-sticky[data-stage="0"] .manuscript-page h3,
.workspace-sticky[data-stage="0"] .manuscript-page p:not(.doc-kicker) {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.workspace-sticky[data-stage="0"] .manuscript-page p:not(.doc-kicker) {
  max-width: 54ch;
}

.fantasy-timeline span {
  padding-top: 24px;
}

.fantasy-timeline span::before {
  content: none !important;
  display: none !important;
}

.timeline-route {
  overflow: visible;
}

.approach-art-image,
.moment-image,
.disappear-image {
  transition: opacity 720ms var(--ease), filter 720ms var(--ease), transform 1100ms var(--ease);
}

.approach-art-image:not(.is-loaded),
.moment-image:not(.is-loaded),
.disappear-image:not(.is-loaded) {
  filter: blur(10px) saturate(0.82);
  opacity: 0;
}

/* Final correction: stage 0 is a centered manuscript column, not centered text. */
.workspace-sticky[data-stage="0"] .manuscript-page {
  align-content: center;
  display: block;
  inset: var(--app-chrome) auto 0 auto;
  left: 50%;
  max-width: 760px;
  padding-left: clamp(42px, 5vw, 76px);
  padding-right: clamp(42px, 5vw, 76px);
  text-align: left;
  transform: translateX(-50%);
  width: min(82%, 760px);
}

.workspace-sticky[data-stage="0"] .manuscript-page .doc-kicker,
.workspace-sticky[data-stage="0"] .manuscript-page h3,
.workspace-sticky[data-stage="0"] .manuscript-page p:not(.doc-kicker) {
  justify-self: auto;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.workspace-sticky[data-stage="1"] .manuscript-page,
.workspace-sticky[data-stage="2"] .manuscript-page,
.workspace-sticky[data-stage="3"] .manuscript-page {
  max-width: none;
  transform: none;
}

@media (max-width: 760px) {
  .workspace-sticky[data-stage="0"] .manuscript-page {
    inset: var(--app-chrome) auto 0 auto;
    width: min(86%, 420px);
  }
}

/* Final ambience and pacing adjustment. */
.workspace-sequence {
  min-height: 390vh;
}

.approach-art-image {
  height: 100%;
  inset: 0;
  transform: none !important;
}


.article-shell.is-loading {
  opacity: 0;
}

.article-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .article-shell.is-loading,
  .article-reveal,
  .article-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.article-content {
  padding-top: clamp(14px, 2.5vw, 36px);
}
.brand span {
  font-family: "Lora", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0;
}

.article-back-link {
  background: rgba(248,249,246,0.9);
  border: 1px solid rgba(216,222,216,0.78);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 10px 14px;
  position: sticky;
  top: 92px;
  z-index: 12;
}

@media (min-width: 1180px) {
  .article-shell {
    column-gap: 34px;
    display: grid;
    grid-template-columns: minmax(178px, 218px) minmax(0, 880px);
    max-width: 1160px;
  }

  .article-back-link {
    align-self: start;
    grid-column: 1;
    justify-self: end;
    margin-top: 4px;
    white-space: nowrap;
  }

  .article-shell header,
  .article-content {
    grid-column: 2;
    margin-left: 0;
  }
}
/* Article page: centered reading column with left sticky return rail. */
@media (min-width: 1180px) {
  .article-shell {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 880px) minmax(120px, 1fr);
    max-width: 1240px;
  }

  .article-back-link {
    align-self: start;
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    margin-right: 28px;
    margin-top: 4px;
    white-space: nowrap;
  }

  .article-shell header {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }

  .article-content {
    grid-column: 2;
    margin-left: 0;
    width: 100%;
  }
}
.blog-card-meta {
  display: grid;
  gap: 8px;
}

.blog-card-meta span,
.article-meta-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.article-share-button,
.code-copy-button,
.article-lightbox button {
  appearance: none;
  background: rgba(248,249,246,0.92);
  border: 1px solid rgba(216,222,216,0.9);
  border-radius: 999px;
  color: var(--accent-active);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.article-progress {
  background: rgba(216,222,216,0.72);
  border-radius: 999px;
  grid-column: 2;
  height: 3px;
  margin-top: 28px;
  overflow: hidden;
  position: sticky;
  top: 74px;
  z-index: 14;
}

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

.article-content pre {
  position: relative;
}

.code-copy-button {
  position: absolute;
  right: 12px;
  top: 12px;
}

.article-content img {
  border: 1px solid rgba(216,222,216,0.9);
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
  height: auto;
  margin: 2rem auto;
  max-width: 100%;
}

.article-lightbox {
  align-items: center;
  background: rgba(32,37,34,0.68);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: clamp(18px, 4vw, 52px);
  position: fixed;
  z-index: 80;
}

.article-lightbox img {
  border-radius: 8px;
  box-shadow: var(--shadow-deep);
  max-height: 86vh;
  max-width: min(1100px, 92vw);
}

.article-lightbox button {
  position: fixed;
  right: clamp(18px, 4vw, 42px);
  top: clamp(18px, 4vw, 42px);
}

body.has-lightbox {
  overflow: hidden;
}

.page-hero.content-width {
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .article-progress {
    grid-column: 1;
  }
}

/* Blog article interaction polish */
[hidden] {
  display: none !important;
}

body.article-view {
  min-height: 100svh;
}

.article-progress {
  background: rgba(216,222,216,0.76);
  border-radius: 0;
  grid-column: 1 / -1;
  height: 3px;
  left: 0;
  margin: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: var(--article-progress-top, 72px);
  z-index: 28;
}

.article-progress span {
  transition: transform 120ms linear;
}

.article-share-button {
  min-width: 94px;
  overflow: hidden;
  position: relative;
}

.article-share-button .share-label {
  display: block;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.article-share-button .copied-label {
  inset: 8px 11px;
  opacity: 0;
  position: absolute;
  transform: translateY(8px);
}

.article-share-button.is-copied .share-label:first-child {
  opacity: 0;
  transform: translateY(-8px);
}

.article-share-button.is-copied .copied-label {
  opacity: 1;
  transform: translateY(0);
}

.code-copy-button {
  align-items: center;
  display: inline-grid;
  height: 34px;
  justify-items: center;
  padding: 0;
  width: 34px;
}

.code-copy-button i {
  font-size: 0.92rem;
  transition: transform 220ms var(--ease), color 220ms var(--ease);
}

.code-copy-button.is-copied i {
  color: var(--accent-active);
  transform: scale(1.08);
}

.article-lightbox {
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.article-lightbox img {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.article-lightbox.is-open {
  opacity: 1;
}

.article-lightbox.is-open img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.article-lightbox button {
  align-items: center;
  display: inline-grid;
  height: 42px;
  justify-items: center;
  padding: 0;
  width: 42px;
}

@media (max-width: 760px) {
  .article-progress {
    grid-column: 1;
    top: var(--article-progress-top, 68px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-share-button .share-label,
  .code-copy-button i,
  .article-lightbox,
  .article-lightbox img,
  .article-progress span {
    transition: none;
  }
}

/* Final article polish */
.article-meta-row span,
.article-share-button {
  color: rgba(80, 100, 87, 0.78);
}

.article-share-button:hover,
.article-share-button:focus-visible {
  color: var(--accent-active);
}

.article-progress {
  background: rgba(80, 100, 87, 0.20);
  box-shadow: 0 1px 0 rgba(252,252,250,0.86), 0 8px 18px rgba(32,37,34,0.06);
  height: 5px;
  top: 82px;
  z-index: 210;
}

.article-progress span {
  background: linear-gradient(90deg, var(--accent-active), var(--accent));
}

.article-lightbox {
  backdrop-filter: blur(0px);
  transition: opacity 420ms var(--ease), backdrop-filter 420ms var(--ease);
  will-change: opacity, backdrop-filter;
}

.article-lightbox img {
  transform: translateY(28px) scale(0.965);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}

.article-lightbox.is-open {
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  .article-progress {
    top: 122px;
  }
}

body.has-lightbox .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

body.has-lightbox .article-progress,
body.has-lightbox .paper-grain {
  opacity: 0;
  pointer-events: none;
}

body.has-lightbox .article-lightbox {
  background: rgba(32, 37, 34, 0.78);
}

/* About page */
.about-page {
  display: grid;
  min-height: calc(100svh - 82px);
  place-items: center;
  padding-bottom: clamp(82px, 12vw, 150px);
  padding-top: clamp(120px, 14vw, 190px);
}

.about-panel {
  background:
    linear-gradient(135deg, rgba(252,252,250,0.88), rgba(248,249,246,0.70)),
    radial-gradient(circle at 88% 18%, rgba(113,139,124,0.13), transparent 18rem);
  border: 1px solid rgba(216,222,216,0.9);
  box-shadow: var(--shadow-soft), var(--inset-soft);
  max-width: 900px;
  padding: clamp(34px, 7vw, 82px);
  position: relative;
}

.about-panel::before {
  background: rgba(113,139,124,0.46);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 3px;
}

.about-panel h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  max-width: 11ch;
}

.about-panel p:not(.eyebrow) {
  color: #3D4841;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.18rem, 2.3vw, 1.72rem);
  line-height: 1.65;
  margin-top: clamp(26px, 4vw, 42px);
  max-width: 760px;
}

.github-link {
  align-items: center;
  background: rgba(248,249,246,0.9);
  border: 1px solid rgba(216,222,216,0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--accent-active);
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  margin-top: clamp(28px, 5vw, 52px);
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  transition: color 180ms ease, transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.github-link:hover,
.github-link:focus-visible {
  color: var(--text);
  box-shadow: 0 18px 44px rgba(54,67,58,0.12), var(--inset-soft);
  transform: translateY(-2px);
}

.github-link i {
  font-size: 1.18rem;
}

/* Article meta layout */
.article-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.article-date-stack {
  display: grid;
  gap: 6px;
}

.article-read-time {
  color: rgba(80, 100, 87, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-share-button {
  align-items: center;
  display: inline-grid;
  height: 42px;
  justify-items: center;
  min-width: 0;
  padding: 0;
  width: 42px;
}

.article-share-button i {
  grid-area: 1 / 1;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.article-share-button .copied-icon {
  opacity: 0;
  transform: translateY(8px) scale(0.92);
}

.article-share-button.is-copied i:first-child {
  opacity: 0;
  transform: translateY(-8px) scale(0.92);
}

.article-share-button.is-copied .copied-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}




@media (prefers-reduced-motion: reduce) {
  .article-share-button i {
    transition: none;
  }
}
/* Article toolbar and navbar recovery */
.site-header {
  position: fixed;
  z-index: 220;
}

.article-meta-row {
  display: block;
}

.article-toolbar {
  display: flex;
  grid-column: 2;
  justify-content: flex-end;
  margin-top: 24px;
}

.article-toolbar .article-share-button {
  margin-left: auto;
}

@media (max-width: 760px) {
  .article-toolbar {
    grid-column: 1;
  }
}

/* Shared glass navigation */
.site-header,
.site-header.scenic-nav {
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  backdrop-filter: blur(18px) saturate(1.06);
  background: linear-gradient(180deg, rgba(248,249,246,0.70), rgba(248,249,246,0.30));
  border-bottom-color: rgba(216,222,216,0.46);
  box-shadow: 0 14px 38px rgba(54,67,58,0.06);
}

.site-header.is-scrolled {
  background: rgba(248,249,246,0.86);
  border-bottom-color: rgba(216,222,216,0.68);
  box-shadow: var(--shadow-soft);
}

/* Full-bleed Home chapters: image is the room, copy is the quiet surface within it. */
body[data-page="home"] .principles-cinema{padding:0;background:var(--canvas)}
body[data-page="home"] .principles-intro{
  max-width:none;
  margin:0;
  padding:clamp(6rem,11vw,11rem) clamp(1.4rem,7vw,8rem);
  background:var(--canvas);
}
body[data-page="home"] .principle-moment{
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:none;
  min-height:100svh;
  margin:0;
  padding:clamp(6rem,10vw,10rem) clamp(1.4rem,7vw,8rem);
  display:flex;
  align-items:center;
  overflow:hidden;
}
body[data-page="home"] .principle-moment:after,
body[data-page="home"] .disappear-scene:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(32,37,34,.22),transparent 50%,rgba(32,37,34,.1));
  pointer-events:none;
}
body[data-page="home"] .moment-image,
body[data-page="home"] .disappear-image{
  position:absolute;
  z-index:-2;
  inset:-9% 0;
  width:100%;
  max-width:none;
  height:118%;
  max-height:none;
  aspect-ratio:auto;
  border:0;
  border-radius:0;
  box-shadow:none;
  object-fit:cover;
  opacity:.96;
  filter:saturate(.72) contrast(.92);
  will-change:transform;
}
body[data-page="home"] .principle-moment>div,
body[data-page="home"] .disappear-copy{
  width:min(38rem,88vw);
  margin:0;
  padding:clamp(1.8rem,4vw,3.5rem);
  border:1px solid rgba(252,252,250,.66);
  border-radius:8px;
  background:rgba(248,249,246,.72);
  box-shadow:0 24px 70px rgba(32,37,34,.16),inset 0 1px rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(18px) saturate(.82);
  backdrop-filter:blur(18px) saturate(.82);
}
body[data-page="home"] .principle-moment:nth-child(odd){justify-content:flex-end}
body[data-page="home"] .principle-moment h2{font-size:clamp(2.5rem,5vw,5.5rem)}
body[data-page="home"] .disappear-scene{
  position:relative;
  isolation:isolate;
  min-height:108svh;
  padding:clamp(6rem,10vw,10rem) clamp(1.4rem,7vw,8rem);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
body[data-page="home"] .disappear-copy{text-align:left}
body[data-page="home"] .disappear-copy p{font-size:clamp(2.3rem,5.2vw,5.8rem);line-height:1.02}
body[data-page="home"] .disappear-scene.is-dissolved .disappear-image{opacity:.96}
@media(max-width:760px){
  body[data-page="home"] .principle-moment{align-items:flex-end;padding-bottom:5rem}
  body[data-page="home"] .principle-moment:nth-child(odd){justify-content:flex-start}
  body[data-page="home"] .principle-moment>div,
  body[data-page="home"] .disappear-copy{width:100%;padding:1.5rem}
}

/* Philosophy is read as a bound manuscript: each principle turns over the last. */
.philosophy-deck{
  position:relative;
  height:720svh;
  background:
    radial-gradient(circle at 74% 28%,rgba(252,252,250,.88),transparent 24rem),
    linear-gradient(145deg,var(--navigation),var(--canvas));
}
.philosophy-deck-sticky{
  position:sticky;
  top:0;
  height:100svh;
  display:grid;
  grid-template-columns:minmax(9rem,.24fr) minmax(0,1fr);
  gap:clamp(1.5rem,5vw,6rem);
  align-items:center;
  padding:clamp(6.5rem,10vw,8.5rem) clamp(1.3rem,6vw,7rem) clamp(2rem,5vw,4rem);
  overflow:hidden;
}
.philosophy-deck-sticky:before{
  content:"";
  position:absolute;
  inset:10% 5%;
  pointer-events:none;
  background:repeating-radial-gradient(ellipse at 64% 52%,transparent 0 42px,rgba(113,139,124,.08) 43px 44px);
  mask-image:linear-gradient(90deg,transparent,#000 35%,#000 80%,transparent);
}
.philosophy-deck-index{
  position:relative;
  z-index:12;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:var(--secondary);
}
.philosophy-deck-index p{
  max-width:9rem;
  margin:0 0 1.5rem;
  font-size:.68rem;
  font-weight:650;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.philosophy-deck-index>span{margin-top:1.1rem;font-family:"Lora",Georgia,serif;font-size:1.1rem;color:var(--accent-active)}
.philosophy-deck-progress{width:2px;height:38vh;background:var(--outline);overflow:hidden}
.philosophy-deck-progress i{display:block;width:100%;height:100%;background:var(--accent);transform:scaleY(0);transform-origin:top}
.philosophy-pages{
  position:relative;
  z-index:2;
  width:min(100%,72rem);
  height:min(72svh,46rem);
  justify-self:center;
  perspective:1400px;
}
.philosophy-sheet{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(12rem,.34fr);
  grid-template-rows:auto 1fr auto;
  column-gap:clamp(2rem,6vw,6rem);
  align-items:center;
  padding:clamp(2rem,6vw,6rem);
  border:1px solid rgba(216,222,216,.9);
  border-radius:5px 12px 12px 5px;
  background:
    linear-gradient(90deg,rgba(113,139,124,.1) 0 1px,transparent 1px) 4.2rem 0/1px 100% no-repeat,
    repeating-linear-gradient(0deg,transparent 0 41px,rgba(216,222,216,.28) 42px 43px),
    rgba(252,252,250,.98);
  box-shadow:0 28px 80px rgba(54,67,58,.16),inset 8px 0 18px rgba(80,100,87,.05);
  backface-visibility:hidden;
  transform-style:preserve-3d;
}
.philosophy-sheet:after{
  content:"";
  position:absolute;
  right:0;bottom:0;
  width:4.5rem;height:4.5rem;
  background:linear-gradient(135deg,transparent 49%,rgba(216,222,216,.72) 50%,var(--navigation) 52%);
  clip-path:polygon(100% 0,100% 100%,0 100%);
  opacity:.7;
}
.sheet-meta{
  grid-column:1/-1;
  align-self:start;
  display:flex;
  justify-content:space-between;
  padding-bottom:1.1rem;
  border-bottom:1px solid var(--divider);
  color:var(--accent-active);
  font-size:.68rem;
  font-weight:650;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.philosophy-sheet h2{
  grid-column:1;
  margin:0;
  max-width:11ch;
  font-family:"Lora",Georgia,serif;
  font-size:clamp(2.6rem,6vw,6.8rem);
  font-weight:400;
  line-height:.98;
  letter-spacing:-.055em;
}
.philosophy-sheet>p:not(.margin-note){
  grid-column:1;
  align-self:end;
  max-width:47rem;
  margin:0;
  color:var(--secondary);
  font-size:clamp(1rem,1.45vw,1.22rem);
  line-height:1.75;
}
.philosophy-sheet .margin-note{
  grid-column:2;
  grid-row:2/4;
  align-self:center;
  margin:0;
  padding-left:1.4rem;
  border-left:2px solid var(--accent);
  color:var(--accent-active);
  font-family:"Lora",Georgia,serif;
  font-size:clamp(1rem,1.5vw,1.3rem);
  font-style:italic;
  line-height:1.55;
}
.philosophy-deck.is-static{height:auto;padding:4rem 1rem}
.philosophy-deck.is-static .philosophy-deck-sticky{position:relative;height:auto;display:block;padding:0;overflow:visible}
.philosophy-deck.is-static .philosophy-deck-index{display:none}
.philosophy-deck.is-static .philosophy-pages{height:auto;display:grid;gap:1rem}
.philosophy-deck.is-static .philosophy-sheet{position:relative;min-height:34rem}
@media(max-width:760px){
  .philosophy-deck{height:680svh}
  .philosophy-deck-sticky{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:1rem;padding:6rem 1rem 1rem}
  .philosophy-deck-index{align-self:auto;display:grid;grid-template-columns:1fr auto;align-items:center}
  .philosophy-deck-index p{max-width:none;margin:0}.philosophy-deck-progress{grid-column:1/-1;width:100%;height:2px;margin-top:.7rem}
  .philosophy-deck-progress i{transform-origin:left}
  .philosophy-pages{height:76svh}
  .philosophy-sheet{grid-template-columns:1fr;grid-template-rows:auto auto 1fr auto;padding:1.5rem;background:rgba(252,252,250,.98)}
  .philosophy-sheet h2,.philosophy-sheet>p:not(.margin-note),.philosophy-sheet .margin-note{grid-column:1}
  .philosophy-sheet h2{font-size:clamp(2.4rem,12vw,4.3rem)}
  .philosophy-sheet .margin-note{grid-row:auto;margin-top:1rem}
}

/* Calm corrections: flat philosophy slides and fog-softened Home chapters. */
.philosophy-deck-sticky{
  grid-template-columns:1fr;
  justify-items:center;
  padding-inline:clamp(1rem,6vw,6rem);
}
.philosophy-deck-sticky:before{display:none}
.philosophy-deck-index{display:none}
.philosophy-pages{
  width:min(92vw,70rem);
  justify-self:center;
  perspective:none;
}
.philosophy-sheet{
  color:var(--text);
  background:
    repeating-linear-gradient(0deg,transparent 0 43px,rgba(216,222,216,.22) 44px 45px),
    #FCFCFA;
  border-color:rgba(216,222,216,.94);
  border-radius:8px;
  box-shadow:0 22px 60px rgba(54,67,58,.13),inset 0 1px rgba(255,255,255,.96);
  backface-visibility:visible;
  transform-style:flat;
  filter:none!important;
}
.philosophy-sheet:after{display:none}

body[data-page="home"] .principle-moment:after,
body[data-page="home"] .disappear-scene:after{
  background:
    linear-gradient(180deg,var(--canvas) 0,rgba(241,244,240,.58) 8%,transparent 21%,transparent 79%,rgba(241,244,240,.58) 92%,var(--canvas) 100%),
    linear-gradient(90deg,rgba(252,252,250,.2),rgba(252,252,250,.08));
}
body[data-page="home"] .moment-image,
body[data-page="home"] .disappear-image{
  inset:0;
  height:100%;
  opacity:.84;
  filter:saturate(.68) contrast(.9) brightness(1.05);
  transform:none!important;
  will-change:auto;
}
body[data-page="home"] .principle-moment>div,
body[data-page="home"] .disappear-copy{
  background:rgba(248,249,246,.78);
}
body[data-page="home"] .disappear-copy{
  width:min(90vw,62rem);
  padding:clamp(2rem,5vw,5rem);
}
body[data-page="home"] .disappear-copy p{max-width:15ch}
body[data-page="home"] .disappear-scene.is-dissolved .disappear-image{opacity:.84;transform:none!important}
@media(max-width:760px){
  .philosophy-pages{width:100%;height:76svh}
  .philosophy-deck-sticky{padding-inline:1rem}
  body[data-page="home"] .disappear-copy{width:100%}
}

/* Infinite Philosophy carousel */
.philosophy-deck.is-carousel{
  height:100svh;
  min-height:0;
  padding:0;
  overflow:hidden;
}
.philosophy-deck.is-carousel .philosophy-deck-sticky{
  position:relative;
  top:auto;
  height:100svh;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:1rem;
  padding:clamp(5.5rem,10vh,7rem) 0 1.25rem;
  box-sizing:border-box;
  overflow:hidden;
}
.philosophy-deck.is-carousel .philosophy-pages{
  position:relative;
  width:100%;
  height:100%;
  perspective:1700px;
  transform-style:preserve-3d;
  cursor:grab;
  touch-action:pan-y;
  outline:none;
}
.philosophy-deck.is-carousel .philosophy-pages:focus-visible{outline:2px solid var(--accent);outline-offset:-8px}
.philosophy-deck.is-carousel .philosophy-pages.is-dragging{cursor:grabbing}
.philosophy-deck.is-carousel .philosophy-sheet{
  position:absolute;
  inset:auto;
  left:50%;
  top:50%;
  width:min(76vw,31rem);
  height:min(56svh,32rem);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:1.35rem;
  padding:clamp(1.6rem,3vw,2.7rem);
  opacity:var(--carousel-opacity);
  transform:translate(-50%,-50%) translate3d(var(--carousel-x),0,var(--carousel-z)) rotateY(var(--carousel-tilt)) scale(var(--carousel-scale));
  transform-origin:center;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  pointer-events:auto;
  transition:box-shadow .35s,filter .35s,border-color .25s,border-width .25s;
  will-change:transform;
}
.philosophy-deck.is-carousel .philosophy-sheet.is-front:hover,
.philosophy-deck.is-carousel .philosophy-sheet.is-front.is-hovered{
  border-color:var(--accent-active);
  border-width:3px;
  box-shadow:0 34px 90px rgba(54,67,58,.2),inset 0 1px rgba(255,255,255,.98);
}
.philosophy-deck.is-carousel.is-animating .philosophy-sheet{pointer-events:none}
.philosophy-deck.is-carousel.is-animating .philosophy-sheet.is-front:hover{
  border-color:rgba(216,222,216,.94);
  border-width:1px;
  box-shadow:0 22px 60px rgba(54,67,58,.13),inset 0 1px rgba(255,255,255,.96);
}
.philosophy-deck.is-carousel .sheet-meta{
  width:100%;
  justify-content:flex-start;
}
.philosophy-deck.is-carousel .philosophy-sheet h2{
  grid-column:auto;
  font-size:clamp(2rem,3.5vw,3.6rem);
  line-height:1.02;
}
.philosophy-deck.is-carousel .philosophy-sheet>p:not(.margin-note){
  grid-column:auto;
  align-self:auto;
  font-size:.98rem;
  line-height:1.62;
}
.philosophy-deck.is-carousel .philosophy-sheet .margin-note{
  grid-column:auto;
  grid-row:auto;
  align-self:auto;
  font-size:1rem;
}
.philosophy-sheet.is-active .margin-note,
.philosophy-deck.is-carousel .margin-note{animation:none!important}
.philosophy-carousel-controls{
  position:relative;
  z-index:12;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1rem;
}
.philosophy-carousel-controls p{margin:0;color:var(--muted);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase}
.philosophy-carousel-controls button{
  width:3rem;height:3rem;
  border:1px solid var(--outline);
  border-radius:50%;
  background:rgba(248,249,246,.88);
  color:var(--text);
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  transition:transform .25s,background .25s;
}
.philosophy-carousel-controls button:hover{transform:translateY(-2px);background:var(--elevated)}
@media(max-width:760px){
  .philosophy-deck.is-carousel .philosophy-deck-sticky{padding-top:5.25rem}
  .philosophy-deck.is-carousel .philosophy-sheet{width:min(78vw,25rem);height:min(64svh,30rem)}
  .philosophy-carousel-controls p{display:none}
}

/* Field-note board: the blog index behaves like a working wall, not a feed. */
body[data-page=blog]:not(.article-view) main{
  overflow:hidden;
  perspective:1800px;
}
.blog-board-section{
  max-width:1360px;
  padding-bottom:clamp(6rem,11vw,10rem);
}
.blog-board{
  position:relative;
  isolation:isolate;
  padding:clamp(1.1rem,2.5vw,2rem);
  border:1px solid rgba(80,100,87,.28);
  border-radius:1.6rem;
  background:
    radial-gradient(circle at 15% 22%,rgba(252,252,250,.42) 0 1px,transparent 1.5px) 0 0/13px 13px,
    radial-gradient(circle at 76% 64%,rgba(80,100,87,.16) 0 1px,transparent 1.5px) 4px 6px/17px 17px,
    linear-gradient(145deg,#E8EDE8,#D8DED8);
  box-shadow:
    0 42px 100px rgba(54,67,58,.16),
    inset 0 1px rgba(252,252,250,.92),
    inset 0 0 0 8px rgba(248,249,246,.3);
  transform:rotateX(.8deg);
  transform-origin:center top;
}
.blog-board::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:.65rem;
  border:1px solid rgba(80,100,87,.18);
  border-radius:1.15rem;
  pointer-events:none;
}
.blog-board .blog-index{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:clamp(4.5rem,9vw,8rem) clamp(3rem,10vw,9rem);
  min-height:clamp(34rem,55vw,47rem);
  padding:clamp(4rem,8vw,7rem) clamp(1.25rem,7vw,6rem);
  transform-style:preserve-3d;
}
.blog-thread{
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  filter:drop-shadow(0 3px 2px rgba(32,37,34,.16));
}
.blog-thread path{
  fill:none;
  stroke:var(--accent-active);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  stroke-dashoffset:1;
  animation:stitch-route 2.1s .35s var(--ease) forwards;
}
@keyframes stitch-route{to{stroke-dashoffset:0}}
.blog-board .blog-card{
  --note-rx:0deg;
  --note-ry:0deg;
  position:relative;
  z-index:2;
  align-self:start;
  justify-self:center;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:1.4rem;
  width:min(100%,29rem);
  min-height:21rem;
  padding:clamp(2.4rem,4vw,3.4rem) clamp(1.6rem,3vw,2.5rem) 1.8rem;
  border:1px solid rgba(216,222,216,.92);
  border-radius:.28rem;
  background:
    repeating-linear-gradient(180deg,transparent 0 37px,rgba(216,222,216,.34) 38px 39px),
    linear-gradient(145deg,rgba(252,252,250,.99),rgba(248,249,246,.96));
  box-shadow:0 22px 42px rgba(54,67,58,.16),inset 0 1px rgba(255,255,255,.98);
  color:var(--text);
  text-decoration:none;
  transform:
    rotateX(var(--note-rx))
    rotateY(var(--note-ry))
    rotateZ(var(--note-tilt))
    translateZ(1px);
  transform-style:preserve-3d;
  transition:transform .38s var(--ease),box-shadow .38s var(--ease),border-color .3s;
  will-change:transform;
}
.blog-board .blog-card:first-of-type:last-of-type{
  grid-column:1/-1;
}
.blog-board .blog-card:nth-of-type(even){margin-top:clamp(2rem,6vw,5rem)}
.blog-board .blog-card::after{
  content:"";
  position:absolute;
  right:-1px;
  bottom:-1px;
  width:2.2rem;
  height:2.2rem;
  background:linear-gradient(135deg,rgba(216,222,216,.68) 0 49%,var(--surface) 51%);
  box-shadow:-4px -4px 10px rgba(54,67,58,.06);
  clip-path:polygon(100% 0,100% 100%,0 100%);
}
.blog-pin{
  position:absolute;
  z-index:4;
  left:50%;
  top:.8rem;
  width:1.05rem;
  height:1.05rem;
  border:2px solid rgba(252,252,250,.72);
  border-radius:50%;
  background:var(--accent-active);
  box-shadow:0 5px 9px rgba(32,37,34,.24),inset 0 2px 3px rgba(252,252,250,.35);
  transform:translateX(-50%) translateZ(18px);
}
.blog-pin::after{
  content:"";
  position:absolute;
  left:50%;
  top:.9rem;
  width:1px;
  height:.65rem;
  background:rgba(32,37,34,.45);
}
.blog-board .blog-card-meta{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding-bottom:.8rem;
  border-bottom:1px solid rgba(216,222,216,.74);
}
.blog-board .blog-card-copy{display:block}
.blog-board .blog-card h2{
  max-width:10ch;
  margin:0;
  font:500 clamp(1.8rem,3.5vw,3rem)/1.02 Lora,Georgia,serif;
  letter-spacing:-.035em;
}
.blog-board .blog-card p{
  margin:1.2rem 0 0;
  color:var(--secondary);
  line-height:1.65;
}
.blog-board .blog-card .arrow{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.65rem;
  margin-top:auto;
  color:var(--accent-active);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.blog-board .blog-card .arrow i{
  font-style:normal;
  font-size:1.15rem;
  transition:transform .3s var(--ease);
}
.blog-board .blog-card:hover,
.blog-board .blog-card:focus-visible{
  z-index:5;
  border-color:rgba(113,139,124,.72);
  box-shadow:0 38px 74px rgba(54,67,58,.22),inset 0 1px rgba(255,255,255,.98);
  transform:
    translateY(-14px)
    translateZ(48px)
    rotateX(var(--note-rx))
    rotateY(var(--note-ry))
    rotateZ(0deg);
}
.blog-board .blog-card:hover .arrow i,
.blog-board .blog-card:focus-visible .arrow i{transform:translateX(.35rem)}

body.article-view .article-shell header>.article-date{
  display:block;
  margin-bottom:1rem;
}
body.article-view .article-shell header .article-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin:1.75rem 0 0;
  padding-top:1.15rem;
  border-top:1px solid var(--divider);
}
body.article-view .article-shell header .article-toolbar{
  display:flex;
  grid-column:auto;
  justify-content:flex-end;
  margin:0;
}
body.article-view .article-shell header .article-toolbar .article-share-button{margin:0}

@media(max-width:760px){
  .blog-board{border-radius:1.1rem;padding:.65rem}
  .blog-board .blog-index{
    grid-template-columns:1fr;
    gap:4.5rem;
    min-height:38rem;
    padding:4rem 1rem 5rem;
  }
  .blog-board .blog-card,
  .blog-board .blog-card:first-of-type:last-of-type{grid-column:1}
  .blog-board .blog-card:nth-of-type(even){margin-top:0}
  .blog-thread{opacity:.72}
}
@media(prefers-reduced-motion:reduce){
  .blog-thread path{stroke-dashoffset:0;animation:none}
  .blog-board,.blog-board .blog-card,.blog-board .blog-card:hover,.blog-board .blog-card:focus-visible{transform:none}
}

/* Home chapters: one restrained dark fade, with no parallax or moving veil. */
body[data-page="home"] .principle-moment:after,
body[data-page="home"] .disappear-scene:after{
  background:linear-gradient(90deg,rgba(32,37,34,.25),transparent 36%,transparent 64%,rgba(32,37,34,.17));
}
body[data-page="home"] .moment-image,
body[data-page="home"] .disappear-image{
  transform:none!important;
  will-change:auto;
}

/* About: a manuscript constellation gathering around one quiet point of view. */
body[data-page="about"]{
  background:var(--canvas);
  overflow-x:hidden;
}
.about-experience{
  position:relative;
  isolation:isolate;
  color:var(--text);
}
.about-world{
  position:fixed;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 72% 46%,rgba(80,100,87,.25),transparent 28rem),
    linear-gradient(145deg,var(--navigation),var(--canvas) 58%,var(--surface));
}
.about-world canvas{
  display:block;
  width:100%;
  height:100%;
  opacity:1;
}
.about-world-fallback{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 46%,rgba(80,100,87,.22),transparent 27rem),
    linear-gradient(112deg,transparent 0 62%,rgba(113,139,124,.08) 62% 63%,transparent 63%);
}
.about-world canvas+.about-world-fallback{opacity:.18}
.about-world::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(241,244,240,.97) 0,rgba(241,244,240,.76) 35%,rgba(241,244,240,.06) 68%,rgba(241,244,240,.24)),
    linear-gradient(180deg,rgba(241,244,240,.28),transparent 24%,transparent 82%,rgba(241,244,240,.5));
}
.about-hero,
.about-passages,
.about-coda{
  position:relative;
  z-index:2;
}
.about-hero{
  min-height:100svh;
  display:flex;
  align-items:flex-start;
  padding:clamp(2.75rem,5vh,4.5rem) clamp(1.4rem,6vw,7rem) clamp(3.5rem,8vh,6rem);
}
.about-hero-copy{min-width:0;width:min(75rem,100%)}
.about-hero .eyebrow{margin-bottom:clamp(1.4rem,3vw,2.4rem)}
.about-hero h1{
  max-width:9ch;
  margin:0;
  font:500 clamp(4.5rem,11vw,10.5rem)/.8 "Lora",Georgia,serif;
  letter-spacing:-.075em;
  text-wrap:balance;
}
.about-thesis{
  max-width:43rem;
  margin:clamp(1.7rem,3vw,2.6rem) 0 0;
  color:#3D4841;
  font:400 clamp(1.15rem,2.1vw,1.65rem)/1.65 "Lora",Georgia,serif;
}
.about-scroll-cue{
  position:absolute;
  right:clamp(1.4rem,5vw,5rem);
  bottom:clamp(3rem,7vh,5.5rem);
  display:flex;
  align-items:center;
  gap:.9rem;
  color:var(--muted);
  font-size:.66rem;
  font-weight:650;
  letter-spacing:.13em;
  text-transform:uppercase;
  writing-mode:vertical-rl;
}
.about-scroll-cue i{
  position:relative;
  width:1px;
  height:4.5rem;
  overflow:hidden;
  background:var(--outline);
}
.about-scroll-cue i::after{
  content:"";
  position:absolute;
  inset:0;
  background:var(--accent-active);
  transform:translateY(-100%);
  animation:about-scroll-line 2.2s var(--ease) infinite;
}
@keyframes about-scroll-line{55%,100%{transform:translateY(100%)}}
.about-passages{
  padding:12vh clamp(1.4rem,6vw,7rem) 18vh;
}
.about-passage{
  min-height:92svh;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.about-passage:nth-child(even){
  justify-content:end;
}
.about-role{
  margin:0 0 1.25rem;
  color:var(--accent-active);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.about-passage>div{
  position:relative;
  width:min(48rem,100%);
  padding:clamp(2rem,5vw,4.5rem);
  border:1px solid rgba(216,222,216,.76);
  border-radius:1.25rem;
  background:linear-gradient(145deg,rgba(252,252,250,.86),rgba(248,249,246,.62));
  box-shadow:0 34px 90px rgba(54,67,58,.12),inset 0 1px rgba(255,255,255,.9);
  backdrop-filter:blur(16px) saturate(.8);
}
.about-passage>div::before{
  content:"";
  position:absolute;
  left:clamp(2rem,5vw,4.5rem);
  top:0;
  width:4.5rem;
  height:3px;
  background:var(--accent);
}
.about-passage h2{
  max-width:12ch;
  margin:0;
  font:500 clamp(2.8rem,6vw,6.4rem)/.94 "Lora",Georgia,serif;
  letter-spacing:-.06em;
}
.about-passage div p:not(.about-role){
  max-width:38rem;
  margin:clamp(1.8rem,4vw,3rem) 0 0;
  color:var(--secondary);
  font-size:clamp(1rem,1.5vw,1.18rem);
  line-height:1.8;
}
.about-coda{
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:8rem clamp(1.4rem,7vw,8rem);
  background:
    radial-gradient(circle at 50% 45%,rgba(113,139,124,.23),transparent 28rem),
    linear-gradient(180deg,rgba(241,244,240,.2),rgba(232,237,232,.92));
}
.about-coda>div{
  width:min(68rem,100%);
  text-align:center;
}
.about-coda h2{
  margin:1.2rem auto 0;
  max-width:14ch;
  font:500 clamp(3.2rem,7.5vw,8rem)/.91 "Lora",Georgia,serif;
  letter-spacing:-.065em;
}
.about-coda>div>p:not(.eyebrow){
  margin:2rem auto 0;
  color:var(--secondary);
  font:400 clamp(1.1rem,2vw,1.45rem)/1.6 "Lora",Georgia,serif;
}
.about-coda .github-link{margin-top:3rem}
.about-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.85rem;
  margin-top:3rem;
}
.about-actions .github-link{margin-top:0}
.about-actions .cabin-account-link{
  background:var(--accent-active);
  border-color:var(--accent-active);
  color:var(--elevated);
}
.about-actions .cabin-account-link:hover,
.about-actions .cabin-account-link:focus-visible{color:var(--elevated);background:var(--accent-hover)}
body[data-page="about"].no-about-webgl .about-world canvas{display:none}

@media(max-width:760px){
  body[data-page="about"] .site-header{padding-inline:14px}
  body[data-page="about"] .site-nav{gap:.15rem;justify-content:flex-start;overflow:visible;width:100%}
  body[data-page="about"] .site-nav a{flex:0 0 auto;padding:.4rem .3rem;font-size:.7rem}
  .about-world::after{
    background:linear-gradient(90deg,rgba(241,244,240,.88),rgba(241,244,240,.34) 54%,rgba(241,244,240,.08)),linear-gradient(180deg,transparent 72%,rgba(241,244,240,.54));
  }
  .about-hero{padding-bottom:4rem}
  .about-hero h1{max-width:none;font-size:clamp(3.45rem,14.5vw,5rem);line-height:.86;white-space:nowrap}
  .about-thesis{max-width:100%;width:100%;margin-left:0}
  .about-scroll-cue{display:none}
  .about-passages{padding-block:6rem 10rem}
  .about-passage,
  .about-passage:nth-child(even){
    min-height:82svh;
    display:flex;
    align-items:center;
  }
  .about-passage>div{padding:2rem 1.5rem}
  .about-passage h2{font-size:clamp(2.65rem,13vw,4.6rem)}
  .about-actions{align-items:stretch;flex-direction:column}
  .about-actions .github-link{justify-content:center;width:100%}
}
@media(prefers-reduced-motion:reduce){
  .about-scroll-cue i::after{animation:none}
  .about-world canvas{opacity:.82}
}
