/* ============================================================
   OUR STORY — strictly follows the home page system
   • Backgrounds: --soft (default), --cream (warm), white (clean)
   • H2/H1: Satoshi 600 + Fraunces italic em (purple)
   • Eyebrow: .section-label
   • Cards: white on --cream-deep border (founders pattern), or
            white on --hairline border (e-stats pattern)
   • Glows: only the home hero pattern, used very sparingly
   ============================================================ */

body { background: var(--soft); }


/* ── HERO ENTRY GLOW (CoCE-style — same recipe as home page) ─
   Strong purple-pool top-edge ellipse marks the entry to the
   page, paired with a top-left corner glow at half strength. */
.os-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* Top edge purple pool — matches CoCE on home */
    radial-gradient(ellipse 140% 40% at 50% -8%,
      rgba(124,58,237,0.38) 0%,
      rgba(124,58,237,0.22) 14%,
      rgba(124,58,237,0.10) 28%,
      rgba(124,58,237,0.04) 40%,
      transparent 50%),
    /* Top-left corner accent — matches CoCE on home */
    radial-gradient(ellipse 60% 48% at -5% -5%,
      rgba(124,58,237,0.24) 0%,
      rgba(124,58,237,0.14) 22%,
      rgba(124,58,237,0.06) 45%,
      rgba(124,58,237,0.015) 65%,
      transparent 78%);
}
.os-hero { isolation: isolate; }


/* ── JOURNEY BAND: Mission + Journey + Values ────────────────
   Wraps three contiguous sections into one continuous visual
   band on white, with a CoCE-style purple-pool glow at the
   BOTTOM edge marking the exit. Inner sections are forced
   transparent + lose their own borders so the band reads as
   a single editorial slab. */
.os-band {
  position: relative;
  overflow: hidden;
  background:
    /* Bottom edge purple pool — mirrors CoCE entry glow */
    radial-gradient(ellipse 140% 40% at 50% 108%,
      rgba(124,58,237,0.38) 0%,
      rgba(124,58,237,0.22) 14%,
      rgba(124,58,237,0.10) 28%,
      rgba(124,58,237,0.04) 40%,
      transparent 50%),
    /* Bottom-right corner accent — softer than top entry */
    radial-gradient(ellipse 60% 48% at 105% 105%,
      rgba(140, 60, 180, 0.20) 0%,
      rgba(140, 60, 180, 0.125) 22%,
      rgba(140, 60, 180, 0.06) 45%,
      rgba(140, 60, 180, 0.018) 65%,
      transparent 78%),
    #FFFFFF;
}
.os-band .os-mission,
.os-band .os-journey,
.os-band .os-values {
  background: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  position: relative;
  z-index: 1;
}


/* ── HERO ───────────────────────────────────────────────── */
.os-hero {
  position: relative;
  padding: calc(var(--nav-height) + 56px) var(--section-pad-h) 100px;
  overflow: hidden;
  background: var(--soft);
}
.os-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.os-hero-text { max-width: 580px; }
.os-hero .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -2.2px;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.os-hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  letter-spacing: -1.5px;
}
.os-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--mid);
  font-weight: 300;
  max-width: 540px;
  margin: 0;
}
.os-hero-img-wrap {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 0 20px 50px rgba(28,18,41,0.14);
}
.os-hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
.os-hero-caption {
  position: absolute; bottom: 18px; left: 18px;
  padding: 10px 16px;
  background: rgba(28,18,41,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  color: rgba(255,255,255,0.95);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}
.os-hero-caption strong { color: #fff; font-weight: 600; }


/* ── ORIGIN (cream — matches founders-home) ─────────────── */
.os-origin {
  padding: 100px var(--section-pad-h);
  background: var(--cream);
}
.os-origin-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.os-origin-side {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.os-origin-side .section-label { color: var(--purple); margin-bottom: 18px; display: block; }
.os-origin-side h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.os-origin-side h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.os-origin-side .os-side-meta {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  font-weight: 400;
  padding-top: 20px;
  border-top: 1px solid var(--cream-deep);
}
.os-origin-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--mid);
  font-weight: 300;
}
.os-origin-body p { margin: 0 0 22px; }
.os-origin-body p:last-child { margin-bottom: 0; }
.os-origin-body strong { color: var(--ink); font-weight: 600; }
.os-origin-body em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}

/* Pull quote — matches .founders-quote on home */
/* Editorial pull-quote — matches the home page .ed-pullquote spec
   so quotes feel consistent across pages. */
.os-pull-quote {
  position: relative;
  margin: 48px 0 64px;
  padding: 22px 28px 22px 30px;
  border-left: 3px solid var(--purple);
  background: linear-gradient(180deg, rgba(124,58,237,0.05) 0%, rgba(124,58,237,0.01) 100%);
  border-radius: 0 14px 14px 0;
  max-width: 520px;
}
.os-pull-quote-mark {
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}
.os-pull-quote p {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-wrap: pretty;
}
.os-pull-quote-attr {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
}
.os-pull-quote-attr span {
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.4px;
  text-transform: none;
  font-size: 13px;
  margin-left: 4px;
}


/* ── MISSION (white — matches FAQ section bg) ──────────── */
.os-mission {
  padding: 100px var(--section-pad-h);
  background: white;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.os-mission-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.os-mission-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.os-mission-head .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-mission-head h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.os-mission-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.os-mission-head p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid);
  font-weight: 300;
  margin: 0;
}

.os-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Cards match e-stat pattern from home */
.os-mission-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-mission-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,58,237,0.28);
  box-shadow: 0 16px 40px rgba(124,58,237,0.10);
}
.os-mission-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  color: var(--purple);
  line-height: 1;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.os-mission-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 12px;
}
.os-mission-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--mid);
  font-weight: 400;
  margin: 0;
}


/* ── FOUNDERS (cream — IDENTICAL to home founders-home) ── */
.os-founders {
  padding: 100px var(--section-pad-h);
  background: var(--cream);
}
.os-founders-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.os-founders-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.os-founders-head .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-founders-head h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.os-founders-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.os-founders-head p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid);
  font-weight: 300;
  margin: 0;
}

.os-founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.os-founder-portrait {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream-deep);
  margin-bottom: 28px;
  box-shadow: 0 14px 40px rgba(28,18,41,0.12);
}
.os-founder-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.os-founder-portrait--juanita img { object-position: 28% 35%; transform: scale(1.45); transform-origin: 32% 30%; }
.os-founder-portrait--nick img { object-position: 72% 35%; transform: scale(1.45); transform-origin: 65% 30%; }

.os-founder-name {
  font-family: var(--font-body);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1.2px;
  color: var(--ink);
  margin: 0 0 6px;
}
.os-founder-role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 22px;
}
.os-founder-bio {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
}
.os-founder-bio p { margin: 0 0 14px; }
.os-founder-bio p:last-child { margin-bottom: 0; }
.os-founder-bio strong { color: var(--ink); font-weight: 600; }

/* Credential tiles — IDENTICAL to .founder-cred on home */
.os-founder-creds {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.os-cred {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--cream-deep);
  border-radius: 14px;
}
.os-cred-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  min-width: 56px;
  padding-top: 2px;
}
.os-cred-label {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--mid);
  font-weight: 400;
  padding-top: 4px;
}
.os-cred-label strong { color: var(--ink); font-weight: 600; }

/* Inline founder quote — matches .founders-quote on home */
.os-founder-quote {
  position: relative;
  margin-top: 24px;
  padding: 24px 28px 22px 32px;
  border-left: 2px solid var(--purple);
  background: linear-gradient(180deg, rgba(124,58,237,0.04) 0%, rgba(124,58,237,0.01) 100%);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.2px;
}


/* ── JOURNEY (white — matches journey on home) ─────────── */
.os-journey {
  padding: 100px var(--section-pad-h);
  background: white;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.os-journey-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.os-journey-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.os-journey-head .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-journey-head h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.os-journey-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.os-journey-head p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--mid);
  font-weight: 300;
  margin: 0;
}

.os-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.os-timeline::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--hairline) 12%,
    var(--hairline) 88%,
    transparent);
  z-index: 0;
}
.os-mile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.os-mile-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--purple);
  margin-top: 30px;
  margin-bottom: 26px;
}
.os-mile--current .os-mile-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--purple), 0 0 0 8px rgba(255, 211, 105, 0.3);
}
.os-mile-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--purple);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.os-mile h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 0 0 8px;
}
.os-mile p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
  font-weight: 400;
  margin: 0;
  max-width: 200px;
}


/* ── VALUES (lavender accent — matches journey-same) ──── */
.os-values {
  padding: 100px var(--section-pad-h);
  background: var(--soft);
}
.os-values-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.os-values-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.os-values-head .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-values-head h2 {
  font-family: var(--font-body);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.8px;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.os-values-head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}

.os-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.os-value {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-value:hover {
  border-color: rgba(124,58,237,0.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124,58,237,0.08);
}
.os-value-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.os-value h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 12px;
}
.os-value p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mid);
  font-weight: 400;
  margin: 0;
}


/* ── FUTURE (cream-deep gradient — gentle warm close) ─── */
.os-future {
  padding: 110px var(--section-pad-h);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.os-future-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.os-future .section-label { color: var(--purple); margin-bottom: 24px; display: inline-block; }
.os-future h2 {
  font-family: var(--font-body);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.os-future h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
}
.os-future p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto 14px;
}
.os-future p strong { color: var(--ink); font-weight: 600; }
.os-future-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .os-hero { padding: calc(var(--nav-height) + 40px) var(--section-pad-h) 64px; }
  .os-hero-inner { gap: 48px; }
  .os-origin, .os-mission, .os-founders, .os-journey, .os-values, .os-future {
    padding: 80px var(--section-pad-h);
  }
  .os-origin-inner { grid-template-columns: 1fr; gap: 32px; }
  .os-origin-side { position: static; }
  .os-mission-grid { grid-template-columns: 1fr; gap: 16px; }
  .os-founders-grid { gap: 40px; }
  .os-values-grid { grid-template-columns: repeat(2, 1fr); }
  .os-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .os-timeline::before { display: none; }
}
@media (max-width: 720px) {
  .os-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .os-hero h1 { letter-spacing: -1px; }
  .os-origin-body { font-size: 16px; }
  .os-pull-quote {
    margin: 32px 0 40px;
    padding: 20px 22px 20px 24px;
  }
  .os-pull-quote p { font-size: 21px; }
  .os-pull-quote-mark { font-size: 60px; top: -6px; left: 14px; }
  .os-founders-grid { grid-template-columns: 1fr; gap: 56px; }
  .os-founder-portrait { aspect-ratio: 4 / 3; }
  .os-founder-creds { grid-template-columns: 1fr; }
  .os-values-grid { grid-template-columns: 1fr; }
  .os-timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .os-mission-card { padding: 28px 24px; }
  .os-mission-num { font-size: 40px; }
}
