/* ============================================================
   "What we do" page styles. Brand tokens: colors_and_type.css.
   Shared chrome (nav/footer/base/focus): site.css.
   This file = page components (extracted from the design's inline
   styles) + the scroll-reveal machinery + the responsive layer.
   Behaviour: js/what-we-do.js. Reveal is progressive enhancement.
   ============================================================ */

body { margin: 0; background: var(--ax-ink-2); color: #fff; }
a { color: var(--ax-turquoise); text-decoration: none; }
a:hover { text-decoration: none; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wwd-root { position: relative; background: var(--ax-ink); color: #fff; font-family: var(--font-text); overflow: hidden; }
.wwd-nav-wrap { position: relative; z-index: 20; margin-bottom: -78px; }
.wwd-container { position: relative; max-width: 1560px; margin: 0 auto 0 6vw; }
.wwd-section { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 104px) clamp(24px, 4vw, 56px); }
.wwd-section--dark { background: var(--ax-ink); color: #fff; }
.wwd-section--light { background: var(--ax-mist); color: var(--ax-ink-2); }
.wwd-divider { height: 2px; background: linear-gradient(to right, transparent, rgba(26,206,188,.75), transparent); }
.wwd-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; flex-wrap: wrap; }

/* ============================================================
   TYPE COMPONENTS
   ============================================================ */
.wwd-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em; color: var(--ax-turquoise); margin: 0 0 18px; }
.wwd-eyebrow--light { color: var(--ax-turquoise-ink); }

.wwd-h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; margin: 0; max-width: 20ch; }
.wwd-h2 .hl { color: var(--ax-turquoise); }
.wwd-h2--light .hl { color: var(--ax-turquoise-ink); }

/* Inline highlight span — colour follows the section context. */
.hl { color: var(--ax-turquoise); }
.wwd-section--light .hl,
.wwd-engage .hl,
.wwd-start .hl { color: var(--ax-turquoise-ink); }

/* Pull-quote */
.wwd-quote { margin: 58px 0 0; padding: 6px 0 6px 34px; border-left: 2px solid var(--ax-turquoise); }
.wwd-quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--ax-ink-2); margin: 0; max-width: 52ch; text-wrap: pretty; }
.wwd-quote__cite { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; color: var(--ax-turquoise-ink); margin-top: 24px; font-style: normal; }
.wwd-section--dark .wwd-quote p { color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.wwd-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; border-radius: 999px; padding: 14px 30px; text-decoration: none; white-space: nowrap;
      transition: transform .2s var(--ease, ease), box-shadow .2s var(--ease, ease), background .2s var(--ease, ease), border-color .2s var(--ease, ease); }
.wwd-btn__icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wwd-btn--primary { color: var(--ax-black); background: var(--ax-turquoise); box-shadow: none; }
.wwd-btn--primary:hover { box-shadow: none; }
.wwd-btn--lg { padding: 15px 34px; box-shadow: none; }
.wwd-btn--ghost { color: #fff; border: 1px solid rgba(26,206,188,.4); }
.wwd-btn--ghost:hover { border-color: rgba(26,206,188,.85); }
.wwd-btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ============================================================
   HERO
   ============================================================ */
.wwd-hero { position: relative; overflow: hidden;
      background-image: linear-gradient(rgba(26,206,188,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26,206,188,.05) 1px, transparent 1px);
      background-size: 48px 48px; }
.wwd-hero__media { position: absolute; isolation: isolate; top: 0; right: 1.5%; width: 46%; height: 88%; max-height: clamp(560px, 37.33vw, 896px); overflow: hidden; pointer-events: none;
      -webkit-mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%), linear-gradient(to bottom, transparent 0, transparent 58px, #000 172px);
      mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%), linear-gradient(to bottom, transparent 0, transparent 58px, #000 172px);
      -webkit-mask-composite: source-in; mask-composite: intersect; }
.wwd-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(1.12) saturate(1.05); }
.wwd-hero__media-wash1 { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,20,27,.1), rgba(2,12,16,.5) 66%, var(--ax-ink) 100%); mix-blend-mode: multiply; }
.wwd-hero__media-wash2 { position: absolute; inset: 0; background: radial-gradient(90% 90% at 88% 12%, rgba(26,206,188,.18), transparent 62%); }
.wwd-hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(to bottom, #020C10 0%, #020C10 14%, rgba(2,12,16,.72) 22%, rgba(2,12,16,.32) 32%, transparent 44%),
  radial-gradient(115% 100% at 52% 42%, rgba(2,12,16,.32) 0%, rgba(2,12,16,.78) 62%, rgba(2,12,16,.9) 100%); }
.wwd-hero__inner { position: relative; z-index: 2; max-width: 1560px; margin: 0 auto 0 6vw; padding: clamp(120px, 16vw, 200px) clamp(24px, 4vw, 56px) clamp(88px, 12vw, 104px); }
.wwd-hero__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 5.2vw, 116px); line-height: .98; letter-spacing: -.02em; margin: 26px 0 0; max-width: 17ch; }
.wwd-hero__title .hl { color: var(--ax-turquoise); text-shadow: 0 0 32px rgba(26,206,188,.6); }
.wwd-hero__lead { font-weight: 300; font-size: clamp(18px, 1.33vw, 28px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 58ch; margin: 26px 0 0; }

/* ============================================================
   SERVICES (light) — filter chips + card grid
   ============================================================ */
.svc-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .14em; color: rgba(4,20,27,.7);
      background: transparent; border: 1px solid rgba(4,20,27,.22); border-radius: 999px; padding: 11px 20px;
      cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.chip:hover { border-color: var(--ax-turquoise-ink); color: var(--ax-ink-2); }
.chip[aria-pressed="true"] { background: var(--ax-turquoise); border-color: var(--ax-turquoise); color: var(--ax-black); }

.svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-rows: auto; }
.svc { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 5; align-content: start; min-height: 0; padding: 18px;
      background: #fff; border: 1px solid rgba(4,20,27,.12); border-radius: 10px; box-shadow: 0 1px 2px rgba(4,20,27,.05);
      transition: border-color .22s cubic-bezier(.22,.61,.36,1), background .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s cubic-bezier(.22,.61,.36,1), transform .22s cubic-bezier(.22,.61,.36,1); }
.svc:hover { border-color: rgba(26,206,188,.9); background: #fff; box-shadow: 0 0 0 1px rgba(26,206,188,.35), 0 14px 34px rgba(4,20,27,.10); transform: translateY(-4px); }
.svc-num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(4,20,27,.42); }
.svc-icon { color: var(--ax-turquoise-ink); margin: 10px 0 0; }
.svc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: axFloat 4.8s ease-in-out infinite; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.svc:nth-child(2) .svc-icon svg { animation-delay: .4s } .svc:nth-child(3) .svc-icon svg { animation-delay: .8s }
.svc:nth-child(4) .svc-icon svg { animation-delay: 1.2s } .svc:nth-child(5) .svc-icon svg { animation-delay: .2s }
.svc:nth-child(6) .svc-icon svg { animation-delay: .6s } .svc:nth-child(7) .svc-icon svg { animation-delay: 1s }
.svc:nth-child(8) .svc-icon svg { animation-delay: 1.4s } .svc:nth-child(9) .svc-icon svg { animation-delay: .9s }
.svc:hover .svc-icon svg { animation: axPulse 1.4s ease-in-out infinite; transform: translateY(-4px) scale(1.12) rotate(-3deg); }
.svc-body { display: grid; grid-template-rows: subgrid; grid-row: span 2; align-content: start; }
.svc-title { font-family: var(--font-display); font-weight: 300; font-size: 21px; line-height: 1.2; color: var(--ax-turquoise-ink); margin: 12px 0 8px; }
.svc-text { font-size: 13.5px; line-height: 1.5; color: rgba(4,20,27,.69); margin: 0; }
.svc-go { justify-self: end; align-self: end; margin-top: 10px; width: 28px; height: 28px; border-radius: 999px;
      border: 1px solid rgba(4,20,27,.22); color: var(--ax-turquoise-ink); display: flex; align-items: center; justify-content: center; transition: background .22s ease, color .22s ease, transform .22s ease; }
.svc-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svc:hover .svc-go { background: var(--ax-turquoise-ink); color: #fff; transform: translateX(4px); }

/* Lifecycle filter — hide the cards outside the selected phase. */
.svcsec[data-filter="lead"]  .svc:not([data-g="lead"]),
.svcsec[data-filter="build"] .svc:not([data-g="build"]),
.svcsec[data-filter="run"]   .svc:not([data-g="run"]) { display: none; }

/* ============================================================
   HOW WE WORK (dark) — topo wash + manifesto grid
   ============================================================ */
.wwd-manifesto { background: var(--ax-ink-2); }
.wwd-manifesto__media { position: absolute; isolation: isolate; top: 0; right: 0; width: 46%; height: 88%; max-height: 560px; overflow: hidden; pointer-events: none;
      -webkit-mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%);
      mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%);
      -webkit-mask-composite: source-in; mask-composite: intersect; }
.wwd-manifesto__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(1.5) saturate(1.15); }
.wwd-manifesto__media-wash1 { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,20,27,.1), rgba(2,12,16,.5) 66%, var(--ax-ink-2) 100%); mix-blend-mode: multiply; }
.wwd-manifesto__media-wash2 { position: absolute; inset: 0; background: radial-gradient(90% 90% at 88% 12%, rgba(26,206,188,.18), transparent 62%); }
.wwd-manifesto__scrim { position: absolute; inset: 0; background: radial-gradient(115% 100% at 46% 44%, rgba(2,12,16,.38) 0%, rgba(2,12,16,.84) 62%, rgba(2,12,16,.94) 100%); }
.wwd-manifesto__title { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.12; margin: 0 0 22px; max-width: 20ch; }
.wwd-manifesto__lead { font-weight: 300; font-size: clamp(17px, 2vw, 19px); line-height: 1.65; color: rgba(255,255,255,.76); max-width: 56ch; margin: 0 0 76px; }
.wwd-qgrid { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 64px; border-top: 1px solid rgba(255,255,255,.14); counter-reset: none; }
.qrow { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.78); }
.qrow-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(255,255,255,.4); }
.qrow-text { font-family: var(--font-display); font-weight: 300; font-size: 19px; line-height: 1.3; text-wrap: pretty; }
.wwd-manifesto__cta { margin-top: 52px; }

/* ============================================================
   HOW WE ENGAGE (white) — consulting + delivery cards
   ============================================================ */
.wwd-engage { background: #fff; color: var(--ax-ink-2); }
.wwd-engage__head { max-width: 62ch; margin-bottom: 64px; }
.wwd-engage__head .wwd-h2 { font-size: clamp(30px, 4.8vw, 46px); line-height: 1.12; margin: 0 0 18px; max-width: 22ch; }
.wwd-engage__lead { font-weight: 300; font-size: clamp(17px, 2vw, 19px); line-height: 1.65; color: rgba(4,20,27,.66); margin: 0; text-wrap: pretty; }

.engroups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4.6fr); align-items: stretch; }
.encons { display: flex; flex-direction: column; padding-right: 44px; }
.endel { display: flex; flex-direction: column; border-left: 1px solid #E4E9E9; padding-left: 44px; }
.enhead { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .2em; color: rgba(4,20,27,.45); margin-bottom: 20px; }

.engrid { display: grid; gap: 18px; grid-template-columns: minmax(0,0.82fr) minmax(0,1fr) minmax(0,1.18fr) minmax(0,1.4fr); }
.engrid--cards { align-items: stretch; flex: 1; }

/* Delivery-axis decoration (spectrum from embedded to end-to-end). */
.enaxis--single { height: 68.5px; flex: 0 0 auto; position: relative; }
.enaxis--single .enaxis__line { position: absolute; left: 0; right: -44px; top: 34.5px; height: 1px; background: rgba(4,20,27,.14); }
.enaxis--single .enaxis__node { position: absolute; left: 0; right: 0; top: 27.5px; margin: 0 auto; }
.enaxis--labels { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.enaxis__label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .18em; color: rgba(4,20,27,.42); }
.enaxis__label--end { color: var(--ax-turquoise-ink); }
.enaxis--track { position: relative; margin-bottom: 26px; }
.enaxis__track-line { position: absolute; left: -44px; right: 0; top: 7px; height: 1px; background: linear-gradient(to right, rgba(4,20,27,.14), rgba(26,206,188,.85)); }
.enaxis__nodes { position: relative; }
.enaxis__node-cell { display: flex; justify-content: center; }
.enaxis__node { display: block; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1.5px solid rgba(4,20,27,.28); }
.enaxis__node--mid { border-color: rgba(11,127,116,.6); }
.enaxis__node--strong { border: 3px solid rgba(26,206,188,.9); }
.enaxis__node--active { background: var(--ax-turquoise); border: 0; box-shadow: 0 0 0 5px rgba(26,206,188,.18); }

.encard { display: flex; flex-direction: column; background: #fff; border: 1px solid #E0E5E6; border-radius: 10px; padding: 30px 26px 26px; }
.encard--alt { background: #F2F5F5; }
.encard--slate { background: #46555F; color: #fff; border: 0; padding: 30px 30px 28px; }
.encard--dark { position: relative; background: var(--ax-ink); color: #fff; border: 0; padding: 30px 34px 30px; overflow: hidden; }
.encard--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 90% 8%, rgba(26,206,188,.2), transparent 62%); }
.encard--dark > * { position: relative; }
.encard-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .16em; color: rgba(4,20,27,.4); margin-bottom: 22px; }
.encard--slate .encard-num { color: rgba(255,255,255,.5); }
.encard--dark .encard-num { color: var(--ax-turquoise); }
.encard-title { font-family: var(--font-display); font-weight: 300; font-size: 23px; line-height: 1.2; margin: 0 0 12px; min-height: 56px; }
.encard-text { font-size: 15.5px; font-weight: 300; line-height: 1.6; color: rgba(4,20,27,.62); margin: 0; text-wrap: pretty; }
.encard--slate .encard-text, .encard--dark .encard-text { color: rgba(255,255,255,.76); }

/* ============================================================
   OUR WORK (dark) — case-study cards
   ============================================================ */
.wwd-work__all { display: inline-flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .14em; color: var(--ax-turquoise); }
.wwd-work__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wwd-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wkcard { display: flex; flex-direction: column; background: #0A1D24; border: 1px solid rgba(26,206,188,.22); border-radius: 12px; overflow: hidden;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.wkcard:hover { border-color: rgba(26,206,188,.6); box-shadow: 0 0 0 1px rgba(26,206,188,.3), 0 0 36px rgba(26,206,188,.14); transform: translateY(-4px); }
.wkcard-media { height: 200px; overflow: hidden; position: relative; }
.wkcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.wkcard:hover .wkcard-media img { transform: scale(1.05); }
.wkcard-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.wkcard-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; color: var(--ax-turquoise); margin-bottom: 14px; }
.wkcard-title { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.22; margin: 0 0 20px; color: #fff; }
.wkcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.wkcard-client { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.wkcard-go { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ax-turquoise); stroke-width: 1.7; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.wkcard:hover .wkcard-go { opacity: 1; transform: none; }

/* ============================================================
   WHERE TO START (light) — route cards
   ============================================================ */
.wwd-start__head { max-width: 30ch; margin-bottom: 44px; }
.wwd-start__head .wwd-h2 { max-width: 18ch; }
.wwd-start__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start { display: block; border: 1px solid rgba(4,20,27,.12); border-radius: 10px; background: #fff; padding: 30px 28px;
      transition: border-color .22s cubic-bezier(.22,.61,.36,1), background .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s cubic-bezier(.22,.61,.36,1), transform .22s cubic-bezier(.22,.61,.36,1); }
.start:hover { border-color: rgba(26,206,188,.9); background: #fff; box-shadow: 0 0 0 1px rgba(26,206,188,.35), 0 14px 34px rgba(4,20,27,.10); transform: translateY(-4px); }
.start-route { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--ax-turquoise-ink); margin-bottom: 26px; }
.start-title { font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.2; color: var(--ax-turquoise-ink); margin: 0 0 10px; }
.start-text { font-size: 14px; line-height: 1.6; color: rgba(4,20,27,.68); margin: 0 0 16px; }
.start-cta { display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; color: var(--ax-turquoise-ink); }
.start-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ============================================================
   CTA (dark, centred)
   ============================================================ */
.wwd-cta { position: relative; overflow: hidden; text-align: center; background: var(--ax-ink-2); }
.wwd-cta__media { position: absolute; isolation: isolate; top: 0; right: 1.5%; width: 42%; height: 80%; max-height: 560px; overflow: hidden; pointer-events: none;
      -webkit-mask-image: radial-gradient(130% 130% at 95% 6%, #000 28%, transparent 74%), linear-gradient(to left, transparent 0, #000 14%);
      mask-image: radial-gradient(130% 130% at 95% 6%, #000 28%, transparent 74%), linear-gradient(to left, transparent 0, #000 14%);
      -webkit-mask-composite: source-in; mask-composite: intersect; }
.wwd-cta__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-cta__wash1 { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,20,27,.2), rgba(2,12,16,.72) 62%, var(--ax-ink-2) 100%); mix-blend-mode: multiply; }
.wwd-cta__wash2 { position: absolute; inset: 0; background: radial-gradient(90% 90% at 88% 12%, rgba(26,206,188,.2), transparent 62%); }
.wwd-cta__scrim { position: absolute; inset: 0; background: radial-gradient(120% 100% at 70% 35%, rgba(2,12,16,.3) 0%, rgba(2,12,16,.86) 60%, var(--ax-ink-2) 100%); }
.wwd-cta__inner { position: relative; padding: clamp(72px, 12vw, 110px) clamp(24px, 5vw, 40px); }
.wwd-cta__title { text-shadow: 0 0 40px rgba(26,206,188,.25); margin: 0 auto 18px; }
.wwd-cta__lead { color: rgba(255,255,255,.72); max-width: 52ch; margin: 0 auto 34px; font-weight: 300; line-height: 1.6; }

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes axFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
@keyframes axPulse { 0%,100% { filter: drop-shadow(0 0 8px rgba(26,206,188,.45)) } 50% { filter: drop-shadow(0 0 16px rgba(26,206,188,.85)) } }

/* ============================================================
   SCROLL-REVEAL — added by js/what-we-do.js
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
/* The service cards keep their hover transitions independent of the reveal. */
.svc.reveal { transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1), border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.svcgrid .svc:nth-child(1) { transition-delay: 0s } .svcgrid .svc:nth-child(2) { transition-delay: .06s }
.svcgrid .svc:nth-child(3) { transition-delay: .12s } .svcgrid .svc:nth-child(4) { transition-delay: .18s }
.svcgrid .svc:nth-child(5) { transition-delay: .24s } .svcgrid .svc:nth-child(6) { transition-delay: .30s }
.svcgrid .svc:nth-child(7) { transition-delay: .36s } .svcgrid .svc:nth-child(8) { transition-delay: .42s }
.svcgrid .svc:nth-child(9) { transition-delay: .48s }
.engrid--cards .encard:nth-child(1) { transition-delay: .06s } .engrid--cards .encard:nth-child(2) { transition-delay: .12s }
.engrid--cards .encard:nth-child(3) { transition-delay: .18s } .engrid--cards .encard:nth-child(4) { transition-delay: .24s }

/* ============================================================
   RESPONSIVE LAYER
   Most sizing is fluid via clamp() above; these handle the
   structural collapses that clamp() can't express.
   ============================================================ */
@media (max-width: 1100px) {
  .engrid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .enaxis--labels, .enaxis--track { display: none; }
  .engroups { grid-template-columns: minmax(0,1fr); }
  .encons { padding-right: 0; }
  .endel { border-left: 0; padding-left: 0; padding-top: 46px; margin-top: 46px; border-top: 1px solid #E4E9E9; }
}

@media (max-width: 980px) {
  .svcgrid { grid-template-columns: repeat(2, 1fr); }
  .wwd-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
  .wwd-work__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wwd-container,
  .wwd-hero__inner { margin-left: auto; margin-right: auto; }
  .wwd-section-head { align-items: flex-start; gap: 20px; }
  .wwd-start__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .svcgrid { grid-template-columns: 1fr; }
  .engrid--cards { grid-template-columns: 1fr; }
  .wwd-qgrid { grid-template-columns: 1fr; }
  .wwd-work__grid { grid-template-columns: 1fr; }
  .encard-title { min-height: 0; }
  .wwd-btn { padding: 13px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .svc.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc-icon svg { animation: none !important; }
  .wkcard-media img { transition: none; }
}
