/* Snehal Pujari — Executive Editorial
   Tokens: warm-white canvas, charcoal ink, teal accent. */

:root {
  --bg: #FDFCFA;
  --surface: #FFFFFF;
  --ink: #1C1B1A;
  --ink-soft: #55524E;
  --ink-faint: #8A867F;
  --rule: #E9E6E1;
  --max: 1120px;

  --accent: #136978;
  --accent-ink: #0E525E;
  --accent-soft: #E7F1F2;
}


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

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

body {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: "Fraunces", Georgia, serif; }
.mono  { font-family: "Space Mono", "Courier New", monospace; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--ink-soft); font-size: 0.95rem; letter-spacing: 0.01em;
}
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { color: #fff; }

/* mobile nav */
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 18px;
  }
  .nav.open { display: flex; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--rule);
    border-radius: 6px; padding: 8px 12px; cursor: pointer;
    font-family: inherit; font-size: 0.9rem; color: var(--ink);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  transition: background 200ms ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:hover { background: var(--accent-ink); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- eyebrow / section furniture ---------- */
.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink);
  display: block; margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 550; line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  max-width: 18ch;
}
.section .lede { color: var(--ink-soft); max-width: 58ch; margin-bottom: 48px; }

/* ---------- hero ---------- */
.hero { padding: 90px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: 64px; align-items: center;
}
.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
  width: 100%; max-width: 340px; height: auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.25);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; justify-content: flex-start; }
  .hero-photo img { max-width: 220px; }
}
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 560; line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.hero .positioning {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 44ch; line-height: 1.55;
  margin-bottom: 20px;
}
.hero .meta {
  font-family: "Space Mono", monospace;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 40px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- KPI band (WBR signature) ---------- */
.kpi-band { border-top: 1px solid var(--rule); }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--rule);
}
.kpi {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 28px 32px;
}
.kpi .label {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
  display: block; margin-bottom: 16px;
}
.kpi .value {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 560; line-height: 1;
  color: var(--ink);
  display: block; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.kpi .value .unit { color: var(--accent-ink); }
.kpi .note { font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ---------- trusted by ---------- */
.logo-row {
  display: flex; flex-wrap: wrap; gap: 18px 44px;
  align-items: baseline;
}
.logo-row span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem; font-weight: 600; color: var(--ink-faint);
  letter-spacing: -0.01em;
  transition: color 250ms ease;
  cursor: default;
}
.logo-row span:hover { color: var(--accent-ink); }

/* ---------- card grids ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 28px;
  transition: border-color 250ms ease, transform 250ms ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem; font-weight: 600;
  margin-bottom: 12px; line-height: 1.3;
}
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card .stat {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem; font-weight: 560; color: var(--accent-ink);
  display: block; margin-bottom: 8px;
}
.card .context {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: 0.82rem; color: var(--ink-faint);
}

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid var(--rule); }
.step { border-right: 1px solid var(--rule); padding: 32px 26px; }
.step .num {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--accent-ink);
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 0.85rem; font-weight: 500;
}
.chip-plain { background: var(--surface); border: 1px solid var(--rule); color: var(--ink-soft); }

/* ---------- tool groups ---------- */
.tool-group h3 {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 16px;
}
.tool-group { margin-bottom: 36px; }

/* ---------- final CTA ---------- */
.cta-final { text-align: center; padding: 120px 0; }
.cta-final h2 { margin: 0 auto 18px; max-width: 22ch; }
.cta-final p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 40px; }
.cta-final .cta-row { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 40px 0; }
.site-foot .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.site-foot p { font-size: 0.85rem; color: var(--ink-faint); }
.site-foot nav { display: flex; gap: 22px; }
.site-foot nav a { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- about page ---------- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 22px; color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.prose h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem; font-weight: 600;
  margin: 44px 0 16px;
}
.portrait-row { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .portrait-row { grid-template-columns: 1fr; } }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 6px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 4rem; color: var(--accent-ink);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- work timeline ---------- */
.timeline { border-left: 2px solid var(--rule); margin-left: 8px; padding-left: 40px; }
.role { position: relative; padding-bottom: 64px; }
.role:last-child { padding-bottom: 0; }
.role::before {
  content: "";
  position: absolute; left: -47px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}
.role .period {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  display: block; margin-bottom: 8px;
}
.role h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; margin-bottom: 4px;
}
.role .title { color: var(--accent-ink); font-weight: 600; font-size: 0.98rem; margin-bottom: 14px; }
.role .headline { color: var(--ink-soft); margin-bottom: 16px; max-width: 62ch; }
.role ul { list-style: none; }
.role li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 0.94rem; color: var(--ink-soft); max-width: 66ch;
}
.role li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 2px; background: var(--accent);
}

/* ---------- insights ---------- */
.article-list { display: grid; gap: 28px; max-width: 780px; }
.article-card {
  border: 1px solid var(--rule); border-radius: 6px;
  padding: 36px 32px; background: var(--surface);
  transition: border-color 250ms ease;
  display: block; color: inherit;
}
.article-card:hover { border-color: var(--accent); text-decoration: none; }
.article-card .date {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); display: block; margin-bottom: 12px;
}
.article-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; line-height: 1.25;
  margin-bottom: 10px; color: var(--ink);
}
.article-card p { color: var(--ink-soft); font-size: 0.95rem; }
.article-card .read { color: var(--accent-ink); font-weight: 600; font-size: 0.9rem; display: inline-block; margin-top: 16px; }

.article { max-width: 700px; margin: 0 auto; }
.article h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 560; line-height: 1.12; letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.article .byline {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 44px; display: block;
}
.article p { margin-bottom: 24px; color: var(--ink-soft); }
.article h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; margin: 44px 0 16px;
  max-width: none;
}
.article ul, .article ol { margin: 0 0 24px 22px; color: var(--ink-soft); }
.article li { margin-bottom: 10px; }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px; margin: 32px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem; font-style: italic; color: var(--ink);
}

/* ---------- article actions ---------- */
.article-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.article-list + .article-actions { border-top: none; padding-top: 8px; }
.action-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 10px 18px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.action-btn:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.action-btn svg { width: 16px; height: 16px; flex: none; }
.like-btn[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.like-btn[aria-pressed="true"] svg { fill: currentColor; }

/* ---------- resume page ---------- */
.resume-sheet {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--rule); border-radius: 6px;
  padding: 64px 60px;
}
.resume-sheet header { border-bottom: 2px solid var(--ink); padding-bottom: 28px; margin-bottom: 36px; }
.resume-sheet h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px;
}
.resume-sheet .tagline { color: var(--accent-ink); font-weight: 600; margin-bottom: 12px; }
.resume-sheet .contact {
  font-family: "Space Mono", monospace;
  font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.02em;
}
.resume-sheet section { margin-bottom: 36px; }
.resume-sheet h2 {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px; margin-bottom: 18px;
  max-width: none;
}
.resume-sheet h3 { font-size: 1.05rem; font-weight: 700; }
.resume-sheet .rrole { margin-bottom: 26px; }
.resume-sheet .rrole .rmeta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px;
  margin-bottom: 8px;
}
.resume-sheet .rrole .rmeta em { color: var(--accent-ink); font-style: normal; font-weight: 600; font-size: 0.92rem; }
.resume-sheet .rrole .rmeta span {
  font-family: "Space Mono", monospace; font-size: 0.72rem; color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.resume-sheet ul { list-style: none; }
.resume-sheet li {
  position: relative; padding-left: 18px; margin-bottom: 6px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.resume-sheet li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 2px; background: var(--accent);
}
.resume-sheet .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 640px) {
  .resume-sheet { padding: 40px 24px; }
  .resume-sheet .two-col { grid-template-columns: 1fr; }
}
.resume-actions { max-width: 820px; margin: 0 auto 28px; display: flex; justify-content: flex-end; gap: 12px; }

@media print {
  .site-head, .site-foot, .resume-actions { display: none !important; }
  body { background: #fff; font-size: 12.5px; }
  .section { padding: 0; }
  .resume-sheet { border: none; padding: 0; max-width: none; }
  .resume-sheet h1 { font-size: 2rem; }
  .resume-sheet section { margin-bottom: 20px; break-inside: avoid; }
  .resume-sheet .rrole { break-inside: avoid; }
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .article-card { transition: none; }
}
