/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   C11 HEADER. Wordmark is a replaceable identity slot.
   -------------------------------------------------------------------------- */
.w-header {
  position: sticky; top: 0;
  z-index: var(--w-z-header);
  background: var(--surface-bg);
  color: var(--surface-fg);
  border-bottom: var(--w-hair) solid transparent;
  transition: border-color var(--w-d-base) var(--w-e-std);
}
.w-header.is-scrolled { border-bottom-color: var(--surface-line); }
.w-header__in {
  height: var(--w-header);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--w-s-lg);
}

/* ===== IDENTITY SLOT. Replace the span with the official mark when supplied.
   Sizing is driven by font-size alone, so nothing else changes. ===== */
.w-logo { display: inline-flex; align-items: center; padding-block: var(--w-s-2xs); }
.w-logo__type {
  font-family: var(--w-font);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: var(--w-w-semi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: -0.22em;
}
.w-logo__dot { color: var(--surface-signal); }

.w-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 40px); }
.w-nav__link {
  position: relative;
  font-family: var(--w-mono);
  font-size: var(--w-t-label);
  font-weight: var(--w-w-med);
  letter-spacing: var(--w-tr-label);
  text-transform: uppercase;
  line-height: 1;
  padding-block: 10px;
  white-space: nowrap;
}
.w-nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px;
  height: var(--w-hair); background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--w-d-base) var(--w-e-std);
}
.w-nav__link:hover::after, .w-nav__link:focus-visible::after { transform: scaleX(1); }
.w-nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--surface-signal); }

.w-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: flex-end; margin-right: -8px; }
.w-burger__b { display: block; width: 22px; height: 9px; position: relative; }
.w-burger__b::before, .w-burger__b::after {
  content: ''; position: absolute; left: 0; right: 0; height: var(--w-hair);
  background: currentColor; transition: transform var(--w-d-base) var(--w-e-std);
}
.w-burger__b::before { top: 0; } .w-burger__b::after { bottom: 0; }
body.menu-open .w-burger__b::before { transform: translateY(4px) rotate(45deg); }
body.menu-open .w-burger__b::after  { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) { .w-nav { display: none; } .w-burger { display: flex; } }

/* Mobile overlay */
.w-menu {
  --surface-bg: var(--w-ink); --surface-fg: var(--w-paper);
  --surface-mute: var(--w-slate-i); --surface-line: var(--w-line-i);
  --surface-signal: var(--w-signal-i);
  position: fixed; inset: 0; z-index: var(--w-z-menu);
  background: var(--w-ink); color: var(--w-paper);
  padding-top: var(--w-header);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity var(--w-d-base) var(--w-e-std), visibility 0s linear var(--w-d-base);
}
body.menu-open .w-menu { opacity: 1; visibility: visible; transition: opacity var(--w-d-base) var(--w-e-std), visibility 0s; }
body.menu-open { overflow: hidden; }
body.menu-open .w-header {
  --surface-bg: var(--w-ink); --surface-fg: var(--w-paper);
  --surface-line: var(--w-line-i); --surface-signal: var(--w-signal-i);
  border-bottom-color: transparent;
}
.w-menu__in { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-block: var(--w-s-2xl) var(--w-s-xl); overflow-y: auto; }
.w-menu__link {
  display: block; padding-block: var(--w-s-xs);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: var(--w-w-semi); letter-spacing: var(--w-tr-head); line-height: 1.12;
}
.w-menu__foot { display: grid; gap: var(--w-s-sm); }

/* --------------------------------------------------------------------------
   C01 SECTION HEAD
   -------------------------------------------------------------------------- */
.w-head { display: flex; align-items: baseline; gap: var(--w-s-md); margin-bottom: clamp(36px, 4vw, 64px); }
.w-head__rule { flex: 1; height: var(--w-hair); background: var(--surface-line); }

/* --------------------------------------------------------------------------
   C03 INDEXED LIST. Replaces card grids everywhere.
   -------------------------------------------------------------------------- */
.w-index { border-top: var(--w-hair) solid var(--surface-line); }
.w-index__row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.15fr) auto;
  column-gap: var(--w-gutter);
  align-items: start;
  padding-block: clamp(24px, 2.4vw, 40px);
  border-bottom: var(--w-hair) solid var(--surface-line);
  position: relative;
  transition: padding-left var(--w-d-base) var(--w-e-std);
}
a.w-index__row { color: inherit; }
a.w-index__row::before {
  content: ''; position: absolute; left: 0; top: -1px; right: 0; height: var(--w-hair);
  background: var(--surface-signal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--w-d-slow) var(--w-e-std);
}
a.w-index__row:hover::before, a.w-index__row:focus-visible::before { transform: scaleX(1); }
a.w-index__row:hover { padding-left: var(--w-s-sm); }
.w-index__n { padding-top: .3em; }
.w-index__t { font-size: var(--w-t-h3); font-weight: var(--w-w-med); letter-spacing: -0.012em; line-height: 1.2; }
.w-index__d { color: var(--surface-mute); font-size: var(--w-t-body); line-height: 1.55; max-width: 46ch; }
.w-index__m { text-align: right; padding-top: .35em; font-family: var(--w-mono); font-size: var(--w-t-label); letter-spacing: 0.06em; color: var(--surface-mute); }
.w-index--flush { border-top: 0; }

@media (max-width: 860px) {
  .w-index__row { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: var(--w-s-xs); }
  .w-index__d, .w-index__m { grid-column: 2; text-align: left; }
  a.w-index__row:hover { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   C05 THE FIELD and C06 THE ROUTE. The signature system.
   The field is everything happening. The route is one legitimate way through.
   -------------------------------------------------------------------------- */
.w-gfx { display: block; width: 100%; height: auto; }
.w-gfx .field-mark { fill: var(--surface-field); }
.w-gfx .route {
  fill: none;
  stroke: var(--surface-signal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.w-gfx .route-node { fill: var(--surface-signal); }
.w-gfx .route-open { fill: var(--surface-bg); stroke: var(--surface-signal); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* The one signature motion: the route draws itself. */
.js .w-gfx .route {
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
  transition: stroke-dashoffset var(--w-d-draw) var(--w-e-out);
  transition-delay: var(--draw-delay, 0ms);
}
.js .w-gfx.is-in .route { stroke-dashoffset: 0; }
.js .w-gfx .route-node, .js .w-gfx .route-open {
  opacity: 0; transition: opacity var(--w-d-base) var(--w-e-std);
  transition-delay: var(--node-delay, 600ms);
}
.js .w-gfx.is-in .route-node, .js .w-gfx.is-in .route-open { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .w-gfx .route { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .w-gfx .route-node, .js .w-gfx .route-open { opacity: 1 !important; transition: none !important; }
}

/* Hero field */
.w-hero { background: var(--surface-bg); color: var(--surface-fg); position: relative; overflow: hidden; }
.w-hero__in { position: relative; z-index: 2; min-height: calc(64svh - var(--w-header)); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(34px, 3.6vw, 60px) clamp(26px, 2.8vw, 44px); }
.w-hero__field { position: absolute; right: 1%; top: 50%; transform: translateY(-48%); width: min(42vw, 560px); z-index: 1; pointer-events: none; }
/* Each sentence holds its own row. No max-width on desktop, or the second
   sentence wraps and the line stops working. */
.w-hero__h { max-width: none; }
.w-hero__h span { display: block; }
.w-hero__p { margin-top: clamp(24px, 2.6vw, 40px); }
.w-hero__cta { margin-top: clamp(32px, 3.6vw, 56px); display: flex; flex-wrap: wrap; gap: var(--w-s-md) var(--w-s-xl); align-items: center; }
.w-hero__foot { margin-top: auto; padding-top: clamp(32px, 4vw, 64px); border-top: var(--w-hair) solid var(--surface-line); display: flex; justify-content: space-between; gap: var(--w-s-md); flex-wrap: wrap; }
@media (max-width: 900px) {
  .w-hero__field { width: 118vw; right: -34vw; top: auto; bottom: -14vh; transform: none; opacity: .5; }
  .w-hero__h { max-width: 12ch; }
}

/* --------------------------------------------------------------------------
   ACTIONS. No filled pills.
   -------------------------------------------------------------------------- */
.w-btn {
  min-height: 44px;   /* accessible target, all breakpoints */
  display: inline-flex; align-items: center; gap: .75em;
  padding: 1em 1.6em;
  border: var(--w-hair) solid var(--surface-fg);
  font-family: var(--w-mono); font-size: var(--w-t-label); font-weight: var(--w-w-med);
  letter-spacing: var(--w-tr-label); text-transform: uppercase; line-height: 1;
  transition: background-color var(--w-d-base) var(--w-e-std), color var(--w-d-base) var(--w-e-std);
}
.w-btn:hover, .w-btn:focus-visible { background: var(--surface-fg); color: var(--surface-bg); }
.w-btn__a { transition: transform var(--w-d-base) var(--w-e-std); }
.w-btn:hover .w-btn__a { transform: translateX(4px); }

.w-link {
  display: inline-block; position: relative;
  font-family: var(--w-mono); font-size: var(--w-t-label); font-weight: var(--w-w-med);
  letter-spacing: var(--w-tr-label); text-transform: uppercase; line-height: 1;
  padding-block: 8px 9px;
  border-bottom: var(--w-hair) solid var(--surface-line);
}
.w-link::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: var(--w-hair);
  background: var(--surface-signal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--w-d-base) var(--w-e-std);
}
.w-link:hover::after, .w-link:focus-visible::after { transform: scaleX(1); }
.w-link__a { display: inline-block; margin-left: .6em; transition: transform var(--w-d-base) var(--w-e-std); }
.w-link:hover .w-link__a { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   C02 STATEMENT
   -------------------------------------------------------------------------- */
.w-statement { max-width: 18ch; }
.w-statement__note { margin-top: clamp(28px, 3.4vw, 56px); max-width: 46ch; }

/* --------------------------------------------------------------------------
   C06 ROUTE DIAGRAM. The Way In.
   -------------------------------------------------------------------------- */
.w-way { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--w-gutter); align-items: start; }
.w-way__gfx { grid-column: 1 / span 5; position: sticky; top: calc(var(--w-header) + 32px); display: flex; justify-content: center; }
.w-way__list { grid-column: 7 / span 6; }
.w-way__step { padding-block: clamp(14px, 1.5vw, 22px); border-bottom: var(--w-hair) solid var(--surface-line); display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--w-gutter); align-items: start; }
.w-way__step:first-child { border-top: var(--w-hair) solid var(--surface-line); }
.w-way__t { font-size: var(--w-t-h3); font-weight: var(--w-w-med); letter-spacing: -0.012em; }
.w-way__d { margin-top: var(--w-s-2xs); color: var(--surface-mute); font-size: var(--w-t-body); max-width: 42ch; }
.w-way__loop { margin-top: var(--w-s-lg); display: flex; gap: var(--w-s-sm); align-items: baseline; }
@media (max-width: 1000px) {
  .w-way__gfx { grid-column: 1 / -1; position: static; max-width: 380px; margin-bottom: var(--w-s-xl); }
  .w-way__list { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   C07 GROUPS. Who we work with.
   -------------------------------------------------------------------------- */
.w-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--w-gutter); border-top: var(--w-hair) solid var(--surface-line); }
.w-group { padding-block: clamp(24px, 2.6vw, 40px); border-bottom: var(--w-hair) solid var(--surface-line); }
.w-group__t { font-size: var(--w-t-h3); font-weight: var(--w-w-med); margin-top: var(--w-s-sm); }
.w-group__d { margin-top: var(--w-s-2xs); color: var(--surface-mute); font-size: var(--w-t-body); max-width: 40ch; }
@media (max-width: 760px) { .w-groups { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   C08 CASE STRUCTURE
   -------------------------------------------------------------------------- */
.w-case { border-left: var(--w-hair) solid var(--surface-line); padding-left: clamp(20px, 3vw, 48px); }
.w-case__row { position: relative; padding-block: clamp(18px, 2vw, 30px); }
.w-case__row::before {
  content: ''; position: absolute; left: calc(clamp(20px, 3vw, 48px) * -1 - 4px);
  top: calc(clamp(18px, 2vw, 30px) + .45em);
  width: 7px; height: 7px; background: var(--surface-signal);
}
.w-case__t { font-size: var(--w-t-h3); font-weight: var(--w-w-med); }
.w-case__d { margin-top: 4px; color: var(--surface-mute); max-width: 52ch; }

/* --------------------------------------------------------------------------
   C09 CALL TO ACTION
   -------------------------------------------------------------------------- */
.w-cta { position: relative; overflow: hidden; }
.w-cta__in { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--w-gutter); row-gap: var(--w-s-xl); align-items: end; position: relative; z-index: 2; }
.w-cta__t { grid-column: 1 / span 7; }
.w-cta__a { grid-column: 9 / span 4; justify-self: end; }
.w-cta__field { position: absolute; right: 3%; bottom: -14%; width: min(26vw, 330px); z-index: 1; pointer-events: none; opacity: .85; }
@media (max-width: 900px) {
  .w-cta__t, .w-cta__a { grid-column: 1 / -1; justify-self: start; }
  .w-cta__field { width: 74vw; right: -22vw; bottom: -8%; opacity: .5; }
}

/* --------------------------------------------------------------------------
   C10 FORM. Labelled, underlined, no boxes.
   -------------------------------------------------------------------------- */
.w-form { display: grid; gap: var(--w-s-xl); max-width: 640px; }
.w-field { display: grid; gap: var(--w-s-2xs); }
.w-input, .w-textarea, .w-select {
  width: 100%; background: transparent; border: 0;
  border-bottom: var(--w-hair) solid var(--surface-line);
  border-radius: var(--w-radius);
  padding: var(--w-s-xs) 0;
  font-size: var(--w-t-lead); font-weight: var(--w-w-light);
  color: var(--surface-fg);
  transition: border-color var(--w-d-fast) var(--w-e-std);
}
.w-input:hover, .w-textarea:hover, .w-select:hover { border-bottom-color: var(--surface-fg); }
.w-input:focus-visible, .w-textarea:focus-visible, .w-select:focus-visible {
  border-bottom-color: var(--surface-signal);
  outline: 2px solid var(--surface-signal); outline-offset: 6px;
}
.w-textarea { resize: vertical; min-height: 7em; line-height: 1.5; }
.w-select { appearance: none; cursor: pointer; padding-right: 2em; }
.w-select-wrap { position: relative; }
.w-select-wrap::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px;
  border-right: var(--w-hair) solid var(--surface-fg); border-bottom: var(--w-hair) solid var(--surface-fg);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.w-form__note { font-size: var(--w-t-small); color: var(--surface-mute); max-width: 48ch; }
.w-form__ok { font-size: var(--w-t-lead); font-weight: var(--w-w-light); margin-top: var(--w-s-md); }
/* The reply reads as text, not as an alert box. Colour carries the outcome. */
.w-form__ok[data-state="fail"] { color: var(--surface-signal); }
.w-btn[disabled] { opacity: .55; cursor: default; }
.w-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.w-routes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--w-gutter); border-top: var(--w-hair) solid var(--surface-line); }
.w-route { padding-block: clamp(20px, 2.2vw, 32px); border-bottom: var(--w-hair) solid var(--surface-line); }
.w-route__d { margin-top: var(--w-s-2xs); color: var(--surface-mute); font-size: var(--w-t-body); }
@media (max-width: 760px) { .w-routes { grid-template-columns: 1fr; } }

.w-mail { font-size: var(--w-t-lead); font-weight: var(--w-w-light); border-bottom: var(--w-hair) solid var(--surface-line); padding-bottom: 3px; display: inline-block; overflow-wrap: anywhere; transition: border-color var(--w-d-fast); }
.w-mail:hover, .w-mail:focus-visible { border-bottom-color: var(--surface-signal); }

/* --------------------------------------------------------------------------
   C12 FOOTER
   -------------------------------------------------------------------------- */
.w-footer { background: var(--w-ink); color: var(--w-paper); padding-block: clamp(34px, 3.4vw, 56px) var(--w-s-lg); }
.w-footer__top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--w-gutter); row-gap: var(--w-s-lg); padding-bottom: clamp(24px, 2.6vw, 44px); }
.w-footer__brand { grid-column: 1 / span 4; }
.w-footer__col { grid-column: span 2; }
.w-footer__col:nth-of-type(2) { grid-column: 7 / span 3; }
.w-footer__col:nth-of-type(3) { grid-column: 10 / span 3; }
.w-footer__h { margin-bottom: var(--w-s-md); }
.w-footer__list > li + li { margin-top: 2px; }
.w-footer__link { display: inline-block; padding-block: 5px; font-size: var(--w-t-body); color: var(--w-slate-i); transition: color var(--w-d-fast); }
.w-footer__link:hover, .w-footer__link:focus-visible { color: var(--w-paper); }
.w-footer__bot { border-top: var(--w-hair) solid var(--w-line-i); padding-top: var(--w-s-md); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--w-s-sm) var(--w-s-lg); color: var(--w-slate-i); font-size: var(--w-t-small); }
.w-footer__legal { display: flex; flex-wrap: wrap; gap: var(--w-s-md); }
@media (max-width: 900px) {
  .w-footer__brand { grid-column: 1 / -1; }
  .w-footer__col, .w-footer__col:nth-of-type(2), .w-footer__col:nth-of-type(3) { grid-column: span 6; }
}
@media (max-width: 560px) {
  .w-footer__col, .w-footer__col:nth-of-type(2), .w-footer__col:nth-of-type(3) { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   LONG FORM
   -------------------------------------------------------------------------- */
.w-prose { max-width: var(--w-measure); }
.w-prose h2 { margin-top: clamp(36px, 4vw, 60px); margin-bottom: var(--w-s-md); }
.w-prose p + p { margin-top: 1.1em; }

/* Way In diagram labels */
.w-gfx--way { max-width: 420px; width: 100%; margin-inline: auto; }
.w-gfx .way-n {
  font-family: var(--w-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; fill: var(--surface-mute);
}
.js .w-gfx .way-n { opacity: 0; transition: opacity var(--w-d-base) var(--w-e-std); transition-delay: 700ms; }
.js .w-gfx.is-in .way-n { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .w-gfx .way-n { opacity: 1 !important; } }

/* The feedback loop stays dashed. CSS beats the presentation attribute, so it
   is excluded from the draw animation and fades in after the route completes. */
.w-gfx .route--loop { stroke-dasharray: 3 7 !important; stroke-dashoffset: 0 !important; }
.js .w-gfx .route--loop { opacity: 0; transition: opacity var(--w-d-slow) var(--w-e-std); transition-delay: 1400ms; }
.js .w-gfx.is-in .route--loop { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .js .w-gfx .route--loop { opacity: .5 !important; } }

/* --------------------------------------------------------------------------
   CAPABILITY BLOCKS
   -------------------------------------------------------------------------- */
.w-cap__h { margin-top: var(--w-s-sm); }
.w-cap__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--w-gutter); margin-top: var(--w-s-md); border-top: var(--w-hair) solid var(--surface-line); }
.w-cap__item { padding-block: 11px; border-bottom: var(--w-hair) solid var(--surface-line); font-family: var(--w-mono); font-size: var(--w-t-small); color: var(--surface-mute); }
@media (max-width: 640px) { .w-cap__list { grid-template-columns: 1fr; } }

/* Inline link inside running text. Must read as a link without colour alone. */
.w-inline {
  /* inline-block so the link box can meet the 24px minimum target size.
     An inline box takes its height from the font and ignores line-height. */
  display: inline-block;
  border-bottom: var(--w-hair) solid var(--surface-signal);
  padding-block: 2px 3px;
}
.w-inline:hover, .w-inline:focus-visible { border-bottom-width: 2px; }


/* ==========================================================================
   REVISION 3 COMPONENTS. Built for the real WKAW content.
   ========================================================================== */

/* Coordinates above the hero. The company is two places, stated as data. */
.w-coord { color: var(--surface-mute); margin-bottom: var(--w-s-lg); }

/* --------------------------------------------------------------------------
   THE GAP. Say versus do. The whole argument in one component.
   -------------------------------------------------------------------------- */
.w-gap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--w-gutter);
}
.w-gap__t { margin-top: var(--w-s-sm); }
.w-gap__side:last-child { text-align: right; }
.w-gap__mid { display: flex; align-items: center; justify-content: center; padding-inline: var(--w-s-md); }
.w-gap__rule {
  display: block; width: clamp(40px, 12vw, 200px); height: var(--w-hair);
  background: var(--surface-signal);
}
.w-gap__note { margin-top: clamp(32px, 4vw, 56px); max-width: 46ch; }
@media (max-width: 760px) {
  .w-gap { grid-template-columns: 1fr; gap: var(--w-s-lg); }
  .w-gap__side:last-child { text-align: left; }
  .w-gap__mid { justify-content: flex-start; padding-inline: 0; }
  .w-gap__rule { width: 64px; }
}

/* --------------------------------------------------------------------------
   FIGURES. Homepage work. The number carries the case.
   -------------------------------------------------------------------------- */
.w-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--w-gutter);
  border-top: var(--w-hair) solid var(--surface-line);
}
.w-fig {
  display: block;
  padding-top: clamp(24px, 2.6vw, 40px);
  padding-bottom: clamp(24px, 2.6vw, 40px);
  border-bottom: var(--w-hair) solid var(--surface-line);
  position: relative;
  transition: padding-left var(--w-d-base) var(--w-e-std);
}
.w-fig::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: var(--w-hair);
  background: var(--surface-signal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--w-d-slow) var(--w-e-std);
}
.w-fig:hover::before, .w-fig:focus-visible::before { transform: scaleX(1); }
.w-fig:hover { padding-left: var(--w-s-sm); }
.w-fig__n {
  display: block;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: var(--w-w-semi);
  letter-spacing: var(--w-tr-display);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--surface-signal);
}
.w-fig__m { margin-top: var(--w-s-sm); }
.w-fig__d {
  display: block; margin-top: var(--w-s-md);
  color: var(--surface-mute); font-size: var(--w-t-body); line-height: 1.55;
}
@media (max-width: 860px) {
  .w-figs { grid-template-columns: 1fr; gap: 0; }
  .w-fig:hover { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   PLACES. Coordinates as a first class object, not a footnote.
   -------------------------------------------------------------------------- */
.w-places { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--w-gutter); }
.w-places--stack, .w-places { row-gap: var(--w-s-xl); }
.w-places--stack { grid-template-columns: 1fr; row-gap: var(--w-s-lg); }
.w-place { border-top: var(--w-hair) solid var(--surface-line); padding-top: var(--w-s-md); }
.w-place__c { color: var(--surface-signal); }
.w-place__n { font-size: var(--w-t-h3); font-weight: var(--w-w-med); margin-top: var(--w-s-sm); letter-spacing: -0.012em; }
.w-place__d { color: var(--surface-mute); font-size: var(--w-t-body); }
@media (max-width: 700px) { .w-places { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CASE. Work page. The number is the headline.
   -------------------------------------------------------------------------- */
.w-case__n {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: var(--w-w-semi);
  letter-spacing: var(--w-tr-display);
  line-height: .95;
  font-variant-numeric: tabular-nums;
  color: var(--surface-signal);
}
.w-case__m { margin-top: var(--w-s-md); }
.w-case__s { margin-top: var(--w-s-2xs); color: var(--surface-mute); }

/* Method detail line, shown on the method page only. */
.w-way__x { margin-top: var(--w-s-sm); color: var(--surface-mute); font-size: var(--w-t-body); line-height: 1.55; max-width: 52ch; }

/* Footer coordinates */
.w-footer__place { display: grid; gap: 2px; margin-bottom: var(--w-s-md); color: var(--w-slate-i); font-size: var(--w-t-small); }
.w-footer__place .w-num { color: var(--surface-signal); }

/* ---------- EVIDENCE ROWS ------------------------------------------------
   Capability evidence, used where a verified case does not exist. It is
   deliberately not shaped like a case study, so it can never read as one. */
.w-evidence { margin-top: var(--w-s-lg); border-top: var(--w-hair) solid var(--surface-line); }
.w-evidence__row {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 40px);
  padding-block: clamp(13px, 1.4vw, 20px);
  border-bottom: var(--w-hair) solid var(--surface-line);
}
.w-evidence__k {
  font-family: var(--w-mono); font-size: var(--w-t-label);
  letter-spacing: var(--w-tr-label); text-transform: uppercase;
  color: var(--surface-mute);
}
.w-evidence__v { margin: 0; max-width: 62ch; }
@media (max-width: 720px) {
  .w-evidence__row { grid-template-columns: 1fr; gap: var(--w-s-2xs); }
}

/* ---------- SERVICES INDEX ----------------------------------------------- */
.w-svc { border-top: var(--w-hair) solid var(--surface-line); }
.w-svc__row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 18rem) minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 34px);
  align-items: baseline;
  padding-block: clamp(16px, 1.8vw, 26px);
  border-bottom: var(--w-hair) solid var(--surface-line);
  transition: padding-left var(--w-d-base) var(--w-e-std);
}
.w-svc__row:hover, .w-svc__row:focus-visible { padding-left: var(--w-s-sm); }
.w-svc { margin-top: var(--w-s-sm); }
.w-svc__n { font-family: var(--w-mono); font-size: var(--w-t-label); color: var(--surface-signal); }
.w-svc__t { font-size: var(--w-t-h3); font-weight: var(--w-w-semi); letter-spacing: var(--w-tr-head); }
.w-svc__d { color: var(--surface-mute); max-width: 58ch; }
.w-svc__a { color: var(--surface-signal); }
@media (max-width: 900px) {
  .w-svc__row { grid-template-columns: 2.4rem minmax(0,1fr) auto; }
  .w-svc__d { grid-column: 2 / -1; }
}

/* ---------- SIGNALS ------------------------------------------------------- */
.w-empty {
  border: var(--w-hair) dashed var(--surface-line);
  padding: clamp(20px, 2.4vw, 34px);
  max-width: 62ch;
}
.w-empty__t { font-weight: var(--w-w-semi); margin: 0 0 var(--w-s-2xs); }
.w-empty__b { color: var(--surface-mute); margin: 0; }
.w-siglist { border-top: var(--w-hair) solid var(--surface-line); }
.w-sig {
  display: grid; gap: var(--w-s-2xs);
  padding-block: clamp(16px, 1.8vw, 26px);
  border-bottom: var(--w-hair) solid var(--surface-line);
}
.w-sig__meta {
  display: flex; gap: var(--w-s-md); flex-wrap: wrap;
  font-family: var(--w-mono); font-size: var(--w-t-label);
  letter-spacing: var(--w-tr-label); text-transform: uppercase; color: var(--surface-mute);
}
.w-sig__t { font-size: var(--w-t-h3); font-weight: var(--w-w-semi); letter-spacing: var(--w-tr-head); max-width: 46ch; }
.w-sig__b { color: var(--surface-mute); max-width: 62ch; }

/* A quieter primary in the header, so Brief us reads as the one action. */
.w-nav__link--cta { color: var(--surface-signal); }

/* A band, not a full section. Used where a teaser only needs to be present. */
.w-section-tight-band {
  background: var(--surface-bg); color: var(--surface-fg);
  padding-block: clamp(30px, 3.2vw, 56px);
}

/* ---------- SEQUENCE STRIP ------------------------------------------------
   The six steps read as one line of thought on the homepage. The full method,
   with the route graphic, stays on The Way In. */
.w-seq {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 20px);
  border-top: var(--w-hair) solid var(--surface-line);
}
.w-seq__i { padding-top: var(--w-s-sm); display: grid; gap: 4px; align-content: start; }
.w-seq__n { font-family: var(--w-mono); font-size: var(--w-t-label); color: var(--surface-signal); }
.w-seq__t { font-size: var(--w-t-h3); font-weight: var(--w-w-semi); letter-spacing: var(--w-tr-head); }
.w-seq__d { color: var(--surface-mute); font-size: var(--w-t-small); }
@media (max-width: 1000px) { .w-seq { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: var(--w-s-md); } }
@media (max-width: 560px)  { .w-seq { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Inline actions clear the accessible target height too. */
.w-link { min-height: 44px; display: inline-flex; align-items: center; }
