/* ─────────────────────────────────────────────────────────────
   Shantnu Jain — personal site
   Design tokens, base styles, layout, components
   ───────────────────────────────────────────────────────────── */

:root {
  /* palette */
  --bg:          #f5ede0;
  --bg-soft:     #f0e7d6;
  --bg-card:     #ffffff;
  --ink:         #1a1714;
  --ink-2:       #2a2620;
  --ink-muted:   rgba(26,23,20,0.62);
  --ink-faint:   rgba(26,23,20,0.42);
  --rule:        rgba(26,23,20,0.10);
  --rule-strong: rgba(26,23,20,0.18);
  --accent:      #c24a26;     /* coral */
  --accent-2:    #b8401a;
  --highlight:   #f7caa6;     /* peach highlighter */
  --tape:        rgba(220,200,150,0.45);

  /* type */
  --f-display: "Source Serif 4", "Cormorant Garamond", Georgia, serif;
  --f-script:  "Caveat", "Homemade Apple", cursive;
  --f-sans:    "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ─── layout ─── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

.section { padding: 88px 0; border-top: 1px solid var(--rule); position: relative; }
.section:first-of-type { border-top: 0; }

/* ─── nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,237,224,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px; color: var(--ink-muted);
  transition: color .15s;
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; border: none;
  transition: transform .15s, background .15s;
}
.btn-pill:hover { transform: translateY(-1px); background: #000; }
.btn-pill .arr { font-size: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--rule-strong);
  background: transparent; color: var(--ink);
  transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(26,23,20,0.04); border-color: var(--ink); }

@media (max-width: 1000px) { .nav-links { display: none; } }

/* ─── type ─── */
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 500;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; margin: 0; color: var(--ink); letter-spacing: -0.02em; }
.h-display { font-size: clamp(48px, 7vw, 92px); line-height: 1.02; letter-spacing: -0.035em; }
.h-section { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -0.025em; }
.h-card    { font-size: 28px; line-height: 1.15; letter-spacing: -0.015em; }
.script    { font-family: var(--f-script); color: var(--accent); font-weight: 400; letter-spacing: 0; }
.highlight { background: var(--highlight); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.serif-italic { font-family: var(--f-display); font-style: italic; font-weight: 400; }

/* ─── section header ─── */
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 56px; }
.sec-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-faint); }
.sec-head .h-section { flex: 1; }

/* ─── home: hero (editorial classic + credential card) ─── */
.hero { padding: 56px 0 16px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow-rule { display: inline-flex; align-items: center; }
.accent-rule { display: inline-block; width: 36px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 14px; }

.hero-head {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 24px 0 0;
  white-space: nowrap;
}
.hero-head .serif-italic { white-space: nowrap; }
.hero-lead { margin-top: 28px; max-width: 56ch; }
.hero-lead-2 { margin-top: 18px; max-width: 56ch; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* checks card inside hero */
.hero-checks {
  margin-top: 36px;
  background: rgba(26, 23, 20, 0.025);
  border-radius: 10px;
  padding: 26px 28px;
  display: grid; gap: 20px;
}
.hero-checks .check-item { margin: 0; }
.hero-checks .check-mark {
  background: var(--ink); color: var(--bg);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-checks .check-item p { font-size: 15px; line-height: 1.6; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 36px 44px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule); }
.hero-meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.hero-meta dd { font-size: 15px; margin: 0; color: var(--ink); }

/* credential card */
.cred-card {
  background: var(--bg-card); border: 1px solid var(--rule); border-radius: 8px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: 0 1px 0 rgba(26,23,20,0.04);
  position: sticky; top: 96px;
}
.cred-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
  background: url("assets/shantnu.jpg") center top / cover no-repeat, linear-gradient(135deg,#d9c8ad,#9d6b4d);
}
.cred-id { padding-bottom: 4px; }
.cred-name { font-family: var(--f-display); font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.cred-role { font-size: 14px; color: var(--ink-muted); margin-top: 6px; line-height: 1.5; }
.cred-list { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--rule); margin: 0; }
.cred-list > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: baseline; }
.cred-list dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.cred-list dd { font-size: 13.5px; margin: 0; color: var(--ink); line-height: 1.4; }
.cred-location {
  display: flex !important; align-items: center; gap: 10px;
  grid-template-columns: none !important;
  font-size: 14px; color: var(--ink);
}
.cred-pin { color: var(--ink); flex-shrink: 0; }

/* ─── testimonial quote ─── */
.testimonial-quote {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.testimonial-quote .quote-mark {
  color: var(--accent);
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 960px) { .cred-card { position: static; max-width: 420px; } }

/* ─── polaroid ─── */
.polaroid-stack { position: relative; height: 540px; display: flex; align-items: center; justify-content: center; }
.polaroid {
  position: absolute;
  background: #fefdf9;
  padding: 14px 14px 56px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
  border-radius: 2px;
}
.polaroid img, .polaroid .ph-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.polaroid .ph-img {
  background: linear-gradient(135deg, #d9c8ad 0%, #c19c7a 60%, #9d6b4d 100%);
  position: relative; overflow: hidden;
}
.polaroid .ph-img::after {
  content: "your photo"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.polaroid .caption {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center;
  font-family: var(--f-script); font-size: 22px; color: var(--ink-2);
}
.tape {
  position: absolute; width: 90px; height: 22px;
  background: var(--tape);
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.sticker {
  position: absolute;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 7px 14px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  transform: rotate(-6deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  background: rgba(255,255,255,0.7);
}

/* ─── highlight cards (career bullets) ─── */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.check-item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.check-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; margin-top: 3px;
}
.check-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.check-item p strong { color: var(--ink); font-weight: 600; }

/* ─── stat tiles ─── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg-card); }
.stat { padding: 22px 24px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .stat-n { font-family: var(--f-display); font-size: 36px; line-height: 1; letter-spacing: -0.02em; }
.stat .stat-l { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
@media (max-width: 800px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

/* ─── case study cards ─── */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
@media (max-width: 800px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card { display: block; transition: transform .2s; }
.cs-card:hover { transform: translateY(-3px); }
.cs-cover {
  position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden;
  background: var(--ink); margin-bottom: 22px;
}
.cs-cover .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
}
.cs-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.92); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.cs-meta { display: flex; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.cs-meta .dot { color: var(--ink-faint); }
.cs-title { font-family: var(--f-display); font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 10px; }
.cs-card:hover .cs-title { color: var(--accent); }
.cs-summary { color: var(--ink-muted); margin: 0 0 14px; }
.cs-cta { color: var(--ink); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* ─── covers — generated SVG backgrounds for placeholders ─── */
.cover-1 { background: linear-gradient(135deg, #2a3f6b 0%, #1e2d4a 100%); }
.cover-2 { background: linear-gradient(135deg, #c24a26 0%, #8a3013 100%); }
.cover-3 { background: linear-gradient(135deg, #4a5f4a 0%, #2a3a2a 100%); }
.cover-4 { background: linear-gradient(135deg, #6b5b3f 0%, #3f3525 100%); }
.cover-5 { background: linear-gradient(135deg, #5b3a5e 0%, #3a2540 100%); }

/* ─── testimonial quote cards ─── */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 800px) { .t-grid { grid-template-columns: 1fr; } }
.t-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.t-quote-mark { font-family: var(--f-display); font-size: 64px; line-height: 0.6; color: var(--accent); margin-bottom: 8px; height: 28px; }
.t-quote { font-family: var(--f-display); font-size: 21px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 24px; flex: 1; }
.t-attr { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #d9c8ad, #9d6b4d);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 14px;
  flex-shrink: 0;
}
.t-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.t-role { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.t-card.t-featured {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border: none;
}
.t-card.t-featured .t-quote-mark { color: var(--accent); }
.t-card.t-featured .t-quote { color: #fff; font-size: 28px; }
.t-card.t-featured .t-attr { border-top-color: rgba(255,255,255,0.15); }
.t-card.t-featured .t-name { color: #fff; }
.t-card.t-featured .t-role { color: rgba(255,255,255,0.6); }

/* ─── feature grid (about / detail blocks) ─── */
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
@media (max-width: 800px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--bg-card); padding: 22px 24px; }
.fact-l { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.fact-v { font-size: 17px; font-weight: 500; }

/* ─── timeline (experience) — editorial ─── */
.tl { display: grid; gap: 0; }
.tl-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.tl-row:last-child { border-bottom: 1px solid var(--rule); }

/* left aside (sticky on tall viewports) */
.tl-aside { position: sticky; top: 96px; display: grid; gap: 6px; align-content: start; }
.tl-period {
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.tl-loc { font-family: var(--f-sans); font-size: 13px; color: var(--ink-muted); }
.tl-marker {
  margin-top: 12px;
  display: inline-block; width: max-content;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

/* right body */
.tl-body { display: grid; gap: 14px; max-width: 720px; }
.tl-company-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 2px;
}
.tl-company-sep { margin: 0 14px; opacity: 0.5; }
.tl-clients { letter-spacing: 0.14em; }
.tl-company-with-logo {
  display: inline-flex; align-items: center; gap: 10px;
  line-height: 1;
}
.tl-logo {
  height: 18px; width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(28%);
  opacity: 0.85;
}

/* education list */
.edu-list { display: grid; gap: 22px; }
.edu-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.edu-item:last-child { border-bottom: 0; padding-bottom: 0; }
.edu-degree {
  font-family: var(--f-display); font-weight: 500;
  font-size: 20px; line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
  color: var(--ink);
}
.edu-school { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }
.edu-link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.edu-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── core skills grid (home + about) ─── */
.core-skills-head {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.core-skills-head::before {
  content: ""; display: inline-block;
  width: 32px; height: 2px;
  background: var(--accent);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.skills-grid .skill {
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--rule);
}
.skills-grid .skill:not(:nth-child(3n)) {
  border-right: 1px solid var(--rule);
}
.skills-grid .skill:nth-child(3n+2),
.skills-grid .skill:nth-child(3n) {
  padding-left: 32px;
}
.skills-grid .skill header {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
}
.skills-grid .skill-n {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 500;
}
.skills-grid .skill-t {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px; line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.skills-grid .skill p {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
  max-width: 38ch;
}
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid .skill:not(:nth-child(3n)) { border-right: 0; }
  .skills-grid .skill:not(:nth-child(2n)) {
    border-right: 1px solid var(--rule); padding-right: 32px;
  }
  .skills-grid .skill:nth-child(2n) { padding-left: 32px; }
  .skills-grid .skill:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .skills-grid .skill,
  .skills-grid .skill:not(:nth-child(2n)) {
    border-right: 0; padding: 28px 0;
  }
  .skills-grid .skill:nth-child(2n) { padding-left: 0; }
}
.tl-role {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15; letter-spacing: -0.018em;
  margin: 0 0 4px;
  color: var(--ink);
}
.tl-desc { font-size: 16px; line-height: 1.65; color: var(--ink); margin: 0; max-width: 64ch; }
.tl-desc strong { font-weight: 600; }

.tl-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; gap: 10px;
  max-width: 64ch;
}
.tl-bullets li {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-muted);
  padding-left: 18px;
  position: relative;
}
.tl-bullets li::before {
  content: ""; position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 1px;
  background: var(--accent);
}

/* tags */
.tl-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tl-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 500;
}

/* featured (most recent) entry */
.tl-featured .tl-role { font-size: clamp(28px, 2.8vw, 36px); font-weight: 500; }
.tl-featured .tl-body::before {
  content: ""; display: block;
  width: 32px; height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}

@media (max-width: 800px) {
  .tl-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .tl-aside { position: static; }
}

/* ─── contact cards ─── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 32px 28px;
  transition: transform .15s, border-color .15s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.contact-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.contact-card .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.contact-card .value { font-family: var(--f-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.contact-card .sub { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }

/* ─── form ─── */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.field input, .field textarea {
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }

/* ─── final CTA banner ─── */
.cta-banner {
  background: var(--ink); color: var(--bg);
  border-radius: 6px;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
}
.cta-banner h2 { color: var(--bg); }
.cta-banner .lead { color: rgba(245,237,224,0.7); }
.cta-banner .btn-pill { background: var(--bg); color: var(--ink); }
.cta-banner .btn-pill:hover { background: #fff; }
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; padding: 44px 32px; } }

/* ─── footer ─── */
.footer { border-top: 1px solid var(--rule); padding: 44px 0 40px; margin-top: 96px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer p { margin: 0; font-size: 13px; color: var(--ink-muted); }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a { color: var(--ink-muted); }
.footer-links a:hover { color: var(--ink); }

/* ─── page hero (non-home pages) ─── */
.page-hero { padding: 64px 0 48px; }
.page-hero .eyebrow { margin-bottom: 18px; display: inline-block; }
.page-hero h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.page-hero .exp-headline {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: none;
  white-space: nowrap;
  margin: 0;
}
.exp-combined-head {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0;
  color: var(--ink);
}
.exp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .exp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.exp-hero-copy { position: sticky; top: 96px; display: grid; gap: 24px; align-content: start; }
@media (max-width: 960px) { .exp-hero-copy { position: static; } }
.exp-hero-copy .hero-lead { margin: 0; max-width: 44ch; }
.exp-hero-copy .exp-combined-head { margin: 0; }
.exp-jumplink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 1px; width: max-content;
  font-family: var(--f-sans);
}
.exp-jumplink:hover { color: var(--accent); border-color: var(--accent); }

/* structured proof card (right column) — matches home cred-card */
.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 0 rgba(26,23,20,0.04);
  display: grid; gap: 28px;
}
.kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .kpi-strip { grid-template-columns: 1fr 1fr; gap: 24px 28px; } }
.kpi { display: grid; gap: 8px; }
.kpi-n {
  font-family: var(--f-display);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 400;
  line-height: 1; letter-spacing: -0.025em;
  color: var(--ink);
}
.kpi-l {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.45;
}
.proof-divider { height: 1px; background: var(--rule); }
.featured-wins {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.featured-wins li {
  display: grid; grid-template-columns: 22px 1fr;
  gap: 14px; align-items: start;
}
.featured-wins .win-mark {
  background: var(--ink); color: var(--bg);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.featured-wins p {
  font-size: 16px; line-height: 1.55;
  margin: 0; color: var(--ink);
  font-weight: 400;
}
.featured-wins p strong { font-weight: 600; color: var(--ink); }
.proof-footer {
  font-family: var(--f-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.exp-combined-head .serif-italic { font-style: italic; }
.exp-checks {
  display: grid; gap: 20px;
  max-width: 880px;
}
.page-hero .lead { margin-top: 22px; max-width: 60ch; }

/* ─── arrow link ─── */
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .15s; }
.arrow-link:hover { color: var(--accent); }

/* small util */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-24 { gap: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-12 { margin-bottom: 12px; }
.mb-32 { margin-bottom: 32px; }
