/* Tanuj Sharma — personal site */

:root {
  --bg: #f7f5f0;
  --bg-card: #ffffff;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-soft: #78716c;
  --accent: #c2410c;
  --accent-soft: #fff7ed;
  --work: #1e3a5f;
  --work-soft: #eff6ff;
  --guide: #166534;
  --guide-soft: #f0fdf4;
  --border: #e7e5e4;
  --shadow: 0 1px 3px rgba(28, 25, 23, 0.06), 0 8px 24px rgba(28, 25, 23, 0.04);
  --radius: 14px;
  --max: 68rem;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #9a3412;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.4rem 0.85rem;
  background: var(--text);
  color: #fff !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: #292524;
  color: #fff !important;
}

/* Layout */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Hero */
.hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #9a3412;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-soft);
  color: var(--text);
}

/* Dual role */
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.role-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.role-card--work {
  background: var(--work-soft);
  border-color: #bfdbfe;
}

.role-card--guide {
  background: var(--guide-soft);
  border-color: #bbf7d0;
}

.role-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.role-card--work .role-tag { color: var(--work); }
.role-card--guide .role-tag { color: var(--guide); }

.role-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
}

.role-org {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.role-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.role-note {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0 !important;
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.pillar-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.pillar-card h3 a:hover {
  color: var(--accent);
}

.pillar-handle {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
}

.pillar-handle a {
  color: var(--text-soft);
  text-decoration: none;
}

.pillar-handle a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.pillar-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.pillar-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

/* Stories */
.stories {
  border-top: 1px solid var(--border);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.story-outcome {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
}

.story-card p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Videos */
.videos {
  border-top: 1px solid var(--border);
}

.video-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.channel-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.channel-head {
  padding: 1rem 1.15rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.channel-head h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.channel-head a {
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text-soft);
}

.channel-head a:hover {
  color: var(--accent);
}

.video-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.video-item a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.video-item a:hover {
  background: var(--accent-soft);
}

.video-thumb {
  width: 88px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--border);
}

.video-meta {
  min-width: 0;
}

.video-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.feed-loading,
.feed-error,
.feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
  padding: 2rem;
}

.feed-error {
  color: #b91c1c;
}

/* LinkedIn */
.linkedin-section {
  border-top: 1px solid var(--border);
}

.linkedin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.linkedin-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}

.linkedin-card:hover {
  border-color: #0a66c2;
}

.linkedin-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a66c2, #004182);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.linkedin-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.linkedin-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.linkedin-card-link {
  margin-top: 0.35rem !important;
  color: #0a66c2 !important;
  font-weight: 600;
}

.linkedin-posts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.linkedin-post {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.linkedin-post a {
  text-decoration: none;
  color: inherit;
}

.linkedin-post a:hover .post-title {
  color: var(--accent);
}

.post-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.post-date {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.post-excerpt {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.linkedin-more {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.linkedin-more a {
  font-weight: 600;
  text-decoration: none;
}

/* Connect */
.connect {
  padding-bottom: 1rem;
}

.connect-inner {
  background: var(--text);
  color: #fafaf9;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2rem;
  text-align: center;
}

.connect-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.connect-inner p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: #d6d3d1;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.connect-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.connect-inner a.connect-email {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.connect-inner a.connect-email:hover {
  color: #fff;
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.footer-note {
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .role-grid,
  .pillar-grid,
  .story-grid,
  .video-channels {
    grid-template-columns: 1fr;
  }

  .linkedin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.5rem 0.85rem;
  }

  .hero h1 {
    max-width: none;
  }

  section {
    padding: 2.5rem 0;
  }
}

/* ── Guidance page ── */

.page-guidance .guide-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.page-guidance .guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 22ch;
  letter-spacing: -0.02em;
}

.overconfidence {
  padding: 0 0 3.5rem;
}

.overconfidence-inner {
  background: linear-gradient(135deg, #292524 0%, #44403c 100%);
  color: #fafaf9;
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem 2rem;
}

.overconfidence-inner .section-label {
  color: #fdba74;
}

.overconfidence-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.overconfidence-inner p {
  color: #d6d3d1;
  margin: 0 0 1rem;
  max-width: 48rem;
}

.miss-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.miss-list li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #e7e5e4;
}

.miss-list strong {
  color: #fff;
}

/* Audience clusters */
.audiences {
  border-top: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.audience-card--personal { border-top: 3px solid var(--guide); }
.audience-card--institution { border-top: 3px solid var(--work); }
.audience-card--stage { border-top: 3px solid var(--accent); }

.audience-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.audience-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.audience-for {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audience-card > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.audience-includes {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.audience-includes li {
  margin-bottom: 0.4rem;
}

.audience-note {
  font-size: 0.85rem !important;
  font-style: italic;
  color: var(--text-soft) !important;
  border-left: 2px solid var(--border);
  padding-left: 0.75rem !important;
  margin-bottom: 1rem !important;
}

.audience-cta {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
}

/* Problem tabs */
.problems {
  border-top: 1px solid var(--border);
}

.problem-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.problem-tab {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.problem-tab:hover {
  border-color: var(--text-soft);
  color: var(--text);
}

.problem-tab.is-active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.panel-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.myth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.myth-think {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.myth-think::before {
  content: "✕ ";
  color: #b91c1c;
  font-weight: 700;
}

.myth-miss {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Cost section */
.cost-section {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cost-card {
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cost-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent);
}

.cost-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Programs */
.programs {
  border-top: 1px solid var(--border);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.program-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.program-item h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.program-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Proof strip */
.proof-strip {
  border-top: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.proof-grid p {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--guide-soft);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.proof-link {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
}

.proof-link a {
  font-weight: 600;
  text-decoration: none;
}

.connect--guidance {
  padding-top: 2rem;
}

/* ── About page ── */

.page-about .about-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.page-about .about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 20ch;
  letter-spacing: -0.02em;
}

.story-block {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.story-block--alt {
  background: var(--bg-card);
  margin-left: calc(-1 * 1.25rem);
  margin-right: calc(-1 * 1.25rem);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-content {
  max-width: 40rem;
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.story-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.story-content p:last-child {
  margin-bottom: 0;
}

.boundary {
  padding: 3rem 0;
}

.boundary-inner {
  background: linear-gradient(160deg, var(--guide-soft) 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem 1.75rem;
}

.boundary-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.boundary-col {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.boundary-col--yes {
  border-top: 3px solid var(--guide);
}

.boundary-col--no {
  border-top: 3px solid #b91c1c;
}

.boundary-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.boundary-col--yes h3 { color: var(--guide); }
.boundary-col--no h3 { color: #b91c1c; }

.boundary-col ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.boundary-col li {
  margin-bottom: 0.45rem;
}

.boundary-close {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  padding-top: 0.5rem;
  border-top: 1px solid #bbf7d0;
}

.timeline-section {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  padding-top: 0.15rem;
  position: relative;
}

.timeline-year::after {
  content: "";
  position: absolute;
  right: -1.45rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.timeline-body strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.timeline-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-bridge {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.about-bridge .hero-actions {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .boundary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-about .about-hero h1 {
    max-width: none;
  }

  .story-block--alt {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .timeline::before {
    left: 0.35rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 1.5rem;
  }

  .timeline-year {
    text-align: left;
  }

  .timeline-year::after {
    right: auto;
    left: -1.35rem;
  }
}

@media (max-width: 900px) {
  .audience-grid,
  .myth-grid,
  .cost-grid,
  .program-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-guidance .guide-hero h1 {
    max-width: none;
  }

  .overconfidence-inner {
    padding: 1.5rem 1.25rem;
  }
}
