/* Industries overview (/industries/). Loaded after site.css and insights.css (for the type-only page top). */
.nav a[aria-current] { background-size: 100% 1px; }

/* ---------- Page top ---------- */
.id-sub { margin-top: clamp(28px, 3.4vw, 46px); font-size: var(--t-lead); line-height: 1.55; color: var(--on-dark-2); max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) { .js .id-hero .id-sub { animation-delay: .6s; } }

/* ---------- The industries we work in: one large row each, separated by space, not rules ---------- */
.irows { margin-top: -12px; }
.irow { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); column-gap: var(--gap); align-items: center; padding: clamp(30px, 3.6vw, 52px) 0; text-decoration: none; }
.irow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.irow:hover::before, .irow:focus-visible::before { transform: none; }
.ir-n { font: 400 clamp(2.25rem, 1.15rem + 3.7vw, 5.25rem)/1 var(--display); letter-spacing: -.02em; color: var(--green); }
.ir-n span { display: inline-block; transition: transform .8s var(--ease); }
.irow:hover .ir-n span { transform: translateX(12px); }
.ir-t { display: flex; flex-direction: column; gap: 10px; }
.ir-who { font-size: var(--t-base); line-height: 1.5; color: var(--muted); }
.ir-pr { font: italic 400 var(--d-3)/1.25 var(--display); color: var(--ink); max-width: 24ch; }
.ir-go { justify-self: end; display: flex; align-items: center; gap: 28px; color: var(--green); }
.ir-go .arr { width: 30px; height: 16px; transition: transform .6s var(--ease); }
.irow:hover .ir-go .arr { transform: translateX(10px); }

/* small drawings, one per sector, taken from each page's figure */
.irows .glyph, .ocols .glyph { width: 98px; height: 56px; overflow: visible; }
.irows .glyph .gl, .ocols .glyph .gl { fill: none; stroke: var(--green); stroke-opacity: .6; stroke-width: 1.3; vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.glyph .gx { fill: none; stroke: var(--green); stroke-width: 2.4; }
.glyph .gw { fill: none; stroke: var(--green); stroke-width: 1.6; }
.glyph .gd { fill: var(--green); }
.glyph .gb2 { stroke: var(--green); stroke-opacity: .3; stroke-width: 1.2; }
.glyph .gd2 { stroke: var(--green); stroke-width: 2; }
.glyph .gr { fill: var(--green); fill-opacity: .28; }
.glyph .gr2 { fill-opacity: 1; }
.glyph .gr3 { fill: none; stroke: var(--green); stroke-width: 1.2; }
.glyph .gh { fill: none; stroke: var(--green); stroke-opacity: .6; stroke-width: 1; stroke-dasharray: 2 2; }
@media (prefers-reduced-motion: no-preference) {
  .irow:hover .gl, .ocol:hover .gl, .irow:focus-visible .gl, .ocol:focus-visible .gl { animation: glr 1.1s var(--ease-io); }
  @keyframes glr { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (max-width: 860px) {
  .irow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 14px; align-items: start; padding: 28px 0; }
  .ir-n, .ir-t { grid-column: 1; }
  .ir-go { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .ir-go .glyph { display: none; }
}

/* ---------- Industry outlooks: the firm's thinking, on one mist panel ---------- */
.id-out { background: var(--mist); }
.ocols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 52px; }
.ocol { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.ocol .glyph { margin-bottom: 30px; }
.oc-n { font: 400 var(--d-3)/1.15 var(--display); color: var(--green); }
.oc-pr { margin-top: 12px; color: var(--muted); max-width: 30ch; }
.oc-go { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 12px; font: 600 var(--t-sm)/1.3 var(--body); color: var(--green); }
.oc-go .arr { width: 18px; height: 10px; transition: transform .6s var(--ease); }
.ocol:hover .oc-go .arr { transform: translateX(6px); }
.ocol:hover .oc-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
@media (max-width: 860px) { .ocols { grid-template-columns: 1fr; row-gap: 40px; } .ocol .glyph { margin-bottom: 18px; } }

/* ---------- Industry articles ---------- */
.id-read { padding-bottom: var(--sec); }
.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; }
}
/* keep the long industry name clear of the text beside it */
@media (min-width: 861px) { .irow { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2fr); } .ir-n { font-size: clamp(2.25rem, 1rem + 3vw, 4.25rem); } }
