/* =========================================================
   About page — section blocks
   Each section here becomes its own Gutenberg block later.
   Reuses generic primitives from components.css and where
   possible existing block CSS (problem, products) for shared
   patterns.
   ========================================================= */

/* =====================================================
   .cta-accent — vertical cyan bar on final CTA sections
   ===================================================== */
.cta-accent { position: relative; }
.cta-accent::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--cyan-500);
  pointer-events: none;
  z-index: 3;
}
@media (max-width: 720px) {
  .cta-accent::before { width: 4px; }
}

/* =====================================================
   Block: HERO with illustration  (.hero.hero--about)
   2-col grid: text left, illustration aside right.
   ===================================================== */
.hero.hero--about .hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.hero-illust {
  background: #fff;
  border: 1px solid var(--ink-200);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.hero-illust .hi-figtop {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--ink-400);
  padding: 4px 4px 10px;
}
.hero-illust .hi-svg {
  display: block;
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
  background: #fff;
}

@media (max-width: 1100px) {
  .hero.hero--about .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-illust { min-height: 360px; }
}

@media (max-width: 900px) {
  .hero.hero--about .hero-inner {
    display: block;
  }
  .hero-illust { display: none; }
}

/* =====================================================
   Block: § 02.5 / OUR STORY — Origins sub-block
   eyebrow column + 2 paragraphs body
   ===================================================== */
.story-origins {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  border-top: 1px solid var(--ink-200);
  padding-top: 48px;
}
.story-origins .marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.story-origins .body { max-width: 820px; }
.story-origins .body p {
  margin: 0 0 24px;
}
.story-origins .body p:first-child {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-900);
  font-weight: 400;
}
.story-origins .body p + p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
}

@media (max-width: 900px) {
  .story-origins {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
  }
  .story-origins .body p:first-child { font-size: 16px; }
}

/* =====================================================
   Block: § 03 / MISSION  (.about-mission)
   Huge display H2 with cyan eyebrow.
   ===================================================== */
.about-mission {
  padding-top: 120px;
  background: var(--ink-50);
  padding-bottom: 120px;
}
.about-mission .container > .section-meta {
  padding: 0;
  grid-template-columns: 160px 1fr;
  gap: 48px;
}
.about-mission .mission-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 24px;
}
.about-mission h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 72px;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
  max-width: 1040px;
}
.about-mission h2 em {
  font-style: italic;
  color: var(--ink-500);
  font-weight: 400;
}
.about-mission p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 40px 0 0;
  max-width: 720px;
}

@media (max-width: 900px) {
  .about-mission { padding: 56px 0; }
  .about-mission h2 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
  }
  .about-mission p { font-size: 15px; }
}

/* =====================================================
   Block: § 05 / FACTS  (.about-facts)
   Dark navy section with grid background, 4x2 stats grid.
   Each cell: mono key (cyan) + huge serif number + body.
   ===================================================== */
.about-facts {
  background: var(--ink-950);
  color: var(--ink-0);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.about-facts::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.about-facts .container { position: relative; }

.about-facts-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding-bottom: 64px;
}
.about-facts-head .marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding-top: 10px;
}
.about-facts-head .eyebrow-cyan {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 20px;
}
.about-facts-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink-0);
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
}
.about-facts-head h2 em {
  font-style: italic;
  color: var(--ink-300);
  font-weight: 400;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.fact-cell {
  padding: 40px 32px 44px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.fact-cell:nth-child(4n) { border-right: none; }

.fact-cell .key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan-400);
  margin-bottom: 20px;
}
.fact-cell .value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink-0);
  white-space: nowrap;
}
.fact-cell .value .plus,
.fact-cell .value .sub {
  color: var(--cyan-400);
}
.fact-cell .value .sub {
  font-size: 40px;
}
/* Stacked variant — main value stays at 72px, .sub drops to its
   own line below (used for long text values like "SOC 2 Type II"). */
.fact-cell .value--stacked .sub {
  display: block;
  margin-top: 4px;
}
.fact-cell p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-300);
  margin: 16px 0 0;
}

@media (max-width: 1100px) {
  .about-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-cell:nth-child(4n) { border-right: 1px solid rgba(255, 255, 255, .12); }
  .fact-cell:nth-child(2n) { border-right: none; }
}

@media (max-width: 900px) {
  .about-facts { padding: 56px 0; }
  .about-facts-head {
    display: block;
    padding-bottom: 32px;
  }
  .about-facts-head .marker {
    display: block;
    padding-top: 0;
    margin-bottom: 16px;
  }
  .about-facts-head h2 { font-size: 32px; }
  .fact-cell {
    padding: 28px 20px 32px;
  }
  .fact-cell .value { font-size: 56px; }
  .fact-cell .value .sub { font-size: 28px; }
}

@media (max-width: 600px) {
  .about-facts-grid { grid-template-columns: 1fr; }
  .fact-cell { border-right: none; }
}

/* =====================================================
   Block: § 06 / TECHNOLOGY & PRODUCTS  (.products-row)
   3-column grid of compact product entry cards
   (distinct from homepage .products-grid which uses 2-col
    detailed cards with bullet lists).
   ===================================================== */
.products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--ink-200);
}
.products-row .product-entry {
  display: block;
  padding: 48px 40px 52px;
  border-right: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.products-row .product-entry:nth-child(3n) { border-right: none; }
.products-row .product-entry:hover { background: var(--ink-50); }

.products-row .product-entry .marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-500);
  margin-bottom: 28px;
}
.products-row .product-entry h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.products-row .product-entry h3 em {
  font-style: italic;
  color: var(--ink-500);
  font-weight: 400;
}
.products-row .product-entry p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0 0 32px;
}
.products-row .product-entry .read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-900);
  padding-bottom: 2px;
}

@media (max-width: 1100px) {
  .products-row { grid-template-columns: 1fr; }
  .products-row .product-entry {
    border-right: none;
    border-bottom: 1px solid var(--ink-200);
  }
}

@media (max-width: 900px) {
  .products-row { margin-top: 40px; }
  .products-row .product-entry {
    padding: 32px 24px 36px;
  }
  .products-row .product-entry h3 { font-size: 24px; }
}

/* =====================================================
   Block: § 07 / GLOBAL IMPACT  (.impact-grid)
   4-column grid: mono index + serif title + body.
   ===================================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--ink-200);
}
.impact-cell {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.impact-cell:nth-child(4n) { border-right: none; }

.impact-cell .index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
  letter-spacing: .1em;
  margin-bottom: 28px;
}
.impact-cell h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.impact-cell p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-cell:nth-child(4n) { border-right: 1px solid var(--ink-200); }
  .impact-cell:nth-child(2n) { border-right: none; }
}

@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .impact-cell {
    padding: 28px 20px 32px;
    border-right: none;
  }
}

/* =====================================================
   Block: § 08 / COMMITMENTS  (.commitments-grid)
   3x2 cards on white, page background ink-50.
   Same numlist anatomy as values but white card bg.
   ===================================================== */
.about-commitments {
  padding: 120px 0;
  background: var(--ink-50);
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 1px gap — ink-50 page bg shows through between white cells */
  gap: 1px;
  margin-top: 72px;
}
.commit-cell {
  padding: 40px 32px 44px;
  background: var(--ink-0);
}

.commit-cell .index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
  letter-spacing: .1em;
  margin-bottom: 28px;
}
.commit-cell h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.commit-cell p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0;
}

@media (max-width: 1100px) {
  .commitments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-commitments { padding: 56px 0; }
  .commitments-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .commit-cell { padding: 28px 20px 32px; }
}

/* =====================================================
   Block: § 09 / NEXT STEP  (.next-step)
   3-col: marker / main copy + CTAs / "What happens next" aside.
   Sits inside a .cta-accent wrapper.
   ===================================================== */
.next-step {
  background: var(--ink-50);
  color: var(--ink-900);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.next-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  rgba(10, 35, 66, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 35, 66, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.next-step .container { position: relative; z-index: 1; }

.next-step-grid {
  display: grid;
  grid-template-columns: 200px 1fr 340px;
  gap: 64px;
  align-items: start;
}
.next-step-grid .marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding-top: 10px;
}
.next-step-grid .eyebrow-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 20px;
}
.next-step-grid h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink-900);
  margin: 0 0 24px;
  max-width: 820px;
  text-wrap: balance;
}
.next-step-grid h2 em {
  font-style: italic;
  color: var(--ink-500);
  font-weight: 400;
}
.next-step-grid p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 640px;
  margin: 0 0 40px;
}
.next-step-grid .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sidebar: numbered "what happens next" steps */
.next-step-steps {
  border-left: 1px solid var(--ink-200);
  padding: 4px 0 4px 32px;
  list-style: none;
  margin: 0;
}
.next-step-steps-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 20px;
}
.next-step-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-200);
}
.next-step-steps li:last-child {
  border-bottom: 1px solid var(--ink-200);
}
.next-step-steps li .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-400);
  padding-top: 3px;
}
.next-step-steps li .title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -.005em;
  margin-bottom: 4px;
}
.next-step-steps li .desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-500);
}

@media (max-width: 1100px) {
  .next-step-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .next-step-grid .marker { padding-top: 0; }
  .next-step-steps {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--ink-200);
    padding-top: 32px;
  }
}

@media (max-width: 900px) {
  .next-step { padding: 56px 0; }
  .next-step-grid {
    display: block;
  }
  .next-step-grid .marker {
    display: block;
    padding-top: 0;
    margin-bottom: 16px;
  }
  .next-step-grid > div + aside,
  .next-step-grid > aside {
    margin-top: 32px;
  }
  .next-step-grid h2 { font-size: 32px; }
  .next-step-grid p { font-size: 16px; }
  .next-step-grid .ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .next-step-grid .ctas .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}
