/* =========================================================
   Fundesk — About page (Fresh Desk redesign)
   Adds page-only patterns on top of home-redesign.css.
   ========================================================= */

/* Unified type — Nunito (matches the home/services storefront).
   Scoped: this file only loads on the About page, so remapping
   --serif/--sans here doesn't touch the blog or topic pages. */
:root {
  --serif: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:  "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Shared heading classes were tuned for a 400-weight serif; Nunito needs
   more weight (and a touch more line-height) to read confident. Scoped to
   this page only. */
.sec-head h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.0; }
.serif { font-weight: 700; }

.about-hero { padding-top: 56px; padding-bottom: clamp(56px, 7vw, 96px); }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .about-hero-grid { grid-template-columns: 1fr; } }

.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7.5vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  font-weight: 800;
}
.about-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.about-hero p.lede {
  margin: 24px 0 0;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 52ch;
}
@media (max-width: 640px) { .about-hero p.lede { font-size: 16px; } }

.about-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.about-hero-meta span {
  font-family: var(--mono); font-size: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  color: var(--ink-2);
}

/* Visual collage card on the right */
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 30%, color-mix(in oklab, var(--peri) 16%, var(--bg-card)) 0%, var(--bg-card) 60%),
    var(--bg-card);
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 28px;
}
@media (max-width: 900px) { .about-visual { max-width: 480px; margin: 0 auto; } }
@media (max-width: 480px) { .about-visual { display: none; } }
.about-visual svg { width: 100%; height: 100%; display: block; }

/* Two-column "Mission / Who" panels */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 820px) { .split-grid { grid-template-columns: 1fr; } }
.split-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 40px);
  position: relative; overflow: hidden;
}
.split-card .eyebrow { color: var(--ink-3); }
.split-card h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05; letter-spacing: -0.01em;
  margin: 10px 0 0;
}
.split-card p {
  margin: 16px 0 0; color: var(--ink-2);
  font-size: 16px;
}
.split-card p strong { color: var(--ink); font-weight: 500; }
.split-card .corner-ill {
  position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px; opacity: .9;
}
.split-card.tinted { background: var(--bg-sub); }

/* Values list — numbered editorial */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }
.value-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
@media (max-width: 720px) { .value-row { border-right: 0; } }
.value-row:nth-child(2n) { border-right: 0; }
.value-row .num {
  font-family: var(--serif); font-weight: 800;
  font-size: 32px; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.value-row h4, .value-row h3 {
  font-family: var(--sans); font-size: 17px; font-weight: 500;
  margin: 0 0 6px;
}
.value-row p {
  margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55;
}

/* =========================================================
   COLOR ALIGNMENT — bring About in line with the landing page
   The storefront hero/sections use a full coral/teal/peri/yellow
   accent system; this page previously leaned near-monochrome.
   Every rule here is scoped to .fd (About only loads this file),
   so nothing else on the site is affected.

   Tint plumbing: a card sets `--tint`; its eyebrow dot, left rail,
   icon tile and stat figures all inherit it. Standalone section
   eyebrows set `--eb` directly.
   ========================================================= */

/* Eyebrows — colored dot + label (was a flat grey mono line / ◆ glyph) */
.fd .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
}
.fd .eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--eb, var(--tint, var(--accent)));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--eb, var(--tint, var(--accent))) 22%, transparent);
}

/* Split "What we do / Who we are" cards — tinted left rail + soft depth */
.split-card {
  border-left: 4px solid var(--tint, var(--accent));
  box-shadow: 0 1px 2px rgba(16,18,34,.04), 0 16px 40px -30px rgba(16,18,34,.28);
}
.split-card .eyebrow { color: var(--ink-3); }

/* Topic / product cards — tinted rail, tinted icon tile, colored hover glow */
.fd .topic-card {
  border-left: 4px solid var(--tint, var(--accent));
  box-shadow: 0 1px 2px rgba(16,18,34,.04), 0 14px 32px -26px rgba(16,18,34,.24);
  transition: transform .15s, border-color .15s, box-shadow .3s;
}
.fd .topic-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule);
  border-left-color: var(--tint, var(--accent));
  box-shadow: 0 2px 4px rgba(16,18,34,.05), 0 24px 46px -28px color-mix(in oklab, var(--tint, var(--accent)) 46%, transparent);
}
/* Static (non-clickable) cards — informational only, no click affordance */
.fd .topic-card--static { cursor: default; }
.fd .topic-card--static:hover {
  transform: none;
  border-color: var(--rule);
  border-left-color: var(--tint, var(--accent));
  box-shadow: 0 1px 2px rgba(16,18,34,.04), 0 14px 32px -26px rgba(16,18,34,.24);
}
.fd .topic-ill {
  background: color-mix(in oklab, var(--tint, var(--accent)) 15%, var(--bg-card));
  border: 1px solid color-mix(in oklab, var(--tint, var(--accent)) 24%, transparent);
}

/* Numbered "how we work" rows — colored figure per row.
   Nudge toward --ink so the light tints (yellow) stay legible as large
   text on the plain page background in both themes. */
.value-row .num { color: color-mix(in oklab, var(--tint, var(--accent)) 80%, var(--ink)); }

/* CTA + newsletter eyebrows sit on dark ink cards — keep the tinted dot
   but let the ring read against the dark surface */
.nl .eyebrow::before,
.cta-card.coral .eyebrow::before {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--eb, var(--yellow)) 30%, transparent);
}
