/* ============================================================
   Sujit Guha — Supply Chain-Led Growth Advisory
   Design tokens carried over from the StoryBrand deck brand.
   ============================================================ */

:root {
  --navy: #0B1A2E;
  --navy-2: #132846;
  --navy-3: #1B3358;
  --teal: #1E8F6F;
  --teal-deep: #146652;
  --teal-tint: #E4F3EE;
  --gold: #D99A3D;
  --gold-deep: #B87F2C;
  --bg: #F7FAFC;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5B6672;
  --line: #E3E9F0;
  --line-dark: #26405F;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1em; max-width: 62ch; }
p.lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 8px 20px rgba(217,154,61,0.35); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,26,46,0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand span { color: var(--gold); }
nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  color: #C7D1E0;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] { color: #fff; border-color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .menu-toggle { display: block; }
  header.site-header.open nav.primary-nav {
    display: block;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid var(--line-dark);
    padding: 14px 28px 26px;
  }
  header.site-header.open nav.primary-nav ul {
    flex-direction: column;
    gap: 6px;
  }
  header.site-header.open nav.primary-nav a { display: block; padding: 10px 0; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 108px 0 84px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background-image: url('hero-route.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 1600px auto;
  opacity: 0.95;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.hero h1 { color: #fff; }
.hero h1 em { color: var(--teal); font-style: italic; }
.hero p.lede { color: #C7D1E0; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
}
.hero-photo-inner {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hero-photo-inner img { width: 100%; display: block; }
.hero-badge {
  position: absolute;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  font-family: var(--sans);
}
.hero-badge b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--teal-deep); }
.hero-badge span { font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.hero-badge.top { top: -18px; left: -18px; }
.hero-badge.bottom { bottom: -18px; right: -18px; }
.hero-badge.bottom b { color: var(--gold-deep); }

.reveal { opacity: 0; transform: translateY(14px); animation: reveal 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.18s; }
.reveal.d3 { animation-delay: 0.28s; }
.reveal.d4 { animation-delay: 0.38s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ---------- Generic section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--teal-deep); }
.section-head.on-dark .eyebrow { color: var(--gold); }
.section-head.on-dark h2 { color: #fff; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--line);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.96rem; }

.pain-card .num { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-deep); display: block; margin-bottom: 6px; }

.plan-card .idx { font-family: var(--serif); font-size: 2rem; display: block; margin-bottom: 4px; }
.plan-card .tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; color: var(--teal-deep); text-transform: uppercase; display: block; margin-bottom: 10px; }
.plan-card.c1 .idx { color: var(--gold-deep); }
.plan-card.c2 .idx { color: var(--teal-deep); }
.plan-card.c3 .idx { color: #8B6FC9; }
.plan-card.c4 .idx { color: #3B6FA0; }

/* ---------- Dark stakes band ---------- */
.stakes { background: var(--navy); color: #fff; }
.stakes .grid.cols-2 { align-items: stretch; }
.stakes-col { padding: 32px; border-radius: 14px; }
.stakes-col.bad { background: var(--navy-2); border: 1px solid var(--line-dark); }
.stakes-col.good { background: #fff; color: var(--ink); }
.stakes-col h3 { margin-bottom: 18px; }
.stakes-col.bad h3 { color: #fff; }
.stakes-col ul { padding: 0; margin: 0; list-style: none; }
.stakes-col li { display: flex; gap: 10px; padding: 9px 0; font-size: 0.97rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.stakes-col.good li { border-bottom: 1px solid var(--line); }
.stakes-col li:last-child { border-bottom: none; }
.stakes-col .mark { flex: none; font-weight: 700; }
.stakes-col.bad .mark { color: #E07856; }
.stakes-col.good .mark { color: var(--teal-deep); }
.stakes-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.stakes-col.bad .stakes-label { color: #E07856; }
.stakes-col.good .stakes-label { color: var(--teal-deep); }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--navy-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat-strip .grid { grid-template-columns: repeat(5, 1fr); text-align: center; }
.stat-strip .stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold); }
.stat-strip .stat span { color: #B9C4D6; font-size: 0.85rem; }
.stat-strip.on-navy .stat b:nth-child(odd) { color: var(--teal); }

/* ---------- Testimonials ---------- */
.testimonial { position: relative; }
.testimonial .quote-mark { font-family: var(--serif); font-size: 2.6rem; color: var(--teal-tint); line-height: 1; margin-bottom: 4px; }
.testimonial p.quote { font-style: italic; color: var(--ink); font-size: 0.96rem; }
.testimonial .who { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.testimonial .role { color: var(--muted); font-size: 0.83rem; }

/* ---------- Company strip ---------- */
.company-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.company-strip span {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid var(--teal-tint);
}

/* ---------- Guide / bio panel ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.guide-panel { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; }
.guide-panel .eyebrow { color: var(--gold); font-size: 0.78rem; margin-bottom: 12px; }
.guide-panel ul { list-style: none; margin: 0; padding: 0; }
.guide-panel li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 1.08rem; }
.guide-panel li:last-child { border-bottom: none; }

/* ---------- Case study cards ---------- */
.case-card .kicker { font-size: 0.78rem; font-weight: 700; color: var(--teal-deep); letter-spacing: 0.06em; text-transform: uppercase; }
.case-card .role { color: var(--muted); font-style: italic; font-size: 0.85rem; margin: 4px 0 10px; }
.case-card h3 { font-size: 1.15rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p.lede { color: #C7D1E0; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: #fff; border-radius: 16px; padding: 34px; border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.96rem;
  background: #FAFCFE;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.direct-contact { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px; }
.direct-contact .eyebrow { color: var(--gold); }
.direct-contact a.email { font-family: var(--serif); font-size: 1.4rem; color: var(--teal); }
.direct-contact ul { list-style: none; padding: 0; margin: 22px 0 0; }
.direct-contact li { padding: 10px 0; border-top: 1px solid var(--line-dark); font-size: 0.95rem; color: #C7D1E0; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.form-success, .form-error { padding: 6px 0 4px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #93A1B8; padding: 40px 0; font-size: 0.86rem; }
footer.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site-footer a { color: #C7D1E0; }
footer.site-footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { max-width: 380px; margin: 0 auto; }
  .guide-grid, .contact-wrap { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .grid { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .stat-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { display: none; }
}
