:root {
  --paper: #f7f2e8;
  --paper-strong: #efe3cf;
  --ink: #15181b;
  --ink-soft: #2d3439;
  --smoke: #66706b;
  --teal: #166b65;
  --teal-deep: #0d403e;
  --gold: #b8872d;
  --coral: #c9553d;
  --ivory: #fffaf0;
  --line: rgba(21, 24, 27, 0.14);
  --line-light: rgba(255, 250, 240, 0.18);
  --shadow: 0 24px 80px rgba(21, 24, 27, 0.16);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Aptos", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 24, 27, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 24, 27, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--ivory);
  background: var(--ink);
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  background: rgba(247, 242, 232, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ivory);
  background: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  margin-top: 2px;
  color: var(--smoke);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--ink-soft);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--teal-deep);
  background: rgba(22, 107, 101, 0.1);
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  min-width: 126px;
  padding: 10px 14px;
  color: var(--ivory);
  background: var(--teal-deep);
  border: 1px solid var(--teal-deep);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86svh;
  padding: 72px max(24px, calc((100% - 1180px) / 2)) 84px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 36%, rgba(184, 135, 45, 0.18), transparent 32%),
    linear-gradient(118deg, rgba(247, 242, 232, 0.98) 0%, rgba(247, 242, 232, 0.92) 46%, rgba(22, 107, 101, 0.16) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  z-index: -1;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(21, 24, 27, 0.08));
}

.hero-bg {
  position: absolute;
  inset: 52px -70px 42px auto;
  z-index: -1;
  width: min(52vw, 700px);
  min-width: 420px;
  background: url("assets/sourav-sachin-hero-crop.jpeg") center right / cover no-repeat;
  filter: saturate(0.92) contrast(1.04);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%);
  opacity: 0.28;
}

.hero-inner {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 650;
  hyphens: none;
  line-height: 0.96;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 5.65rem;
}

h2 {
  margin-bottom: 22px;
  font-size: 3.55rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.hero-subtitle {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 2rem;
  hyphens: none;
  line-height: 1.08;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.hero-actions,
.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ivory);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(21, 24, 27, 0.2);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(21, 24, 27, 0.25);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.64);
}

.button-secondary span {
  padding: 2px 7px;
  color: var(--ivory);
  background: var(--teal);
  border-radius: 3px;
  font-size: 0.68rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip p {
  display: grid;
  place-items: center;
  min-height: 94px;
  margin: 0;
  padding: 22px 24px;
  background: var(--ivory);
  color: var(--ink-soft);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 92px max(24px, calc((100% - 1180px) / 2));
}

.section-light {
  background: var(--paper);
}

.section-paper {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-ink {
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 250, 240, 0.04) 1px, transparent 1px),
    var(--ink);
  background-size: 48px 48px;
}

.section-ink .section-kicker,
.section-ink .ladder-step span {
  color: #e7b553;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.7fr);
  gap: 54px;
  align-items: start;
}

.section-lead p:not(.section-kicker),
.section-head p:not(.section-kicker),
.sourav-panel p {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-ink .section-head p:not(.section-kicker) {
  color: rgba(255, 250, 240, 0.72);
}

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

.module-card,
.ladder-step,
.credibility-item {
  border-radius: 8px;
}

.module-card {
  min-height: 190px;
  padding: 24px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(21, 24, 27, 0.06);
}

.module-index {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.45rem;
}

.module-card p,
.ladder-step p,
.credibility-item p {
  margin-bottom: 0;
  color: var(--smoke);
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.ladder-step {
  min-height: 300px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.065);
}

.ladder-step span {
  display: inline-block;
  margin-bottom: 72px;
  font-family: var(--display);
  font-size: 1.4rem;
}

.ladder-step p {
  color: rgba(255, 250, 240, 0.7);
}

.outcomes-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.45fr);
  gap: 54px;
}

.outcome-list {
  border-top: 1px solid var(--line);
}

.outcome-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.outcome-item strong {
  color: var(--teal-deep);
  font-size: 1.02rem;
}

.outcome-item span {
  color: var(--ink-soft);
}

.section-sourav {
  background:
    linear-gradient(135deg, rgba(201, 85, 61, 0.11), transparent 36%),
    var(--paper-strong);
}

.sourav-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 42px;
  align-items: stretch;
}

.sourav-panel {
  min-height: 420px;
  padding: 34px;
  color: var(--ivory);
  background: var(--teal-deep);
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sourav-panel .section-kicker,
.sourav-panel p {
  color: rgba(255, 250, 240, 0.78);
}

.credibility-list {
  display: grid;
  gap: 14px;
}

.credibility-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 18px;
  align-content: center;
  min-height: 124px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--line);
}

.credibility-item h3,
.credibility-item p {
  grid-column: 2;
}

.signal {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--coral);
  border: 4px solid var(--gold);
  border-radius: 50%;
}

.section-pilot {
  background: var(--paper);
}

.pilot-shell {
  padding: 42px;
  background:
    linear-gradient(126deg, rgba(21, 24, 27, 0.96), rgba(13, 64, 62, 0.96)),
    var(--ink);
  color: var(--ivory);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pilot-shell .section-kicker {
  color: #e7b553;
}

.pilot-shell h2 {
  max-width: 740px;
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 28px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.pilot-grid div {
  min-height: 160px;
  padding: 22px;
  background: rgba(255, 250, 240, 0.07);
}

.pilot-grid strong,
.pilot-grid span {
  display: block;
}

.pilot-grid strong {
  margin-bottom: 14px;
  color: var(--ivory);
  font-size: 1.02rem;
}

.pilot-grid span {
  color: rgba(255, 250, 240, 0.7);
}

.pilot-shell .button-primary {
  color: var(--ink);
  background: var(--ivory);
  border-color: var(--ivory);
}

.pilot-shell .button-secondary {
  color: var(--ivory);
  background: transparent;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px max(24px, calc((100% - 1180px) / 2));
  color: rgba(255, 250, 240, 0.76);
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.4rem;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

.site-footer a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: rgba(255, 250, 240, 0.42);
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

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

  .button,
  .reveal {
    transition: none;
  }

  .button:hover,
  .reveal {
    transform: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 3rem;
  }

  .section-grid,
  .outcomes-layout,
  .sourav-layout {
    grid-template-columns: 1fr;
  }

  .ladder,
  .pilot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .header-cta {
    min-width: 108px;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 84svh;
    padding: 54px 18px 58px;
  }

  .hero-bg {
    inset: 18px -140px auto auto;
    width: 560px;
    min-width: 0;
    height: 520px;
    background-position: center right;
    opacity: 0.1;
  }

  h1 {
    font-size: 3rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.32rem;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 1.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .pilot-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .module-grid,
  .ladder,
  .pilot-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    min-height: 74px;
    padding: 16px 18px;
  }

  .section {
    padding: 64px 18px;
  }

  .module-card,
  .ladder-step,
  .pilot-grid div {
    min-height: auto;
  }

  .ladder-step span {
    margin-bottom: 36px;
  }

  .outcome-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sourav-panel,
  .pilot-shell {
    padding: 26px;
  }

  .site-footer {
    display: block;
    padding: 28px 18px;
  }

  .site-footer address {
    margin-top: 18px;
    text-align: left;
  }
}
