/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --bg:           #fbfcfa;
  --bg-card:      #ffffff;
  --bg-alt:       #eef3eb;
  --ink:          #0c1813;
  --ink-mid:      #2e4339;
  --ink-faint:    #7e8d85;
  --moss:         #0a2417;
  --moss-bg:      #0d2f20;
  --moss-line:    rgba(180, 230, 200, 0.18);
  --green:        #2cb578;
  --green-deep:   #16895a;
  --green-soft:   #d6ecd9;
  --green-glow:   #b6e89c;
  --line:         rgba(12, 24, 19, 0.08);
  --line-strong:  rgba(12, 24, 19, 0.18);
  --shadow-sm:    0 2px 8px rgba(10, 30, 20, 0.05);
  --shadow-md:    0 14px 40px rgba(10, 35, 22, 0.08), 0 2px 6px rgba(10, 30, 20, 0.04);
  --shadow-lg:    0 26px 60px rgba(10, 35, 22, 0.14), 0 4px 10px rgba(10, 30, 20, 0.06);

  --display: 'Instrument Serif', 'Times New Roman', serif;
  --body:    'Geist', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ─── Reset / Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern", "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--ink); }

/* ─── Layout ─────────────────────────────────────────── */
.sheet {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Masthead ───────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 250, 0.84);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img.logo-svg {
  height: 36px;
  width: auto;
  display: block;
}
.wordmark .name {
  font-family: var(--body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.masthead nav {
  justify-self: center;
  display: flex;
  gap: 32px;
}
.masthead nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.18s;
}
.masthead nav a:hover { color: var(--green-deep); }
.masthead-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px 12px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(22, 137, 90, 0.30);
}
.btn--green {
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
}
.btn--green:hover {
  background: var(--green-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--ghost-light {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.btn--small { padding: 9px 16px 8px; font-size: 13px; }
.btn .arrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  transform: translate(2px, -1px);
  transition: transform 0.18s;
}
.btn:hover .arrow { transform: translate(5px, -1px); }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  padding: 24px 0 64px;
  position: relative;
}
.hero-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  isolation: isolate;
}
.hero-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 480;
  object-fit: cover;
  object-position: center;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 35%, rgba(8, 18, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 18, 12, 0.55) 0%, rgba(8, 18, 12, 0.10) 50%, transparent 70%);
  pointer-events: none;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.stage-tagline {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(232, 240, 230, 0.92);
  background: rgba(8, 18, 12, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 13px 7px;
  border-radius: 999px;
  border: 1px solid rgba(180, 230, 200, 0.22);
}
.stage-tagline .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #51d68a;
  animation: pulseBright 1.6s ease-out infinite;
}
@keyframes pulseBright {
  0%   { box-shadow: 0 0 0 0 rgba(81, 214, 138, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(81, 214, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(81, 214, 138, 0); }
}

.stage-headline {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: 0;
  padding: 40px 44px 36px;
  color: #fff;
}
.stage-headline .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-glow);
  margin-bottom: 14px;
  display: inline-block;
}
.stage-headline h1 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}
.stage-headline h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-glow);
  letter-spacing: -0.005em;
}
.stage-headline h1 .light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 2.7vw, 44px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-block;
  margin-top: 6px;
}

.hero-below {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: end;
}
.hero-deck {
  font-family: var(--body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 60ch;
  margin: 0;
  font-weight: 400;
}
.hero-deck strong {
  font-weight: 600;
  color: var(--ink);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: end;
}

/* ─── Section heads ──────────────────────────────────── */
.section {
  padding: 110px 0 40px;
}
.section-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
}
.section-head .text { display: flex; flex-direction: column; gap: 10px; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 4px;
}
.section-head h2 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 22ch;
}
.section-head h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
}
.section-head .head-aside {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 40ch;
  justify-self: end;
}

/* ─── Subjects grid (homepage) ───────────────────────── */
.subjects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.subject {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.2,.7,.1,1), box-shadow 0.3s;
  appearance: none;
  text-align: left;
  font: inherit;
  padding: 0;
  color: inherit;
  position: relative;
}
.subject:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.subject:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.subject-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
.subject-frame video,
.subject-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.5s, transform 1.6s cubic-bezier(.2,.7,.1,1), filter 0.5s;
}
.subject-frame video {
  opacity: 0;
  z-index: 1;
}
.subject-frame img {
  z-index: 0;
  transform: scale(1.04);
  filter: saturate(0.85) contrast(1.04) brightness(0.96);
}
.subject:hover .subject-frame img { filter: saturate(1) contrast(1) brightness(1); transform: scale(1.07); }
.subject.is-playing .subject-frame video { opacity: 1; }

.subject-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 9px 5px;
  border-radius: 999px;
}
.subject-tag .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  transform: translateY(-1px);
}

.subject-meta {
  padding: 18px 18px 20px;
}
.subject-meta .name {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 2px;
}
.subject-meta .role {
  font-size: 13px;
  color: var(--ink-mid);
  margin-bottom: 14px;
  line-height: 1.4;
}
.subject-meta .quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 0;
}

.subjects-footnote {
  margin-top: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-faint);
  text-align: center;
}

/* ─── Capabilities (cap-cards) ───────────────────────── */
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.cap-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(44, 181, 120, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.cap-card:hover::before { opacity: 1; }
.cap-card .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.cap-card h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.cap-card .desc {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-mid);
  margin: 0 0 18px;
  line-height: 1.4;
}
.cap-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mid);
}
.cap-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.cap-card .tags li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 5px 10px 4px;
  border-radius: 999px;
}

.cap-card--wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card) 0%, #f3f8ee 100%);
  border-style: dashed;
  border-color: var(--line-strong);
  padding: 40px 36px 36px;
}
.cap-card--wide:hover {
  border-style: solid;
  border-color: var(--green);
}
.cap-card--wide h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-bottom: 8px;
  max-width: 28ch;
}
.cap-card--wide p {
  max-width: 78ch;
  font-size: 16px;
}
.cap-card--wide .tags li:last-child {
  background: var(--ink);
  color: var(--bg);
}

/* ─── How it works (dark moss section) ───────────────── */
.howto {
  background: var(--moss-bg);
  color: var(--bg);
  padding: 110px 0;
  margin-top: 110px;
  position: relative;
  overflow: hidden;
}
.howto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(44, 181, 120, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(81, 214, 138, 0.10), transparent 50%);
  pointer-events: none;
}
.howto .section-head h2 { color: var(--bg); }
.howto .section-head h2 em { color: var(--green-glow); }
.howto .section-eyebrow { color: var(--green-glow); }
.howto .head-aside { color: rgba(255, 255, 255, 0.72); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--moss-line);
  border-bottom: 1px solid var(--moss-line);
  position: relative;
}
.steps > * + * { border-left: 1px solid var(--moss-line); }
.step {
  padding: 36px 32px 36px;
  position: relative;
}
.step .step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--green-glow);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--bg);
}
.step h3 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-glow);
}
.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Closing CTA ────────────────────────────────────── */
.closing {
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(44, 181, 120, 0.12), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(182, 232, 156, 0.10), transparent 50%);
  pointer-events: none;
}
.closing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 28px;
}
.closing-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}
.closing h2 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.closing h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}
.closing .deck {
  font-size: 19px;
  color: var(--ink-mid);
  margin: 0 auto 40px;
  max-width: 52ch;
  line-height: 1.5;
}
.closing .cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ─── Generic article / prose helpers (used by legal/info pages) ── */
.prose {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mid);
}
.prose h1 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}
.prose h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
}
.prose .updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 36px;
}
.prose h2 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 40px 0 12px;
}
.prose h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 28px 0 8px;
}
.prose p, .prose li { color: var(--ink-mid); }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.prose th, .prose td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 500;
}
.prose .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 400;
}
.prose address {
  font-style: normal;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* Inline callouts inside prose. Replaces Bootstrap .alert variants. */
.callout {
  border-radius: 14px;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.55;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
}
.callout--info {
  background: var(--bg-alt);
  border-color: rgba(44, 181, 120, 0.25);
  color: var(--ink);
}
.callout--ok {
  background: var(--green-soft);
  border-color: rgba(22, 137, 90, 0.35);
  color: var(--ink);
}
.callout--warn {
  background: #fff7e3;
  border-color: rgba(180, 130, 0, 0.35);
  color: var(--ink);
}
.callout--danger {
  background: #fde8e2;
  border-color: rgba(180, 60, 20, 0.35);
  color: var(--ink);
}
.callout > h3,
.callout > h4,
.callout > p:first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* Page hero used by marketing/legal landing screens (a compact alternative to the homepage hero). */
.page-hero {
  padding: 64px 0 24px;
}
.page-hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
  display: inline-block;
}
.page-hero h1 {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.page-hero h1 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--green-deep);
}
.page-hero .deck {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-mid);
  max-width: 60ch;
  margin: 0;
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 40px 44px;
  background: var(--bg);
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.footer a:hover { color: var(--green-deep); }
.footer .brand .wordmark img.logo-svg { height: 44px; }
.footer .brand-tagline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-mid);
  max-width: 36ch;
  line-height: 1.5;
}
.footer-bottom {
  max-width: 1320px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ─── Reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.1,1);
}
.loaded .reveal { opacity: 1; transform: none; }
.loaded .reveal-1 { transition-delay: 0.04s; }
.loaded .reveal-2 { transition-delay: 0.18s; }
.loaded .reveal-3 { transition-delay: 0.34s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.1,1);
}
.scroll-reveal.is-visible { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .subjects { grid-template-columns: repeat(3, 1fr); }
  .capabilities { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps > *:nth-child(3) { border-left: none; border-top: 1px solid var(--moss-line); }
  .steps > *:nth-child(4) { border-top: 1px solid var(--moss-line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head .head-aside { justify-self: start; }
  .hero-below { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .hero-cta { justify-self: start; }
}
@media (max-width: 720px) {
  .sheet, .masthead-inner, .footer { padding-left: 22px; padding-right: 22px; }
  .masthead nav { display: none; }
  .hero { padding-top: 16px; padding-bottom: 48px; }
  .stage-headline { padding: 28px 22px 26px; }
  .stage-headline h1 { font-size: 9vw; }
  .stage-tagline { top: 14px; left: 14px; }
  .subjects { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps > * + * { border-left: none; border-top: 1px solid var(--moss-line); }
  .section { padding-top: 72px; }
}
