/* palette + dealt type, exactly as start.mjs prints them (linked after layout.css on purpose) */
:root {
  --p-bg: #ffffff; --p-surface: #f4f4f4; --p-ink: #111111; --p-muted: #6b6b6b;
  --p-accent: #1a4be0; --p-accent-ink: #ffffff; --p-action: #1a4be0; --p-action-ink: #ffffff;
  --p-inv-bg: #111111; --p-inv-surface: #1e1e1e; --p-inv-ink: #ffffff; --p-inv-muted: #9a9a9a;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #111111; --p-inv-action: #ffffff; --p-inv-action-ink: #111111;
  --font-display: "Work Sans", system-ui, sans-serif;
  --font-text: "Work Sans", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
}
/* Sovian overlay: pill tab nav (Shivam's standing rule), shared across pages */
.pilltabs { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; margin: 0 auto; padding: 2px; }
.pilltabs::-webkit-scrollbar { display: none; }
.pilltab { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--p-ink); color: var(--p-ink); font: 500 14px/1 var(--font-text); white-space: nowrap; text-decoration: none; background: transparent; }
.pilltab[aria-current="page"] { background: var(--p-ink); color: var(--p-bg); }
.nav__bar { display: flex; align-items: center; gap: var(--s-4); }
.nav .nav__logo { margin-right: auto; }
.nav .nav__actions { margin-left: auto; }
/* two-row header on phones: logo row, then the scrollable pill row under it */
@media (max-width: 639px) {
  :root { --nav: 100px; }
  .nav__bar { flex-wrap: wrap; row-gap: 6px; align-content: center; padding: 8px 0; }
  .nav .nav__actions { display: none; }
  .pilltabs { order: 3; flex: 1 0 100%; margin: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .nav .nav__actions { display: none; }
}
/* page helpers */
.section-more { margin-top: var(--s-5); }
.facts { display: grid; align-content: center; gap: 0; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--line, rgba(17,17,17,.14)); }
.facts > div:last-child { border-bottom: 1px solid var(--line, rgba(17,17,17,.14)); }
.facts span { color: var(--muted); font-size: var(--t-small); }
.facts b { font-weight: 500; }
.quote blockquote { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h3); line-height: 1.25; letter-spacing: var(--display-tracking); margin: 0 0 var(--s-4); }
.quote .person__name { font-weight: 500; display: block; }
.quote .person__role { color: var(--muted); font-size: var(--t-small); }
/* the phone bar's WhatsApp button keeps the WhatsApp green (the client's action colour) */
.actionbar .btn--wa { background: #0e7c66; border-color: #0e7c66; color: #ffffff; }
@media (max-width: 639px) {
  .actionbar { display: flex; gap: 12px; }
  .actionbar .btn { flex: 1 1 0; }
}
/* inner-page masthead: a quiet page title where the dealt hero does not apply */
.pagehead { padding-top: calc(var(--nav) + 48px); }
@media (max-width: 639px) {
  .facts > div { grid-template-columns: 110px 1fr; }
}
/* phone hero: the portrait must end whole inside the first screen, so the notice line steps aside there
   (the 40+ years fact stays in the lead's place on About and in the hero on larger screens) */
@media (max-width: 639px) { .hero__kicker { display: none; } }
/* the two-row phone header makes the hero content taller than one 100lvh screen:
   let the phone hero grow so the portrait always ends whole, never cut at the fold */
@media (max-width: 639px) {
  main > .hero.hero--split { height: auto !important; min-height: 100lvh; padding-bottom: 24px; }
}
