/* ==========================================================
   Jignesh Trivedi — personal site
   Palette: cool paper, deep green ink, cobalt signal
   Type: Schibsted Grotesk (UI + display), Source Serif 4 (long-form)
   ========================================================== */

:root {
  --bg: #F3F5F3;
  --surface: #FFFFFF;
  --ink: #14201D;
  --muted: #56645F;
  --rule: #D5DCD8;
  --accent: #2B4FD8;
  --accent-hover: #1F3DB3;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3E8FA;
  --lever-wood: #14201D;
  --block: #C9D2CE;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-s: 6px;
  --radius-m: 14px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1412;
    --surface: #151D1A;
    --ink: #E4EBE7;
    --muted: #98A6A1;
    --rule: #28332F;
    --accent: #8EA5FF;
    --accent-hover: #AFC0FF;
    --accent-ink: #0E1412;
    --accent-soft: #1B2440;
    --lever-wood: #E4EBE7;
    --block: #33403B;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E1412;
  --surface: #151D1A;
  --ink: #E4EBE7;
  --muted: #98A6A1;
  --rule: #28332F;
  --accent: #8EA5FF;
  --accent-hover: #AFC0FF;
  --accent-ink: #0E1412;
  --accent-soft: #1B2440;
  --lever-wood: #E4EBE7;
  --block: #33403B;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 0.9rem; border-radius: var(--radius-s); z-index: 100;
}
.skip:focus { left: 0.5rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type scale ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 15ch;
}

.page-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38em;
}

.muted { color: var(--muted); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }

.mark {
  width: 1.9rem; height: 1.9rem;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  margin-left: 0.25rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.75rem;
    row-gap: 0.5rem;
  }
  .nav {
    order: 3;
    width: 100%;
    margin-inline: -0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .theme-toggle { order: 2; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .h2 + p { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 8vw, 6rem); }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero .lede { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2rem; }

.hero-meta {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Lever (signature element) ---------- */
.lever {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.lever svg { width: 100%; height: auto; overflow: visible; }

.lever .ground { stroke: var(--rule); stroke-width: 2; }
.lever .plank { stroke: var(--lever-wood); stroke-width: 6; stroke-linecap: round; }
.lever .fulcrum { fill: var(--accent); }
.lever .block { fill: var(--block); }
.lever .block-label { fill: var(--ink); font: 600 13px var(--sans); }
.lever .person-head, .lever .person-body { fill: var(--accent); }
.lever .person-label { fill: var(--muted); font: 500 12px var(--sans); }

.lever-controls { margin-top: 1rem; }

.lever-controls label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.lever input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 1.75rem;
  cursor: pointer;
}

.lever-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.lever-readout strong { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.lever-status { color: var(--muted); text-align: right; }
.lever-status.is-lifted { color: var(--accent); font-weight: 600; }

.lever-caption {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Journey path ---------- */
.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 800px) {
  .path { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.path li { position: relative; padding-top: 2.25rem; }

.path li::before {
  content: "";
  position: absolute;
  top: 0.45rem; left: 0;
  width: 0.9rem; height: 0.9rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.path li:last-child::before { background: var(--accent); border-color: var(--accent); }

@media (min-width: 800px) {
  .path li::after {
    content: "";
    position: absolute;
    top: 0.88rem; left: 1.4rem; right: -2rem;
    height: 2px;
    background: var(--rule);
  }
  .path li:last-child::after { display: none; }
}

.path .h3 { margin-bottom: 0.5rem; }
.path p { color: var(--muted); max-width: 30em; }

/* ---------- Audience switcher ---------- */
.audience {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .audience { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
}

.tablist {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--rule);
}

@media (max-width: 899px) {
  .tablist {
    flex-direction: row;
    border-left: 0;
    border-bottom: 2px solid var(--rule);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tablist::-webkit-scrollbar { display: none; }
}

.tab {
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  text-align: left;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.85rem 1.25rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--accent); }

@media (max-width: 899px) {
  .tab {
    margin-left: 0;
    margin-bottom: -2px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem 0.75rem 0;
    margin-right: 1.25rem;
  }
  .tab[aria-selected="true"] { border-bottom-color: var(--accent); }
}

.panel[hidden] { display: none; }
.panel .h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 22ch; }
.panel > p { margin-top: 1rem; color: var(--muted); max-width: 36em; }

.checklist {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  max-width: 36em;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.85rem; height: 2px;
  background: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) { animation: panel-in 0.25s ease; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---------- Principles ---------- */
.principles {
  display: grid;
  gap: 0;
  margin: 0;
}

.principle {
  display: grid;
  gap: 0.5rem 3rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.principle:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 800px) {
  .principle { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

.principle dt { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.principle dd { margin: 0; color: var(--muted); max-width: 36em; }

/* ---------- Writing ---------- */
.feature {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.feature:hover { border-color: var(--ink); color: var(--ink); }
.feature:hover .feature-title { color: var(--accent); }

.feature-meta { font-size: 0.9rem; color: var(--muted); }
.feature-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 22ch;
  transition: color 0.15s ease;
}
.feature-summary { font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 36em; margin: 0; }
.feature-cta { font-weight: 600; color: var(--accent); }

.drafts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drafts li {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}
.drafts li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) {
  .drafts li { grid-template-columns: 1fr auto; align-items: center; }
}
.drafts h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.drafts p { color: var(--muted); margin-top: 0.35rem; max-width: 38em; }
.drafts .text-link { white-space: nowrap; font-size: 0.95rem; }

.status-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* ---------- Article ---------- */
.article-head { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.article-head .page-title { max-width: 20ch; }
.article-head .feature-meta { margin-top: 1.25rem; }

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }

.prose {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  max-width: 36em;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.prose p { margin-bottom: 1.35em; }
.prose h2 {
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 2.25em 0 0.75em;
}
.prose blockquote {
  margin: 2em 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: 1.3em;
  line-height: 1.45;
  font-style: italic;
}
.prose ul { padding-left: 1.25em; margin: 0 0 1.35em; }
.prose li { margin-bottom: 0.5em; }

.article-end {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 1rem;
}
.article-end p { margin-bottom: 1rem; }

/* ---------- About ---------- */
.two-col {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 0.75fr 1.25fr; gap: 4rem; }
}

.story { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; max-width: 36em; }
.story p { margin-bottom: 1.2em; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: var(--rule);
}
.timeline li {
  position: relative;
  padding: 0 0 1.75rem 2.25rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4rem;
  width: 0.9rem; height: 0.9rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--bg);
}
.timeline li.is-now::before { background: var(--accent); border-color: var(--accent); }
.timeline h3 { font-size: 1.15rem; }
.timeline p { color: var(--muted); margin-top: 0.25rem; max-width: 34em; }

.skills {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) { .skills { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }

.skills h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: 0.92rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
}

.note {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  max-width: 44em;
  color: var(--muted);
}
.note strong { color: var(--ink); }

/* ---------- Contact ---------- */
.email-big {
  display: inline-block;
  font-size: clamp(1.6rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  word-break: break-word;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.1em;
}
.email-big:hover { color: var(--accent); }

.contact-actions { margin-top: 2rem; }

.reasons {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reasons li {
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.reasons li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 800px) {
  .reasons li { grid-template-columns: 2fr 3fr 1fr; align-items: start; }
}
.reasons h3 { font-size: 1.2rem; }
.reasons p { color: var(--muted); max-width: 34em; }
.reasons .btn { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-m);
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  gap: 1.5rem;
}
.cta-band .h2 { color: var(--bg); max-width: 18ch; }
.cta-band p { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); max-width: 34em; }
.cta-band .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, var(--ink)); }
.cta-band .btn-ghost:hover { border-color: var(--bg); color: var(--bg); }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 1rem);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .theme-toggle, .lever-controls, .toast, .cta-band .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
}

/* grid children may shrink below content width (prevents horizontal overflow on mobile) */
.hero-grid > *, .audience > *, .two-col > *, .principle > *, .reasons li > *, .drafts li > * { min-width: 0; }
@media (max-width: 700px) { .nav { width: calc(100% + 1.4rem); } }
@media (max-width: 799px) {
  .path li { padding-top: 0; padding-left: 2.25rem; }
  .path li::before { top: 0.35rem; }
  .path li::after {
    content: ""; position: absolute;
    left: 0.4rem; top: 1.5rem; bottom: -1.75rem;
    width: 2px; background: var(--rule);
  }
  .path li:last-child::after { display: none; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.25rem;
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 0.65rem; height: 0.65rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-25%) rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(25%) rotate(225deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--muted); max-width: 38em; padding-bottom: 1.25rem; margin: 0; }

/* ---------- Lever v2 ---------- */
.lever svg { touch-action: pan-y; cursor: ew-resize; }
.lever .plank { fill: var(--lever-wood); stroke: none; }
.lever .fulcrum-label { fill: var(--accent-ink); font: 700 13px var(--sans); pointer-events: none; }

/* ---------- Illustration + portrait ---------- */
.beliefs { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) {
  .beliefs { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .beliefs .illustration { position: sticky; top: 6rem; }
  .beliefs .principle { grid-template-columns: 1fr; }
}
.beliefs > * { min-width: 0; }
.illustration { margin: 0; }
.illustration img { width: 100%; height: auto; border-radius: var(--radius-m); }

.about-hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .about-hero { grid-template-columns: 1.4fr 0.6fr; gap: 4rem; } }
.about-hero > * { min-width: 0; }
.portrait { margin: 0; max-width: 340px; }
.portrait img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-m); background: var(--block);
}
