/* About-only composition and handmade, interactive SVG studies. */
.about-page .about-intro {
  padding: clamp(142px, 12vw, 176px) 0 76px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.about-intro .page-intro__copy { max-width: 880px; margin-inline: auto; }
.about-intro .company-kicker { margin-bottom: 22px; }
.about-intro .page-intro__copy h1 { max-width: none; margin: 0 auto 28px; }
.about-page .about-intro .page-intro__copy > p { max-width: 70ch; margin-inline: auto; text-wrap: pretty; }
.about-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 34px; padding-bottom: 5px; }

/* A solid base and a separate face give the links real press depth. */
.press-button {
  display: inline-block;
  min-width: 164px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--editorial-muted) 65%, var(--paper));
  box-shadow: 0 8px 15px -9px color-mix(in srgb, var(--editorial-ink) 28%, transparent);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.press-button > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid color-mix(in srgb, var(--editorial-muted) 32%, var(--paper));
  border-radius: inherit;
  background: var(--surface);
  color: var(--editorial-ink);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--surface) 70%, white);
  font-size: var(--fs-link);
  font-weight: 600;
  line-height: 1.4;
  transform: translateY(-4px);
  transition: transform 160ms ease, background-color 160ms ease;
}
.press-button--primary { background: color-mix(in srgb, var(--editorial-ink) 85%, black); }
.press-button--primary > span {
  border-color: color-mix(in srgb, var(--editorial-ink) 80%, var(--paper));
  background: var(--editorial-ink);
  color: var(--paper);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--editorial-ink) 76%, var(--paper));
}
@media (hover: hover) {
  .press-button:hover > span { transform: translateY(-6px); }
}
.press-button:focus-visible > span { transform: translateY(-6px); }
.press-button:active > span { transform: translateY(-1px); }

/* How we work: three phases along a spine that fills as the reader scrolls. A single soft panel
   glides to the phase in focus; its tile darkens and its node lights. */
.about-page .about-work { padding-block: 76px 96px; }
.about-work {
  --sig: #2c63b0;
  --sig-soft: color-mix(in srgb, var(--sig) 14%, transparent);
  --spine: 120px;
  --ease-glide: cubic-bezier(.16, 1, .3, 1);
}
html[data-site-theme="dark"] .about-work { --sig: #8fb8ec; }

.process-head { max-width: 620px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; }
.process-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 6px 13px 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--editorial-muted);
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.process-kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px var(--sig-soft); }
.process-head h2 { margin: 0; }
body.about-page .process-intro { max-width: 46ch; margin: 16px auto 0; color: var(--editorial-muted); font-size: var(--fs-small); line-height: 1.65; text-wrap: balance; }

.process { position: relative; isolation: isolate; max-width: 1000px; margin-inline: auto; }

/* The panel that follows the phase in focus. */
.process__band {
  position: absolute;
  top: 0;
  right: -28px;
  left: -28px;
  z-index: 0;
  height: var(--band-h, 0px);
  border-radius: 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, white), var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rule) 75%, transparent), 0 30px 60px -44px color-mix(in srgb, var(--editorial-ink) 60%, transparent);
  opacity: var(--band-o, 0);
  transform: translateY(var(--band-y, 0px));
  pointer-events: none;
}
.process.is-ready .process__band { transition: transform 700ms var(--ease-glide), height 700ms var(--ease-glide), opacity 400ms ease; }
html[data-site-theme="dark"] .process__band { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule), 0 30px 60px -40px rgba(0, 0, 0, .6); }

.process__track {
  position: absolute;
  top: var(--spine-top, 60px);
  bottom: var(--spine-bottom, 60px);
  left: 50%;
  z-index: 1;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--rule);
  pointer-events: none;
}
.process__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sig) 35%, transparent), var(--sig));
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}
.process__tip {
  position: absolute;
  top: calc(var(--fill, 0) * 100%);
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--sig);
  box-shadow: 0 0 14px 3px color-mix(in srgb, var(--sig) 50%, transparent);
  opacity: var(--tip, 0);
  transition: opacity 300ms ease;
}

.process__stages { position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; }
.process-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--spine) minmax(0, 1fr);
  grid-template-areas: "mark node copy";
  align-items: center;
  min-height: 176px;
  padding: 36px 0;
}
.process-stage:nth-child(even) { grid-template-areas: "copy node mark"; }

.process-node {
  grid-area: node;
  justify-self: center;
  position: relative;
  z-index: 3;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 1.5px solid color-mix(in srgb, var(--editorial-ink) 22%, var(--rule));
  border-radius: 50%;
  background: var(--paper);
  transition: border-color 400ms ease, background-color 400ms ease, box-shadow 400ms ease, scale 400ms var(--ease-glide);
}
.process-stage.is-reached .process-node { border-color: var(--sig); background: var(--sig); }
.process-stage.is-active .process-node {
  scale: 1.25;
  background: radial-gradient(circle, #fff 0 2px, var(--sig) 2.5px);
  box-shadow: 0 0 0 5px var(--sig-soft), 0 0 22px 4px color-mix(in srgb, var(--sig) 38%, transparent);
}

/* Mark: a large quiet numeral, the icon tile and its index, gathered toward the spine. */
.process-mark {
  grid-area: mark;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 6px;
}
.process-stage:nth-child(even) .process-mark { justify-self: start; flex-direction: row-reverse; padding: 0 0 0 6px; }
.process-ghost {
  margin-right: 10px;
  color: color-mix(in srgb, var(--editorial-ink) 7%, transparent);
  font: 600 clamp(4.2rem, 7vw, 6.4rem)/.8 var(--font-sans);
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  transition: color 500ms ease;
  user-select: none;
}
.process-stage:nth-child(even) .process-ghost { margin: 0 0 0 10px; }
.process-stage.is-active .process-ghost { color: color-mix(in srgb, var(--sig) 16%, transparent); }
.process-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, white), var(--surface));
  color: var(--editorial-ink);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 80%, transparent), 0 14px 26px -18px color-mix(in srgb, var(--editorial-ink) 70%, transparent);
  transition: background 500ms ease, color 500ms ease, border-color 500ms ease, box-shadow 500ms ease, translate 500ms var(--ease-glide);
}
.process-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.process-stage.is-active .process-icon {
  border-color: transparent;
  background: linear-gradient(155deg, #28476a, #0b1f31);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 30px -14px rgba(7, 26, 61, .6);
  translate: 0 -2px;
}
html[data-site-theme="dark"] .process-icon { background: color-mix(in srgb, var(--surface) 70%, #2c4a5e); box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .7); }
html[data-site-theme="dark"] .process-stage.is-active .process-icon { background: linear-gradient(155deg, #4f86c6, #2a5b93); }
.process-no {
  padding: 5px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--editorial-muted);
  font: 600 11px/1 var(--font-sans);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  transition: color 400ms ease, border-color 400ms ease;
}
.process-stage.is-active .process-no { border-color: color-mix(in srgb, var(--sig) 40%, var(--rule)); color: var(--sig); }
/* Desktop shows the large numeral; narrower screens hide it and keep the compact index. */
@media (min-width: 981px) { .process-no { display: none; } }

/* Copy faces the spine. */
.process-copy { grid-area: copy; justify-self: start; max-width: 380px; padding-left: 6px; }
.process-stage:nth-child(even) .process-copy { justify-self: end; padding: 0 6px 0 0; text-align: right; }
body.about-page .process-phase { margin: 0 0 10px; color: var(--sig); font: 600 11px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; }
.process-copy h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: var(--weight-heading, 600); line-height: 1.2; letter-spacing: -.025em; }
body.about-page .process-text { margin: 0; color: var(--editorial-muted); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.process-stage:not(.is-active) .process-copy { opacity: 1; transition: opacity 500ms ease; }
.process-stage.is-active .process-copy { opacity: 1; transition: opacity 500ms ease; }

.process-cta { margin: clamp(36px, 4vw, 52px) 0 0; text-align: center; }
.process-cta .editorial-text-link { margin: 0; }

/* Arrival: each phase rises in as it reaches the reader. */
@media (prefers-reduced-motion: no-preference) {
  .about-intro .page-intro__copy { animation: about-arrive 650ms ease-out both; }
  .process.is-armed .process-stage:not(.is-in) :is(.process-mark, .process-copy) { opacity: 0; translate: 0 22px; }
  .process.is-armed .process-stage :is(.process-mark, .process-copy) { transition: opacity 800ms var(--ease-glide), translate 800ms var(--ease-glide); }
  .process.is-armed .process-stage .process-copy { transition-delay: 90ms; }
}
@keyframes about-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .about-work { --spine: 84px; }
  .process-ghost { display: none; }
}
@media (max-width: 760px) {
  .about-page .about-intro { padding: 126px 0 50px; }
  .about-page .about-intro .page-intro__copy > p { max-width: 56ch; }
  .about-intro .page-intro__copy h1 { margin-bottom: 24px; }
  .about-actions { gap: 14px; margin-top: 30px; }
  .press-button { min-width: 145px; }
  .press-button > span { padding-inline: 16px; }
  .about-page .about-work { padding-block: 52px 64px; }

  /* One column: the spine runs down the left and each phase hangs from its node. */
  .about-work { --spine: 44px; }
  .process__band { right: -10px; left: -10px; border-radius: 22px; }
  .process__track { left: calc(var(--spine) / 2); }
  .process-stage,
  .process-stage:nth-child(even) {
    grid-template-columns: var(--spine) minmax(0, 1fr);
    grid-template-areas: "node mark" ". copy";
    align-items: start;
    min-height: 0;
    padding: 24px 12px 26px 0;
  }
  .process-node { margin-top: 25px; }
  .process-mark,
  .process-stage:nth-child(even) .process-mark { justify-self: start; flex-direction: row; gap: 12px; padding: 0; }
  .process-icon { width: 56px; height: 56px; border-radius: 18px; }
  .process-copy,
  .process-stage:nth-child(even) .process-copy { justify-self: start; max-width: none; margin-top: 16px; padding: 0; text-align: left; }
  body.about-page .process-phase { margin-right: -22px; }
}
@media (max-width: 360px) {
  .about-actions { flex-direction: column; align-items: center; gap: 17px; }
  .press-button { min-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .about-intro *, .about-page .about-work *, .about-page .about-work *::before, .about-page .about-work *::after { animation: none !important; transition: none !important; }
}

/* Each phase keeps its open text, with the phase name running up a navy strip on its outer edge:
   right-hand phases carry it on the right, left-hand phases on the left. */
.process-copy,
.process-stage:nth-child(even) .process-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-areas: "body strip";
  align-items: stretch;
  column-gap: 22px;
  max-width: 440px;
}
.process-stage:nth-child(even) .process-copy { grid-template-columns: 34px minmax(0, 1fr); grid-template-areas: "strip body"; }
.process-body { grid-area: body; padding: 6px 0; }
body.about-page .process-phase {
  grid-area: strip;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #1d3a55, #0b1f31);
  box-shadow: 0 12px 24px -16px rgba(7, 26, 61, .7);
  color: #fff;
  font: 600 10.5px/1 var(--font-sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.process-stage:nth-child(odd) .process-phase { transform: rotate(180deg); }
html[data-site-theme="dark"] body.about-page .process-phase { background: linear-gradient(180deg, #34608f, #1f4470); }
.process-stage:not(.is-active) .process-body { opacity: .72; }
.process-stage .process-body { transition: opacity 500ms ease; }
.process-mark { padding: 0 20px; }
@media (max-width: 980px) { .process-mark { display: none; } }
@media (max-width: 760px) {
  .process-stage, .process-stage:nth-child(even) { grid-template-areas: "node copy"; }
  .process-node { margin-top: 0; align-self: center; }
  .process-copy,
  .process-stage:nth-child(even) .process-copy { grid-template-columns: minmax(0, 1fr) 30px; grid-template-areas: "body strip"; column-gap: 16px; margin-top: 0; text-align: left; }
  .process-stage .process-phase { transform: rotate(180deg); }
}
