/* Editorial Monograph Design System — Inspired by Kinfolk, The Gentlewoman & System Magazine */

:root {
  /* Core Palette (StyleKit Editorial) */
  --color-paper: #f9f8f6;
  --color-ink: #1c1c1c;
  --color-graphite: #6b7280;
  --color-mauve: #816d70;

  /* Opacity-Based Hierarchy */
  --ink-80: rgba(28, 28, 28, 0.82);
  --ink-60: rgba(28, 28, 28, 0.62);
  --ink-40: rgba(28, 28, 28, 0.42);
  --rule: rgba(28, 28, 28, 0.12);
  --rule-hover: rgba(28, 28, 28, 0.45);

  /* Ink Band Inverted Tokens */
  --paper-85: rgba(249, 248, 246, 0.86);
  --paper-60: rgba(249, 248, 246, 0.62);
  --paper-40: rgba(249, 248, 246, 0.40);
  --rule-inv: rgba(249, 248, 246, 0.15);
  --rule-inv-hover: rgba(249, 248, 246, 0.48);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, monospace;

  /* Spacing & Layout */
  --page-max-width: 1248px;
  --gutter: 48px;
  --section-gap: 104px;
  --col-gap: 48px;

  /* Motion */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

.ink-band :focus-visible {
  outline-color: var(--color-paper);
}

/* Container */
.wrap {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.prose-wrap {
  max-width: 820px;
}

/* Masthead / Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-paper);
  border-bottom: 1px solid var(--rule);
  view-transition-name: site-header;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1.5px;
  background: var(--color-ink);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0.72;
  pointer-events: none;
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-ink);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.site-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 6px 0;
  transition: color 300ms ease;
}

.site-nav a sup {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--color-graphite);
  margin-left: 3px;
  font-weight: 400;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms var(--ease-editorial);
}

.site-nav a:hover {
  color: var(--color-ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.active {
  color: var(--color-ink);
}

.site-nav a.active::after {
  background: var(--color-mauve);
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}

.header-cv {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 2px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink);
  border-bottom: 1px solid var(--ink-40);
  transition: border-color 300ms ease;
}

.header-cv:hover {
  border-bottom-color: var(--color-ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--rule);
  background: rgba(28, 28, 28, 0.015);
}

.lang-opt {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--color-graphite);
  padding: 6px 10px;
  transition: background-color 240ms ease, color 240ms ease;
}

.lang-opt:hover {
  color: var(--color-ink);
}

.lang-opt.is-active {
  background: var(--color-ink);
  color: var(--color-paper);
}

.nav-toggle {
  display: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--rule);
}

/* Editorial Section Label (24px ink line + 12px uppercase 0.2em) */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 20px;
}

.sec-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-ink);
  flex-shrink: 0;
}

.ink-band .sec-label {
  color: var(--paper-60);
}

.ink-band .sec-label::before {
  background: var(--paper-60);
}

/* Editorial Buttons & Links */
.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);
  color: var(--color-paper);
  border: 1px solid var(--color-ink);
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-ink:hover {
  background: var(--color-paper);
  color: var(--color-ink);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--rule-hover);
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.btn-outline:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-paper);
}

.ed-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink);
  padding-bottom: 4px;
}

.ed-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms var(--ease-editorial);
}

.ed-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
}

.ed-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ink-band .ed-link {
  color: var(--color-paper);
}

.ink-band .ed-link::before {
  background: var(--rule-inv);
}

/* Magazine Hero: 45% Text / 55% Photography Spread */
.hero-spread {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 41px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  color: var(--color-ink);
  margin: 0 0 24px;
}

html[lang="en"] .hero-title {
  font-size: clamp(38px, 4.0vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--color-graphite);
  max-width: 34em;
  margin: 0 0 36px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 36px;
}

.hero-facts {
  border-top: 1px solid var(--rule);
}

.hero-fact-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.hero-fact-k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.hero-fact-v {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-ink);
}

/* Right 55% Photographic Spread */
.hero-visuals {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.spread-figure {
  margin: 0;
}

.spread-frame {
  overflow: hidden;
  background: #efede8;
}

.spread-frame img {
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 650ms var(--ease-editorial);
}

.spread-figure:hover .spread-frame img {
  transform: scale(1.02);
}

.spread-main .spread-frame img {
  aspect-ratio: 16 / 11;
  object-position: center 22%;
}

.spread-diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.spread-diptych .spread-frame img {
  aspect-ratio: 3 / 2;
  object-position: center 25%;
}

.spread-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-graphite);
}

.spread-diptych .spread-cap {
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 4px;
}

.spread-cap-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  flex-shrink: 0;
}

/* Colophon Strip */
.colophon-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}

.colophon-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: baseline;
}

.colophon-k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.colophon-v {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-80);
  letter-spacing: 0.02em;
}

.colophon-sep {
  color: var(--ink-40);
  margin: 0 10px;
}

/* Editorial Sections */
.section {
  padding: var(--section-gap) 0;
}

.section-tight-top {
  padding-top: 56px;
}

.section-rule {
  border-top: 1px solid var(--rule);
}

.ink-band {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: var(--section-gap) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-ink);
}

html[lang="en"] .section-title {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.1;
}

.ink-band .section-title {
  color: var(--color-paper);
}

.section-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-graphite);
  max-width: 34em;
  margin: 14px 0 0;
}

.ink-band .section-sub {
  color: var(--paper-60);
}

/* Lead Feature Case (2-Column Editorial Spread) */
.lead-feature {
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  margin-bottom: 72px;
  transition: border-color 500ms var(--ease-editorial);
}

.lead-feature:hover {
  border-top-color: var(--rule-hover);
}

.lead-feature-link {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--col-gap);
  align-items: center;
}

.lead-feature-media {
  overflow: hidden;
  background: #efede8;
}

.lead-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms var(--ease-editorial);
}

.lead-feature:hover .lead-feature-media img {
  transform: scale(1.02);
}

.work-rubric {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 14px;
}

.lead-feature-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--color-ink);
}

.lead-feature-excerpt {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-graphite);
  max-width: 34em;
  margin: 0 0 24px;
}

/* 2-Column Hairline Work Grid (Strict 2-Col Editorial Rule) */
.work-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--col-gap);
  row-gap: 64px;
}

.work-card {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  transition: border-color 500ms var(--ease-editorial);
}

.work-card:hover {
  border-top-color: var(--rule-hover);
}

.work-card-media {
  overflow: hidden;
  background: var(--color-paper);
  margin-bottom: 20px;
}

.work-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 24%;
  mix-blend-mode: multiply;
  transition: transform 600ms var(--ease-editorial);
}

.work-card:hover .work-card-media img {
  transform: scale(1.02);
}

.work-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--color-ink);
}

html[lang="en"] .work-card-title {
  font-size: 28px;
  line-height: 1.22;
}

.work-excerpt {
  font-size: 14px;
  line-height: 1.72;
  color: var(--color-graphite);
  max-width: 34em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Editorial Index Rows (Used for Notes & Additional Archive Dossiers) */
.ed-index-list {
  margin-top: 64px;
}

.ed-index-list.no-top-gap {
  margin-top: 0;
}

.ed-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: var(--col-gap);
  align-items: baseline;
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  transition: border-color 500ms var(--ease-editorial);
}

.ed-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.ed-row:hover {
  border-top-color: var(--rule-hover);
}

.ed-row-meta {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  line-height: 1.6;
}

.ed-row-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 0 0 8px;
}

html[lang="en"] .ed-row-title {
  font-size: 27px;
  line-height: 1.24;
}

.ed-row-sum {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 42em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-row-arrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
  transition: color 300ms ease, transform 400ms var(--ease-editorial);
}

.ed-row:hover .ed-row-arrow {
  color: var(--color-ink);
  transform: translateX(4px);
}

/* Pull Quote (Mauve Accent <= 2% Screen Area) */
.pull-quote-band {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}

.pull-quote {
  margin: 0;
  max-width: 900px;
  border-left: 2px solid var(--color-ink);
  padding-left: 32px;
}

.pull-quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 0.8;
  color: var(--color-mauve);
  margin-bottom: 12px;
}

.pull-quote-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.42;
  color: var(--color-ink);
  margin: 0 0 16px;
}

html[lang="en"] .pull-quote-text {
  font-style: italic;
  font-size: clamp(26px, 2.8vw, 35px);
  line-height: 1.32;
}

.pull-quote-cite {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

/* Cinema / Moving Image (Surface Level 1: Ink Band #1c1c1c) */
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--col-gap);
  row-gap: 64px;
}

.cinema-vertical-head {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-inv);
  margin-bottom: 40px;
}

.cinema-vertical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  column-gap: var(--col-gap);
  row-gap: 56px;
}

.reel-card {
  border-top: 1px solid var(--rule-inv);
  padding-top: 20px;
  transition: border-color 500ms var(--ease-editorial);
}

.reel-card:hover {
  border-top-color: var(--rule-inv-hover);
}

.reel-stage {
  background: #121212;
  overflow: hidden;
}

.reel-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
}

.reel-stage.is-portrait video {
  aspect-ratio: 9 / 16;
}

.reel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-inv);
  margin-bottom: 16px;
}

.reel-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-60);
}

.reel-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reel-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-85);
  transition: opacity 200ms ease;
}

.reel-btn:hover {
  opacity: 0.65;
}

.reel-meta {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-60);
  margin-bottom: 8px;
}

.reel-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-paper);
  margin: 0 0 8px;
}

.reel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper-60);
  max-width: 34em;
  margin: 0 0 12px;
}

.reel-case-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-85);
  border-bottom: 1px solid var(--rule-inv-hover);
  padding-bottom: 2px;
}

/* Photographic Plates (Clean Print Captions Below Sharp Frames) */
.plates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--col-gap);
  row-gap: 56px;
}

.plate-card {
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  transition: border-color 500ms var(--ease-editorial);
}

.plate-card:hover {
  border-top-color: var(--rule-hover);
}

.plate-frame {
  overflow: hidden;
  background: #efede8;
}

.plate-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  cursor: zoom-in;
  transition: transform 600ms var(--ease-editorial);
}

.plate-card:hover .plate-frame img {
  transform: scale(1.02);
}

.plate-cap {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.plate-title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.35;
  color: var(--color-ink);
}

.plate-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-graphite);
  white-space: nowrap;
}

/* Practice Pillars & Vibecoding Lab (2-Column Hairline Cards) */
.two-col-hairline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--col-gap);
  row-gap: 56px;
}

.hairline-block {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  transition: border-color 500ms var(--ease-editorial);
}

.hairline-block:hover {
  border-top-color: var(--rule-hover);
}

.block-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 12px;
}

.block-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.3;
  color: var(--color-ink);
  margin: 0 0 10px;
}

.block-sub {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-80);
  margin: 0 0 10px;
}

.lab-flow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-graphite);
  padding: 10px 0;
  margin: 12px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.block-body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-graphite);
  max-width: 34em;
  margin: 0;
}

.lab-tags {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* Inner Page Hero */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--rule);
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin: 0 0 20px;
  max-width: 24em;
}

html[lang="en"] .page-title {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.08;
}

.page-lead {
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-graphite);
  max-width: 36em;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

/* Editorial Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 20px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.filter-btn {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  padding: 6px 0;
  transition: color 300ms ease;
}

.filter-btn:hover {
  color: var(--color-ink);
}

.filter-btn.active {
  color: var(--color-ink);
}

.filter-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 2px;
  background: var(--color-mauve);
}

/* Case Dossier Detail Page */
.case-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.spec-k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 6px;
}

.spec-v {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.35;
  color: var(--color-ink);
}

.case-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.case-narrative {
  position: sticky;
  top: 104px;
}

.n-block {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-bottom: 32px;
}

.n-block:first-child {
  border-top: none;
  padding-top: 0;
}

.n-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 10px;
}

.n-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-80);
  max-width: 34em;
  margin: 0;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-figure,
.case-video-wrap {
  grid-column: 1 / -1;
  margin: 0;
}

.case-figure.span-half,
.case-video-wrap.is-portrait {
  grid-column: span 1;
}

.case-figure-box {
  overflow: hidden;
  background: #efede8;
}

.case-figure-box img {
  width: 100%;
  cursor: zoom-in;
  transition: transform 600ms var(--ease-editorial);
}

.case-figure:hover .case-figure-box img {
  transform: scale(1.015);
}

.case-figure figcaption,
.case-video-cap {
  margin-top: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-graphite);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.case-video-wrap video {
  width: 100%;
  background: #121212;
}

.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.case-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-nav-dir {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.case-nav-title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.32;
  color: var(--color-ink);
}

/* Essay Prose */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-80);
  max-width: 38em;
}

.prose p {
  margin: 0 0 24px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.25;
  color: var(--color-ink);
  margin: 52px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.prose h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.35;
  color: var(--color-ink);
  margin: 36px 0 12px;
}

.prose blockquote {
  margin: 36px 0;
  padding-left: 24px;
  border-left: 2px solid var(--color-mauve);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-ink);
}

.prose ul {
  padding-left: 20px;
  margin: 0 0 24px;
}

.prose li {
  margin-bottom: 10px;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 5px;
  background: rgba(28, 28, 28, 0.06);
}

/* About Timeline & Matrix */
.exp-list {
  border-top: 1px solid var(--rule);
}

.exp-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--col-gap);
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}

.exp-period {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  padding-top: 4px;
}

.exp-company {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--color-ink);
}

.exp-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-mauve);
  margin-bottom: 14px;
}

.exp-summary {
  font-size: 15px;
  line-height: 1.78;
  color: var(--color-graphite);
  max-width: 38em;
  margin: 0;
}

/* Footer (Ink Band Surface) */
.site-footer {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 72px 0 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--col-gap);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-inv);
  align-items: end;
}

.footer-statement {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.32;
  color: var(--color-paper);
  margin: 0;
  max-width: 22em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-85);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-inv-hover);
  transition: border-color 300ms ease, color 300ms ease;
}

.footer-links a:hover {
  color: var(--color-paper);
  border-bottom-color: var(--color-paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-60);
}

/* Lightbox (Minimal Editorial Darkroom) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 28, 28, 0.96);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(92vw, 1280px);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--color-paper);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lightbox-btn {
  color: var(--color-paper);
  padding: 8px 14px;
  border: 1px solid var(--rule-inv-hover);
  font-size: 12px;
}

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

/* Responsive Breakpoints */
@media (max-width: 980px) {
  :root {
    --gutter: 24px;
    --section-gap: 72px;
    --col-gap: 32px;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .lead-feature-link,
  .case-body,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-narrative {
    position: static;
  }

  .ed-row,
  .exp-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .work-pair-grid,
  .cinema-grid,
  .cinema-vertical-grid,
  .plates-grid,
  .two-col-hairline,
  .spread-diptych,
  .case-specs,
  .case-gallery,
  .case-nav,
  .colophon-inner {
    grid-template-columns: 1fr;
  }

  .header-cv {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Home Page Airy Gallery Architecture (Breathing Space & Asymmetric Rhythm)
   ========================================================================== */

.home-hero {
  padding: 88px 0 72px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  column-gap: 96px;
  align-items: center;
}

.home-hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  margin: 0 0 28px;
  max-width: 14em;
  text-wrap: pretty;
}

html[lang="en"] .home-hero-title {
  font-size: clamp(40px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 13em;
}

.home-hero-lead {
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--color-graphite);
  max-width: 30em;
  margin: 0 0 40px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.home-hero-plate {
  margin: 0;
}

.home-hero-frame {
  overflow: hidden;
  background: #efede8;
}

.home-hero-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 24%;
  cursor: zoom-in;
  transition: transform 700ms var(--ease-editorial);
}

.home-hero-plate:hover .home-hero-frame img {
  transform: scale(1.02);
}

.home-figcap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-graphite);
}

.home-figcap-code {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}

.home-hero-footnote {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  margin-top: 84px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.fn-k {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 8px;
}

.fn-v {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-80);
}

/* Airy Home Sections */
.home-section {
  padding: 136px 0;
  border-top: 1px solid var(--rule);
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 88px;
}

/* Curated 4-Case Exhibition on Home */
.curated-spread {
  display: grid;
  grid-template-columns: 5fr 6fr;
  column-gap: 96px;
  align-items: center;
  margin-bottom: 128px;
}

.curated-spread.is-reverse {
  grid-template-columns: 5fr 6fr;
  margin-bottom: 0;
}

.curated-media {
  overflow: hidden;
  background: var(--color-paper);
}

.curated-media img {
  width: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 700ms var(--ease-editorial);
}

.curated-media.ratio-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 18%;
}

.curated-media.ratio-landscape img {
  aspect-ratio: 3 / 2;
  object-position: center 30%;
}

.curated-item:hover .curated-media img,
.curated-spread:hover .curated-media img {
  transform: scale(1.02);
}

.curated-copy {
  max-width: 31em;
}

.curated-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  margin: 0 0 20px;
}

html[lang="en"] .curated-title {
  font-size: clamp(30px, 2.9vw, 40px);
  line-height: 1.18;
}

.curated-excerpt {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-graphite);
  margin: 0 0 28px;
}

/* Asymmetric Offset Pair */
.curated-stagger {
  display: grid;
  grid-template-columns: 6.2fr 4.8fr;
  column-gap: 96px;
  align-items: start;
  margin-bottom: 128px;
}

.curated-item {
  display: block;
}

.curated-item.is-offset {
  margin-top: 112px;
}

.curated-item .curated-media {
  margin-bottom: 24px;
}

.curated-item-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.34;
  color: var(--color-ink);
  margin: 0 0 12px;
}

html[lang="en"] .curated-item-title {
  font-size: 28px;
  line-height: 1.24;
}

.curated-item-excerpt {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-graphite);
  max-width: 32em;
  margin: 0;
}

.curated-more-bar {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}

.curated-more-note {
  font-size: 14px;
  color: var(--color-graphite);
  line-height: 1.7;
}

/* Indented Magazine Pull Quote */
.home-quote-section {
  padding: 120px 0;
  border-top: 1px solid var(--rule);
}

.home-quote-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  column-gap: 64px;
  align-items: baseline;
}

.home-quote-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

/* Cinema Screening Room (1 Lead Feature + 2 Companion Reels) */
.home-ink-band {
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 136px 0;
}

.cinema-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  column-gap: 72px;
  align-items: center;
  margin-bottom: 88px;
}

.cinema-feature .reel-card {
  border-top: none;
  padding-top: 0;
}

.cinema-feature-copy {
  max-width: 28em;
}

.cinema-companions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rule-inv);
}

/* Asymmetric 3-Plate Spread on Home */
.triptych-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  column-gap: 96px;
  align-items: start;
}

.triptych-left-head {
  margin-bottom: 72px;
}

.triptych-right-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 24px;
}

.triptych-plate {
  margin: 0;
}

.triptych-frame {
  overflow: hidden;
  background: #efede8;
}

.triptych-frame img {
  width: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 700ms var(--ease-editorial);
}

.triptych-plate:hover .triptych-frame img {
  transform: scale(1.02);
}

.triptych-frame.is-portrait img {
  aspect-ratio: 3 / 4;
}

.triptych-frame.is-landscape img {
  aspect-ratio: 3 / 2;
}

/* 4 / 8 Left-Rail Split Editorial Sections (Notes & Lab) */
.split-editorial {
  display: grid;
  grid-template-columns: 3.8fr 8.2fr;
  column-gap: 80px;
  align-items: start;
}

.split-rail-sub {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-graphite);
  max-width: 22em;
  margin: 18px 0 32px;
}

@media (max-width: 980px) {
  .home-hero {
    padding: 56px 0 48px;
  }

  .home-hero-grid,
  .curated-spread,
  .curated-spread.is-reverse,
  .curated-stagger,
  .home-quote-grid,
  .cinema-feature,
  .triptych-grid,
  .split-editorial {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .home-hero-footnote {
    grid-template-columns: 1fr;
    row-gap: 24px;
    margin-top: 48px;
  }

  .curated-item.is-offset {
    margin-top: 0;
  }

  .home-section,
  .home-ink-band {
    padding: 80px 0;
  }

  .curated-spread,
  .curated-stagger {
    margin-bottom: 72px;
  }

  .curated-more-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .cinema-companions {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}

/* ==========================================================================
   wwwtf.site × Editorial Monograph Hero Stage (Grid Contact-Sheet & Float Dive)
   ========================================================================== */

.editorial-center-hero {
  padding: 100px 24px 68px;
  text-align: center;
}

.center-hero-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.center-kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 26px;
}

.center-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  margin: 0 auto 24px;
}

html[lang="en"] .center-title {
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.center-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.86;
  color: var(--color-graphite);
  max-width: 42em;
  margin: 0 auto 38px;
}

.center-controls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 30px;
}

.center-controls .btn-ink {
  padding: 14px 28px;
  font-size: 11.5px;
}

.stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.stage-bar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.stage-bar-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.stage-flow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-graphite);
  padding: 4px 0;
  cursor: pointer;
  transition: color 250ms ease;
}

.stage-flow-btn:hover {
  color: var(--color-ink);
}

.flow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-mauve);
  display: inline-block;
  animation: flowPulse 3.2s ease-in-out infinite;
}

.stage-flow-btn[aria-pressed="true"] .flow-dot {
  background: rgba(28, 28, 28, 0.3);
  animation: none;
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.38; }
  50% { opacity: 1; }
}

.stage-bar-sep {
  color: rgba(28, 28, 28, 0.2);
  font-size: 11px;
  user-select: none;
}

.stage-archive-link {
  font-size: 11px;
}

/* Multi-Plate Showcase Wrap */
.hero-stage-section {
  padding: 0 48px 48px;
}

.hero-stage-wrap {
  max-width: 1720px;
  margin: 0 auto;
}

/* Dual-Row Slow-Flowing Editorial Contact-Sheet Grid */
.hero-flow-grid {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--color-paper);
  overflow: hidden;
  user-select: none;
}

.hero-flow-grid::before,
.hero-flow-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 4;
  pointer-events: none;
}

.hero-flow-grid::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-paper) 0%, rgba(249, 248, 246, 0) 100%);
}

.hero-flow-grid::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-paper) 0%, rgba(249, 248, 246, 0) 100%);
}

.flow-row {
  position: relative;
  overflow: hidden;
}

.flow-row + .flow-row {
  border-top: 1px solid var(--rule);
}

.flow-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.flow-set {
  display: flex;
  flex: 0 0 auto;
}

.stage-cell {
  position: relative;
  flex: 0 0 auto;
  width: clamp(272px, 20vw, 332px);
  height: clamp(286px, 21vw, 326px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 22px 18px;
  border-right: 1px solid var(--rule);
  background: var(--color-paper);
  transition: background-color 360ms ease, opacity 340ms ease;
}

.flow-row:hover .stage-cell {
  opacity: 0.66;
}

.flow-row .stage-cell:hover,
.flow-row .stage-cell:focus-visible {
  opacity: 1;
  background: #f2f0eb;
}

.stage-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.stage-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(28, 28, 28, 0.42);
  transition: color 280ms ease;
}

.stage-tag {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.36);
  transition: color 280ms ease;
}

.stage-cell:hover .stage-num,
.stage-cell:focus-visible .stage-num {
  color: var(--color-ink);
}

.stage-cell:hover .stage-tag,
.stage-cell:focus-visible .stage-tag {
  color: rgba(28, 28, 28, 0.62);
}

.stage-mat {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 4px;
}

.stage-thumb {
  overflow: hidden;
  background: #ece9e2;
  transition: transform 520ms var(--ease-editorial);
}

.stage-thumb.is-studio {
  background: transparent;
}

.stage-thumb.is-studio img {
  mix-blend-mode: multiply;
}

.stage-cell[data-orient="landscape"] .stage-thumb {
  width: 94%;
  aspect-ratio: 3 / 2;
}

.stage-cell[data-orient="portrait"] .stage-thumb {
  height: clamp(158px, 12.4vw, 190px);
  aspect-ratio: 3 / 4;
  width: auto;
}

.stage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 700ms var(--ease-editorial);
}

.stage-cell:hover .stage-thumb,
.stage-cell:focus-visible .stage-thumb {
  transform: translateY(-3px);
}

.stage-cell:hover .stage-thumb img,
.stage-cell:focus-visible .stage-thumb img {
  transform: scale(1.045);
}

.stage-cell-bottom {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stage-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stage-brand {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
  transition: color 280ms ease;
}

.stage-arrow {
  font-size: 10.5px;
  line-height: 1;
  color: var(--color-ink);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 260ms ease, transform 320ms var(--ease-editorial);
}

.stage-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.02em;
  color: rgba(28, 28, 28, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 280ms ease;
}

.stage-cell:hover .stage-brand,
.stage-cell:focus-visible .stage-brand {
  color: var(--color-mauve);
}

.stage-cell:hover .stage-arrow,
.stage-cell:focus-visible .stage-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.stage-cell:hover .stage-title,
.stage-cell:focus-visible .stage-title {
  color: var(--color-ink);
}

.stage-colophon {
  max-width: var(--page-max-width);
  margin: 76px auto 12px;
  padding: 0 var(--gutter);
}

.stage-colophon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

@media (prefers-reduced-motion: reduce) {
  .flow-row {
    overflow-x: auto;
  }
  .flow-set[data-flow-set="b"] {
    display: none;
  }
  .flow-dot {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-stage-section {
    padding: 0 20px 24px;
  }
  .hero-flow-grid::before,
  .hero-flow-grid::after {
    width: 18px;
  }
  .stage-cell {
    width: 236px;
    height: 258px;
    padding: 14px 16px 16px;
  }
  .stage-cell[data-orient="portrait"] .stage-thumb {
    height: 142px;
  }
  .stage-colophon-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

/* ==========================================================================
   Cross-Document Editorial View Transitions & Reduced Motion
   ========================================================================== */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: ed-page-out 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-new(root) {
  animation: ed-page-in 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
  mix-blend-mode: normal;
}

@keyframes ed-page-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes ed-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* Fallback subtle page transition when View Transitions API is unavailable */
body.is-page-leaving main {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

/* ==========================================================================
   Footer Button Trigger & Privacy-First CV Drawer
   ========================================================================== */

.footer-link-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249, 248, 246, 0.72);
  cursor: pointer;
  transition: color 240ms ease;
}

.footer-link-btn:hover {
  color: var(--color-paper);
}

.cv-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}

.cv-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cv-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.42);
  opacity: 0;
}

.cv-drawer-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100vw);
  height: 100%;
  background: var(--color-paper);
  color: var(--color-ink);
  border-left: 1px solid rgba(28, 28, 28, 0.16);
  padding: 36px 40px 44px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
}

.cv-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}

.cv-drawer-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 10px;
}

.cv-drawer-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--color-ink);
}

.cv-drawer-close {
  appearance: none;
  background: none;
  border: 1px solid var(--rule);
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-ink);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.cv-drawer-close:hover {
  background: var(--color-ink);
  color: var(--color-paper);
  border-color: var(--color-ink);
}

.cv-drawer-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
  gap: 0;
}

.cv-tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 6px 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease;
}

.cv-tab:hover {
  color: var(--color-ink);
}

.cv-tab.is-active {
  color: var(--color-ink);
  border-bottom-color: var(--color-mauve);
}

.cv-pane {
  display: none;
  flex-direction: column;
  gap: 22px;
}

.cv-pane.is-active {
  display: flex;
}

.cv-pane-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(28, 28, 28, 0.72);
}

.cv-doc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.cv-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--color-ink);
  transition: border-color 240ms ease, padding-left 240ms ease;
}

.cv-doc-row:hover {
  border-bottom-color: rgba(28, 28, 28, 0.45);
  padding-left: 6px;
}

.cv-doc-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 5px;
}

.cv-doc-name {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--color-ink);
}

.cv-doc-action {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  border-bottom: 1px solid var(--ink-40);
  padding-bottom: 2px;
}

.cv-pane-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 10px;
  font-size: 13px;
  color: var(--color-graphite);
}

.cv-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.cv-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cv-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cv-field span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
}

.cv-field input,
.cv-field textarea,
.cv-unlock-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 28, 0.24);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-ink);
  border-radius: 0;
  outline: none;
  transition: border-color 220ms ease;
}

.cv-field textarea {
  resize: vertical;
  min-height: 76px;
  border: 1px solid rgba(28, 28, 28, 0.16);
  padding: 12px;
}

.cv-field input:focus,
.cv-field textarea:focus,
.cv-unlock-form input:focus {
  border-color: var(--color-ink);
}

.cv-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.cv-unlock-form {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.cv-unlock-form input {
  flex: 1 1 auto;
}

.cv-form-msg {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-ink);
  min-height: 1.4em;
}

.cv-form-msg.is-success {
  color: #2f4f3e;
}

.cv-form-msg.is-error {
  color: #8b3333;
}

.ed-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cv-drawer-panel {
    padding: 24px 20px 32px;
  }
  .cv-drawer-title {
    font-size: 26px;
  }
  .cv-drawer-tabs {
    grid-template-columns: 1fr;
  }
  .cv-unlock-form {
    flex-direction: column;
    align-items: stretch;
  }
}
