/* ==========================================================================
   QUOTINC · public site v2 · editorial-archival × billion-dollar motion
   ========================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --paper: #FAF6EC;
  --paper-pure: #FFFFFF;
  --cream: #F4EDE0;
  --line: #E9E6DF;
  --line-soft: #EFEBE2;

  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --ink-2: #2A2A2A;
  --mute: #5E5E5E;
  --mute-soft: #8C8C8C;

  --sienna: #C26C3A;
  --sienna-text: #A85A2C;
  --sienna-deep: #82441E;
  --sienna-soft: #F5DEC8;
  --sienna-wash: #FBEBD8;

  --cobalt: #2D5BFF;
  --cobalt-deep: #1E3FBF;
  --cobalt-soft: #E6ECFF;
  --cobalt-wash: #F0F4FF;

  --font-sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-fast: 120ms;
  --t-normal: 220ms;
  --t-slow: 420ms;
  --t-deliberate: 680ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-w: 1280px;
  --max-w-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);

  --nav-h: 72px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

/* ---------- TYPE ---------- */
.display-1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}
.display-1 em {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--sienna-text);
}

.display-2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.display-2 em {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--sienna-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  margin: 0 0 24px;
}
.eyebrow-light { color: var(--sienna); }
.eyebrow-num {
  display: inline-block;
  padding: 3px 8px;
  background: var(--sienna-deep);
  color: var(--paper);
  letter-spacing: 0.16em;
}
.eyebrow-light .eyebrow-num { background: var(--sienna); color: var(--ink); }
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--cobalt);
  display: inline-block;
  position: relative;
  flex: 0 0 8px;
}
.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(3.2); opacity: 0;   }
}

.deck {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 32px 0 0;
}

.section-lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--mute);
  max-width: 640px;
  margin: 24px 0 0;
}
.section-lead-light { color: var(--paper); opacity: 0.78; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--max-w);
  padding: 0 var(--gutter);
  margin: 0 auto;
  position: relative;
}
.container-narrow { max-width: var(--max-w-narrow); }

.section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.section-head { margin-bottom: clamp(48px, 7vh, 88px); }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-normal) var(--ease-out);
  will-change: transform;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  transform: translateY(101%);
  transition: transform var(--t-normal) var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--paper); border-color: var(--cobalt); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); border-color: var(--ink); }

.btn-large { padding: 18px 30px; font-size: 13px; }
.btn-nav { padding: 11px 18px; font-size: 11px; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform var(--t-normal) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cobalt);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 100ms linear;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--t-normal) var(--ease-out), border-color var(--t-normal) var(--ease-out);
  border-bottom: 1px solid transparent;
  background: rgba(250, 246, 236, 0);
}
.nav.is-scrolled {
  background: rgba(250, 246, 236, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  padding: 0 var(--gutter);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo { flex: 0 0 auto; line-height: 0; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--cobalt);
  transition: right var(--t-normal) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-normal) var(--ease-out), opacity var(--t-fast);
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 11px; }
.nav-toggle.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.65;
  will-change: transform;
}
.orb-sienna {
  width: 720px; height: 720px;
  background: radial-gradient(circle, var(--sienna-soft) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: drift1 22s var(--ease-in-out) infinite alternate;
}
.orb-cobalt {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--cobalt-soft) 0%, transparent 70%);
  bottom: -180px; left: -180px;
  animation: drift2 28s var(--ease-in-out) infinite alternate;
}
.orb-cream {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation: drift3 26s var(--ease-in-out) infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-120px,80px) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(80px,-100px) scale(1.08); } }
@keyframes drift3 { from { transform: translate(-50%,-50%) scale(1); } to { transform: translate(-40%,-60%) scale(1.12); } }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hairline {
  position: absolute;
  background: var(--ink);
  opacity: 0.18;
}
.hairline-1 { top: 22%; left: 0; right: 65%; height: 1px; }
.hairline-2 { bottom: 18%; left: 70%; right: 0; height: 1px; }

.stamp {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  background: var(--sienna-soft);
  border: 1px solid var(--sienna-deep);
  white-space: nowrap;
}
.stamp-cobalt {
  color: var(--cobalt);
  background: var(--cobalt-soft);
  border-color: var(--cobalt);
}
.stamp-float { position: absolute; opacity: 0.75; }
.stamp-float-1 { top: 28%; right: 8%; transform: rotate(-6deg); animation: float1 6s var(--ease-in-out) infinite alternate; }
.stamp-float-2 { top: 62%; right: 14%; transform: rotate(8deg); animation: float2 7s var(--ease-in-out) infinite alternate; }
.stamp-float-3 { top: 70%; left: 8%; transform: rotate(-4deg); animation: float3 8s var(--ease-in-out) infinite alternate; }
@keyframes float1 { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-14px) rotate(-4deg); } }
@keyframes float2 { from { transform: translateY(0) rotate(8deg); } to { transform: translateY(12px) rotate(6deg); } }
@keyframes float3 { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-10px) rotate(-6deg); } }

.hero-inner { position: relative; }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  flex-wrap: wrap;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--cobalt-wash);
  color: var(--cobalt-deep);
  border: 1px solid var(--cobalt-soft);
}
.meta-dot {
  width: 6px; height: 6px;
  background: var(--cobalt);
  border-radius: 50%;
  animation: pulseDot 1.6s var(--ease-in-out) infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.meta-sep { opacity: 0.5; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--cobalt);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(72px); opacity: 0; }
}

/* ---------- §01 THE WORK ---------- */
.section-work { background: var(--paper); }
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.work-prose p {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.work-prose .lead-sienna {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--sienna-text);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.work-aside {
  background: var(--cream);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.work-aside::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 32px; height: 32px;
  border-top: 1px solid var(--sienna-deep);
  border-left: 1px solid var(--sienna-deep);
}
.work-aside::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 32px; height: 32px;
  border-bottom: 1px solid var(--sienna-deep);
  border-right: 1px solid var(--sienna-deep);
}
.aside-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  margin: 0 0 14px;
}
.aside-label-after { margin-top: 28px; color: var(--cobalt); }
.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.aside-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.aside-marker { color: var(--sienna); flex: 0 0 8px; }
.aside-marker-cobalt { color: var(--cobalt); }
.aside-strike { text-decoration: line-through; text-decoration-color: var(--sienna); opacity: 0.7; }
.aside-list-after li { font-size: 14px; }

/* ---------- §02 STATS ---------- */
.section-stats { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(194,108,58,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(45,91,255,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.section-stats .eyebrow { color: var(--sienna); }
.section-stats .eyebrow-num { background: var(--sienna); color: var(--ink); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: 56px;
  position: relative;
}
.stat {
  border-top: 1px solid rgba(250,246,236,0.18);
  padding-top: 28px;
}
.stat-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--paper);
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.stat-num span { display: inline-block; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.72);
  margin: 0;
  line-height: 1.55;
  max-width: 220px;
}
.stats-footnote {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.45);
  margin: 56px 0 0;
}

/* ---------- §03 MODULES (bento) ---------- */
.section-modules { background: var(--paper); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento-card {
  position: relative;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform var(--t-normal) var(--ease-out), border-color var(--t-normal) var(--ease-out), box-shadow var(--t-normal) var(--ease-out);
  will-change: transform;
  min-height: 280px;
}
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(45,91,255,0.06) 0%, transparent 40%);
  opacity: 0;
  transition: opacity var(--t-normal);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 24px 60px -30px rgba(10,10,10,0.25);
}
.bento-card:hover::after { opacity: 1; }

.bento-folio       { grid-column: span 7; min-height: 380px; }
.bento-procurement { grid-column: span 5; }
.bento-finance     { grid-column: span 5; }
.bento-partner     { grid-column: span 7; }
.bento-press       { grid-column: span 12; min-height: 280px; }

.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.module-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  padding: 4px 10px;
  background: var(--sienna-soft);
  display: inline-block;
}
.module-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute-soft);
}
.bento-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.bento-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
  max-width: 480px;
}

.bento-figure {
  margin-top: auto;
  position: relative;
  padding-top: 20px;
}

/* Folio: animated daily plan */
.bento-figure-folio { display: flex; flex-direction: column; gap: 8px; }
.bf-row { display: flex; align-items: center; gap: 14px; }
.bf-dot { width: 6px; height: 6px; background: var(--sienna); border-radius: 50%; flex: 0 0 6px; }
.bf-dot-cobalt { background: var(--cobalt); }
.bf-bar {
  height: 8px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  flex: 1;
}
.bf-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-soft);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-out);
}
.bento-card.is-inview .bf-bar::after { transform: scaleX(var(--scale,1)); }
.bf-bar-1 { --scale: 0.7; }
.bf-bar-2 { --scale: 1;    transition-delay: 0.08s; }
.bf-bar-3 { --scale: 0.5;  transition-delay: 0.16s; }
.bf-bar-4 { --scale: 0.85; transition-delay: 0.24s; }
.bf-bar-5 { --scale: 0.6;  transition-delay: 0.32s; }
.bf-bar-5::after { background: var(--cobalt); }
.bf-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mute);
  flex: 0 0 36px;
}

/* Procurement: pill filters */
.bento-figure-proc { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-pill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  transition: all var(--t-normal) var(--ease-out);
}
.bf-pill-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bento-procurement:hover .bf-pill:nth-child(1) { transform: translateY(-2px); }
.bento-procurement:hover .bf-pill:nth-child(2) { transform: translateY(2px); }
.bento-procurement:hover .bf-pill:nth-child(3) { transform: translateY(-3px); }
.bento-procurement:hover .bf-pill:nth-child(4) { transform: translateY(1px); }

/* Finance: bar chart */
.bento-figure-finance { display: flex; align-items: flex-end; gap: 8px; height: 72px; }
.bf-bar-fin {
  flex: 1;
  background: var(--line);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.bf-bar-fin span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-soft);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s var(--ease-out);
}
.bento-card.is-inview .bf-bar-fin span { transform: scaleY(1); }
.bf-bar-fin-1 span { height: 40%; transition-delay: 0.05s; }
.bf-bar-fin-2 span { height: 65%; transition-delay: 0.15s; }
.bf-bar-fin-3 span { height: 52%; transition-delay: 0.25s; }
.bf-bar-fin-4 span { height: 78%; transition-delay: 0.35s; background: var(--cobalt); }

/* Partner: brand stack */
.bento-figure-partner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.bf-brand {
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all var(--t-normal) var(--ease-out);
}
.bento-partner:hover .bf-brand-1 { background: var(--sienna-soft); color: var(--sienna-deep); border-color: var(--sienna-deep); }
.bento-partner:hover .bf-brand-2 { background: var(--cobalt-soft); color: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.bento-partner:hover .bf-brand-3 { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Press: page stack */
.bento-figure-press {
  position: relative;
  height: 100px;
  width: 100%;
}
.bf-page {
  position: absolute;
  width: 140px;
  height: 88px;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: 0 4px 12px -8px rgba(10,10,10,0.2);
}
.bf-page-1 { top: 6px; left: 0; transform: rotate(-4deg); }
.bf-page-2 { top: 0; left: 60px; transform: rotate(2deg); }
.bf-page-3 { top: 8px; left: 120px; transform: rotate(-1deg); border-color: var(--ink); }
.bento-press:hover .bf-page-1 { transform: rotate(-8deg) translateX(-12px); }
.bento-press:hover .bf-page-2 { transform: rotate(0deg) translateY(-6px); }
.bento-press:hover .bf-page-3 { transform: rotate(3deg) translateX(12px); }

/* ---------- §04 HOW (sticky scroll storytelling) ---------- */
.section-how { background: var(--paper); overflow: visible; }
.how-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.how-text { display: flex; flex-direction: column; gap: clamp(80px, 24vh, 280px); }
.how-step {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--sienna-deep);
  margin: 0 0 16px;
}
.how-step h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--ink);
}
.how-step p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 460px;
}
.how-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mute);
}
.how-bullets li { padding-left: 18px; position: relative; }
.how-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cobalt);
}

.how-pin {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  height: calc(100vh - var(--nav-h) - 80px);
  max-height: 720px;
  min-height: 480px;
}
.how-pin-inner {
  position: relative;
  height: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  overflow: hidden;
}
.how-pin-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(194,108,58,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(45,91,255,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.how-frame {
  position: absolute;
  inset: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  pointer-events: none;
}
.how-frame.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.frame-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna);
  margin: 0 0 8px;
}

/* Frame 1: Folio drafting */
.frame-stack { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.frame-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(250,246,236,0.04);
  border: 1px solid rgba(250,246,236,0.08);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.how-frame-1.is-active .frame-line { opacity: 1; transform: translateX(0); }
.how-frame-1.is-active .frame-line-1 { transition-delay: 0.05s; }
.how-frame-1.is-active .frame-line-2 { transition-delay: 0.15s; }
.how-frame-1.is-active .frame-line-3 { transition-delay: 0.25s; }
.how-frame-1.is-active .frame-line-4 { transition-delay: 0.35s; }
.how-frame-1.is-active .frame-line-5 { transition-delay: 0.45s; }
.frame-line span:nth-child(1) { width: 8px; height: 8px; background: var(--sienna); flex: 0 0 8px; }
.frame-line span:nth-child(2) { flex: 1; height: 6px; background: rgba(250,246,236,0.2); }
.frame-line span:nth-child(3) { width: 64px; height: 6px; background: rgba(250,246,236,0.4); flex: 0 0 64px; }
.frame-line-5 span:nth-child(1) { background: var(--cobalt); }
.frame-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 16px 0;
  border-top: 1px solid rgba(250,246,236,0.18);
}
.frame-total-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.6);
}
.frame-total-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

/* Frame 2: Send */
.frame-envelope {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.frame-envelope-body {
  position: relative;
  width: 75%;
  max-width: 360px;
  aspect-ratio: 3/4;
  background: var(--paper);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: rotate(-2deg);
  transition: transform 600ms var(--ease-spring);
}
.how-frame-2.is-active .frame-envelope-body { transform: rotate(0deg); }
.frame-stamp {
  position: absolute;
  top: -12px;
  right: -16px;
  padding: 6px 12px;
  background: var(--cobalt);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(8deg);
  opacity: 0;
  transition: opacity 500ms var(--ease-out) 300ms;
}
.how-frame-2.is-active .frame-stamp { opacity: 1; }
.frame-doc { height: 24px; background: var(--ink); width: 60%; }
.frame-doc-line { height: 4px; background: rgba(10,10,10,0.16); width: 100%; }
.frame-doc-line-short { width: 50%; }

/* Frame 3: Versions */
.frame-versions { display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: center; }
.frame-version {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(250,246,236,0.12);
  background: rgba(250,246,236,0.03);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.how-frame-3.is-active .frame-version { opacity: 1; transform: translateX(0); }
.how-frame-3.is-active .frame-version:nth-child(1) { transition-delay: 0.1s; }
.how-frame-3.is-active .frame-version:nth-child(2) { transition-delay: 0.25s; }
.how-frame-3.is-active .frame-version:nth-child(3) { transition-delay: 0.4s; }
.frame-version-active { border-color: var(--cobalt); background: rgba(45,91,255,0.08); }
.fv-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--sienna);
  width: 32px;
  flex: 0 0 32px;
}
.fv-bar {
  flex: 1;
  height: 4px;
  background: rgba(250,246,236,0.18);
}
.frame-version-active .fv-bar { background: var(--cobalt); }
.fv-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.6);
}
.fv-state-cobalt { color: var(--cobalt); }

/* ---------- §05 WHO ---------- */
.section-who { background: var(--cream); position: relative; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.who-card {
  background: var(--paper);
  padding: 40px;
  transition: background var(--t-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.who-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cobalt);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--t-slow) var(--ease-out);
}
.who-card:hover::before { transform: scaleX(1); }
.who-card:hover { background: var(--paper-pure); }
.who-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  margin: 0 0 24px;
  display: inline-block;
  padding: 4px 10px;
  background: var(--sienna-soft);
}
.who-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.who-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
}

/* ---------- §06 MANIFESTO ---------- */
.section-manifesto {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.section-manifesto::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(194,108,58,0.18) 0%, transparent 60%);
  filter: blur(60px);
}
.section-manifesto::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,91,255,0.16) 0%, transparent 60%);
  filter: blur(60px);
}
.section-manifesto .eyebrow { color: var(--sienna); }
.section-manifesto .eyebrow-num { background: var(--sienna); color: var(--ink); }
.manifesto {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 32px 0 0;
  color: var(--paper);
  position: relative;
}
.manifesto p { margin: 0; }
.manifesto em { font-style: italic; color: var(--sienna); }
.manifesto-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
}
.manifesto-rule {
  width: 56px;
  height: 1px;
  background: var(--paper);
  opacity: 0.4;
}
.manifesto-attrib {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.6);
}

/* ---------- §07 ABOUT ---------- */
.section-about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-prose p {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.about-sig {
  background: var(--cream);
  padding: 40px 32px;
  border: 1px solid var(--line);
  position: relative;
}
.about-sig::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--sienna-deep);
  border-left: 2px solid var(--sienna-deep);
}
.sig-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  margin: 0 0 16px;
}
.sig-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.sig-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.sig-place {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- §08 DEMO ---------- */
.section-demo { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(194,108,58,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(45,91,255,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.section-demo .eyebrow { color: var(--sienna); }
.section-demo .eyebrow-num { background: var(--sienna); color: var(--ink); }

.qtnc-form { max-width: 760px; margin: 48px 0 0; position: relative; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-full { grid-column: span 2; }
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.72);
}
.req { color: var(--sienna); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--paper);
  background: rgba(250,246,236,0.04);
  border: 1px solid rgba(250,246,236,0.18);
  padding: 14px 16px;
  transition: border-color var(--t-fast), background var(--t-fast);
  width: 100%;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4.5l3 3 3-3' fill='none' stroke='%23FAF6EC' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(250,246,236,0.4); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: rgba(45,91,255,0.05);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(250,246,236,0.7);
  cursor: pointer;
}
.form-consent input { margin-top: 3px; accent-color: var(--cobalt); }

.form-submit { background: var(--sienna); border-color: var(--sienna); color: var(--ink); }
.form-submit::before { background: var(--paper); }
.form-submit:hover { color: var(--ink); border-color: var(--paper); }

.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,246,236,0.7);
  margin: 16px 0 0;
  min-height: 18px;
}
.form-status.is-success { color: var(--sienna); }
.form-status.is-error { color: #ff6b6b; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vh, 96px) 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 64px;
}
.footer-col-brand .footer-logo { height: 36px; width: auto; margin-bottom: 24px; }
.footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
  line-height: 1.7;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna-deep);
  margin: 0 0 16px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 4px;
  color: var(--ink-soft);
}
.footer-col a { color: var(--ink-soft); transition: color var(--t-fast); border-bottom: 1px solid transparent; }
.footer-col a:hover { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.footer-mute { color: var(--mute); font-size: 13px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 14px; }

.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--cobalt);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulseDot 1.6s var(--ease-in-out) infinite;
  vertical-align: middle;
}

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer-base p { margin: 0; }
.footer-priv { text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 12px; color: var(--mute); max-width: 480px; }
.footer-priv a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
[data-split] .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease-out);
  transition-delay: calc(var(--word-i, 0) * 60ms);
}
[data-split].is-inview .word-inner { transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .work-grid,
  .about-grid,
  .how-rail { grid-template-columns: 1fr; }
  .how-pin { position: relative; top: auto; height: 480px; min-height: 0; margin-top: 32px; }
  .how-text { gap: 64px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento-folio, .bento-procurement, .bento-finance, .bento-partner, .bento-press {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 24px var(--gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .btn-nav { display: none; }
  .nav.is-mobile-open .btn-nav { display: inline-flex; margin: 0 var(--gutter) 24px; }

  .hero { min-height: 88vh; padding-top: calc(var(--nav-h) + 48px); }
  .stamp-float-1, .stamp-float-2 { display: none; }
  .stamp-float-3 { top: 88%; }
  .orb { filter: blur(60px); }

  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row-full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-grid { grid-template-columns: 1fr; }
  .bento { gap: 8px; }
  .bento-card { padding: 24px; min-height: 0; }
  .scroll-cue { display: none; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .word-inner { transform: none; }
  .orb, .stamp-float { animation: none; }
}
