/* =========================================================
   Neptune Solutions — Design System
   Porcelain palette, Inter only, hierarchy by size not weight
   ========================================================= */

:root {
  --porcelain: #F5F8FB;
  --porcelain-deep: #EAF0F7;
  --white-pure: #FFFFFF;
  --ink: #1A2C42;
  --ink-soft: #2A3E5C;
  --graphite: #5A6B82;
  --mute: #8B96A8;
  --divider: #DDE5EF;
  --neptune-blue: #3B82F6;
  --neptune-blue-deep: #2563EB;
  --neptune-blue-soft: #DBEAFE;
  --neptune-blue-tint: rgba(59, 130, 246, 0.08);
  --accent-deep: #3B82F6;

  --container: 1200px;
  --container-wide: 1320px;

  --shadow-card: 0 1px 2px rgba(26, 44, 66, 0.04), 0 8px 24px rgba(26, 44, 66, 0.05);
  --shadow-card-hover: 0 2px 4px rgba(26, 44, 66, 0.05), 0 24px 48px rgba(26, 44, 66, 0.10);
  --shadow-btn: 0 1px 2px rgba(37, 99, 235, 0.18), 0 8px 20px rgba(59, 130, 246, 0.28);
  --shadow-btn-hover: 0 2px 4px rgba(37, 99, 235, 0.24), 0 14px 36px rgba(59, 130, 246, 0.42);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" off, "ss02" off, "cv01" off;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient gradient wash on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(900px 600px at 6% 110%, rgba(59,130,246,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

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

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------------- Typography ---------------- */

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neptune-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--neptune-blue);
  display: inline-block;
}
.eyebrow--plain { color: var(--mute); }
.eyebrow--plain::before { background: var(--mute); }
.eyebrow--accent { color: var(--neptune-blue); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.05;
}

.display {
  font-size: clamp(56px, 8.5vw, 104px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "ss01" off;
}

.h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
}

.h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}

.stat-number {
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}

.lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--graphite);
}

.body-lg { font-size: 18px; line-height: 1.65; color: var(--graphite); }
.body { font-size: 17px; line-height: 1.65; color: var(--graphite); }
.note { font-size: 14px; font-style: italic; color: var(--mute); line-height: 1.55; }

/* ---------------- Layout ---------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container--wide { max-width: var(--container-wide); }

section { position: relative; }

.section {
  padding: clamp(96px, 12vw, 160px) 0;
}

.section--porcelain { background: var(--porcelain); }
.section--deep { background: var(--porcelain-deep); }
.section--white { background: var(--white-pure); }

.divider-thin {
  height: 1px;
  background: var(--divider);
  width: 100%;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 248, 251, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(245, 248, 251, 0.88);
  border-bottom-color: var(--divider);
  box-shadow: 0 4px 24px rgba(26, 44, 66, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  width: 34px;
  height: 34px;
}

.logo__word {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.005em;
}

.logo__word .neptune {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo__word .solutions {
  font-weight: 300;
  letter-spacing: 0.09em;
  font-size: 15px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--neptune-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms var(--ease-out);
}
.nav a:hover { color: var(--neptune-blue); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
  }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, background 240ms ease, color 240ms ease, border-color 240ms ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle, refined primary button — no aggressive shine */
.btn--primary {
  background: var(--neptune-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.18), 0 4px 14px rgba(59, 130, 246, 0.22);
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: var(--neptune-blue-deep);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.22), 0 10px 24px rgba(59, 130, 246, 0.30);
}
.btn--primary:active { transform: translateY(0); transition-duration: 80ms; }

.btn--secondary {
  background: rgba(255,255,255,0.55);
  color: var(--neptune-blue);
  border-color: rgba(59, 130, 246, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--secondary:hover {
  background: var(--neptune-blue);
  color: #fff;
  border-color: var(--neptune-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn--ghost {
  padding: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  border-radius: 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.btn--ghost:hover { color: var(--neptune-blue); border-color: var(--neptune-blue); }

.btn .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------- Hero ---------------- */

.hero {
  padding: clamp(64px, 10vw, 140px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(900px 540px at 78% 18%, rgba(59,130,246,0.16), transparent 65%),
    linear-gradient(180deg, #F5F8FB 0%, #EEF3F9 100%);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,44,66,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,44,66,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(900px 540px at 78% 18%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(900px 540px at 78% 18%, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.7;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero__title {
  margin-top: 24px;
  margin-bottom: 32px;
  max-width: 16ch;
}

.hero__sub {
  max-width: 56ch;
  margin-bottom: 40px;
  color: var(--ink-soft);
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__pillars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}

.hero__pillars span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__pillars .dot {
  color: var(--mute);
  font-weight: 300;
}

.hero__art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__art svg { width: 100%; height: auto; max-width: 560px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { order: -1; opacity: 0.92; }
  .hero__art svg { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------------- Editorial intro (Section 1) ---------------- */

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.editorial__title {
  max-width: 14ch;
}

.editorial__body {
  max-width: 60ch;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.editorial__body p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.editorial__body p:first-child::first-letter {
  /* keep simple — no drop cap to avoid display variants */
}

@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
}

/* Marginalia */

.marginalia {
  position: absolute;
  pointer-events: none;
}

.marginalia__note {
  font-size: 12px;
  font-style: italic;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* ---------------- Stats band (Section 2) ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.stats__cell {
  padding: 56px 32px;
  position: relative;
  text-align: left;
}

.stats__cell + .stats__cell {
  border-left: 1px solid var(--divider);
}

.stats__num {
  display: block;
  margin-bottom: 16px;
}

.stats__cap {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

.stats__note {
  margin-top: 40px;
  text-align: center;
}

.stats-header {
  text-align: center;
  margin-bottom: 64px;
}

/* Reworked stats band — numbered visual block */
.section--stats {
  padding: clamp(80px, 9vw, 120px) 0;
}

.stats-block {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.stats-block__head {
  text-align: center;
  margin-bottom: 56px;
}

.stats-block__head .eyebrow { justify-content: center; }

.stats-block__intro {
  margin-top: 18px;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--divider);
}

.stats-grid__cell {
  padding: 40px 24px 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-grid__cell + .stats-grid__cell {
  border-left: 1px solid var(--divider);
}

.stats-grid__idx {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--neptune-blue);
  font-variant-numeric: tabular-nums;
}

.stats-grid__num {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stats-grid__num .unit {
  font-size: 0.42em;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--graphite);
}

.stats-grid__cap {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.5;
  margin-top: 4px;
  max-width: 22ch;
}

.stats-block__note {
  margin-top: 36px;
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--mute);
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid__cell + .stats-grid__cell { border-left: none; }
  .stats-grid__cell:nth-child(2) { border-left: 1px solid var(--divider); }
  .stats-grid__cell:nth-child(3), .stats-grid__cell:nth-child(4) { border-top: 1px solid var(--divider); }
  .stats-grid__cell:nth-child(4) { border-left: 1px solid var(--divider); }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__cell + .stats__cell { border-left: none; }
  .stats__cell:nth-child(2) { border-left: 1px solid var(--divider); }
  .stats__cell:nth-child(3), .stats__cell:nth-child(4) { border-top: 1px solid var(--divider); }
  .stats__cell:nth-child(4) { border-left: 1px solid var(--divider); }
}

/* ---------------- Section header ---------------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}

.sec-head__title { max-width: 18ch; }
.sec-head__intro { max-width: 48ch; color: var(--graphite); font-size: 18px; line-height: 1.6; }

@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}

/* ---------------- Cards (Section 3) ---------------- */

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

.card {
  background: var(--white-pure);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(59,130,246,0.0) 0%, rgba(59,130,246,0.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--neptune-blue) 50%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease-out);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(59,130,246,0.25);
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card__num {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--neptune-blue);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card__num::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--neptune-blue);
  display: inline-block;
}

.card__title { margin-top: 4px; }

.card__body {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}

.card__art {
  margin-top: 8px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card__art svg { height: 100%; width: auto; }

@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------------- Method (Section 4) ---------------- */

.method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
}

.method__text { max-width: 44ch; }
.method__text .h2 { margin-bottom: 32px; }
.method__text p { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.method__text .eyebrow { margin-bottom: 24px; }

.method__art svg { width: 100%; height: auto; }

@media (max-width: 860px) {
  .method { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------- Editorial statement (Section 5) ---------------- */

.statement {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 72px 56px 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.0) 100%);
  border-top: 1px solid rgba(59,130,246,0.25);
  border-bottom: 1px solid rgba(59,130,246,0.12);
}
@media (max-width: 700px) { .statement { padding: 56px 24px 48px; } }

.statement__quote-mark {
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 160px;
  line-height: 0.8;
  font-weight: 300;
  color: var(--neptune-blue);
  font-family: 'Inter', sans-serif;
  user-select: none;
  pointer-events: none;
  opacity: 0.9;
}

.statement .eyebrow { margin-bottom: 24px; }
.statement .h2 { margin-bottom: 32px; max-width: 18ch; }
.statement p {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .statement { padding-top: 48px; }
  .statement__quote-mark { font-size: 110px; top: -14px; left: -4px; }
}

/* ---------------- Sectors (Section 6) ---------------- */

.sectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--divider);
  margin-top: 24px;
}

.sectors__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--divider);
  gap: 24px;
  position: relative;
  transition: padding-left 320ms var(--ease-out), color 320ms ease;
  cursor: default;
}

.sectors__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  width: 32px;
  height: 1px;
  background: var(--neptune-blue);
  transition: transform 320ms var(--ease-out);
}

.sectors__row:hover { padding-left: 48px; }
.sectors__row:hover::before { transform: translateY(-50%) scaleX(1); }
.sectors__row:hover .sectors__label { color: var(--neptune-blue); }
.sectors__label { transition: color 320ms ease; }

.sectors__label {
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.sectors__idx {
  font-size: 11px;
  color: var(--mute);
  font-weight: 500;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.sectors__close {
  margin-top: 32px;
  max-width: 60ch;
}

/* ---------------- Final CTA (Section 7) ---------------- */

.final-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 100%);
  border: 1px solid var(--divider);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--neptune-blue);
}

.final-cta .h2 { margin: 24px 0 24px; }
.final-cta p { color: var(--ink-soft); font-size: 18px; margin-bottom: 40px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.final-cta .btn { margin-bottom: 24px; }

/* ---------------- Footer ---------------- */

.site-footer {
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(180deg, #1A2C42 0%, #142336 100%);
  color: rgba(255, 255, 255, 0.65);
  padding: 96px 0 40px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.5) 50%, transparent 100%);
}

.site-footer .logo__word { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__about { font-size: 14px; line-height: 1.65; max-width: 36ch; margin-top: 20px; }

.footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color 160ms; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; max-width: none; }
}

/* ---------------- Reveal on scroll ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- Utilities ---------------- */

.text-ink { color: var(--ink); }
.text-soft { color: var(--ink-soft); }
.text-mute { color: var(--mute); }

.mt-sm { margin-top: 12px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; } .mb-md { margin-bottom: 24px; } .mb-lg { margin-bottom: 48px; }

.card__bullets {
  list-style: none;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__bullets-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--neptune-blue);
  margin-bottom: 6px;
  display: block;
}
.card__bullets-label::after { content: " :"; letter-spacing: 0; }
.card__bullets li {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--neptune-blue);
}

/* Horizontal "notebook" sketch banner — full width inside a section */
.notebook {
  background: var(--white-pure);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px 32px 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.notebook--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.notebook--reverse .notebook__svg-wrap { order: -1; }
.notebook__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}
.notebook__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neptune-blue);
}
.notebook__meta {
  font-size: 11px;
  font-style: italic;
  color: var(--mute);
  letter-spacing: 0.02em;
}
.notebook__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.notebook__caption {
  font-size: 14.5px;
  color: var(--graphite);
  line-height: 1.55;
  font-style: italic;
}
.notebook__svg-wrap { width: 100%; }
.notebook__svg-wrap svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .notebook, .notebook--reverse { grid-template-columns: 1fr; gap: 24px; }
  .notebook--reverse .notebook__svg-wrap { order: 0; }
}
.situations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .situations { grid-template-columns: 1fr 1fr; }
  .situations__sketch { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .situations { grid-template-columns: 1fr; } }

.situations__sketch {
  background: var(--white-pure);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
}
.situations__sketch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}
.situations__sketch-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neptune-blue);
}
.situations__sketch-meta {
  font-size: 11px;
  font-style: italic;
  color: var(--mute);
  letter-spacing: 0.02em;
}
.situations__sketch svg { width: 100%; height: auto; display: block; }
.situations__sketch-caption {
  margin-top: 16px;
  font-size: 13px;
  font-style: italic;
  color: var(--graphite);
  line-height: 1.5;
}
.situations-col {
  background: var(--white-pure);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.situations-col__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.situations-col__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--neptune-blue-tint);
  border-radius: 8px;
}
.situations-col__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neptune-blue);
  margin: 0;
}
.situations-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.situations-col li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
  counter-increment: situ;
}
.situations-col li::before {
  content: counter(situ, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  color: var(--neptune-blue);
  letter-spacing: 0.08em;
  font-feature-settings: "tnum";
  font-weight: 500;
}
.situations-col ul { counter-reset: situ; }

/* Formats — richer cards with numbered top, duration chip, hairline accent */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 860px) { .formats-grid { grid-template-columns: 1fr; } }

.format-card {
  background: var(--white-pure);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.format-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--neptune-blue);
}
.format-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(59,130,246,0.25);
}
.format-card__num {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
}
.format-card__duration {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.format-card__duration::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neptune-blue);
  display: inline-block;
}

/* Diagonal section transitions — subtle ~1.4° tilt for rhythm */
.section--diag-top {
  position: relative;
  margin-top: -1px;
  /* compensate for the 40px diagonal lip stealing visual top space */
  padding-top: clamp(64px, 9vw, 120px);
}
.section--diag-top::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -5%;
  right: -5%;
  height: 60px;
  background: inherit;
  transform: skewY(-1.4deg);
  transform-origin: top left;
  z-index: 0;
  pointer-events: none;
}
.section--diag-top > .container,
.section--diag-top > * { position: relative; z-index: 1; }
/* stats band gets a tighter top */
.section--stats.section--diag-top { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
/* final-cta gets a balanced top */
.section--diag-top:last-of-type { padding-top: clamp(72px, 10vw, 128px); }

/* Marginalia sketch (corner annotation) */
.sketch-margin {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
}
.sketch-margin--tr { top: -8px; right: -12px; width: 120px; }
.sketch-margin--bl { bottom: -16px; left: -8px; width: 96px; }

/* Sketches color tokens */
.hd-stroke { stroke: var(--graphite); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.hd-stroke--accent { stroke: var(--neptune-blue); }
.hd-stroke--mute { stroke: var(--mute); stroke-width: 0.9; }
.hd-anno { font-family: 'Inter', sans-serif; font-size: 10.5px; fill: var(--mute); letter-spacing: 0.02em; }
.hd-anno--accent { fill: var(--neptune-blue); }

.no-wrap { white-space: nowrap; }

/* Inner-page hero — compact */
.hero--inner { padding: clamp(96px, 11vw, 140px) 0 clamp(48px, 6vw, 80px); }
.hero--inner .hero__copy { max-width: 880px; position: relative; z-index: 2; }
.hero--inner .hero__title { max-width: 14ch; }
.hero--inner .lead { max-width: 60ch; margin-bottom: 0; }
.hero--inner .hero__body {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 60ch;
}

/* Hero marginalia: thin rule + figure caption under the body copy */
.hero__marginalia {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 60ch;
}
.hero__marginalia-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--neptune-blue);
  flex-shrink: 0;
}
.hero__marginalia-text {
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--mute);
}

/* Five stages list (Our Approach) */
.stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  row-gap: 36px;
  counter-reset: none;
}
@media (max-width: 760px) { .stages { grid-template-columns: 1fr; } }

.stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.stage__num {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--neptune-blue);
  font-feature-settings: "tnum";
  padding-top: 4px;
}
.stage__title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.stage__body p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Annotated reasoning fragments — top-right of hero */
.hero__pencil {
  position: absolute;
  top: 8px;
  right: clamp(48px, 6vw, 120px);
  width: clamp(220px, 22vw, 300px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.78;
}
.hero__pencil .pencil text {
  font-family: 'Caveat', 'Bradley Hand', cursive;
  font-size: 22px;
  fill: #8B96A8;
  stroke: none;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.hero__pencil .pencil-rule {
  stroke: #B5BFCC;
  stroke-width: 0.6;
  stroke-linecap: round;
  fill: none;
}
@media (max-width: 980px) {
  .hero__pencil { display: none; }
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero__art .pulse-node {
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 3.6s var(--ease-out) infinite;
}

/* Hand-drawn SVG style helpers */
.hd-stroke { fill: none; stroke: var(--ink-soft); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.hd-stroke--accent { stroke: var(--neptune-blue); }
.hd-stroke--thick { stroke-width: 1.6; }
.hd-fill-ink { fill: var(--ink); }
.hd-fill-accent { fill: var(--neptune-blue); }
.hd-anno {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 11px;
  font-weight: 400;
  fill: var(--ink-soft);
}
.hd-anno--mute { fill: var(--mute); }
.hd-anno--accent { fill: var(--neptune-blue); }

/* Body links */
main p a, main li a { color: var(--neptune-blue); }
main p a:hover, main li a:hover { color: var(--neptune-blue-deep); }

/* Netlify honeypot */
.hidden { display: none !important; }
