/* ==========================================================================
   FULLSTACK — Shared page components
   Components used by more than one designed page: the hero, the stepped mark,
   the process strip, product interface mocks and the closing CTA band.
   Loaded by every page that renders a designed layout; never by plain
   article or archive templates.
   ========================================================================== */

/* ==========================================================================
   01. PRIMITIVES
   ========================================================================== */

/* The stepped mark, used by the hero, process, capability cards and
   watermarks. Bars inherit the current text colour so the mark re-themes
   with its section. */
.fs-mark { flex: none; }
.fs-mark__bar { fill: currentColor; }
.fs-mark__bar--accent { fill: var(--fs-accent); }
.fs-mark__bar--dim { opacity: 0.3; }

/* Rule-anchored statement, used by Agency Partners and Engineering. */
.fs-pullquote {
  margin-top: var(--fs-section-gap);
  padding-left: var(--fs-space-6);
  border-left: var(--fs-border-emphasis) solid var(--fs-fg);
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: var(--fs-tracking-tight);
  line-height: 1.25;
  color: var(--fs-fg);
  text-wrap: balance;
}

.fs-pullquote--accent { border-left-color: var(--fs-accent); }

/* ==========================================================================
   02. HERO
   ========================================================================== */

.fs-hero { overflow: hidden; }

.fs-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 3.75rem);
  align-items: center;
}

/* Measured: "WHAT'S NEXT." renders 7.33em wide in Archivo Black. The line
   must never wrap or spill into the mark, so the title is capped to the width
   its own column can hold (100/7.33 ≈ 13.6cqw, with margin) rather than to a
   set of guessed breakpoints. */
.fs-hero__lead { container-type: inline-size; }

.fs-hero__eyebrow {
  font-family: var(--fs-font-mono);
  font-size: var(--fs-text-mono-lg);
  font-weight: var(--fs-weight-medium);
  letter-spacing: var(--fs-tracking-mono-eyebrow);
  text-transform: uppercase;
  color: var(--fs-fg-muted);
}

.fs-hero__title {
  margin-top: var(--fs-space-6);
  font-size: min(var(--fs-text-d1), 13cqw);
  font-weight: var(--fs-weight-black);
  line-height: var(--fs-leading-display);
  letter-spacing: var(--fs-tracking-display);
  text-transform: uppercase;
  color: var(--fs-fg);
}

/* Each line is its own block so the two-line lockup is guaranteed at every
   width — the design never breaks these phrases anywhere else. */
.fs-hero__title-line {
  display: block;
  white-space: nowrap;
}

.fs-hero__period { color: var(--fs-accent); }

.fs-hero__text {
  margin-top: var(--fs-space-6);
  max-width: 32.5rem; /* 520px */
  font-size: var(--fs-text-lead);
  line-height: 1.6;
  color: var(--fs-fg-body);
}

.fs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-4);
  margin-top: var(--fs-space-10);
}

.fs-hero__since {
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
  color: var(--fs-fg-faint);
  letter-spacing: 0.08em;
}

.fs-hero__system {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fs-space-8);
}

.fs-hero__mark {
  width: min(100%, 23.75rem); /* 380px */
  height: auto;
  color: var(--fs-fg);
}

.fs-hero__sequence {
  display: flex;
  align-items: center;
  /* Longer sequences (the Products hero runs to five stages) must wrap rather
     than run off a narrow viewport. */
  flex-wrap: wrap;
  gap: var(--fs-space-3);
  letter-spacing: var(--fs-tracking-mono);
  color: var(--fs-fg-muted);
}

/* The arrow carries the sequence visually, so it has to be perceivable —
   a hard-coded near-black grey rendered it at 1.8:1. */
.fs-hero__sequence-arrow { color: var(--fs-fg-faint); }
.fs-hero__sequence-end { color: var(--fs-accent); }

/* --- Hero motion ----------------------------------------------------------
   The Launch Layer: bars arrive bottom-up, then the top bar ignites. The
   global prefers-reduced-motion rule in main.css collapses these to their
   end state, which is the fully assembled, lit mark. */

@keyframes fs-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes fs-launch {
  from { opacity: 0; transform: translate(-30px, 26px); }
  to { opacity: 1; transform: none; }
}

@keyframes fs-ignite {
  0%, 70% { fill: var(--fs-warm-white); }
  100% { fill: var(--fs-accent); }
}

@keyframes fs-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.fs-mark--animated .fs-mark__bar--1 {
  animation: fs-rise 0.85s var(--fs-ease) 0.1s both;
}

.fs-mark--animated .fs-mark__bar--2 {
  animation: fs-rise 0.85s var(--fs-ease) 0.45s both;
}

.fs-mark--animated .fs-mark__bar--3 {
  animation:
    fs-launch 0.9s var(--fs-ease) 0.95s both,
    fs-ignite 1.6s linear 0.95s both;
}

/* Measured: "WHAT'S NEXT." renders 7.33em wide in Archivo Black. The line
   must never wrap or spill into the mark, so the title is capped to the width
   its own column can hold (100/7.33 ≈ 13.6cqw, with margin) rather than to a
   set of guessed breakpoints. */
.fs-hero__lead { container-type: inline-size; }

.fs-hero__eyebrow { animation: fs-fade-up 0.7s var(--fs-ease) 0.1s both; }
.fs-hero__title { animation: fs-fade-up 0.8s var(--fs-ease) 0.25s both; }
.fs-hero__text { animation: fs-fade-up 0.8s var(--fs-ease) 0.5s both; }
.fs-hero__actions { animation: fs-fade-up 0.8s var(--fs-ease) 0.7s both; }
.fs-hero__since { animation: fs-fade-up 0.8s var(--fs-ease) 0.9s both; }
.fs-hero__sequence { animation: fs-fade-up 0.8s var(--fs-ease) 1.6s both; }

/* Two columns need ~1345px before the title and the mark stop competing for
   space, so the hero stacks from 1200 down rather than at the nav breakpoint. */
@media (max-width: 1200px) {
  .fs-hero__inner { grid-template-columns: minmax(0, 1fr); }

  /* The mark becomes a footer to the copy rather than a column beside it,
     and the sequence caption sits alongside it as on the mobile board. */
  .fs-hero__system {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--fs-space-6);
  }

  .fs-hero__mark { width: min(40vw, 12.5rem); }
  .fs-hero__sequence { justify-content: flex-end; text-align: right; }
}

@media (max-width: 560px) {
  /* At 390 the reference stacks the two hero CTAs full-width. */
  .fs-hero__actions { flex-direction: column; align-items: stretch; }
  .fs-hero__actions .fs-btn { width: 100%; }
  .fs-hero__sequence { gap: var(--fs-space-2); font-size: var(--fs-text-mono-sm); }
}

/* ==========================================================================
   03. PRODUCT MOCKS (decorative)
   Drawn in markup so they stay sharp, weigh nothing and follow the tokens.
   ========================================================================== */

.fs-mock {
  position: absolute;
  inset: 0;
  font-family: var(--fs-font-sans);
  user-select: none;
}

.fs-mock__short { display: none; }

.fs-mock__caption,
.fs-mock__stat-label,
.fs-mock__tile-label,
.fs-mock__row-time,
.fs-mock__row-status {
  font-family: var(--fs-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- SeatWise: dashboard bleeding off the panel, phone overlapping it ----- */

.fs-mock--seatwise .fs-mock__app {
  position: absolute;
  top: 3.5rem;
  left: 3.5rem;
  right: -5rem;
  bottom: -2.5rem;
  display: grid;
  grid-template-columns: 11.875rem minmax(0, 1fr);
  background-color: var(--fs-light-bg);
  color: var(--fs-text-on-light);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.fs-mock__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem 1.125rem;
  background-color: var(--fs-dark-bg);
  color: var(--fs-text-on-dark-2);
}

.fs-mock__brand {
  display: flex;
  align-items: center;
  gap: var(--fs-space-2);
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  font-weight: var(--fs-weight-extrabold);
  text-transform: uppercase;
  color: var(--fs-text-on-dark);
}

.fs-mock__nav-item {
  padding: 0 0.625rem;
  font-size: 0.75rem;
  font-weight: var(--fs-weight-semibold);
}

.fs-mock__nav-item.is-active {
  padding: 0.5rem 0.625rem;
  background-color: #1d2226;
  color: var(--fs-text-on-dark);
}

.fs-mock__main { padding: 1.375rem 1.625rem; }

.fs-mock__greeting {
  font-size: 1rem;
  font-weight: var(--fs-weight-extrabold);
}

.fs-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: var(--fs-space-4);
}

.fs-mock__stat {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.875rem;
  border: var(--fs-border-width) solid var(--fs-light-border-soft);
}

.fs-mock__stat-label {
  font-size: 0.625rem;
  color: var(--fs-text-on-light-faint);
}

.fs-mock__stat-value {
  font-size: 1.625rem;
  font-weight: var(--fs-weight-black);
}

.fs-mock__caption {
  margin-top: 1.25rem;
  font-size: 0.625rem;
  color: var(--fs-text-on-light-faint);
}

.fs-mock__seats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.fs-mock__seat { height: 1.375rem; background-color: var(--fs-graphite); }
.fs-mock__seat--1 { background-color: var(--fs-accent); }
.fs-mock__seat--3 { background-color: var(--fs-light-border); }

.fs-mock__phone {
  position: absolute;
  left: 1rem;
  bottom: -1.875rem;
  width: 11.875rem;
  padding: 1rem 0.875rem 2.5rem;
  background-color: var(--fs-dark-bg);
  border: var(--fs-border-width) solid #2a2e31;
  border-radius: 22px; /* the one place the identity permits a radius */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.fs-mock__phone-title {
  font-size: 0.6875rem;
  font-weight: var(--fs-weight-extrabold);
  color: var(--fs-text-on-dark);
}

.fs-mock__tile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.625rem;
  padding: 0.75rem;
  background-color: var(--fs-dark-grid);
}

.fs-mock__tile-label {
  font-size: 0.5625rem;
  color: var(--fs-text-on-dark-muted);
}

.fs-mock__tile-value {
  font-size: 0.8125rem;
  font-weight: var(--fs-weight-bold);
  color: var(--fs-text-on-dark);
}

.fs-mock__tile-value--accent {
  font-size: 1.125rem;
  font-weight: var(--fs-weight-black);
  text-transform: uppercase;
  color: var(--fs-accent);
}

/* --- Dentist Dost: schedule panel ---------------------------------------- */

.fs-mock--clinic .fs-mock__panel {
  position: absolute;
  top: 1.75rem;
  left: 2.75rem;
  right: -3.75rem;
  bottom: -1.875rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--fs-light-bg);
  color: var(--fs-text-on-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fs-mock__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--fs-space-4);
}

.fs-mock__panel-head .fs-mock__greeting { font-size: 0.9375rem; }
.fs-mock__panel-head .fs-mock__caption { margin-top: 0; }

.fs-mock__rows {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-2);
  margin-top: 0.875rem;
}

.fs-mock__row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: center;
  padding: 0.6875rem 0.875rem;
  border: var(--fs-border-width) solid var(--fs-light-border-soft);
}

.fs-mock__row-time {
  font-size: 0.6875rem;
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0;
}

.fs-mock__row-body { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }

.fs-mock__row-name {
  font-size: 0.84375rem;
  font-weight: var(--fs-weight-bold);
}

.fs-mock__row-detail {
  font-size: 0.71875rem;
  color: var(--fs-text-on-light-faint);
}

.fs-mock__row-status {
  padding: 4px 8px;
  font-size: 0.5625rem;
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.fs-mock__row-status--accent {
  background-color: var(--fs-accent);
  color: var(--fs-graphite);
}

.fs-mock__row-status--outline {
  border: var(--fs-border-width) solid #c9cdc9;
  color: var(--fs-text-on-light-3);
}

/* --- LYVOR: two phone cards over a ruled ground -------------------------- */

.fs-mock--lyvor {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 1.875rem;
}

.fs-mock__rule {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#191e22 1px, transparent 1px);
  background-size: 100% 3.5rem;
  opacity: 0.6;
}

.fs-mock__card {
  position: relative;
  z-index: 1;
  background-color: var(--fs-dark-bg);
  border: var(--fs-border-width) solid var(--fs-dark-border);
  border-radius: 24px 24px 0 0;
}

.fs-mock__card--score {
  width: 12.5rem;
  padding: 1.25rem 1rem;
}

.fs-mock__card--routine {
  width: 11.5625rem;
  padding: 1.125rem 0.9375rem;
  transform: translateY(2.125rem);
}

.fs-mock__score {
  margin-top: var(--fs-space-2);
  font-size: 3.375rem;
  font-weight: var(--fs-weight-black);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fs-accent);
}

.fs-mock__score-delta {
  margin-top: 0.3125rem;
  font-size: 0.75rem;
  color: var(--fs-text-on-dark-muted);
}

.fs-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.3125rem;
  height: 3.5rem;
  margin-top: 0.875rem;
}

.fs-mock__bar {
  flex: 1;
  height: var(--fs-bar-height, 50%);
  background-color: #22272b;
}

.fs-mock__bar--current { background-color: var(--fs-accent); }

.fs-mock__routine-title {
  margin-top: 0.375rem;
  font-size: 1.125rem;
  font-weight: var(--fs-weight-extrabold);
  line-height: 1.15;
  color: var(--fs-text-on-dark);
}

.fs-mock__checks {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  margin-top: 0.875rem;
}

.fs-mock__check {
  display: flex;
  justify-content: space-between;
  gap: var(--fs-space-2);
  padding: 0.5625rem 0.6875rem;
  background-color: var(--fs-dark-grid);
  font-size: 0.71875rem;
  font-weight: var(--fs-weight-semibold);
  color: var(--fs-text-on-dark);
}

.fs-mock__check-done { color: var(--fs-accent); }
.fs-mock__check-pending { color: var(--fs-text-on-light-3); }

/* Mobile simplification: the reference drops the overlapping phone, the
   sidebar and the long stat labels, and halves the floor map. Nothing is
   duplicated — the same nodes simply step back. */
@media (max-width: 768px) {
  .fs-mock--seatwise .fs-mock__app {
    inset: 1.5rem 1.25rem -1.5rem;
    grid-template-columns: minmax(0, 1fr);
  }
  .fs-mock__sidebar,
  .fs-mock__phone { display: none; }
  .fs-mock__seat--overflow { display: none; }
  .fs-mock__seats { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  /* Long labels and the full currency figure shorten, exactly as the mobile
     board does, so the three stat boxes never burst their card. */
  .fs-mock__long { display: none; }
  .fs-mock__short { display: inline; }

  .fs-mock--clinic .fs-mock__panel { inset: 1.5rem 1.25rem -1.5rem; }
  .fs-mock__row { grid-template-columns: 3rem minmax(0, 1fr) auto; }

  .fs-mock--lyvor { gap: 1rem; padding: 0 1rem; }
  .fs-mock__card--score { width: 11rem; }
  .fs-mock__card--routine { width: 10rem; }
}

@media (max-width: 480px) {
  .fs-mock__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .fs-mock__stat { padding: 0.625rem; }
  .fs-mock__stat-value { font-size: 1.25rem; }
  .fs-mock__card--routine { display: none; }
  .fs-mock__card--score { width: 13rem; }
}
/* ==========================================================================
   04. PROCESS STRIP
   ========================================================================== */

.fs-process {
  /* Column count comes from the component, so the same strip serves the
     homepage's five stages and the Products page's seven. */
  --fs-process-columns: 5;
  display: grid;
  grid-template-columns: repeat(var(--fs-process-columns), minmax(0, 1fr));
  gap: 1px;
  margin: var(--fs-section-gap) 0 0;
  padding: 0;
  list-style: none;
  background-color: var(--fs-divider);
  border: var(--fs-border-width) solid var(--fs-divider);
}

.fs-process__step {
  display: flex;
  flex-direction: column;
  min-height: 12.5rem;
  padding: 1.625rem 1.375rem;
  background-color: var(--fs-bg);
}

.fs-process__step--invert {
  background-color: var(--fs-dark-bg);
  color: var(--fs-text-on-dark);
}

.fs-process__number { color: var(--fs-fg-muted); font-size: var(--fs-text-mono-lg); }
.fs-process__step--invert .fs-process__number { color: var(--fs-text-on-dark-muted); }

.fs-process__title {
  margin-top: var(--fs-space-2);
  font-size: 1.125rem;
  font-weight: var(--fs-weight-extrabold);
  text-transform: uppercase;
}

.fs-process__step--invert .fs-process__title { color: var(--fs-accent); }

.fs-process__text {
  margin-top: var(--fs-space-2);
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--fs-fg-body);
}

.fs-process__step--invert .fs-process__text { color: var(--fs-text-on-dark-3); }

.fs-process__mark { margin-top: auto; padding-top: var(--fs-space-6); }


/* The mobile board runs the process vertically with a connecting arrow
   between steps; the arrow is a pseudo-element, not extra markup. */
/*
 * The strip goes vertical at 1200 rather than at the nav breakpoint: a
 * seven-stage strip leaves only ~137px per cell at 1024, which is too narrow
 * for a stage title plus its description. The vertical chain is the mobile
 * board's own treatment, so this is the authored layout, not a fallback.
 */
@media (max-width: 1200px) {
  .fs-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    background-color: transparent;
    border: 0;
  }

  .fs-process__step {
    display: grid;
    /* number | title over description | mark */
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--fs-space-3);
    row-gap: var(--fs-space-1);
    min-height: 0;
    padding: var(--fs-space-4);
    border: var(--fs-border-width) solid var(--fs-border);
  }

  .fs-process__step { position: relative; }
  .fs-process__step + .fs-process__step { margin-top: 2rem; }

  /*
   * Anchored to the gap with explicit coordinates. Relying on the static
   * position of an absolutely positioned pseudo-element does not work here:
   * inside a flex or grid container it resolves to the container's alignment
   * point, not to where the arrow needs to sit.
   */
  .fs-process__step + .fs-process__step::before {
    content: '↓';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    line-height: 1;
    color: var(--fs-fg-muted);
  }

  .fs-process__number { grid-column: 1; grid-row: 1; margin: 0; }
  .fs-process__title { grid-column: 2; grid-row: 1; margin: 0; }

  .fs-process__text {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 0.8125rem;
  }

  /* Steps without a description keep the mark vertically centred. */
  .fs-process__mark {
    grid-column: 3;
    grid-row: 1 / -1;
    margin: 0;
    padding: 0;
    width: 1.75rem;
    height: 1.75rem;
  }
}


/* ==========================================================================
   05. FINAL CTA
   ========================================================================== */

.fs-final {
  overflow: hidden;
  padding-block: clamp(4rem, 1rem + 10vw, 10.625rem);
}

.fs-final__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 47.5rem;
  height: auto;
  transform: translate(-10%, -38%);
  opacity: 0.07;
  pointer-events: none;
  color: var(--fs-text-on-dark);
}

.fs-final__inner { text-align: center; }

.fs-final__title { text-transform: uppercase; }

.fs-final__text {
  max-width: 35rem;
  margin: var(--fs-space-6) auto 0;
  font-size: var(--fs-text-lead);
  line-height: 1.6;
  color: var(--fs-fg-body);
}

.fs-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--fs-space-4);
  margin-top: var(--fs-section-gap);
}

@media (max-width: 1023px) {
  /* The mobile board lifts the mark above the headline instead of layering
     it behind. Same element, different placement. */
  .fs-final { display: flex; flex-direction: column; }
  .fs-final__watermark {
    position: static;
    order: -1;
    align-self: center;
    width: min(60vw, 21.25rem);
    transform: none;
    opacity: 0.85;
    margin-bottom: var(--fs-space-8);
  }
}

@media (max-width: 560px) {
  .fs-final__actions { flex-direction: column; align-items: stretch; }
  .fs-final__actions .fs-btn { width: 100%; }
}

/* ==========================================================================
   06. WATERMARK
   An oversized mark bleeding off a section corner. Shared by Agency Partners,
   What's Next and any section that needs the same treatment.
   ========================================================================== */

.fs-watermark {
  position: absolute;
  width: 40rem;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  color: var(--fs-fg);
}

/* Top-right bleed — the default placement. */
.fs-watermark--corner {
  right: -10rem;
  top: -7.5rem;
}

@media (max-width: 1023px) {
  .fs-watermark--corner { width: 26rem; right: -8rem; top: -4rem; }
}

/* ==========================================================================
   07. SPLIT BAND
   Copy in one column, an interface composition or list in the other. Used by
   Products, Product Studio and Agency Partners.
   ========================================================================== */

/* A two-column band: copy on the left, interface composition on the right. */
.fs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 3.75rem);
  /* Top-aligned: the interface column is much taller than the copy column,
     and centring left a large void above the copy. */
  align-items: start;
  margin-top: var(--fs-section-gap);
}

/* A sub-statement inside the copy column needs its own breathing room. */
.fs-split__lead .fs-shift__lead { margin-top: var(--fs-section-gap); }

/* The concept block already opens the column; it needs no extra offset. */
.fs-split__lead > .fs-concept:first-child { margin-top: 0; }

@media (max-width: 1023px) {
  .fs-split { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   08. TECHNOLOGY STACKS
   The capability columns shown on the homepage and Product Studio.
   ========================================================================== */

.fs-stacks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--fs-space-10);
  margin-top: var(--fs-section-gap);
  padding-top: var(--fs-space-8);
  border-top: var(--fs-border-width) solid var(--fs-border);
}

.fs-stacks__label { letter-spacing: var(--fs-tracking-mono); color: var(--fs-fg-muted); }

.fs-stacks__list {
  margin: var(--fs-space-3) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-text-h4);
  font-weight: var(--fs-weight-bold);
  line-height: 1.9;
}

@media (max-width: 1023px) {
  .fs-stacks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fs-space-6); }
}

@media (max-width: 560px) {
  .fs-stacks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   09. ARROW LINK
   An inline forward link with an underline rule; used by cards across pages.
   ========================================================================== */

.fs-start__link {
  display: inline-flex;
  align-items: center;
  gap: var(--fs-space-2);
  font-size: 0.875rem;
  font-weight: var(--fs-weight-bold);
  color: var(--fs-fg);
  border-bottom: var(--fs-border-emphasis) solid var(--fs-accent);
  padding-bottom: 2px;
}

.fs-start__link:hover .fs-btn__arrow,
.fs-start__link:focus-visible .fs-btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   10. TYPE CARDS
   ========================================================================== */

.fs-types__grid { margin-top: var(--fs-section-gap); }

.fs-type { gap: var(--fs-space-3); background-color: transparent; }

.fs-type__title {
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fs-type__text {
  font-size: 0.90625rem;
  line-height: 1.7;
  color: var(--fs-fg-body);
}

/* ==========================================================================
   11. OWNER MINDSET
   ========================================================================== */

.fs-owner__split { margin-top: var(--fs-space-6); }
.fs-owner__title { text-transform: uppercase; }
.fs-owner__text { margin-top: var(--fs-space-5); }
.fs-owner__cta { margin-top: var(--fs-space-8); }

.fs-owner__products {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-3);
}

/* A light card inside a dark section. Painting the ground is not enough: the
   semantic aliases have to flip with it, or --fs-fg is still warm white and
   the product name renders white on white. */
.fs-owner__product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fs-space-4);
  padding: var(--fs-space-5);
  background-color: var(--fs-light-bg);
  border: var(--fs-border-width) solid var(--fs-light-border);

  --fs-bg: var(--fs-light-bg);
  --fs-bg-raised: var(--fs-light-bg);
  --fs-fg: var(--fs-text-on-light);
  --fs-fg-body: var(--fs-text-on-light-2);
  --fs-fg-muted: var(--fs-text-on-light-3);
  --fs-fg-faint: var(--fs-text-on-light-faint);
  --fs-fg-display-2: var(--fs-text-on-light-display);
  --fs-border: var(--fs-light-border);
  --fs-border-strong: var(--fs-light-border);
  --fs-accent-text: var(--fs-accent-ink);
  color: var(--fs-text-on-light);
}

.fs-owner__product-body { display: flex; flex-direction: column; gap: 0.25rem; }

.fs-owner__product-name {
  font-size: var(--fs-text-h4);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fs-fg);
  border-bottom: var(--fs-border-emphasis) solid transparent;
  transition: border-color var(--fs-duration-fast) var(--fs-ease);
}

.fs-owner__product-name:hover,
.fs-owner__product-name:focus-visible { border-bottom-color: var(--fs-accent); color: var(--fs-fg); }

.fs-owner__product-market {
  font-size: 0.84375rem;
  color: var(--fs-fg-muted);
}

/* ==========================================================================
   12. TECHNOLOGY NOTE
   ========================================================================== */

.fs-technology__note { margin-top: var(--fs-section-gap); }

/* ==========================================================================
   13. COMPARE PANELS
   ========================================================================== */

.fs-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-grid-gap);
  margin-top: var(--fs-section-gap);
}

.fs-compare__panel {
  display: flex;
  flex-direction: column;
  padding: var(--fs-space-8);
  border: var(--fs-border-width) solid var(--fs-border);
}

.fs-compare__panel--primary {
  background-color: var(--fs-bg-raised);
  border-color: var(--fs-accent);
}

.fs-compare__title {
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fs-compare__items {
  margin-top: var(--fs-space-5);
  font-size: 0.9375rem;
  font-weight: var(--fs-weight-semibold);
  line-height: 2;
  color: var(--fs-fg-body);
}

.fs-compare__cta { margin-top: auto; padding-top: var(--fs-space-6); }

@media (max-width: 767px) {
  .fs-compare { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   14. FIT PANELS
   ========================================================================== */

.fs-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-grid-gap);
  margin-top: var(--fs-section-gap);
}

.fs-fit__panel {
  padding: var(--fs-space-8);
  border: var(--fs-border-width) solid var(--fs-border);
}

.fs-fit__panel--good { border-left: var(--fs-border-emphasis) solid var(--fs-accent); }
.fs-fit__panel--poor { border-left: var(--fs-border-emphasis) solid var(--fs-status-caution); }

.fs-fit__label { letter-spacing: var(--fs-tracking-mono); color: var(--fs-fg-muted); }
.fs-fit__panel--poor .fs-fit__label { color: var(--fs-status-caution); }

.fs-fit__items {
  margin-top: var(--fs-space-5);
  font-size: 0.9375rem;
  font-weight: var(--fs-weight-semibold);
  line-height: 2;
  color: var(--fs-fg-body);
}

.fs-fit__items--arrowed li {
  position: relative;
  padding-left: var(--fs-space-6);
}

.fs-fit__items--arrowed li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--fs-accent-text);
}

@media (max-width: 767px) {
  .fs-fit__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */

.fs-questions__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 3vw, 3.75rem);
  align-items: start;
}

.fs-questions__header { margin-bottom: 0; }

.fs-faq { border-top: var(--fs-border-emphasis) solid var(--fs-fg); }

.fs-faq__item { border-bottom: var(--fs-border-width) solid var(--fs-border); }

.fs-faq__heading { margin: 0; }

.fs-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fs-space-5);
  width: 100%;
  padding: var(--fs-space-5) 0;
  text-align: left;
  color: var(--fs-fg);
  transition: color var(--fs-duration-fast) var(--fs-ease);
}

.fs-faq__question {
  font-size: var(--fs-text-h4);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: var(--fs-tracking-tight);
  line-height: 1.3;
}

/* The +/− marker is drawn, so it never depends on a font glyph. */
.fs-faq__mark {
  position: relative;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
}

.fs-faq__mark::before,
.fs-faq__mark::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background-color: var(--fs-fg);
  transform: translateY(-50%);
  transition: transform var(--fs-duration) var(--fs-ease);
}

.fs-faq__mark::after { transform: translateY(-50%) rotate(90deg); }

.fs-faq__trigger[aria-expanded='true'] .fs-faq__mark::after { transform: translateY(-50%) rotate(0deg); }

.fs-faq__trigger:hover { color: var(--fs-accent-text); }
.fs-faq__trigger:hover .fs-faq__mark::before,
.fs-faq__trigger:hover .fs-faq__mark::after { background-color: var(--fs-accent-text); }

.fs-faq__panel[hidden] { display: none; }

.fs-faq__answer {
  padding-bottom: var(--fs-space-6);
  max-width: 41.25rem;
  font-size: var(--fs-text-body);
  line-height: var(--fs-leading-body);
  color: var(--fs-fg-body);
}

@media (max-width: 1023px) {
  .fs-questions__inner { grid-template-columns: minmax(0, 1fr); }
  .fs-questions__header { margin-bottom: var(--fs-section-gap); }
}

/* ==========================================================================
   16. ENQUIRY FORM
   ========================================================================== */

.fs-enquiry { overflow: hidden; }
.fs-enquiry__inner { align-items: start; }
.fs-enquiry__title { margin-top: var(--fs-space-6); text-transform: uppercase; }
.fs-enquiry__text { margin-top: var(--fs-space-6); }

.fs-enquiry__note {
  margin-top: var(--fs-space-8);
  max-width: 28rem;
  letter-spacing: 0.1em;
  color: var(--fs-fg-muted);
}

.fs-enquiry__form {
  padding: clamp(1.5rem, 0.8rem + 2.4vw, 2.5rem);
  background-color: var(--fs-dark-bg-raised);
  border: var(--fs-border-width) solid var(--fs-border);
}

.fs-enquiry__form-title {
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: var(--fs-tracking-tight);
  text-transform: uppercase;
}

.fs-enquiry__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-space-4);
  margin-top: var(--fs-space-6);
}

.fs-chips {
  margin: var(--fs-space-6) 0 0;
  padding: 0;
  border: 0;
}

.fs-chips__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2);
  margin-top: var(--fs-space-3);
}

/* Real checkboxes and radios, visually hidden; the label is the chip.
   Colour comes from the section-aware alias, not a dark-ground token: the
   same component now renders on the light enquiry section. */
.fs-chip {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: var(--fs-border-width) solid var(--fs-border-strong);
  font-size: 0.8125rem;
  font-weight: var(--fs-weight-semibold);
  color: var(--fs-fg-body);
  cursor: pointer;
  transition:
    background-color var(--fs-duration-fast) var(--fs-ease),
    border-color var(--fs-duration-fast) var(--fs-ease),
    color var(--fs-duration-fast) var(--fs-ease);
}

.fs-chip:hover { border-color: var(--fs-fg); color: var(--fs-fg); }

.fs-chip__input:checked + .fs-chip {
  background-color: var(--fs-accent);
  border-color: var(--fs-accent);
  color: var(--fs-graphite);
}

.fs-chip__input:focus-visible + .fs-chip {
  outline: var(--fs-border-emphasis) solid var(--fs-accent);
  outline-offset: 3px;
}

.fs-enquiry__form .fs-field { margin-top: var(--fs-space-6); }
.fs-enquiry__fields .fs-field { margin-top: 0; }
.fs-enquiry__form .fs-btn { margin-top: var(--fs-space-6); }

@media (max-width: 560px) {
  .fs-enquiry__fields { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   17. METRIC FIGURES
   The oversized statistic tiles used by the homepage credibility band and the
   Company experience section.
   ========================================================================== */

.fs-metrics { margin-top: var(--fs-section-gap); }

.fs-metric {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 0.6rem + 2vw, 2.25rem) clamp(1rem, 0.5rem + 1.6vw, 2rem)
    clamp(1.5rem, 0.7rem + 2.2vw, 2.5rem);
}

/* The numeral leads visually; the DOM keeps term before description. */
.fs-metric__value {
  order: 1;
  margin: 0;
  font-size: var(--fs-text-metric);
  font-weight: var(--fs-weight-black);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* Word figures ("Global") are several times wider than numerals at the same
   size. They take a reduced step, capped to the cell so they can never reach
   the divider however narrow the column gets. */
.fs-metric__value--word {
  font-size: min(clamp(1.75rem, 0.7rem + 3.7vw, 3.375rem), 20cqw);
}

.fs-metric__label {
  order: 2;
  margin-top: clamp(0.5rem, 0.3rem + 0.6vw, 0.875rem);
  letter-spacing: 0.14em;
  color: var(--fs-fg-muted);
}

/* The fourth cell inverts to graphite — the design's single dark tile in a
   light band. It opts out of the section theme deliberately. */
.fs-metric--invert {
  background-color: var(--fs-dark-bg);
  color: var(--fs-text-on-dark);
}

.fs-metric--invert .fs-metric__label { color: var(--fs-text-on-dark-muted); }

/* ==========================================================================
   18. BREADCRUMBS
   Shared by case studies, insight articles and category archives.
   ========================================================================== */

.fs-breadcrumbs { margin-bottom: var(--fs-space-8); }

.fs-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2);
  font-family: var(--fs-font-mono);
  font-size: var(--fs-text-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-fg-muted);
}

.fs-breadcrumbs__list li + li::before {
  content: '/';
  margin-right: var(--fs-space-2);
  color: var(--fs-fg-faint);
}

.fs-breadcrumbs__list a:hover { color: var(--fs-accent); }

/* ==========================================================================
   19. ARTICLE ROW
   The canonical insight card. The `--card` variant lives in insights.css.
   ========================================================================== */

.fs-article-row {
  position: relative;
  display: grid;
  grid-template-columns: 11.25rem minmax(0, 1fr) 12.5rem;
  gap: var(--fs-space-8);
  align-items: baseline;
  padding: var(--fs-space-8) 0;
  border-bottom: var(--fs-border-width) solid var(--fs-border);
  transition: background-color var(--fs-duration-fast) var(--fs-ease);
}

.fs-article-row:hover { background-color: var(--fs-light-bg); }

.fs-article-row__category { letter-spacing: 0.14em; color: var(--fs-fg-muted); }

.fs-article-row__title {
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: -0.015em;
}

.fs-article-row__summary {
  margin-top: var(--fs-space-2);
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--fs-fg-body);
}

.fs-article-row__meta {
  display: flex;
  gap: var(--fs-space-2);
  justify-content: flex-end;
  letter-spacing: 0.06em;
  color: var(--fs-fg-muted);
}

@media (max-width: 1023px) {
  .fs-article-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--fs-space-3);
    padding: var(--fs-space-6) 0;
  }
  .fs-article-row__meta { justify-content: flex-start; }
  /* Category first, then headline, then date — the mobile reading order. */
  .fs-article-row__category { order: 1; }
  .fs-article-row__main { order: 2; }
  .fs-article-row__meta { order: 3; }
}

/* ==========================================================================
   20. PROJECT GRID + PROJECT CARD
   The canonical work card and its curated grid. Used by /selected-work/, the
   homepage preview and the related-work strip on case studies.
   ========================================================================== */

/* ==========================================================================
   20b. PROJECT CARD
   The rhythm comes from each card's own size, so the composition stays
   editorial as projects are added or reordered.
   ========================================================================== */

.fs-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fs-grid-gap);
  margin-top: var(--fs-section-gap);
}

.fs-work-card--large { grid-column: 1 / -1; }

@media (max-width: 768px) {
  /* One project at a time — the mobile board's own treatment. */
  .fs-projects__grid { grid-template-columns: minmax(0, 1fr); }
}

.fs-work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--fs-light-bg);
  border: var(--fs-border-width) solid var(--fs-border);
  transition: transform var(--fs-duration) var(--fs-ease),
    border-color var(--fs-duration) var(--fs-ease);
}

.fs-work-card.fs-card--interactive:hover,
.fs-work-card.fs-card--interactive:focus-within {
  transform: translateY(-4px);
  border-color: var(--fs-graphite);
}

.fs-work-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--fs-dark-bg);
  /* Reserved before any image loads, so nothing shifts. The approved design
     uses two deliberately different proportions rather than one global crop:
     a shallow band for the paired cards and a wider one for the features. */
  aspect-ratio: 1.9 / 1;
}

.fs-work-card--large .fs-work-card__visual { aspect-ratio: 3 / 1; }

/*
 * Awaiting imagery: the tile is a placeholder, not a reservation for a
 * specific image, so it stays short rather than holding open a full 16:9 void.
 * Adding a featured image restores the true crop above.
 */
.fs-work-card--awaiting .fs-work-card__visual { aspect-ratio: 5 / 2; }
.fs-work-card--large.fs-work-card--awaiting .fs-work-card__visual { aspect-ratio: 32 / 9; }

.fs-work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A second visual — a logo or companion screen — inset on large cards. */
.fs-work-card__inset {
  position: absolute;
  left: var(--fs-space-6);
  bottom: var(--fs-space-6);
  width: clamp(6rem, 12%, 10rem);
  padding: var(--fs-space-3);
  background-color: rgba(11, 13, 14, 0.82);
  border: var(--fs-border-width) solid var(--fs-dark-border);
}

.fs-work-card__inset img { width: 100%; height: auto; }

/*
 * Awaiting imagery: the FULLSTACK mark at low contrast. Deliberately ours and
 * deliberately not a depiction of the client's product — nothing here implies
 * a screenshot. Supplying a featured image replaces it entirely.
 */
.fs-work-card__await {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.fs-work-card__mark {
  width: 22%;
  max-width: 6rem;
  height: auto;
  color: var(--fs-text-on-dark);
  opacity: 0.1;
}

.fs-work-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-3);
  flex: 1;
  padding: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
}

.fs-work-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--fs-space-2) var(--fs-space-4);
}

.fs-work-card__number { color: var(--fs-fg-muted); }

.fs-work-card__title {
  font-size: var(--fs-text-h3);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: var(--fs-tracking-tight);
  text-transform: uppercase;
  line-height: 1.1;
}

.fs-work-card--large .fs-work-card__title { font-size: var(--fs-text-h2-sm); }

.fs-work-card__market {
  /* The approved design sets the industry line hard right on the title's own
     baseline, which is what keeps the card reading as one editorial row. */
  margin-left: auto;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  color: var(--fs-fg-muted);
}

@media (max-width: 560px) {
  .fs-work-card__market { margin-left: 0; text-align: left; }
}

.fs-work-card__descriptor {
  font-size: var(--fs-text-body);
  font-weight: var(--fs-weight-semibold);
  color: var(--fs-fg);
}

.fs-work-card__summary {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--fs-fg-body);
  max-width: 41.25rem;
}

.fs-work-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fs-space-5);
  margin-top: auto;
  padding-top: var(--fs-space-5);
}

/*
 * The case-study link is stretched across the whole card. The outbound link
 * has to sit above that overlay or it would be unclickable — this is the one
 * place the two must not collide.
 */
.fs-work-card__external {
  position: relative;
  z-index: 1;
}

.fs-work-card__case {
  /* Purely the visual affordance; the real link is the stretched title. */
  pointer-events: none;
}

.fs-client-link {
  display: inline-flex;
  align-items: center;
  gap: var(--fs-space-2);
  font-size: 0.875rem;
  font-weight: var(--fs-weight-bold);
  color: var(--fs-fg);
  border-bottom: var(--fs-border-width) solid var(--fs-border-strong);
  padding-bottom: 2px;
  transition: border-color var(--fs-duration-fast) var(--fs-ease),
    color var(--fs-duration-fast) var(--fs-ease);
}

.fs-client-link:hover,
.fs-client-link:focus-visible {
  color: var(--fs-fg);
  border-bottom-color: var(--fs-accent);
}

.fs-client-link:hover .fs-btn__arrow,
.fs-client-link:focus-visible .fs-btn__arrow { transform: translate(3px, -3px); }

/* When the client link is rendered as a button it keeps the button styling. */
.fs-btn.fs-client-link { border-bottom: 0; padding-bottom: 0.8125rem; }

/* ==========================================================================
   21. PEOPLE GRID + DISCIPLINES
   ========================================================================== */

.fs-people__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fs-grid-gap);
  margin-top: var(--fs-section-gap);
}

.fs-people__photo { overflow: hidden; }

.fs-people__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fs-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: var(--fs-section-gap);
  background-color: var(--fs-divider);
  border: var(--fs-border-width) solid var(--fs-divider);
}

.fs-discipline {
  flex: 1 1 8rem;
  padding: var(--fs-space-5);
  background-color: var(--fs-bg);
  letter-spacing: var(--fs-tracking-mono);
  color: var(--fs-fg);
  text-align: center;
}

@media (max-width: 767px) {
  .fs-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   22. PLACE + REACH CHAIN
   ========================================================================== */

.fs-place__title { margin-top: var(--fs-space-6); text-transform: uppercase; }
.fs-place__text { margin-top: var(--fs-space-5); }

.fs-reach {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fs-reach__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fs-space-4);
  padding: var(--fs-space-5);
  border: var(--fs-border-width) solid var(--fs-border);
}

.fs-reach__node + .fs-reach__node { margin-top: 1.75rem; }

.fs-reach__node + .fs-reach__node::before {
  content: '↓';
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.875rem;
  line-height: 1;
  color: var(--fs-fg-muted);
}

.fs-reach__label {
  font-family: var(--fs-font-mono);
  font-size: var(--fs-text-mono-lg);
  font-weight: var(--fs-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fs-reach__node--origin {
  background-color: var(--fs-graphite);
  color: var(--fs-warm-white);
  border-color: var(--fs-graphite);
}

.fs-reach__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fs-space-2);
}

.fs-reach__capabilities li {
  padding: 0.3125rem 0.625rem;
  border: var(--fs-border-width) solid var(--fs-border);
  font-size: 0.78125rem;
  font-weight: var(--fs-weight-semibold);
  color: var(--fs-fg-body);
}

.fs-reach__out { font-size: 1.125rem; color: var(--fs-accent-text); }

/* ==========================================================================
   23. TENET GRID
   ========================================================================== */

.fs-tenets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--fs-section-gap);
  background-color: var(--fs-divider);
  border: var(--fs-border-width) solid var(--fs-divider);
}

.fs-tenet {
  display: flex;
  flex-direction: column;
  gap: var(--fs-space-2);
  padding: var(--fs-space-6) var(--fs-space-5) var(--fs-space-8);
  background-color: var(--fs-bg);
}

.fs-tenet__number { color: var(--fs-fg-muted); }

.fs-tenet__title {
  font-size: var(--fs-text-h4);
  font-weight: var(--fs-weight-extrabold);
  letter-spacing: var(--fs-tracking-tight);
  text-transform: uppercase;
  line-height: 1.25;
}

.fs-tenet__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fs-fg-body);
}

/* Column count follows the item count, so no cell is left empty. */
.fs-tenets--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1023px) {
  .fs-tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-tenets--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .fs-tenets,
  .fs-tenets--three { grid-template-columns: minmax(0, 1fr); }
}
