:root {
  --white: #ffffff;
  --ink: #0b1118;
  --ink-soft: #243447;
  --ink-muted: #4b5d70;
  --ink-faint: #6c7d8f;
  --prussian: #102a49;
  --prussian-deep: #091d35;
  --mist-line: #e7edf2;
  --mist-pill: #f1f4f7;
  --vermilion: #d63227;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --radius-card: 22px;
  --container: 1120px;
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

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

/* Focus Backdrop for Distraction-Free Mode */
.focus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 43, 0.56);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  z-index: 40;
}

body.focus-mode .focus-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Shared Dots, Pills, Buttons */
.dot-vermilion {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--vermilion);
  flex-shrink: 0;
}

.dot-live {
  width: 6px;
  height: 6px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.dot-live.is-saving {
  transform: scale(1.3);
  opacity: 0.72;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.pill-hero {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #1c2c3e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pill-subtle {
  background: var(--mist-pill);
  color: #2f4052;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-editorial), background-color 200ms ease, box-shadow 220ms var(--ease-editorial), border-color 200ms ease;
}

.btn:active {
  transform: translateY(0.5px) scale(0.985);
}

.btn:focus-visible,
.nav-btn:focus-visible,
.editor-icon-btn:focus-visible,
.curve-knob:focus-visible,
.footer-link-btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--prussian);
  outline-offset: 2px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-dark {
  background: #0a0d12;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(10, 13, 18, 0.14);
}

.btn-dark:hover {
  background: #17202b;
  box-shadow: 0 8px 20px rgba(10, 13, 18, 0.22);
}

.btn-dark-night {
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-mist {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.72);
  color: #162434;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-mist:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(16, 42, 73, 0.14);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 8px 22px rgba(6, 20, 38, 0.22);
}

.btn-vermilion {
  background: var(--vermilion);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(130, 22, 16, 0.34);
}

.btn-vermilion:hover {
  background: #c12b21;
  box-shadow: 0 12px 28px rgba(130, 22, 16, 0.44);
}

/* Container */
.container {
  width: 100%;
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   SECTION 1: HERO
   =========================== */
.hero {
  position: relative;
  width: 100%;
  min-height: max(100vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #dce7f0;
}

body.focus-mode .hero {
  overflow: visible;
}

.hero-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: brightness(1.06) contrast(1.04) saturate(1.08);
  pointer-events: none;
  user-select: none;
  --py: 0px;
  transform: translate3d(0, var(--py), 0);
  scale: 1.03;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(246, 250, 254, 0.14) 0%,
    rgba(244, 249, 253, 0.08) 44%,
    rgba(244, 249, 253, 0) 60%,
    rgba(8, 24, 44, 0.12) 82%,
    rgba(7, 21, 39, 0.28) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Navigation */
.topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #0b1118;
}

.brand-mark {
  display: block;
}

.brand-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 400;
  color: #172636;
}

.nav-links a:hover,
.nav-btn:hover {
  color: #06090e;
}

.nav-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  color: #172636;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

/* Hero Copy */
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 34px auto 0;
}

.hero-title {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  color: #0b1118;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: #203142;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Floating Interactive Essay Draft Window */
.editor-shell {
  width: 100%;
  max-width: 820px;
  margin: 38px auto 0;
  --fg-y: 0px;
  transform: translate3d(0, var(--fg-y), 0);
  will-change: transform;
}

body.focus-mode .editor-shell {
  transform: none;
}

.editor-window {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(15, 34, 58, 0.08);
  box-shadow:
    0 24px 56px rgba(7, 22, 41, 0.24),
    0 3px 10px rgba(7, 22, 41, 0.08);
  transition: transform 420ms var(--ease-editorial), box-shadow 420ms var(--ease-editorial), border-color 320ms ease;
}

.editor-window:hover {
  box-shadow:
    0 30px 66px rgba(7, 22, 41, 0.28),
    0 4px 12px rgba(7, 22, 41, 0.1);
}

body.focus-mode .editor-window {
  z-index: 60;
  transform: translateY(-6px) scale(1.018);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 42px 96px rgba(4, 14, 28, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.editor-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid #eef2f5;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c8d0d9;
}

.editor-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #2c3b4c;
}

.editor-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.editor-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: #4b5c6e;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.editor-icon-btn:hover,
.editor-icon-btn[aria-pressed="true"] {
  background: #f0f4f8;
  color: var(--ink);
}

.editor-menu-anchor {
  position: relative;
}

.editor-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 176px;
  background: var(--white);
  border: 1px solid #e2e8ee;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 14px 32px rgba(9, 25, 45, 0.16);
  z-index: 20;
}

.editor-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1f2e3e;
  cursor: pointer;
}

.editor-dropdown button:hover {
  background: #f2f5f8;
}

.editor-body {
  padding: 36px 56px 26px;
  min-height: 196px;
  transition: min-height 240ms ease;
}

body.focus-mode .editor-body {
  min-height: 260px;
}

.draft-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #0e151f;
  outline: none;
}

.draft-prose {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.64;
  color: #263444;
  outline: none;
}

.editor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px 20px;
  font-size: 12px;
  color: #536375;
}

.editor-focus-link {
  background: none;
  border: 0;
  padding: 2px 6px;
  margin-right: -6px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #55677a;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

.editor-focus-link:hover {
  color: var(--ink);
  background: #f1f5f9;
}

/* Partner Strip */
.partner-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 60px;
  margin-top: 36px;
  padding-bottom: 4px;
  color: rgba(242, 247, 253, 0.94);
}

.partner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ===========================
   SHARED SECTIONS
   =========================== */
.section {
  background: var(--white);
}

.section-heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #0b131d;
}

.card-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  --py: 0px;
  transform: translate3d(0, var(--py), 0);
  scale: 1.07;
  transition: scale 700ms var(--ease-editorial);
  will-change: transform;
}

.focus-card:hover .focus-plate,
.pine-card:hover .pine-plate,
.cta-card:hover .cta-plate {
  scale: 1.115;
}

/* ===========================
   SECTION 2: M2 FOCUS RHYTHM
   =========================== */
.section-focus {
  padding-top: 76px;
}

.focus-card {
  position: relative;
  height: 506px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #cfe0ed;
  user-select: none;
}

.focus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 52% 48% at 14% 96%,
    rgba(8, 26, 48, 0.72) 0%,
    rgba(8, 26, 48, 0.34) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.focus-plate {
  object-position: center 52%;
}

.focus-header {
  position: relative;
  z-index: 3;
  padding: 46px 52px 0;
  pointer-events: none;
}

.focus-submetric {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 400;
  color: #41556a;
  letter-spacing: -0.01em;
}

.focus-curve-stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  cursor: ew-resize;
  touch-action: none;
}

.focus-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.curve-knob {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--white);
  border: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.28),
    0 4px 12px rgba(7, 22, 41, 0.35);
  cursor: grab;
  transition: box-shadow 180ms ease;
}

.curve-knob:hover,
.focus-curve-stage.is-dragging .curve-knob {
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.36),
    0 6px 16px rgba(7, 22, 41, 0.42);
}

.focus-curve-stage.is-dragging .curve-knob {
  cursor: grabbing;
}

.curve-pill {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  background: var(--white);
  color: #0e1722;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow:
    0 12px 28px rgba(8, 24, 44, 0.24),
    0 2px 6px rgba(8, 24, 44, 0.08);
  pointer-events: none;
}

.focus-footer {
  position: absolute;
  left: 52px;
  bottom: 40px;
  z-index: 5;
  pointer-events: none;
}

.cadence-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(6, 20, 38, 0.55);
}

.cadence-sub {
  margin: 5px 0 0;
  font-size: 14px;
  color: rgba(238, 245, 252, 0.94);
  text-shadow: 0 1px 10px rgba(6, 20, 38, 0.55);
}

/* ===========================
   SECTION 3: M3 EDITORIAL CRAFT
   =========================== */
.section-editorial {
  padding-top: 84px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: 64px;
  align-items: center;
}

.pine-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
  min-height: 570px;
  background: #cfdfec;
}

.pine-plate {
  object-position: center center;
  transform-origin: center 15%;
  scale: 1.045;
}

.pine-card:hover .pine-plate {
  scale: 1.09;
}

.publish-card {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translate3d(-50%, 0, 0);
  width: min(326px, calc(100% - 40px));
  background: var(--white);
  border-radius: 14px;
  padding: 22px 24px;
  text-align: center;
  box-shadow:
    0 18px 42px rgba(8, 24, 44, 0.24),
    0 2px 8px rgba(8, 24, 44, 0.08);
  z-index: 3;
  transition: transform 420ms var(--ease-editorial), box-shadow 420ms var(--ease-editorial);
}

.pine-card:hover .publish-card {
  box-shadow:
    0 26px 56px rgba(8, 24, 44, 0.30),
    0 4px 12px rgba(8, 24, 44, 0.12);
}

.publish-card.is-publishing .dot-vermilion {
  animation: soraDotPulse 620ms ease-in-out infinite;
}

.publish-card.is-published .dot-vermilion {
  background: #3dd598;
  box-shadow: 0 0 0 4px rgba(61, 213, 152, 0.22);
}

.publish-status {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #1c2a39;
  letter-spacing: -0.005em;
}

.btn-publish {
  margin-top: 14px;
  min-width: 146px;
  padding: 11px 28px;
}

.btn-publish.is-published {
  background: #133152;
}

.publish-post-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12.5px;
  color: #5b6d80;
}

.publish-post-actions[hidden] {
  display: none;
}

.text-action {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #2c4157;
  cursor: pointer;
}

.text-action:hover {
  color: var(--ink);
  text-decoration: underline;
}

.editorial-copy {
  padding-right: 12px;
}

.editorial-heading {
  margin-top: 20px;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.1;
}

.editorial-desc {
  margin: 18px 0 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a4c5e;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--mist-line);
  border-bottom: 1px solid var(--mist-line);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.metric-label {
  font-size: 13px;
  color: #506173;
  line-height: 1.35;
}

/* ===========================
   SECTION 3A: M13 FULL-BLEED STYLIZED STATEMENT BAND (100VW)
   =========================== */
.section-statement {
  position: relative;
  width: 100%;
  max-width: none;
  margin-top: 96px;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #081b33;
  color: var(--white);
}

.statement-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  pointer-events: none;
  user-select: none;
  --py: 0px;
  transform: translate3d(0, var(--py), 0);
  scale: 1.03;
  will-change: transform;
}

.statement-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 27, 51, 0.34) 0%,
    rgba(8, 27, 51, 0.16) 46%,
    rgba(8, 27, 51, 0.06) 100%
  );
  pointer-events: none;
}

.statement-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--container) + 64px);
  margin: 0 auto;
  padding: 84px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.statement-copy {
  max-width: 490px;
}

.statement-heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--white);
}

.statement-sub {
  margin: 18px 0 0;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.58;
  color: rgba(232, 239, 244, 0.88);
}

.statement-cta {
  margin-top: 28px;
}

.statement-card {
  position: relative;
  width: 100%;
  min-width: 0;
  background: rgba(8, 27, 51, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 239, 244, 0.16);
  border-radius: 16px;
  padding: 24px 26px 22px;
  box-shadow:
    0 28px 64px rgba(3, 10, 20, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.statement-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.statement-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(232, 239, 244, 0.92);
  letter-spacing: -0.005em;
}

.statement-views {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(232, 239, 244, 0.08);
  border: 1px solid rgba(232, 239, 244, 0.12);
}

.statement-view-btn {
  border: 0;
  background: transparent;
  color: rgba(232, 239, 244, 0.74);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.statement-view-btn:hover {
  color: var(--white);
}

.statement-view-btn.is-active {
  background: var(--white);
  color: #0b1118;
}

.statement-view-btn:focus-visible {
  outline: 2px solid #e8eff4;
  outline-offset: 2px;
}

.statement-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(232, 239, 244, 0.12);
  border-bottom: 1px solid rgba(232, 239, 244, 0.12);
}

.statement-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.statement-kpi-val {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
}

.statement-kpi-label {
  font-size: 12px;
  color: rgba(214, 228, 240, 0.76);
  line-height: 1.3;
}

.statement-chart-wrap {
  position: relative;
  margin-top: 18px;
  height: 132px;
}

.statement-chart {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.statement-end-badge {
  position: absolute;
  right: 8px;
  top: 4px;
  background: var(--white);
  color: #0b1118;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(3, 10, 20, 0.36),
    0 2px 6px rgba(3, 10, 20, 0.16);
  white-space: nowrap;
  transition: transform 220ms var(--ease-editorial);
}

.statement-end-badge.is-bumping {
  transform: translateY(-2px) scale(1.03);
}

.statement-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(214, 228, 240, 0.64);
  letter-spacing: 0.01em;
}

/* ===========================
   SECTION 3B: M9 WRITER STORIES SPLIT (42:58)
   =========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-stories {
  padding-top: 96px;
}

.stories-grid {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 64px;
  align-items: center;
}

.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-quote {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 33px);
  line-height: 1.32;
  letter-spacing: -0.018em;
  color: #0b131d;
}

.story-author {
  margin-top: 24px;
}

.story-author-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.story-author-role {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.story-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.story-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #dde4ec;
  background: var(--white);
  color: #36485a;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 200ms var(--ease-editorial);
}

.story-tab:hover {
  border-color: #b7c4d2;
  color: var(--ink);
}

.story-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c5d1dc;
  transition: background-color 180ms ease;
}

.story-tab.is-active {
  background: #0a0d12;
  border-color: #0a0d12;
  color: var(--white);
}

.story-tab.is-active .story-tab-dot {
  background: var(--vermilion);
}

.story-plate-card {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 12.2;
  min-height: 480px;
  background: #dce7f0;
}

.story-plate {
  object-position: center center;
  scale: 1.045;
}

.story-plate-card:hover .story-plate {
  scale: 1.09;
}

.story-stat-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(300px, calc(100% - 56px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 34, 58, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow:
    0 18px 42px rgba(8, 24, 44, 0.16),
    0 2px 8px rgba(8, 24, 44, 0.06);
  z-index: 3;
  transition: transform 360ms var(--ease-editorial);
}

.story-plate-card:hover .story-stat-card {
  transform: translateY(-3px);
}

.story-stat-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #36495c;
  padding-bottom: 12px;
  width: 100%;
  border-bottom: 1px solid var(--mist-line);
}

.story-stat-rows {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.story-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f6;
}

.story-stat-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.story-stat-key {
  font-size: 12.5px;
  color: #536476;
}

.story-stat-val {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ===========================
   SECTION 4: M4 TWILIGHT CTA
   =========================== */
.section-cta {
  padding-top: 84px;
}

.cta-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 416px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 66px 32px 104px;
  background: var(--prussian);
}

.cta-plate {
  object-position: center bottom;
}

.cta-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 29, 53, 0.32) 0%,
    rgba(10, 29, 53, 0.14) 58%,
    rgba(8, 22, 41, 0.08) 100%
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.cta-heading {
  color: var(--white);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.09;
}

.cta-sub {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(232, 241, 250, 0.9);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ===========================
   C5 SCENIC FOOTER (FLAT WASHI TOP + SEAMLESS FULL-BLEED WOODBLOCK HORIZON)
   =========================== */
.site-footer-scenic {
  position: relative;
  background: var(--white);
  border: 0;
  padding: 0;
  overflow: hidden;
}

.footer-scenic-top {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 84px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr repeat(4, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.footer-tagline {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4f6072;
  max-width: 310px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #243343;
}

.footer-hairline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 42, 73, 0.08);
}

.footer-copy,
.footer-note {
  margin: 0;
  font-size: 12px;
  color: #5b6c7e;
}

.footer-scenic-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 540;
  min-height: 400px;
  max-height: 560px;
  margin-top: 0;
  background: var(--white);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.footer-scenic-plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.footer-scenic-blend {
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.footer-col h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-link-btn {
  font-size: 13.5px;
  color: #4d5e70;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 150ms ease;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--ink);
}

/* ===========================
   LIGHTWEIGHT DIALOG
   =========================== */
.sora-dialog {
  border: 0;
  padding: 0;
  border-radius: 18px;
  max-width: 520px;
  width: calc(100% - 32px);
  box-shadow: 0 28px 80px rgba(8, 22, 42, 0.28);
  background: var(--white);
  color: var(--ink);
}

.sora-dialog::backdrop {
  background: rgba(9, 25, 45, 0.45);
  backdrop-filter: blur(5px);
}

.dialog-panel {
  padding: 28px 30px 30px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #f2f5f8;
  color: #2c3b4c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: #e6ecf2;
}

.dialog-title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.dialog-body {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #334456;
}

.dialog-body p {
  margin: 0 0 12px;
}

.dialog-body p:last-child {
  margin-bottom: 0;
}

.dialog-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mist-line);
}

.dialog-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mist-line);
  font-size: 14px;
}

.dialog-kbd {
  font-family: var(--mono);
  font-size: 12px;
  background: #f2f5f8;
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--ink);
}

/* ===========================
   RESPONSIVE (TABLET & MOBILE)
   =========================== */
@media (max-width: 960px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .editorial-grid,
  .stories-grid,
  .statement-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-statement {
    margin-top: 72px;
    min-height: auto;
  }

  .statement-inner {
    padding: 64px 32px;
  }

  .pine-card {
    min-height: 460px;
    aspect-ratio: 4 / 4.4;
  }

  .story-plate-card {
    min-height: 400px;
    aspect-ratio: 4 / 3.4;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .hero-inner {
    padding: 18px 20px 28px;
  }

  .topbar-actions {
    gap: 12px;
  }

  .login-btn {
    display: none;
  }

  .hero-copy {
    margin-top: 34px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .editor-shell {
    margin-top: 30px;
  }

  .editor-body {
    padding: 24px 22px 18px;
    min-height: 170px;
  }

  .draft-heading {
    font-size: 21px;
  }

  .draft-prose {
    font-size: 15.5px;
  }

  .editor-status {
    padding: 0 22px 14px;
  }

  .partner-strip {
    gap: 14px 26px;
    margin-top: 32px;
  }

  .partner-item {
    font-size: 13.5px;
  }

  .section-focus {
    padding-top: 48px;
  }

  .focus-card {
    height: 400px;
    border-radius: 18px;
  }

  .focus-header {
    padding: 28px 24px 0;
  }

  .focus-submetric {
    font-size: 16px;
  }

  .curve-pill {
    font-size: 13px;
    padding: 8px 14px;
  }

  .focus-footer {
    left: 24px;
    bottom: 24px;
  }

  .cadence-title {
    font-size: 19px;
  }

  .section-editorial {
    padding-top: 52px;
  }

  .pine-card {
    min-height: 410px;
    border-radius: 18px;
  }

  .publish-card {
    bottom: 20px;
    padding: 18px 18px;
  }

  .metrics-row {
    gap: 12px;
    margin-top: 28px;
    padding: 20px 0;
  }

  .metric-value {
    font-size: 26px;
  }

  .metric-label {
    font-size: 12px;
  }

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

  .section-statement {
    margin-top: 56px;
  }

  .statement-inner {
    padding: 48px 20px;
    gap: 28px;
  }

  .statement-heading {
    font-size: 34px;
  }

  .statement-sub {
    font-size: 14.5px;
  }

  .statement-card {
    padding: 20px 18px 18px;
  }

  .statement-kpis {
    gap: 10px;
    padding: 14px 0;
  }

  .statement-kpi-val {
    font-size: 21px;
  }

  .statement-kpi-label {
    font-size: 11px;
  }

  .statement-chart-wrap {
    height: 116px;
  }

  .statement-end-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .story-plate-card {
    aspect-ratio: auto;
    min-height: 370px;
    border-radius: 18px;
  }

  .story-stat-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 15px 16px;
  }

  .section-cta {
    padding-top: 52px;
  }

  .cta-card {
    min-height: 340px;
    padding: 48px 22px 58px;
    border-radius: 18px;
  }

  .footer-scenic-top {
    padding: 52px 0 24px;
  }

  .footer-hairline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 32px;
  }

  .footer-scenic-stage {
    aspect-ratio: 390 / 165;
    min-height: 156px;
    height: auto;
    margin-top: 0;
  }

  .footer-scenic-plate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    width: 100%;
  }
}

/* ===========================
   EDITORIAL MOTION & MICRO-ANIMATIONS
   (100% screenshot-safe: baseline opacity is always 1)
   =========================== */
@keyframes soraHeroRise {
  from {
    transform: translate3d(0, 14px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes soraEditorialSettle {
  from {
    transform: translate3d(0, 18px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes soraCurveDraw {
  from {
    stroke-dashoffset: var(--curve-len, 1280);
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes soraDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.65;
  }
}

@keyframes soraPopIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soraCadenceShift {
  from {
    transform: translateY(5px);
  }
  to {
    transform: translateY(0);
  }
}

.hero-copy .pill-hero {
  animation: soraHeroRise 540ms var(--ease-editorial) both;
}

.hero-copy .hero-title {
  animation: soraHeroRise 620ms var(--ease-editorial) 60ms both;
}

.hero-copy .hero-subtitle {
  animation: soraHeroRise 620ms var(--ease-editorial) 120ms both;
}

.hero-copy .hero-cta {
  animation: soraHeroRise 620ms var(--ease-editorial) 170ms both;
}

.editor-window {
  animation: soraHeroRise 720ms var(--ease-editorial) 200ms backwards;
}

.partner-item {
  transition: color 200ms ease;
}

.partner-item:hover {
  color: #ffffff;
}

.editor-dropdown:not([hidden]) {
  animation: soraPopIn 180ms var(--ease-editorial) both;
  transform-origin: top right;
}

.curve-pill {
  transition: transform 240ms var(--ease-editorial), box-shadow 220ms ease;
}

.curve-pill.is-bumping {
  transform: translate(-50%, calc(-100% - 21px)) scale(1.035);
}

.focus-footer.is-shifting .cadence-title,
.focus-footer.is-shifting .cadence-sub {
  animation: soraCadenceShift 280ms var(--ease-editorial) both;
}

.focus-svg path.is-drawing {
  stroke-dasharray: var(--curve-len, 1280);
  animation: soraCurveDraw 1100ms var(--ease-editorial) both;
}

.publish-post-actions:not([hidden]) {
  animation: soraPopIn 240ms var(--ease-editorial) both;
}

.sora-dialog[open] {
  animation: soraPopIn 240ms var(--ease-editorial) both;
}

/* Scroll-triggered transform choreography (never opacity:0 at rest) */
[data-reveal].is-entered {
  animation: soraEditorialSettle 640ms var(--ease-editorial) var(--reveal-delay, 0ms) backwards;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-plate,
  .statement-plate,
  .card-plate,
  .editor-shell {
    transform: none !important;
    scale: 1 !important;
  }
}
