/* cinematic.css — award-winning sections */

/* ═════════════════════════ 01 · SERVICES CINEMA ═════════════════════════ */
.cs { position: relative; }
.cs-sticky {
  position: sticky; top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: background 1.4s ease;
}
.cs-rails {
  position: absolute; top: 88px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 max(3vw, 2rem);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  z-index: 5;
}
.cs-dots {
  position: absolute; top: 50%; right: max(2vw, 1.5rem);
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1rem;
  z-index: 5;
}
.cs-dot {
  display: flex; align-items: center; gap: 0.6rem;
  opacity: 0.4;
  transition: opacity 0.4s var(--ease);
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.cs-dot .cs-dot-mark {
  width: 22px; height: 1px;
  background: currentColor;
  transition: width 0.5s var(--ease), background 0.4s;
}
.cs-dot.on { opacity: 1; color: var(--accent); }
.cs-dot.on .cs-dot-mark { width: 52px; background: var(--accent); }
.cs-dot.done { opacity: 0.7; }

.cs-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding: 120px max(5vw, 3rem) 100px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 900px) {
  .cs-stage { grid-template-columns: 1fr; gap: 1.5rem; padding: 100px 1.5rem 80px; }
  .cs-dots { display: none; }
}
.cs-visual-col {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 60vh;
  display: grid; place-items: center;
}
.cs-visual { position: absolute; inset: 0; display: grid; place-items: center; }
.cv { width: 100%; height: 100%; max-width: 520px; max-height: 520px; }
.cv--signal { display: flex; gap: 6px; align-items: center; justify-content: center; height: 60%; }
.cv-bar { display: block; width: 6px; height: 40%; background: var(--accent); border-radius: 3px; box-shadow: 0 0 12px color-mix(in oklab, var(--accent) 60%, transparent); transform-origin: center; }

.cs-type-col { position: relative; }
.cs-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.cs-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.cs-display {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
  display: flex; flex-direction: column;
}
.cs-display-row {
  display: inline-block;
  color: var(--text);
  will-change: transform, opacity, filter;
}
.cs-display-row--serif {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.015em;
}
.cs-line {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.cs-meta {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 3rem;
}
.cs-meta li {
  font-family: var(--font-mono); font-size: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg-0) 50%, transparent);
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}
.cs-counter {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: baseline; gap: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.cs-counter-n { font-family: var(--font-serif); font-style: italic; font-size: 3rem; color: var(--accent); line-height: 1; }
.cs-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  z-index: 4;
}
.cs-hint-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: cs-hint-scroll 2s ease-in-out infinite;
}
@keyframes cs-hint-scroll {
  0%   { transform: translateY(-20px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ═════════════════════════ 02 · EXPERTISE — kinetic + constellation ═════════════════════════ */
.ex {
  position: relative;
  padding: 12rem 0 10rem;
  background: linear-gradient(180deg, #05070a 0%, #0a0d11 55%, #05070a 100%);
  overflow: hidden;
  isolation: isolate;
}
.ex-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ex-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(1200px 800px at 70% 50%, #000 30%, transparent 80%);
}
.ex-bg-glow {
  position: absolute;
  right: -10%; top: 10%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%);
  filter: blur(40px);
}

.ex-head {
  max-width: 1200px;
  margin: 0 auto 6rem;
  padding: 0 max(5vw, 1.5rem);
  position: relative; z-index: 2;
}
.ex-title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.03em;
  color: var(--text);
}
.ex-title span { display: block; }
.ex-title--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.ex-lede {
  max-width: 54ch;
  color: var(--text-dim);
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
}

.ex-stage {
  position: relative; z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(5vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: start;
}
@media (max-width: 860px) { .ex-stage { grid-template-columns: minmax(0, 1fr); gap: 3rem; } }

.ex-left {
  position: sticky; top: 8rem;
  display: flex; flex-direction: column; gap: 2rem;
  min-width: 0;
  min-height: 520px;
}
@media (max-width: 860px) { .ex-left { position: static; min-height: 0; } }

.ex-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  height: 1rem;
}
.ex-category {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0;
  position: relative;
  height: clamp(3.2rem, 7.2vw, 6.3rem);
}
.ex-category-inner {
  display: inline-block;
  background: linear-gradient(180deg, var(--text) 0%, var(--text) 55%, color-mix(in oklab, var(--accent) 80%, var(--text)) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ex-blurb {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  max-width: 46ch;
  min-height: 5.2rem;
}
.ex-blurb p { margin: 0; }

.ex-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
@media (max-width: 520px) { .ex-tabs { grid-template-columns: repeat(3, 1fr); } }
.ex-tab {
  position: relative;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  padding: 1rem 0.5rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
  text-align: left;
}
.ex-tab:last-child { border-right: none; }
.ex-tab:hover { color: var(--text-dim); }
.ex-tab.on { color: var(--accent); }
.ex-tab-n {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
  color: var(--text-muted);
}
.ex-tab.on .ex-tab-n { color: var(--accent); }
.ex-tab-l {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 0.95rem;
}
.ex-tab-b {
  position: absolute; left: 0; top: -1px;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.ex-tab.on .ex-tab-b { width: 100%; }

.ex-auto {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 0.5rem;
}
.ex-auto-bar {
  height: 1px; width: 80px;
  background: var(--accent);
  transform-origin: left center;
}

.ex-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.ex-consl {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
  contain: layout style;
}
.ex-consl-svg { width: 100%; height: 100%; display: block; }
.ex-consl-meta {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.ex-consl-n {
  display: block;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.ex-consl-l {
  display: block;
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 0.3rem;
}

.ex-list { position: relative; min-height: 420px; }
.ex-list ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) { .ex-list ul { grid-template-columns: 1fr; } }
.ex-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.3s, padding 0.3s;
}
.ex-item.hot {
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  padding-left: 1rem;
}
.ex-item-n {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
  color: var(--text-muted);
}
.ex-item.hot .ex-item-n { color: var(--accent); }
.ex-item-nm {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ex-item-nt {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}
.ex-item.hot .ex-item-nt { color: var(--accent); }

/* ═════════════════════════ 03 · SPECIALIZATIONS EDITORIAL ═════════════════════════ */
.se { position: relative; padding: 4rem 0 8rem; background: var(--bg-0); }
.se-intro {
  padding: 6rem 0 4rem;
  max-width: 1200px; margin: 0 auto;
}
.se-title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95; letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 1.5rem;
}
.se-title--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }

.se-ch { min-height: 100vh; display: flex; align-items: center; padding: 6rem 0; position: relative; }
.se-ch::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
  opacity: 0.6;
  transform: translateX(-50%);
}
@media (max-width: 900px) { .se-ch::before { display: none; } }
.se-ch-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .se-ch-inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.se-ch--r .se-ch-left { order: 2; }
.se-ch--r .se-ch-right { order: 1; }
@media (max-width: 900px) { .se-ch--r .se-ch-left, .se-ch--r .se-ch-right { order: unset; } }

.se-ch-left { }
.se-ch-sticky { display: flex; flex-direction: column; gap: 1.25rem; }
.se-ch-n {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.2em; color: var(--accent);
}
.se-ch-kicker {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--text-dim);
  line-height: 1.1;
}
.se-ch-title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--text);
}
.se-ch-body {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
  max-width: 44ch;
}
.se-ch-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.se-ch-stat dt { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--accent); }
.se-ch-stat dd { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }

.se-ch-right { position: relative; }
.se-ch-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 6%, var(--bg-1)), var(--bg-0));
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: 0 40px 80px -40px color-mix(in oklab, var(--accent) 30%, transparent), inset 0 0 80px -20px color-mix(in oklab, var(--accent) 10%, transparent);
}
.se-art-svg { width: 92%; height: 92%; }

/* Validator network art */
.vn { position: absolute; inset: 0; display: grid; place-items: center; }
.vn-svg { width: 100%; height: 100%; display: block; }
.vn-hud {
  position: absolute; top: 1.5rem; left: 1.5rem;
  display: flex; flex-direction: column; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim);
  pointer-events: none;
}
.vn-hud-row { display: flex; align-items: center; gap: 0.6rem; }
.vn-hud-k {
  color: var(--text-muted);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.6rem;
  min-width: 3rem;
}
.vn-hud-v { color: var(--text); letter-spacing: 0.05em; }
.vn-hud-v--big {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.4rem; line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
}
.vn-hud-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
}
.vn-hashes {
  position: absolute; inset: 0;
  pointer-events: none;
  font-family: var(--font-mono);
  overflow: hidden;
}
.vn-hash {
  position: absolute;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
  text-shadow: 0 0 6px color-mix(in oklab, var(--accent) 60%, transparent);
}

/* ═════════════════════════ 04 · CONTACT CINEMA ═════════════════════════ */
.cc {
  position: relative;
  padding: 10rem 0 8rem;
  overflow: hidden;
  background: radial-gradient(800px 600px at 50% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%), var(--bg-0);
}
.cc-mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; pointer-events: none; }
.cc-spot { position: absolute; inset: 0; pointer-events: none; transition: background 0.3s; mix-blend-mode: screen; }
.cc-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem;
  align-items: start;
  max-width: 1300px;
}
@media (max-width: 900px) { .cc-inner { grid-template-columns: 1fr; gap: 3rem; } }

.cc-copy { }
.cc-title {
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96; letter-spacing: -0.03em;
  color: var(--text);
  display: flex; flex-direction: column;
  margin: 1.5rem 0;
}
.cc-title--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.cc-lede {
  color: var(--text-dim); max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.cc-meta { display: flex; flex-direction: column; gap: 0.9rem; }
.cc-meta-row {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--bg-1) 70%, transparent);
  backdrop-filter: blur(12px);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.3s, transform 0.3s;
}
.cc-meta-row:hover:not(.cc-meta-row--static) { border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); transform: translateX(6px); }
.cc-meta-row svg:first-child { color: var(--accent); }
.cc-meta-row svg:last-child { margin-left: auto; color: var(--text-muted); }

/* Form */
.cc-form-wrap { width: 100%; }
.cc-form {
  position: relative;
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--bg-1) 60%, transparent);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -40px color-mix(in oklab, var(--accent) 35%, transparent), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cc-form-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: cc-pulse 2s ease-in-out infinite; }
@keyframes cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.cc-form-id { margin-left: auto; color: var(--text-muted); }

.cc-field { position: relative; display: block; padding-top: 1.25rem; }
.cc-field-label {
  position: absolute; top: 1.5rem; left: 0;
  font-family: var(--font-sans); font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.cc-field-label em { font-style: normal; color: var(--accent); margin-left: 2px; }
.cc-field.on .cc-field-label,
.cc-field.filled .cc-field-label {
  top: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.cc-field-input {
  width: 100%;
  background: transparent;
  border: none;
  font: inherit; font-size: 1rem;
  color: var(--text);
  padding: 0.5rem 0;
  outline: none;
  resize: none;
  font-family: var(--font-sans);
}
.cc-field-input::placeholder { color: transparent; }
.cc-field.on .cc-field-input::placeholder { color: var(--text-muted); }
.cc-field-underline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--border);
  transform: scaleX(1); transform-origin: left;
  transition: background 0.4s;
}
.cc-field-underline::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cc-field.on .cc-field-underline::after,
.cc-field.filled .cc-field-underline::after { transform: scaleX(1); }

.cc-submit {
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-0);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.cc-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -15px color-mix(in oklab, var(--accent) 80%, transparent); }
.cc-submit-t { position: relative; display: inline-flex; min-width: 140px; }
.cc-submit-a { display: inline-flex; }
.cc-submit.sent { background: color-mix(in oklab, var(--accent) 70%, var(--bg-0)); }

/* ═════════════════════════ CHROME ═════════════════════════ */
.chrome-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  z-index: 100;
  pointer-events: none;
}
.chrome-pill {
  position: fixed;
  bottom: max(2vh, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center;
  gap: 0.35rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg-0) 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 50;
}
.chrome-pill-i {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.4s, background 0.4s;
}
.chrome-pill-i:hover { color: var(--text); }
.chrome-pill-i.on {
  color: var(--bg-0);
  background: var(--accent);
}
.chrome-pill-n { opacity: 0.7; }
.chrome-pill-i.on .chrome-pill-n { opacity: 1; }
.chrome-pill-l { display: inline; }
@media (max-width: 700px) {
  .chrome-pill-l { display: none; }
  .chrome-pill-i { padding: 0.5rem 0.7rem; }
}

/* ───────── Mobile fixes (iPhone-class viewports) ───────── */
@media (max-width: 600px) {
  /* 2) Section 01 — blurb getting hidden by the bottom chapter pill nav.
        Keep sticky behaviour intact (slides rotate as you scroll); just
        push stage content up so it clears the floating 01·02·03·04 pill. */
  .cs-stage {
    padding: 80px 1.25rem 110px;
    gap: 1rem;
  }
  .cs-visual-col {
    max-height: 36vh;
  }
  .cs-hint { display: none; }
  /* Counter (04 / 06 disciplines) — collides with the bottom chapter pill on mobile,
     and the pill already shows position. Hide. */
  .cs-counter { display: none; }
  /* Skill chips (React Native, Expo, Kotlin…) — not enough room on mobile */
  .cs-meta { display: none; }

  /* 3) Validator network HUD — TPS / vldr / hash labels were stacking
        on top of each other and bleeding into the network art. */
  .vn-hud {
    top: 1rem; left: 1rem;
    gap: 0.3rem;
    font-size: 0.65rem;
  }
  .vn-hud-row { gap: 0.5rem; flex-wrap: wrap; }
  .vn-hud-k { min-width: 2.5rem; }
  .vn-hud-v--big { font-size: 1.1rem; }
  /* Hide the tiny floating hash labels on the SVG — they overflow and clutter */
  .vn-hash { display: none; }

  /* 4) Spec chapter stats grid — "Horizontal scale-out" / "Edge-rendered"
        were bleeding past the right edge in 3-up. Stack to 1-up on mobile. */
  .se-ch-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .se-ch-stat dt { font-size: 1.4rem; }

  /* 5) Contact title — italic Fraunces "g" in "something" was descending
        into the next line ("extraordinary"). Loosen the line-box and add
        descender room. */
  .cc-title {
    line-height: 1.05;
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }
  .cc-title--serif {
    padding-bottom: 0.12em;
  }
  .cc {
    padding: 6rem 0 6rem;
  }
}

/* Remove snap — it fights with scroll-pinned sections */
html { scroll-behavior: smooth; }
