/* Industry pages (/financial-services/, /healthcare/, /public-sector/ and the three industry outlooks).
   Loaded after site.css and article.css; uses their tokens, motion primitives and reading column. */
html { scroll-padding-top: 104px; }

/* ---------- Page top: the sector, its problem in one line, and one drawn figure ---------- */
.in-hero { position: relative; overflow: clip; }
.in-hero .wrap { padding-top: calc(76px + clamp(44px, 6.5svh, 92px)); padding-bottom: clamp(44px, 6svh, 76px); }
.in-crumb a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.in-crumb a:hover, .in-crumb a:focus-visible { background-size: 100% 1px; }
.in-crumb span { padding: 0 .7em; color: rgba(250, 249, 247, .4); }
.in-h { margin-top: clamp(24px, 3.2svh, 40px); }
.in-sec { display: block; font: italic 400 clamp(1.25rem, 1rem + .9vw, 1.875rem)/1.2 var(--display); letter-spacing: 0; color: var(--mint); }
.in-st { display: block; margin-top: clamp(12px, 1.4vw, 20px); font-size: clamp(2.25rem, 1.05rem + 4vw, 5.25rem); line-height: 1.03; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.in-foot { margin-top: clamp(44px, 6.5svh, 84px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.in-left { padding-bottom: 8px; }
.in-who p:not(.label) { margin-top: 12px; font-size: var(--t-lead); line-height: 1.5; color: var(--on-dark-2); max-width: 30ch; }
.in-meta { display: flex; flex-wrap: wrap; font: 500 .8125rem/1.4 var(--body); color: rgba(250, 249, 247, .7); }
.in-who + .in-meta { margin-top: 30px; }
.in-meta span + span::before { content: ""; display: inline-block; width: 1px; height: .95em; margin: 0 16px; vertical-align: -2px; background: var(--rule-dark); }
.in-meta span:first-child:not(:only-child) { font-weight: 600; letter-spacing: .13em; text-transform: uppercase; font-size: var(--t-label); color: var(--mint); }
@media (prefers-reduced-motion: no-preference) {
  .js .in-hero .intro { opacity: 0; transform: translateY(16px); animation: infade 1s var(--ease) forwards; animation-delay: calc(.25s + var(--k, 0) * .16s); }
  @keyframes infade { to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .in-hero .wrap { padding-top: calc(66px + 40px); }
  .in-foot { grid-template-columns: 1fr; row-gap: 44px; margin-top: 32px; }
}

/* ---------- Drawn figures (on the deep green) ---------- */
.ifig { position: relative; margin: 0; }
.ifig-box { position: relative; aspect-ratio: 2 / 1; margin-top: 34px; }
.ifig-box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ifig-l { position: absolute; inset: 0; pointer-events: none; }
.il { position: absolute; font: 600 .6875rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; }
.il-acc { color: var(--mint); }
.ifig--fs .il, .ifig--ps .il, .ifig--tm .il { background: var(--deep); padding: 3px 6px 3px 0; }
.ifig--ps .il-c, .ifig--tm .il-c { padding: 3px 6px; }
.il-c { transform: translateX(-50%); text-align: center; }
.il-r { text-align: right; }
.il-big { font: 400 clamp(2rem, 1.25rem + 2.2vw, 3.5rem)/1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.il-v { font: 400 clamp(1.25rem, .9rem + 1.1vw, 2.125rem)/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.il-v.il-acc { color: var(--mint); }
.ifig--fs .il, .ifig--ps .il, .ifig--tm .il { background: var(--deep); padding: 3px 6px 3px 0; }
.ifig--ps .il-c, .ifig--tm .il-c { padding: 3px 6px; }
.il-x { white-space: normal; width: 22%; font-size: .625rem; }
.il-gap { font: italic 400 clamp(1.125rem, .9rem + .8vw, 1.75rem)/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--paper); }
.ifig-cap { margin-top: 18px; font-size: .8125rem; line-height: 1.55; color: rgba(250, 249, 247, .7); max-width: 62ch; }

.f-ln { fill: none; stroke: var(--paper); stroke-opacity: .55; stroke-width: 1.2; }
.f-blk { stroke-opacity: .38; }
.f-flow { fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 15; opacity: 0; }
.f-out { fill: none; stroke: var(--mint); stroke-width: 3; }
.f-pass { fill: none; stroke: var(--mint); stroke-width: 1.6; }
.f-dot { fill: var(--paper); }
.f-end { fill: var(--paper); fill-opacity: .55; }
.f-node, .f-node2 { fill: var(--deep); stroke: var(--mint); stroke-width: 2; }
.f-wall { fill: none; stroke: var(--paper); stroke-width: 2; }
.f-bar { stroke: var(--paper); stroke-opacity: .3; stroke-width: 1.4; }
.f-bar.on { stroke: var(--mint); stroke-opacity: 1; stroke-width: 2.2; }
.f-brk { fill: none; stroke: var(--mint); stroke-width: 1; }
.f-col { fill: var(--paper); fill-opacity: .24; }
.f-col.on { fill: var(--mint); fill-opacity: 1; }
.f-col.f-fc { fill: url(#hatch-eu); fill-opacity: 1; stroke: var(--mint); stroke-width: 1.2; }
.f-hl { stroke: var(--mint); stroke-width: 1.4; }
.f-base { stroke: rgba(250, 249, 247, .42); stroke-width: 1; }
.f-ring { fill: none; stroke: var(--paper); stroke-opacity: .42; stroke-width: 1.2; }
.f-arw { fill: none; stroke: var(--mint); stroke-width: 1.6; vector-effect: none; }
.f-run { fill: var(--mint); }
.f-orb { transform-box: view-box; transform-origin: 360px 180px; }
.f-hb { fill: var(--paper); fill-opacity: .8; }
.f-hb.on { fill: var(--mint); fill-opacity: 1; }
.f-gap { stroke: rgba(250, 249, 247, .55); stroke-width: 1; }
.f-dash { stroke: rgba(250, 249, 247, .4); stroke-width: 1; stroke-dasharray: 3 5; }

@media (prefers-reduced-motion: no-preference) {
  .js .ifig .f-ln, .js .ifig .f-out, .js .ifig .f-pass, .js .ifig .f-brk, .js .ifig .f-wall, .js .ifig .f-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: idraw 1.5s var(--ease-io) forwards; animation-delay: calc(.55s + var(--k, 0) * .09s); }
  .js .ifig .f-out { animation-delay: 1.45s; animation-duration: 1.1s; }
  .js .ifig .f-wall { animation-delay: .4s; }
  .js .ifig .f-brk { animation-delay: 1.5s; }
  .js .ifig .f-pass { animation-duration: 2.2s; }
  .js .ifig .f-flow { animation: iflow 1.6s linear infinite, ifade .8s ease 2.4s forwards; }
  .js .ifig .f-dot, .js .ifig .f-end, .js .ifig .f-node, .js .ifig .f-node2, .js .ifig .f-arw { opacity: 0; animation: ifade .7s ease forwards; animation-delay: calc(.6s + var(--k, 0) * .3s); }
  .js .ifig .f-end { animation-delay: calc(1.6s + var(--k, 0) * .04s); }
  .js .ifig .f-node { animation-delay: 1.4s; }
  .js .ifig .f-node2, .js .ifig .f-arw { animation-delay: calc(1.3s + var(--k, 0) * .35s); }
  .js .ifig .f-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: igrow .9s var(--ease) forwards; animation-delay: calc(.45s + var(--k, 0) * 9ms); }
  .js .ifig .f-col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: igrow 1.1s var(--ease) forwards; animation-delay: calc(.55s + var(--k, 0) * .16s); }
  .js .ifig .f-hb, .js .ifig .f-gap { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); animation: igrow 1.3s var(--ease) forwards; animation-delay: calc(.55s + var(--k, 0) * .2s); }
  .js .ifig .f-gap { transform: none; opacity: 0; animation: ifade 1s ease 1.7s forwards; }
  .js .ifig .f-dash { opacity: 0; animation: ifade .8s ease 1.5s forwards; }
  .js .ifig .il { opacity: 0; animation: ifade .9s ease forwards; animation-delay: calc(1.2s + var(--k, 0) * .16s); }
  .js .ifig .il-c { animation-name: ifade; }
  .js .ifig .f-orb { opacity: 0; animation: ifade .6s ease 2.4s forwards, ispin 11s linear 2.4s infinite; }
  .ifig.off * { animation-play-state: paused !important; }
  @keyframes idraw { to { stroke-dashoffset: 0; } }
  @keyframes igrow { to { transform: none; } }
  @keyframes ifade { to { opacity: 1; } }
  @keyframes iflow { to { stroke-dashoffset: -32; } }
  @keyframes ispin { to { transform: rotate(360deg); } }
}
@media (max-width: 1100px) {
  .ifig--tm .il { white-space: normal; max-width: 7.5em; }
  .ifig--tm .il:nth-child(2) { transform: translateX(-22%); text-align: left; }
  .ifig--tm .il:nth-child(3) { transform: translateX(-90%); text-align: right; }
}
@media (max-width: 600px) {
  .f-ln, .f-bar, .f-ring, .f-brk, .f-base, .f-dash, .f-gap { stroke-width: 2.2; }
  .f-bar.on, .f-pass, .f-col, .f-fc, .f-wall { stroke-width: 3; }
  .f-out, .f-flow, .f-arw { stroke-width: 4; }
  .f-node, .f-node2 { stroke-width: 3.4; }
  .il:not(.il-big):not(.il-v):not(.il-gap) { font-size: .5625rem; letter-spacing: .1em; }
  .il.il-x { font-size: .5rem; letter-spacing: .06em; }
  .il-big { font-size: 1.75rem; }
  .il-v { font-size: 1.125rem; }
  .il-gap { font-size: 1rem; }
  .ifig--ps .il-acc { white-space: normal; max-width: 40%; text-align: right; top: calc(43% - 46px) !important; }
  .ifig-box { margin-top: 30px; }
}

/* ---------- Reading ---------- */
.in-read .ar-grid { padding-top: clamp(64px, 8vw, 128px); }
.ar-grid--short { padding-bottom: clamp(48px, 6vw, 88px); }

/* one container per group: a short list or a set of steps sits on one mist panel, no rules */
.in-steps, .in-list { margin-top: 2em; max-width: 38em; background: var(--mist); padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3.4vw, 48px); display: grid; row-gap: 26px; }
.in-steps li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 18px; }
.in-steps .label { padding-top: .5em; }
.ar-text .in-steps p { margin: 0; }
.ar-text .in-list { row-gap: 18px; }
.ar-text .in-list li { position: relative; padding-left: 26px; font: 400 clamp(1.125rem, 1rem + .4vw, 1.375rem)/1.38 var(--display); color: var(--green); }
.in-list li::before { content: ""; position: absolute; left: 2px; top: .56em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 600px) { .in-steps li { display: block; } .ar-text .in-steps p { margin-top: 8px; } }

/* ---------- A closing statement (public sector) ---------- */
.in-end { padding-top: 0; }
.in-end-h { margin-top: 26px; font: 400 clamp(1.875rem, 1rem + 3.3vw, 4rem)/1.1 var(--display); letter-spacing: -.012em; color: var(--green); max-width: 24ch; text-wrap: balance; }
.in-end-p { margin-top: 30px; font-size: var(--t-lead); line-height: 1.6; color: var(--muted); max-width: 52ch; }

/* ---------- The services that apply ---------- */
.in-svc { background: var(--beige); }
.in-svc .head h2 { font-size: var(--d-2); line-height: 1.12; max-width: 24ch; }
.in-svc-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.in-svc-say { grid-column: 4 / 12; }
.in-svc-say p { font-size: var(--t-lead); line-height: 1.62; color: var(--ink); max-width: 60ch; }
.in-svc-say p + p { margin-top: 1em; }
.in-svc-list { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 44px; }
.in-svc-say + .in-svc-list { margin-top: clamp(44px, 5vw, 72px); }
.in-svc-list.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.in-svc-list a { position: relative; display: flex; flex-direction: column; height: 100%; padding-top: 24px; border-top: 1px solid var(--rule-strong); text-decoration: none; }
.in-svc-list a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.in-svc-list a:hover::before, .in-svc-list a:focus-visible::before { transform: none; }
.sv-n { font: 400 var(--d-3)/1.18 var(--display); color: var(--green); max-width: 16ch; text-wrap: balance; }
.sv-w { margin-top: 14px; font-size: .9375rem; line-height: 1.55; color: var(--muted); max-width: 36ch; }
.sv-go { margin-top: auto; padding-top: 26px; color: var(--green); }
.sv-go .arr { width: 27px; height: 15px; transition: transform .6s var(--ease); }
.in-svc-list a:hover .arr { transform: translateX(10px); }
@media (max-width: 1180px) { .in-svc-list { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .in-svc-say, .in-svc-list { grid-column: 1 / -1; }
  .in-svc-list, .in-svc-list.n4 { grid-template-columns: 1fr; row-gap: 32px; }
  .sv-go { position: absolute; right: 0; top: 28px; padding-top: 0; }
  .sv-n { padding-right: 48px; }
}

/* ---------- Related reading ---------- */
.in-rel-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 22px; }
.in-rel-grid > .label { grid-column: 1 / 4; padding-top: .5em; }
.rels { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); row-gap: 52px; }
.rel { display: flex; flex-direction: column; text-decoration: none; }
.rel .label i { font-style: normal; padding: 0 .35em; }
.rel-h { display: block; margin-top: 18px; font: 400 clamp(1.625rem, 1.1rem + 1.7vw, 2.75rem)/1.1 var(--display); letter-spacing: -.012em; color: var(--green); text-wrap: balance; }
.rel-h span { background: linear-gradient(currentColor, currentColor) 0 96% / 0 1px no-repeat; transition: background-size .7s var(--ease); }
.rel:hover .rel-h span, .rel:focus-visible .rel-h span { background-size: 100% 1px; }
.rel-d { display: block; margin-top: 14px; color: var(--muted); max-width: 42ch; }
.rel-go { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; font: 600 var(--t-sm)/1 var(--body); color: var(--green); }
.rel-go .arr { width: 18px; height: 10px; transition: transform .6s var(--ease); }
.rel:hover .rel-go .arr { transform: translateX(6px); }
@media (max-width: 860px) {
  .in-rel-grid > .label, .rels { grid-column: 1 / -1; }
  .rels { grid-template-columns: 1fr; margin-top: 26px; row-gap: 44px; }
}

/* ---------- Reduced motion: everything at rest ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .in-hero .intro, .js .ifig svg :is(path, line, circle, rect, g) { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .js .ifig .il { opacity: 1 !important; }
  .ifig .f-flow { display: none; }
  .js .ifig .f-gap { opacity: 1 !important; }
}

/* the sources heading stays a small label inside the reading column */
.ar-text .ar-src h2.label { margin: 0; padding: 0; border: 0; font: 600 var(--t-label)/1.35 var(--body); letter-spacing: .13em; color: var(--green); }

/* telecom loop: labels sit outside the ring at every width, with no background patch */
.ifig--tm .il { background: none; padding: 0; white-space: nowrap; max-width: none; }
.ifig--tm .il:nth-child(2) { left: calc(65.4% + 28px) !important; transform: none; text-align: left; }
.ifig--tm .il:nth-child(3) { left: calc(34.6% - 28px) !important; transform: translateX(-100%); text-align: right; }
@media (max-width: 1100px) {
  .ifig--tm .ifig-box { margin-bottom: 28px; }
  .ifig--tm .il { white-space: nowrap; max-width: none; }
  .ifig--tm .il:nth-child(2) { left: 52% !important; top: calc(85.6% + 12px) !important; transform: none; text-align: left; }
  .ifig--tm .il:nth-child(3) { left: 48% !important; top: calc(85.6% + 12px) !important; transform: translateX(-100%); text-align: right; }
}
