/* ================================================================
   Editorial — magazine-grade design system
   ================================================================ */

:root {
  /* Palette — warm paper meets anthracite + burnt orange */
  --paper:        #F4EFE6;   /* warm off-white, slight cream */
  --paper-deep:   #ECE6D9;   /* slightly deeper for sections */
  --ink:          #1A1A1A;   /* near-black, warm */
  --ink-soft:     #2A2A28;
  --muted:        #6E6A60;   /* warm grey */
  --muted-soft:   #9A958A;
  --rule:         #1A1A1A;
  --rule-soft:    rgba(26,26,26,0.18);

  --accent:       #C84B1F;   /* burnt orange — single accent */
  --accent-deep:  #A33C16;
  --accent-soft:  rgba(200,75,31,0.10);

  /* Type — single sans throughout, mono-caps as the design language */
  --serif: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:  -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Layout */
  --gutter: 32px;
  --max:    1440px;

  /* Easing */
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { background: var(--paper); color: var(--ink); }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'ss01';
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--paper); }

/* Subtle paper texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ================================================================
   Wrapper / grid
   ================================================================ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; opacity: 0.85; }
.rule-soft { border: 0; border-top: 1px solid var(--rule-soft); margin: 0; }

/* ================================================================
   MASTHEAD — like a magazine
   ================================================================ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  transition: background 0.4s var(--ease);
}
.masthead-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 18px 0;
  gap: 32px;
}
.masthead-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 20px;
}
.masthead-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.masthead-logo {
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.masthead-logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
}
.masthead-logo .logo-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.masthead-cta {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
}
.masthead-link {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: -0.01em;
  position: relative;
}
.masthead-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.masthead-link:hover::after,
.masthead-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.masthead-cta-btn {
  position: relative;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(34, 30, 28, 0.18);
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(34, 30, 28, 0.04),
    0 6px 24px -8px rgba(34, 30, 28, 0.12);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
}
.masthead-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}
.masthead-cta-btn svg {
  transition: transform 0.45s var(--ease);
  position: relative;
  z-index: 1;
}
.masthead-cta-btn > * {
  position: relative;
  z-index: 1;
}
.masthead-cta-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px -4px rgba(34, 30, 28, 0.35);
}
.masthead-cta-btn:hover::before {
  opacity: 0;
}
.masthead-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Issue bar — date + section labels */
.issue-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
}

/* ================================================================
   HERO — split editorial cover
   ================================================================ */
.hero {
  position: relative;
  padding: 48px 0 88px;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

/* Top strip: kicker left, stats right */
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 40px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--rule-soft);
}
.hero-stats {
  display: flex;
  gap: 56px;
  align-items: flex-end;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.hero-stat span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}
.hero-main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.hero-kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}
.hero-title .ital {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero-deck {
  font-family: var(--sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  max-width: 520px;
  margin: 0;
}

/* CTAs */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), gap 0.4s var(--ease);
}
.hero-cta:hover {
  background: var(--accent);
  gap: 14px;
  transform: translateY(-1px);
}
.hero-cta svg { transition: transform 0.4s var(--ease); }
.hero-cta:hover svg { transform: translateX(2px); }
.hero-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.hero-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.hero-link:hover { color: var(--accent); }
.hero-link:hover::after { background: var(--accent); transform: scaleX(0.7); }

.hero-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
.hero-byline strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-byline .sep { color: var(--rule-soft); }

/* Hero right: portrait + caption */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
}
.hero-portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 520px;
  background: var(--ink);
  overflow: hidden;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  transition: filter 0.6s var(--ease);
}
.hero-portrait-wrap:hover .hero-portrait {
  filter: grayscale(0) contrast(1) brightness(1);
}
.hero-portrait-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  padding: 24px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.hero-caption {
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.005em;
  padding: 20px 0 0 22px;
  position: relative;
  margin: 0;
  max-width: 480px;
}
.hero-caption-mark {
  position: absolute;
  top: 4px;
  left: 0;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  font-weight: 600;
}

/* Big title number indicator — removed, was creating overlap with hero-aside */
.hero-volume { display: none; }

/* ================================================================
   MARQUEE — perspective 3D running strip
   ================================================================ */
.pm-stage {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  height: 220px;
  overflow: hidden;
  perspective: 1200px;
  border-top: 1px solid rgba(34, 30, 28, 0.12);
  border-bottom: 1px solid rgba(34, 30, 28, 0.12);
  isolation: isolate;
}
.pm-perspective {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: rotateX(8deg) rotateY(-22deg);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}
.pm-track {
  display: inline-flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  will-change: transform;
  padding-left: 0;
  align-items: center;
}
.pm-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 80px;
  font-family: var(--sans);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
  flex-shrink: 0;
  transition: filter 0.2s linear, opacity 0.2s linear;
}
.pm-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(212, 110, 71, 0.4);
  animation: pm-dot-pulse 2.6s ease-in-out infinite;
}
.pm-text {
  display: inline-block;
}
.pm-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.pm-fade-h {
  background: linear-gradient(90deg, var(--paper) 0%, transparent 14%, transparent 86%, var(--paper) 100%);
}
.pm-fade-v {
  background: linear-gradient(180deg, var(--paper) 0%, transparent 22%, transparent 78%, var(--paper) 100%);
}

@keyframes pm-dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@media (max-width: 720px) {
  .pm-stage { height: 150px; }
  .pm-perspective { transform: rotateX(6deg) rotateY(-18deg); }
  .pm-item { font-size: 40px; gap: 24px; padding-right: 52px; }
  .pm-dot { width: 9px; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .pm-perspective { transform: none; }
  .pm-fade-v { display: none; }
  .pm-item { filter: none !important; opacity: 1 !important; }
}

/* ================================================================
   MANIFESTO — large lede paragraph
   ================================================================ */
.section { padding: 80px 0 60px; position: relative; }
.section + .section { padding-top: 120px; }
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 32vw, 480px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,30,28,0.22), transparent);
}
.section-head { margin-bottom: 80px; }
.section-deep { background: var(--paper-deep); }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 72px;
  align-items: baseline;
}
.section-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
/* Animated divider — black base line + orange that sweeps in left-to-right on reveal */
.section-num::after {
  content: '';
  flex: 1;
  height: 1px;
  align-self: center;
  background:
    linear-gradient(to right, var(--accent), var(--accent)) left center / 0% 100% no-repeat,
    var(--ink);
  transition: background-size 1.2s var(--ease) 0.25s;
}
.section-head.in .section-num::after {
  background-size: 100% 100%, auto;
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-title .ital { font-style: normal; font-weight: 700; color: var(--accent); }

/* Manifesto layout */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 8px;
}

/* Globe */
.manifesto-globe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  align-self: center;
}
.globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  cursor: grab;
  contain: layout paint;
}
.globe-canvas:active { cursor: grabbing; }
.globe-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34,30,28,0.10);
  pointer-events: none;
  animation: globe-spin 60s linear infinite;
}
.globe-ring-1 { transform: rotate(-12deg); border-style: dashed; }
.globe-ring-2 {
  inset: -22px;
  border-color: rgba(34,30,28,0.06);
  animation-direction: reverse;
  animation-duration: 90s;
}
@keyframes globe-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.globe-meta {
  position: relative;
  padding: 18px 0 0 22px;
  font-family: var(--sans);
  border-left: 1px solid rgba(34,30,28,0.18);
}
.globe-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.globe-meta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.globe-meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.globe-meta-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.globe-meta-body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 18px;
}
.globe-meta-body em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.globe-meta-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(34,30,28,0.18);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 960px) {
  .manifesto { grid-template-columns: 1fr; gap: 60px; }
  .manifesto-globe { align-items: center; }
  .globe-wrap { max-width: 360px; }
  .globe-meta { max-width: 380px; }
}

/* Legacy manifesto-side styles kept below for transition only */
.manifesto-side-rail {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--ink);
  opacity: 0.85;
}
.manifesto-side-rail::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.manifesto-side-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.manifesto-side-title {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.manifesto-side-body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 28px;
}
.manifesto-side-body em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.manifesto-side-meta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0 0;
  border-top: 1px solid rgba(34, 30, 28, 0.18);
}

.manifesto-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 64ch;
}
.manifesto-lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.5; overflow: hidden; }
.manifesto-body .lead-cap {
  float: left;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 3.2em;
  line-height: 0.88;
  margin: 0.06em 0.10em -0.08em 0;
  color: var(--accent);
}
.manifesto-body p + p { margin-top: 26px; }
.manifesto-body em { color: var(--accent); font-style: normal; font-weight: 600; }
.manifesto-body strong { font-weight: 600; color: var(--ink); }

.manifesto-sign {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
  font-family: var(--sans);
}
.manifesto-sign-line {
  width: 56px;
  height: 1px;
  background: var(--ink);
}
.manifesto-sign-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.manifesto-sign-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pull-quote {
  margin: 80px auto 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-transform: none;
  text-align: center;
  color: var(--ink);
  position: relative;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.pull-quote::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
}
.pull-quote em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.pull-quote-attr {
  display: block;
  margin-top: 32px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   PILLARS — three numbered editorial entries
   ================================================================ */
.pillars {
  display: flex;
  flex-direction: column;
}
.pillar {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--ink);
  align-items: start;
  transition: padding 0.5s var(--ease);
  cursor: default;
}
.pillar:last-child { border-bottom: 1px solid var(--ink); }
.pillar:hover { padding-left: 24px; background: linear-gradient(90deg, var(--accent-soft), transparent 40%); }
.pillar:hover .pillar-title { color: var(--accent); transform: translateX(4px); }
.pillar:hover .pillar-num { transform: translateX(8px); color: var(--accent); }
.pillar-num { transition: transform 0.5s var(--ease), color 0.5s var(--ease); }
.pillar-title { transition: color 0.5s var(--ease), transform 0.5s var(--ease) !important; }

.pillar-num {
  font-family: var(--sans);
  font-size: clamp(56px, 6.4vw, 96px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.pillar-num .pct {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 12px;
}
.pillar-title {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.pillar-title em { font-style: normal; color: var(--accent); font-weight: 700; }
.pillar-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.pillar-body p { margin-bottom: 14px; }
.pillar-body ul {
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.pillar-body li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-left: 18px;
}
.pillar-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  background: var(--accent);
}

/* ================================================================
   FACTS — large numbers strip
   ================================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 80px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
/* Animated accent sweep on top + bottom facts borders */
.facts::before,
.facts::after {
  content: '';
  position: absolute;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 1.4s var(--ease) 0.15s;
}
.facts::before { top: -1px; }
.facts::after  { bottom: -1px; transition-delay: 0.35s; }
.reveal.in .facts::before,
.reveal.in .facts::after { width: 100%; }
/* If .facts itself is the reveal target */
.facts.in::before,
.facts.in::after { width: 100%; }
.fact {
  padding: 50px 32px;
  position: relative;
  border-right: 1px solid var(--rule-soft);
  transition: background 0.5s var(--ease);
}
.fact:hover { background: var(--accent-soft); }
.fact:hover .fact-num { color: var(--accent); }
.fact:last-child { border-right: 0; }
.fact-num {
  font-family: var(--sans);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 18px;
  transition: color 0.5s var(--ease);
}
.fact-num .unit {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.fact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ================================================================
   PROFILE — Niko portrait + bio in two-col magazine layout
   ================================================================ */
.profile {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.profile-photo {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 560px;
  background: var(--ink);
  overflow: hidden;
}
.profile-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.profile-photo-tag {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-photo-tag-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.profile-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.profile-deck {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0;
  text-wrap: pretty;
}
.profile-deck em { font-style: normal; font-weight: 600; color: var(--ink); }
.profile-bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 32px;
  text-wrap: pretty;
}
.profile-bio p + p { margin-top: 14px; }
.profile-creds {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  margin-top: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.profile-cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-cred-year {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile-cred-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ================================================================
   PROCESS — three-step horizontal
   ================================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.proc-step {
  padding: 60px 40px 60px 0;
  border-right: 1px solid var(--rule-soft);
  position: relative;
  display: flex;
  flex-direction: column;
}
.proc-step:last-child { border-right: 0; padding-right: 0; }
.proc-step:nth-child(2) { padding-left: 40px; }
.proc-step:last-child { padding-left: 40px; }

.proc-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.proc-title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.proc-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.proc-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
  margin-top: auto;
}

/* ================================================================
   CONTACT — editorial form
   ================================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Light variant */
.contact.contact-light {
  background: var(--paper);
  color: var(--ink);
}
.contact.contact-light .section-title { color: var(--ink); }
.contact.contact-light .section-num { color: var(--accent); }
.contact.contact-light .contact-deck { color: var(--muted); }
.contact.contact-light .contact-bullets { border-top-color: rgba(34,30,28,0.18); }
.contact.contact-light .contact-bullet { color: var(--muted); }
.contact.contact-light .contact-bullet-num { color: var(--ink); }
.contact.contact-light .cf-label { color: var(--muted); }
.contact.contact-light .cf-input,
.contact.contact-light .cf-textarea { color: var(--ink); }
.contact.contact-light .cf-input::placeholder,
.contact.contact-light .cf-textarea::placeholder { color: rgba(34,30,28,0.4); }
.contact.contact-light .cf-line { background: rgba(34,30,28,0.22); }
.contact.contact-light .cf-field:hover .cf-line { background: rgba(34,30,28,0.45); }
.contact.contact-light .cf-field:focus-within .cf-label { color: var(--accent); }
.contact.contact-light .cf-chip {
  border-color: rgba(34,30,28,0.28);
  color: var(--muted);
}
.contact.contact-light .cf-chip-dot { background: rgba(34,30,28,0.35); }
.contact.contact-light .cf-chip:hover { border-color: var(--ink); color: var(--ink); }
.contact.contact-light .cf-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.contact.contact-light .cf-foot { border-top-color: rgba(34,30,28,0.18); }
.contact.contact-light .cf-foot-note { color: var(--muted); }
.contact.contact-light .contact-submit {
  color: var(--ink);
  border-color: var(--ink);
}
.contact.contact-light .contact-submit::before { background: var(--ink); }
.contact.contact-light .contact-submit:hover { color: var(--paper); }
.contact.contact-light .contact-success h3 { color: var(--ink); }
.contact.contact-light .contact-success p { color: var(--muted); }

/* Mode toggle */
.contact-mode-toggle {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  opacity: 0.55;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-mode-toggle:hover { opacity: 1; }
.cmt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.cmt-dot.on { background: var(--accent); opacity: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  position: relative;
  z-index: 1;
  align-items: start;
}
.contact-head .section-title { color: var(--paper); }
.contact-head .section-num { color: var(--accent); }
.contact-head .section-num::after {
  background:
    linear-gradient(to right, var(--accent), var(--accent)) left center / 0% 100% no-repeat,
    var(--paper);
  transition: background-size 1.2s var(--ease) 0.25s;
}
.contact-head.in .section-num::after {
  background-size: 100% 100%, auto;
}
.contact-deck {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  margin-top: 32px;
  color: rgba(244,239,230,0.78);
  letter-spacing: -0.005em;
  max-width: 480px;
  text-wrap: pretty;
}
.contact-bullets {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(244,239,230,0.18);
  padding-top: 32px;
}
.contact-bullet {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.7);
}
.contact-bullet-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
}

/* Form — editorial v2 */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cf-field, .cf-topic, .cf-foot {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.contact-form.in .cf-field,
.contact-form.in .cf-topic,
.contact-form.in .cf-foot,
.reveal.in .cf-field,
.reveal.in .cf-topic,
.reveal.in .cf-foot { opacity: 1; transform: none; }
.cf-row .cf-field[data-fi="0"] { transition-delay: 0.05s; }
.cf-row .cf-field[data-fi="1"] { transition-delay: 0.12s; }
.cf-field[data-fi="2"] { transition-delay: 0.20s; }
.cf-topic[data-fi="3"] { transition-delay: 0.28s; }
.cf-field[data-fi="4"] { transition-delay: 0.36s; }
.cf-foot[data-fi="5"]  { transition-delay: 0.44s; }

.cf-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.85);
  margin-bottom: 14px;
  transition: color 0.4s var(--ease);
}
.cf-input,
.cf-textarea {
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  padding: 4px 0 14px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--paper);
  width: 100%;
  caret-color: var(--accent);
}
.cf-textarea {
  resize: vertical;
  min-height: 92px;
}
.cf-input::placeholder,
.cf-textarea::placeholder {
  color: rgba(244,239,230,0.5);
}
/* Hairline underline + animated accent */
.cf-line {
  display: block;
  position: relative;
  height: 1px;
  background: rgba(244,239,230,0.22);
}
.cf-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.cf-field:focus-within .cf-line::after { transform: scaleX(1); }
.cf-field:focus-within .cf-label { color: var(--accent); }
.cf-field:hover .cf-line { background: rgba(244,239,230,0.4); }

/* Topic chips */
.cf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cf-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(244,239,230,0.28);
  background: transparent;
  color: rgba(244,239,230,0.85);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.cf-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(244,239,230,0.4);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.cf-chip:hover {
  border-color: var(--paper);
  color: var(--paper);
}
.cf-chip:hover .cf-chip-dot { background: var(--accent); }
.cf-chip.active {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.cf-chip.active .cf-chip-dot {
  background: var(--accent);
  transform: scale(1.3);
}
.cf-chip:active { transform: scale(0.97); }

/* Foot */
.cf-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(244,239,230,0.18);
}
.cf-foot-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(244,239,230,0.7);
}

@media (max-width: 720px) {
  .cf-row { grid-template-columns: 1fr; }
  .cf-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Legacy field styles — keep for any non-cf usage but no longer applied to form */
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.field-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(244,239,230,0.85);
}
.field-label .req { color: var(--accent); margin-left: 4px; }
.field-input,
.field-textarea {
  background: rgba(244,239,230,0.04);
  border: 0;
  border-bottom: 1px solid rgba(244,239,230,0.55);
  padding: 12px 14px 14px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--paper);
  letter-spacing: -0.005em;
  outline: none;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  width: 100%;
}
.field-input:hover,
.field-textarea:hover {
  background: rgba(244,239,230,0.07);
  border-bottom-color: rgba(244,239,230,0.85);
}
.field-textarea {
  resize: vertical;
  min-height: 100px;
}
.field-input:focus,
.field-textarea:focus {
  border-bottom-color: var(--accent);
  background: rgba(244,239,230,0.08);
}
.field-input::placeholder,
.field-textarea::placeholder {
  color: rgba(244,239,230,0.5);
  font-style: normal;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-topic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.topic-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-chip {
  padding: 10px 16px;
  border: 1px solid rgba(244,239,230,0.5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.85);
  border-radius: 999px;
  transition: all 0.35s var(--ease);
}
.topic-chip:hover {
  border-color: var(--paper);
  color: var(--paper);
}
.topic-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.contact-submit {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 22px 0;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  width: 100%;
  justify-content: space-between;
  position: relative;
  transition: color 0.4s var(--ease);
}
.contact-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.contact-submit:hover { color: var(--paper); }
.contact-submit:hover::before { transform: scaleY(1); }
.contact-submit svg {
  transition: transform 0.5s var(--ease);
}
.contact-submit:hover svg { transform: translateX(8px); }

.contact-success {
  text-align: left;
  padding: 40px 0;
}
.contact-success h3 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--paper);
}
.contact-success h3 em { color: var(--accent); font-style: normal; }
.contact-success p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244,239,230,0.75);
  font-weight: 400;
  max-width: 420px;
}

/* ================================================================
   COLOPHON — footer
   ================================================================ */
.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(244,239,230,0.18);
}
.colophon-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.colophon-brand {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--paper);
  max-width: 360px;
}
.colophon-brand .accent { color: var(--accent); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 14px; font-size: 12px; }
.colophon-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.colophon-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.colophon-col a {
  font-size: 14px;
  color: rgba(244,239,230,0.78);
  transition: color 0.3s var(--ease);
}
.colophon-col a:hover { color: var(--accent); }

.colophon-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,230,0.18);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
}
.colophon-bottom a { transition: color 0.3s var(--ease); }
.colophon-bottom a:hover { color: var(--paper); }

/* ================================================================
   SCROLL REVEAL — richer
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  filter: blur(6px);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* Section title gets an accent underline that draws in on reveal */
.section-title { position: relative; display: inline-block; }
.section-head.in .section-title::after,
.section-head .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 60px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.4s;
}
.section-head.in .section-title::after { transform: scaleX(1); }

/* Word reveal for hero title — overflow clip, no blur (inline-block conflicts) */
.title-line { display: block; overflow: hidden; padding: 0.04em 0; }
.title-word {
  display: inline-block;
  transform: translateY(108%) rotate(2deg);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left bottom;
}
.title-word.in { transform: translateY(0) rotate(0); }

/* Stronger hero title styling — inline-style backup at element level too */
.hero h1.hero-title,
.hero h1.hero-title .ital,
.hero h1.hero-title .title-word {
  font-family: var(--sans) !important;
  font-style: normal !important;
}
.title-word.has-gap { padding-right: 0.28em; }

/* ================================================================
   WERKSTATT — image essay (uniform grid, animated reveal)
   ================================================================ */
.werke-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.werke-card {
  margin: 0;
  display: block;
}
.werke-card .werke-img-wrap {
  aspect-ratio: 3/4;
}

.werke-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  /* Reveal animation base state */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.werke-card:nth-child(1) .werke-img-wrap { transition-delay: 0.05s; }
.werke-card:nth-child(2) .werke-img-wrap { transition-delay: 0.20s; }
.werke-card:nth-child(3) .werke-img-wrap { transition-delay: 0.35s; }

.section.in .werke-img-wrap,
.werke-card.in .werke-img-wrap,
.reveal.in .werke-img-wrap {
  opacity: 1;
  transform: none;
}

.werke-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.18) contrast(1.02);
  transform: scale(1.06);
  transition: transform 1.6s var(--ease), filter 1.4s var(--ease);
}
.section.in .werke-img,
.reveal.in .werke-img {
  transform: scale(1.0);
}
.werke-card:hover .werke-img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.05);
}

/* Reveal sweep — accent line draws across top of each image on enter */
.werke-img-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 2;
  transition: width 1s var(--ease);
}
.section.in .werke-card:nth-child(1) .werke-img-wrap::before { width: 100%; transition-delay: 0.20s; }
.section.in .werke-card:nth-child(2) .werke-img-wrap::before { width: 100%; transition-delay: 0.35s; }
.section.in .werke-card:nth-child(3) .werke-img-wrap::before { width: 100%; transition-delay: 0.50s; }

.werke-num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--paper);
  mix-blend-mode: difference;
  opacity: 0.92;
}

@media (max-width: 960px) {
  .werke-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .werke-card:nth-child(3) { grid-column: span 2; }
  .werke-card:nth-child(3) .werke-img-wrap { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .werke-grid { grid-template-columns: 1fr; gap: 16px; }
  .werke-card:nth-child(3) .werke-img-wrap { aspect-ratio: 3/4; }
}

/* Rotating word in hero headline — clip line + slide+fade between words */
.title-line-rotator {
  display: inline-block;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  line-height: inherit;
}
.rotating-word {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  vertical-align: top;
  line-height: inherit;
}
.rotating-word-spacer {
  display: inline-block;
  visibility: hidden;
  white-space: nowrap;
}
.rotating-word-item {
  position: absolute;
  inset: 0;
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}
.rotating-word-item.is-prev {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.rotating-word-item.is-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease) 0.08s, transform 0.7s var(--ease) 0.08s;
}

/* Process step hover */
.proc-step { transition: padding 0.5s var(--ease); }
.proc-step:hover .proc-title { color: var(--accent); }
.proc-title { transition: color 0.5s var(--ease); }

/* (legacy marquee hover removed — now handled by JS speedRef) */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
}

/* Topic chip subtle scale */
.topic-chip { will-change: transform; }
.topic-chip:active { transform: scale(0.96); }
.topic-chip.active { transform: scale(1.02); }

/* Hero portrait subtle zoom on load */
.hero-portrait-wrap { overflow: hidden; }
.hero-portrait {
  transform: scale(1.02);
  transition: transform 8s var(--ease), filter 0.6s var(--ease);
}
.hero-portrait-wrap:hover .hero-portrait { transform: scale(1.06); filter: grayscale(0) contrast(1) brightness(1); }

/* Profile photo same treatment */
.profile-photo { overflow: hidden; }
.profile-photo img { transition: transform 8s var(--ease), filter 0.8s var(--ease); }
.profile-photo:hover img { transform: scale(1.04); filter: grayscale(0); }

/* Masthead links — accent dot on hover */
.masthead-link { transition: color 0.3s var(--ease); }
.masthead-link:hover { color: var(--accent); }

/* Hero kicker line draw */
.hero-kicker.in::before { animation: kicker-line 0.9s var(--ease) 0.1s both; }
@keyframes kicker-line {
  from { width: 0; }
  to   { width: 32px; }
}

/* (legacy dot-pulse removed) */
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-volume { display: none; }
  .manifesto, .profile, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar { grid-template-columns: 80px 1fr; gap: 24px; }
  .pillar-body { grid-column: 1 / -1; padding-top: 8px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--rule-soft); }
  .process { grid-template-columns: 1fr; }
  .proc-step { border-right: 0; padding: 40px 0; border-top: 1px solid var(--rule-soft); }
  .proc-step:first-child { border-top: 0; }
  .proc-step:nth-child(2), .proc-step:last-child { padding-left: 0; }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 50px; }
  .section { padding: 96px 0 80px; }
  .section + .section { padding-top: 80px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .masthead-row { grid-template-columns: 1fr auto; }
  .masthead-meta { display: none; }
  .masthead-cta-btn { padding: 8px 14px; font-size: 11px; }
  .masthead-link:not(.masthead-cta-btn) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .colophon-grid { grid-template-columns: 1fr; }
  .pillar-body ul { grid-template-columns: 1fr; }
  .pull-quote { padding: 40px 0; }
}
