/* Raasta - Founders / Vision / Careers pages.
   An editorial layer on top of the tokens in style.css: hairline rules, big
   type and whitespace, coral used only as a thin accent. Scoped to .subpage,
   so it never reaches the home or legal pages, which don't load this file.

   The sub-page nav reuses the transparent base and the frosted .nav.scrolled
   state from style.css, so there is nothing to override here. */

/* ---------- shared editorial hero ---------- */
.ph-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(58px, 9vw, 104px)) 0 clamp(48px, 6.5vw, 84px);
}
.ph-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 56% at 88% -12%, rgba(255,90,61,.07), transparent 60%);
}
.ph-hero .wrap { position: relative; z-index: 1; }
.ph-hero .eyebrow { margin-bottom: 20px; }
.ph-title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  font-size: clamp(32px, 4.4vw, 54px); color: var(--ink); max-width: 17ch;
}
.ph-lead { color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; margin-top: clamp(18px, 2vw, 24px); max-width: 580px; }
.ph-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(24px, 2.6vw, 34px); }

/* founders "Read our vision" CTA: black rather than coral, and full-width on mobile */
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(23,23,26,.22), 0 8px 20px -10px rgba(23,23,26,.5); }
.btn-ink:hover { background: #000; transform: translateY(-1px); box-shadow: 0 2px 6px rgba(23,23,26,.28), 0 14px 28px -10px rgba(23,23,26,.55); }
.btn-ink:active { background: #000; transform: translateY(0) scale(.97); }
@media (max-width: 600px) { .ph-actions .btn-ink { width: 100%; } }

/* dial the recurring headings down a notch on the sub-pages */
.subpage .section-title { font-size: clamp(25px, 2.7vw, 37px); }
.subpage .statement-text { font-size: clamp(19px, 1.9vw, 26px); }

/* JS-free staggered entrance (never depends on a script) */
.ph-rise { opacity: 0; transform: translateY(16px); animation: phRise .8s var(--ease) forwards; }
.ph-rise.d1 { animation-delay: .06s; }
.ph-rise.d2 { animation-delay: .14s; }
.ph-rise.d3 { animation-delay: .22s; }
@keyframes phRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ph-rise { animation: none; opacity: 1; transform: none; } }

/* left-aligned section head for sub-pages */
.ph-head { max-width: 760px; margin-bottom: clamp(38px, 4.6vw, 56px); }
.ph-head .eyebrow { margin-bottom: 16px; }
/* keep the sub left-aligned with the title (overrides the centring .section-alt .sec-sub rule) */
.ph-head .sec-sub { margin: 16px 0 0; }

/* discovery facets - plain editorial line, not chips */
.facets { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(22px, 2.6vw, 30px); max-width: 820px; }
.facets span { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -0.02em; color: var(--ink); position: relative; }
.facets span:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); transform: translateY(-50%); }

/* ============================================================
   CAREERS
   ============================================================ */
/* transparent note - quiet, left-ruled */
.note { max-width: 720px; margin-top: clamp(24px, 3vw, 34px); padding-left: clamp(16px, 2vw, 22px); border-left: 2px solid var(--primary); }
.note p { color: var(--muted); font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.7; }
.note b { color: var(--ink); font-weight: 600; }

/* open roles - minimal list rows */
.roles { margin-top: clamp(28px, 3.6vw, 46px); border-top: 1px solid var(--ink); }
.role { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 28px; padding: clamp(26px, 2.8vw, 36px) 4px; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.role:hover { padding-left: 14px; }
.role-main { min-width: 0; }
.role-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.role-title { font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-top: 8px; transition: color .2s; }
.role:hover .role-title { color: var(--primary-ink); }
.role-desc { color: var(--muted); font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.62; margin-top: 11px; max-width: 64ch; }
.role-skills { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.role-skills-label { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-right: 12px; }
.role-apply { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.role-apply svg { width: 17px; height: 17px; color: var(--primary); transition: transform .22s var(--ease); }
.role:hover .role-apply svg { transform: translateX(5px); }
@media (max-width: 600px) {
  .role { grid-template-columns: 1fr; gap: 16px; }
  .role:hover { padding-left: 4px; }
  .role-apply { justify-self: start; }
}

/* ============================================================
   Large editorial CTA - careers application
   ============================================================ */
.cta-lg { max-width: 860px; margin: 0 auto; text-align: center; }
.cta-lg .eyebrow { justify-content: center; margin-bottom: 20px; }
.cta-lg h2 { font-family: var(--font-display); font-size: clamp(23px, 2.7vw, 35px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; color: var(--ink); max-width: 20ch; margin: 0 auto; }
.cta-lg p { color: var(--muted); font-size: clamp(15.5px, 1.1vw, 17px); line-height: 1.6; margin: 16px auto 0; max-width: 54ch; }
.cta-email {
  display: inline-flex; align-items: baseline; gap: 2px; margin-top: clamp(24px, 2.8vw, 34px);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.03em; color: var(--ink); transition: color .2s;
}
.cta-email span {
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 4px; transition: background-size .25s var(--ease);
}
.cta-email:hover { color: var(--primary-ink); }
.cta-email:hover span { background-size: 100% 100%; background-image: linear-gradient(rgba(255,90,61,.10), rgba(255,90,61,.10)); }
.cta-fineprint { margin-top: 22px; font-size: 13px; color: var(--faint); }
.cta-fineprint code { font-family: var(--font); background: var(--alt); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); }

/* tighter top for the reused .statement band on sub-pages */
.subpage .statement.tight { padding-top: clamp(40px, 5vw, 72px); }

/* FOUNDERS - rich feature blocks */
.founder-feat { position: relative; border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 78px) 0; }
.founder-feat:last-of-type { border-bottom: 1px solid var(--line); }
.ff-grid { display: grid; grid-template-columns: minmax(220px, 0.82fr) 1.55fr; gap: clamp(24px, 4.5vw, 76px); }
.ff-name { font-family: var(--font-display); font-size: clamp(21px, 2.1vw, 29px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-top: 12px; }
/* iconed detail rows in the rail */
.ff-meta { list-style: none; margin-top: 16px; display: grid; gap: 11px; max-width: 30ch; }
.ff-meta li { display: grid; grid-template-columns: 17px 1fr; gap: 11px; align-items: start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ff-meta svg { width: 16px; height: 16px; color: var(--primary); margin-top: 2px; }
.ff-meta b { color: var(--ink); font-weight: 600; }
.ff-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.ff-links a { font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.ff-links a:hover { color: var(--primary-ink); text-decoration-color: var(--primary-ink); }
.ff-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); padding-left: clamp(16px, 1.6vw, 22px); border-left: 3px solid var(--primary); }
.ff-body { margin-top: clamp(24px, 2.8vw, 34px); }
.ff-body p { color: var(--muted); font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.8; margin-top: 16px; }
.ff-body p:first-child { margin-top: 0; }
@media (max-width: 760px) { .ff-grid { grid-template-columns: 1fr; gap: 8px; } .ff-body { margin-top: 26px; } }

/* ============================================================
   Sub-page footer: the extra Company column widens the grid
   ============================================================ */
.subpage .footer-top { grid-template-columns: 1.6fr repeat(4, 1fr); }
@media (max-width: 920px) { .subpage .footer-top { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .subpage .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .subpage .footer-top { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Founder portraits, with an initials SVG fallback
   ============================================================ */
.ff-photo {
  width: 100%; max-width: 240px; aspect-ratio: 4 / 5; margin-bottom: 22px;
  border-radius: 18px; border: 1px solid var(--line); background-color: var(--alt);
  background-size: cover; background-position: center top; background-repeat: no-repeat;
}
@media (max-width: 760px) { .ff-photo { max-width: 200px; } }
.ff-photo--armaan { background-image: url('/assets/armaan.jpg'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='300'%3E%3Crect width='240' height='300' fill='%23F2EEEC'/%3E%3Ctext x='120' y='170' font-family='DM Sans, system-ui, sans-serif' font-size='92' font-weight='700' fill='%23E2654B' text-anchor='middle'%3EAP%3C/text%3E%3C/svg%3E"); }
.ff-photo--sid { background-image: url('/assets/siddharth.jpg'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='300'%3E%3Crect width='240' height='300' fill='%23F2EEEC'/%3E%3Ctext x='120' y='170' font-family='DM Sans, system-ui, sans-serif' font-size='92' font-weight='700' fill='%23E2654B' text-anchor='middle'%3ESS%3C/text%3E%3C/svg%3E"); }

/* ============================================================
   VISION - editorial thesis, bespoke to this page.
   A document / manifesto language: a numbered thesis, a
   fragmentation field, an old-vs-new ledger, a proportion bar
   and a spec stack. Everything is .v- prefixed so it can't
   collide with the rest of the system.
   ============================================================ */

/* Thesis index - a tick rail that blooms into a contents menu.
   Collapsed it is a tight column of right-aligned ticks; the section in view
   juts out in coral. Hover or keyboard-focus unfurls a frosted menu card: a
   "Contents" eyebrow, the labels cascading open, and a soft coral highlight
   tracking the row under the cursor. The container owns the hover state, so
   the card never flickers as it grows. Overlap-safe at every width. */
.v-index { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; padding: 13px 16px; border-radius: 16px 0 0 16px; background: transparent; border: 1px solid transparent; transition: padding .45s var(--ease), background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.v-index:hover, .v-index:focus-within { padding: 18px 20px; background: rgba(255,255,255,.92); border-color: var(--line); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); box-shadow: -24px 0 64px -30px rgba(23,23,26,.42); }

/* "Contents" eyebrow - hidden until the card opens */
.v-index .vi-head { overflow: hidden; max-height: 0; opacity: 0; text-align: right; font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); transform: translateY(-4px); transition: max-height .45s var(--ease), opacity .3s var(--ease), margin .45s var(--ease), padding .45s var(--ease), transform .3s var(--ease); }
.v-index:hover .vi-head, .v-index:focus-within .vi-head { max-height: 44px; opacity: 1; margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid var(--line); transform: none; }

.v-index ol { list-style: none; display: grid; gap: 10px; }
.v-index a { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 0 2px; border-radius: 9px; outline: none; transition: padding .35s var(--ease); }
.v-index:hover a, .v-index:focus-within a { padding: 6px 10px 6px 14px; }
/* a generous, invisible hit area so the thin ticks stay easy to tap */
.v-index a::after { content: ""; position: absolute; top: -6px; bottom: -6px; right: 0; left: -18px; }

/* soft highlight that tracks the hovered / focused / active row (card only) */
.v-index a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,90,61,.09); opacity: 0; transition: opacity .2s var(--ease); }
.v-index:hover a:hover::before, .v-index:focus-within a:focus-visible::before { opacity: 1; }
.v-index:hover a.on::before, .v-index:focus-within a.on::before { opacity: 1; background: rgba(255,90,61,.06); }

.v-index .vi-label { position: relative; display: inline-flex; align-items: center; gap: 9px; max-width: 0; max-height: 0; overflow: hidden; padding-right: 12px; white-space: nowrap; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--muted); opacity: 0; transform: translateX(8px); transition: max-width .45s var(--ease), max-height .45s var(--ease), opacity .3s var(--ease), transform .3s var(--ease), color .2s; }
.v-index .vi-n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--primary); }
.v-index .vi-tick { position: relative; flex: 0 0 auto; width: 16px; height: 2px; border-radius: 2px; background: var(--line-2); transition: width .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }

/* section in view */
.v-index a.on .vi-tick { width: 28px; background: var(--primary); box-shadow: 0 0 9px rgba(255,90,61,.5); }
.v-index a.on .vi-label { color: var(--ink); }
.v-index a.on .vi-n { color: var(--primary-ink); }

/* per-row hover / focus colour */
.v-index a:hover .vi-label, .v-index a:focus-visible .vi-label { color: var(--ink); }
.v-index a:hover .vi-tick, .v-index a:focus-visible .vi-tick { background: var(--muted); }

/* unfurl the labels as the card opens, cascading top-to-bottom */
.v-index:hover .vi-label, .v-index:focus-within .vi-label { max-width: 220px; max-height: 30px; opacity: 1; transform: none; }
.v-index:hover li:nth-child(2) .vi-label, .v-index:focus-within li:nth-child(2) .vi-label { transition-delay: .04s; }
.v-index:hover li:nth-child(3) .vi-label, .v-index:focus-within li:nth-child(3) .vi-label { transition-delay: .07s; }
.v-index:hover li:nth-child(4) .vi-label, .v-index:focus-within li:nth-child(4) .vi-label { transition-delay: .1s; }
.v-index:hover li:nth-child(5) .vi-label, .v-index:focus-within li:nth-child(5) .vi-label { transition-delay: .13s; }
.v-index:hover li:nth-child(6) .vi-label, .v-index:focus-within li:nth-child(6) .vi-label { transition-delay: .16s; }
.v-index:hover li:nth-child(7) .vi-label, .v-index:focus-within li:nth-child(7) .vi-label { transition-delay: .19s; }

@media (prefers-reduced-motion: reduce) {
  .v-index, .v-index *, .v-index *::before { transition-duration: .15s !important; }
  .v-index li .vi-label { transition-delay: 0s !important; }
}
@media (max-width: 600px) {
  .v-index { padding: 11px 12px; }
  .v-index:hover, .v-index:focus-within { padding: 16px 16px; }
  .v-index .vi-tick { width: 14px; }
  .v-index a.on .vi-tick { width: 24px; }
}

/* numbered section eyebrow: "01 / The problem" */
.v-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.v-kicker .vk-n { color: var(--primary); font-variant-numeric: tabular-nums; }
.v-kicker .vk-n::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--line-2); margin-left: 12px; vertical-align: middle; }

/* ---- hero / manifesto ---- */
.v-hero { position: relative; padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(64px, 10vw, 120px)) 0 clamp(40px, 5vw, 66px); }
.v-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(46% 60% at 90% -10%, rgba(255,90,61,.07), transparent 62%); }
.v-hero .wrap { position: relative; z-index: 1; }
.v-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.v-meta span:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin-left: 14px; vertical-align: middle; }
.v-hero-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; color: var(--ink); font-size: clamp(40px, 7vw, 94px); margin-top: clamp(22px, 3vw, 36px); max-width: 15ch; }
.v-hero-title em { font-style: normal; color: var(--primary-ink); }
.v-hero-lead { color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.62; margin-top: clamp(20px, 2.4vw, 30px); max-width: 600px; }
.v-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(26px, 3vw, 38px); }

/* slim "where we are today" status band under the hero */
.v-status { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.v-status .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-top: clamp(18px, 2.2vw, 26px); padding-bottom: clamp(18px, 2.2vw, 26px); }
.v-status-label { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.v-status-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.v-status-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ---- thesis statement ---- */
.v-thesis { padding-left: clamp(18px, 2.4vw, 30px); border-left: 3px solid var(--primary); max-width: 1000px; }
.v-thesis p { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.7vw, 50px); letter-spacing: -0.035em; line-height: 1.18; color: var(--ink); }
.v-thesis em { font-style: normal; color: var(--primary-ink); }
.v-thesis .soft { color: var(--faint); }

/* ---- problem: fragmentation field ---- */
.v-lede { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; max-width: 62ch; margin-top: 16px; }
.v-sources { margin-top: clamp(34px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1.05fr; border: 1px solid var(--line); border-radius: var(--card); overflow: hidden; }
.v-src-list { padding: clamp(24px, 3vw, 40px); }
.v-src-head { font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: -0.02em; color: var(--ink); margin-bottom: clamp(12px, 1.6vw, 18px); }
.v-src-list ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 2.6vw, 40px); }
.v-src-list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.v-src-list li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.v-ask { padding: clamp(24px, 3vw, 40px); background: var(--alt); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.v-ask-q { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2.3vw, 28px); letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.v-ask-q em { font-style: normal; color: var(--primary-ink); }
.v-ask-note { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) {
  .v-sources { grid-template-columns: 1fr; }
  .v-ask { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 460px) { .v-src-list ul { grid-template-columns: 1fr; } }

/* ---- why now: outline numerals ---- */
.v-forces { margin-top: clamp(34px, 4vw, 54px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.6vw, 56px); }
.v-force { border-top: 2px solid var(--line-2); padding-top: clamp(18px, 2vw, 24px); }
.v-force-n { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.8vw, 66px); line-height: 1; letter-spacing: -0.04em; color: var(--primary); }
.v-force h3 { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin-top: 16px; }
.v-force p { color: var(--muted); font-size: 15px; line-height: 1.62; margin-top: 10px; }
@media (max-width: 780px) { .v-forces { grid-template-columns: 1fr; gap: 0; } .v-force { border-top: 0; border-left: 2px solid var(--line-2); padding: 0 0 28px 22px; } .v-force:last-child { padding-bottom: 0; } }

/* ---- opportunity: proportion bar + duotone plates ---- */
.v-prop-head { max-width: 760px; }
.v-bar-wrap { margin-top: clamp(30px, 3.6vw, 48px); }
.v-bar { position: relative; display: flex; height: clamp(54px, 6vw, 78px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--alt); }
.v-bar-now { position: relative; flex: 0 0 auto; width: var(--now, 12%); background: var(--primary); }
.v-bar-rest { flex: 1 1 auto; }
.v-bar-tags { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13.5px; line-height: 1.4; }
.v-bar-tags b { font-family: var(--font-display); font-weight: 600; }
.v-bar-tags .lo { color: var(--primary-ink); }
.v-bar-tags .lo b { color: var(--primary-ink); }
.v-bar-tags .hi { color: var(--muted); text-align: right; }
.v-bar-tags .hi b { color: var(--ink); }
.v-bar-note { margin-top: 18px; font-size: 13px; color: var(--faint); line-height: 1.6; max-width: 64ch; }

/* ---- old way vs Raasta way (the shift) ---- */
.v-ledger { margin-top: clamp(34px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--card); overflow: hidden; }
.v-col { padding: clamp(24px, 3vw, 40px); }
.v-col + .v-col { border-left: 1px solid var(--line); }
.v-col-old { background: var(--alt); }
.v-col-head { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.7vw, 20px); letter-spacing: -0.02em; margin-bottom: clamp(16px, 2vw, 24px); }
.v-col-old .v-col-head { color: var(--muted); }
.v-col-new .v-col-head { color: var(--primary-ink); }
.v-col-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--pill); }
.v-col-old .v-col-tag { color: var(--faint); border: 1px solid var(--line-2); }
.v-col-new .v-col-tag { color: var(--primary-ink); background: var(--primary-soft); }
.v-line { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.v-line:first-of-type { border-top: 0; }
.v-col-old .v-line { color: var(--muted); }
.v-col-new .v-line { color: var(--ink); }
.v-line svg { width: 17px; height: 17px; margin-top: 1px; }
.v-col-old .v-line svg { color: var(--faint); }
.v-col-new .v-line svg { color: var(--primary); }
@media (max-width: 720px) {
  .v-ledger { grid-template-columns: 1fr; }
  .v-col + .v-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- what we're building: spec stack ---- */
.v-stack { margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--ink); }
.v-cap { display: grid; grid-template-columns: 3ch minmax(0, 1.05fr) minmax(0, 1.35fr) auto; gap: clamp(14px, 2.4vw, 40px); align-items: baseline; padding: clamp(22px, 2.7vw, 34px) 4px; border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.v-cap:hover { padding-left: 14px; }
.v-cap-n { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--primary); font-variant-numeric: tabular-nums; }
.v-cap-t { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); transition: color .2s; }
.v-cap:hover .v-cap-t { color: var(--primary-ink); }
.v-cap-d { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.v-cap-tag { justify-self: end; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@media (max-width: 820px) {
  .v-cap { grid-template-columns: 2.4ch 1fr; gap: 6px 16px; }
  .v-cap-d { grid-column: 2; }
  .v-cap-tag { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ---- roadmap ---- */
.v-road { margin-top: clamp(34px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.v-phase { padding-top: clamp(20px, 2.2vw, 28px); border-top: 2px solid var(--line-2); }
.v-phase.is-now { border-top-color: var(--primary); }
.v-phase-when { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; color: var(--ink); }
.v-phase.is-now .v-phase-when { color: var(--primary-ink); }
.v-phase-live { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); background: var(--primary-soft); padding: 3px 8px; border-radius: var(--pill); }
.v-phase p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 12px; max-width: 30ch; }
@media (max-width: 720px) { .v-road { grid-template-columns: 1fr; gap: 0; } .v-phase { border-top: 0; border-left: 2px solid var(--line-2); padding: 0 0 26px 22px; } .v-phase.is-now { border-left-color: var(--primary); } .v-phase:last-child { padding-bottom: 0; } }

/* ---- closing manifesto + CTA ---- */
.v-close { max-width: 940px; }
.v-close-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 46px); letter-spacing: -0.035em; line-height: 1.18; color: var(--ink); }
.v-close-quote em { font-style: normal; color: var(--primary-ink); }
.v-close-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: clamp(28px, 3vw, 40px); }
.v-email { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.03em; color: var(--ink); transition: color .2s; }
.v-email span { background-image: linear-gradient(var(--primary), var(--primary)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 4px; transition: background-size .25s var(--ease); }
.v-email:hover { color: var(--primary-ink); }
.v-email:hover span { background-size: 100% 100%; background-image: linear-gradient(rgba(255,90,61,.1), rgba(255,90,61,.1)); }

/* ============================================================
   CAREERS - copyable application template (minimal, one-click copy)
   ============================================================ */
.tpl { max-width: 620px; margin: clamp(26px, 3.2vw, 38px) auto 0; border: 1px dashed var(--line-2); border-radius: var(--card); background: #fff; overflow: hidden; text-align: left; }
.tpl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px clamp(14px, 2vw, 18px) 0 clamp(20px, 2.6vw, 28px); }
.tpl-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.tpl-copy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-family: var(--font-display); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease); }
.tpl-copy:hover { border-color: var(--primary); color: var(--primary-ink); }
.tpl-copy:active { transform: translateY(1px); }
.tpl-copy-ic { width: 14px; height: 14px; flex: 0 0 auto; }
.tpl-copy.is-copied { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-soft); }
.tpl-text { margin: 0; padding: clamp(10px, 1.6vw, 16px) clamp(20px, 2.6vw, 28px) clamp(22px, 3vw, 30px); font-family: var(--font); font-size: clamp(13.5px, 1vw, 15px); line-height: 1.85; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.tpl-text b { font-weight: 600; color: var(--ink); }
.tpl-send { text-align: center; margin-top: clamp(22px, 2.8vw, 30px); }
.tpl-send .cta-email { margin-top: 0; }
.tpl-send .cta-fineprint { margin-top: 14px; }
.tpl-note { max-width: 560px; margin: clamp(16px, 2vw, 22px) auto 0; text-align: center; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
@media (max-width: 400px) { .tpl-label { font-size: 10.5px; letter-spacing: .06em; } }

/* ============================================================
   RESPONSIVE POLISH - tablet & mobile breathing room
   Sub-pages only (About / Vision / Careers). Every rule here sits
   inside a max-width query, so the desktop layout (> 1024px) is
   left exactly as it was. Appended last, so these override the
   per-component breakpoints above at equal specificity.
   Tablet first, portrait-tablet next, then mobile refines.
   ============================================================ */

/* ---- Tablet and below (<= 1024px): looser vertical rhythm ---- */
@media (max-width: 1024px) {
  .ph-lead { margin-top: 22px; }
  .ph-actions, .v-actions { margin-top: 32px; gap: 14px 22px; }
  .ph-head { margin-bottom: clamp(42px, 6vw, 52px); }
  .ph-head .eyebrow { margin-bottom: 18px; }

  /* careers */
  .roles { margin-top: clamp(32px, 4.5vw, 46px); }

  /* vision: more air between a section's intro and its module */
  .v-lede { margin-top: 20px; }
  .v-sources, .v-forces, .v-ledger, .v-stack, .v-road, .v-bar-wrap {
    margin-top: clamp(38px, 5vw, 48px);
  }
  .v-status .wrap { gap: 14px 24px; }
}

/* ---- Portrait tablet and below (<= 860px): stack the two-column
        modules with a real gap, and hold prose to a readable measure ---- */
@media (max-width: 860px) {
  /* founders */
  .ff-grid { grid-template-columns: 1fr; gap: clamp(30px, 5vw, 40px); }
  .ff-main { max-width: 640px; }
  .ff-body { margin-top: clamp(22px, 3.5vw, 28px); }
  .founder-feat { padding: clamp(46px, 7vw, 66px) 0; }

  /* vision: give the problem panel full width instead of two tight halves */
  .v-sources { grid-template-columns: 1fr; }
  .v-ask { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Mobile (<= 600px): tidy type wrapping, open up the internals ---- */
@media (max-width: 600px) {
  /* let stacked headings wrap naturally and balanced rather than
     re-wrapping awkwardly after a desktop <br> */
  .subpage .section-title br { display: none; }
  .subpage .section-title { text-wrap: balance; }
  .ph-lead, .v-hero-lead, .sec-sub, .v-lede, .role-desc { text-wrap: pretty; }

  /* heading -> sub -> body rhythm */
  .sec-sub { margin-top: 18px; }
  .v-hero-lead { margin-top: 24px; }
  .subpage .statement-text { font-size: 21px; line-height: 1.45; }

  /* founders */
  .ff-grid { gap: 34px; }
  .ff-quote { line-height: 1.34; }
  .ff-body p { margin-top: 18px; }

  /* careers: roomier role cards and CTA */
  .role { gap: 18px; padding: 30px 4px; }
  .role-title { margin-top: 9px; }
  .role-desc { margin-top: 12px; }
  .role-skills { margin-top: 14px; }
  .cta-lg p { margin-top: 18px; }
  .cta-email { margin-top: 26px; }

  /* vision: looser stacked modules */
  .v-src-list, .v-ask, .v-col { padding: 28px 24px; }
  .v-cap { gap: 10px 16px; padding: 24px 4px; }
  .v-force p { margin-top: 12px; }
  .v-bar-tags { margin-top: 16px; }
  .v-bar-note { margin-top: 20px; }
  .v-close-row { gap: 18px 30px; margin-top: 32px; }
}
