@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Prata&display=swap');

:root {
  --bg: #f5f9fd;
  --surface: #ffffff;
  --surface-soft: #edf4fa;
  --surface-tint: #f0f5ff;
  --ink: #071945;
  --muted: #53627e;
  --line: rgba(7, 25, 69, 0.12);
  --line-strong: rgba(7, 25, 69, 0.22);
  --blue: #0032ff;
  --blue-deep: #061f82;
  --mint: #20caa6;
  --white: #ffffff;
  --radius-lg: 10px;
  --radius-md: 6px;
  --container: 1320px;
  --shadow-soft: 0 20px 60px rgba(7, 25, 69, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 50, 255, 0.08), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(32, 202, 166, 0.06), transparent 18%),
    var(--bg);
  line-height: 1.58;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }


.hero-side-panel {
  align-self: start;
  height: fit-content;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero > .container,
.hero-panel,
.hero-content,
.info-panel {
  position: relative;
  z-index: 2;
}

.hero-bg-stage--mortality {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-stage--mortality::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 58% at 18% 18%, rgba(24, 89, 230, 0.10), transparent 74%),
    radial-gradient(38% 44% at 82% 22%, rgba(18, 63, 157, 0.07), transparent 76%),
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0));
  animation: mortalityGlowDrift 18s ease-in-out infinite alternate;
}

.mortality-curve-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.curve-grid line {
  stroke: rgba(15, 23, 42, 0.03);
  stroke-width: 1;
}

.mortality-area {
  fill: url(#mortalityFill);
  opacity: 1;
}

.mortality-curve-base {
  fill: none;
  stroke: rgba(24, 89, 230, 0.22);
  stroke-width: 2;
}

.mortality-curve-trace {
  fill: none;
  stroke: url(#mortalityStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 220 1400;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 14px rgba(24, 89, 230, 0.16));
  animation: mortalityTrace 9s ease-in-out infinite;
}

@keyframes mortalityTrace {
  0% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
  50% {
    stroke-dashoffset: -460;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -920;
    opacity: 0.55;
  }
}

@keyframes mortalityGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -10px, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-stage--mortality::before,
  .mortality-curve-trace {
    animation: none;
  }
}


.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(245, 249, 253, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 25, 69, 0.08);
}

.site-nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 58px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-shell {
  display: flex;
  align-items: center;
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: rgba(7, 25, 69, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--blue);
}

.hero,
.page-hero {
  position: relative;
  padding: 10.5rem 0 4rem;
  overflow: hidden;
}

.hero {
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -12vw;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 50, 255, 0.12) 0%, rgba(0, 50, 255, 0.05) 42%, transparent 70%);
  pointer-events: none;
}

.hero-grid,
.grid-2,
.grid-3,
.platform-stack,
.principles-grid,
.contact-layout,
.footer-grid,
.info-split,
.founder-split,
.timeline {
  display: grid;
  gap: 1.6rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.78fr);
  align-items: end;
}

.hero-panel,
.info-panel,
.card,
.form-panel,
.page-hero-panel,
.founder-panel,
.founder-photo-card,
.quote-card,
.cta-band,
.timeline-step {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-panel,
.page-hero-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.info-panel,
.card,
.form-panel,
.founder-panel,
.founder-photo-card,
.quote-card,
.cta-band,
.timeline-step {
  padding: 2rem;
}

.hero-content,
.page-hero-content {
  max-width: 840px;
}

.eyebrow,
.kicker,
.label,
.step-index {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero h1,
.page-hero h1,
.section-title h2,
.founder-panel h2,
.card h3,
.info-panel h3,
.form-panel h3,
.quote-card h3,
.timeline-step h3,
.footer h3 {
  font-family: 'Prata', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1.25rem;
  max-width: 12.2ch;
  font-size: clamp(2.4rem, 4.5vw, 5.1rem);
  line-height: 1.2;
}

.page-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

.lead {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.form-actions,
.cta-actions,
.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions { margin-top: 2rem; }
.mini-stats { margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.35rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  color: var(--blue);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  color: var(--white);
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.45);
}

.hero-metrics,
.principles-grid,
.grid-3,
.platform-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.contact-layout,
.footer-grid,
.info-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-metrics {
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 1rem;
}

.stat-strip {
  padding-right: 1.2rem;
  border-right: 1px solid var(--line);
}

.stat-strip:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-strip .label {
  display: block;
  margin: 0 0 0.45rem;
}

.stat-strip .value {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.1;
}

.stat-strip p,
.card p,
.info-panel p,
.form-panel p,
.quote-card cite,
.footer p,
.timeline-step p,
.page-hero p,
li,
blockquote {
  color: var(--muted);
}

.hero-side-panel {
  align-self: stretch;
}

.hero-portrait {
  margin: -2rem -2rem 1.5rem;
  aspect-ratio: 0.95 / 1.12;
  overflow: hidden;
}

.hero-portrait img,
.founder-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list,
.metric-list,
.check-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature-list li:first-child {
  border-top: 1px solid var(--line);
}

.index,
.step-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid rgba(0, 50, 255, 0.22);
  background: rgba(0, 50, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.metric-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.metric-list li,
.check-list li,
.footer-links li {
  position: relative;
}

.check-list,
.card ul {
  padding-left: 1.15rem;
}

.card ul,
.check-list {
  margin: 1rem 0 0;
}

.card li,
.check-list li {
  margin: 0.5rem 0;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.section {
  position: relative;
  padding: 1rem 0 5rem;
}

.section-title {
  margin-bottom: 1.8rem;
}

.section-title h2,
.founder-panel h2 {
  margin: 0 0 0.8rem;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.2;
}

.card h3,
.info-panel h3,
.form-panel h3,
.quote-card h3,
.timeline-step h3,
.footer h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.leadership-name {
  margin: 0 0 1rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
}

.founder-split {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: stretch;
}

.founder-photo-card {
  padding: 0;
  overflow: hidden;
}

.founder-photo-card img {
  min-height: 640px;
}

.quote-card,
.cta-band {
  background: linear-gradient(135deg, #071945 0%, #0e2b73 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.quote-card h3,
.quote-card blockquote,
.cta-band h3,
.cta-band p,
.cta-band .button:not(.primary) {
  color: var(--white);
}

.quote-card blockquote,
.founder-panel blockquote {
  margin: 0;
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.28;
  color: var(--ink);
}

.quote-card blockquote {
  color: rgba(255, 255, 255, 0.92);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-top: 0.8rem;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-step {
  min-height: 100%;
}

.contact-layout {
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(7, 25, 69, 0.8);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  padding: 0.95rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 168px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 50, 255, 0.08);
}

.form-status {
  min-height: 1.2rem;
  color: var(--blue);
  font-size: 0.9rem;
}

.footer {
  padding: 0 0 3rem;
}

.footer-grid {
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--blue);
}

.soft {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.8rem 0;
}

@media (max-width: 1180px) {
  .hero-grid,
  .grid-3,
  .platform-stack,
  .principles-grid,
  .grid-2,
  .contact-layout,
  .footer-grid,
  .info-split,
  .founder-split,
  .timeline,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stat-strip {
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 1rem 0 0;
  }

  .hero-portrait {
    aspect-ratio: 1.05 / 1;
  }

  .founder-photo-card img {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-nav {
    min-height: 78px;
  }

  .brand-logo {
    height: 46px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-shell {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav-shell.is-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu a {
    padding: 0.9rem 0.25rem;
  }

  .hero,
  .page-hero {
    padding-top: 7.25rem;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .hero-panel,
  .info-panel,
  .card,
  .form-panel,
  .page-hero-panel,
  .founder-panel,
  .quote-card,
  .cta-band,
  .timeline-step {
    padding: 1.5rem;
  }

  .hero-portrait {
    margin: -1.5rem -1.5rem 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .cta-band {
    flex-direction: column;
    align-items: start;
  }
}

/* Hero background animations */
.hero,
.page-hero {
  isolation: isolate;
}

.hero > .container,
.page-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-bg-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-stage::before,
.hero-bg-stage::after {
  content: '';
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero-bg-stage--home::before {
  top: 9%;
  right: 8%;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 50, 255, 0.12) 0%, rgba(0, 50, 255, 0.045) 42%, rgba(0, 50, 255, 0) 72%);
  filter: blur(10px);
}

.hero-bg-stage--home::after {
  left: 0;
  right: 0;
  bottom: 16%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 50, 255, 0), rgba(0, 50, 255, 0.12), rgba(0, 50, 255, 0));
}

.hero-bg-stage--leadership::before {
  top: 6%;
  right: 4%;
  width: min(38vw, 460px);
  height: min(38vw, 460px);
  border-radius: 50%;
  border: 1px solid rgba(0, 50, 255, 0.08);
  box-shadow:
    0 0 0 32px rgba(0, 50, 255, 0.025),
    0 0 0 96px rgba(0, 50, 255, 0.016);
}

.hero-bg-stage--leadership::after {
  top: 18%;
  right: 18%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 50, 255, 0.085), rgba(0, 50, 255, 0));
}

.hero-bg-stage--platform::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 50, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 50, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.16));
  opacity: 0.34;
}

.hero-bg-stage--platform::after {
  top: 20%;
  right: 12%;
  width: min(34vw, 420px);
  height: min(34vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 50, 255, 0.09), rgba(0, 50, 255, 0));
  filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-stage--home::before,
  .hero-bg-stage--home::after,
  .hero-bg-stage--leadership::before,
  .hero-bg-stage--leadership::after,
  .hero-bg-stage--platform::before,
  .hero-bg-stage--platform::after {
    animation: none !important;
  }
}
