/* Data InterOps: inner pages (capabilities hub, capability and subservice pages). Builds on main.css. */

/* Page hero: copy beside a toned stage, the same stage the homepage scene uses */
.ph { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-top: clamp(7.5rem, 12vw, 9.5rem); }
.ph h1 { font-size: clamp(2.1rem, 1rem + 3vw, 3.9rem); line-height: 1.08; max-width: 16ch; }
.ph__lede { margin: 1.4rem 0 2.25rem; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
.ph__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ph--hub { display: block; padding-bottom: 1rem; }
.ph--hub h1 { max-width: 18ch; font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); }
.stage { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-card); padding: clamp(0.5rem, 2vw, 1.5rem); background: var(--paper-2); }
.stage .il { width: 100%; height: auto; }

/* Spec strip: label : value, after Heron's technical sheets */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: clamp(3rem, 6vw, 4.5rem); border-block: 1px dashed var(--lilac-2); }
.spec > div { padding: 1.25rem 1.25rem 1.4rem 0; }
.spec > div + div { padding-left: 1.5rem; border-left: 1px dashed var(--lilac-2); }
.spec dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.spec dd { margin: 0.5rem 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1; }
.spec dd.spec__txt { font-family: var(--body); font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.spec dd.spec__txt a { color: var(--violet-ink); }

/* Hub: one quiet row per capability: the story, the statement, the subservices */
.hub__meta { margin-top: 1.5rem; color: var(--ink-2); font-size: 1.05rem; }
.hub { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(5rem, 10vw, 8rem); }
.hub__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3.5fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 3.5vw, 3rem); border-top: 1px solid var(--rule); }
.hub__row:last-child { border-bottom: 1px solid var(--rule); }
.hub__vis { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--paper-2); transition: background-color 250ms ease; }
.hub__vis .il { width: 100%; height: 100%; }
.hub__text h2 { font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); line-height: 1.22; text-wrap: balance; }
.hub__text > p { margin-top: 0.9rem; color: var(--ink-2); }
.hub__text .cap__go { margin-top: 1.25rem; }
.hub__subs a { display: block; padding-block: 0.32rem; font-size: 0.95rem; line-height: 1.4; color: var(--ink-2); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .hub__subs a:hover, .hub__text h2 a:hover { color: var(--violet-ink); }
}
@media (max-width: 1080px) {
  .hub__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub__subs { grid-column: 1 / -1; columns: 2; column-gap: clamp(1.5rem, 3vw, 3.5rem); }
  .hub__subs li { break-inside: avoid; }
}

/* Subservices: index rows that open on hover */
.subs { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.subs li { border-bottom: 1px solid var(--rule); transition-delay: var(--d, 0ms); }
.subs a { position: relative; display: grid; grid-template-columns: 4rem 1fr 3rem; grid-template-areas: "n t go" "n d go"; align-items: center; column-gap: 1rem; padding: 1.5rem 0.5rem; overflow: hidden; isolation: isolate; }
.subs a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lilac); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 500ms var(--ease); }
.subs__n { grid-area: n; font-family: var(--mono); font-size: 0.85rem; color: var(--violet-ink); }
.subs__t { grid-area: t; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); line-height: 1.2; }
.subs__d { grid-area: d; margin-top: 0.45rem; color: var(--ink-2); font-size: 0.97rem; max-width: 70ch; }
.subs__go { grid-area: go; justify-self: end; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--lilac-2); transition: transform 500ms var(--ease), background-color 250ms ease, color 250ms ease; }
.subs__go svg { width: 14px; height: 14px; transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .subs a:hover::before { transform: scaleY(1); }
  .subs a:hover .subs__go { background: var(--violet); color: #fff; box-shadow: none; transform: rotate(45deg); }
}

/* Flow: deliverables as a wire with nodes, a packet runs it */
.flow { --n: 6; list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1rem; }
.flow::before { content: ""; position: absolute; left: 10px; right: calc(100% / var(--n) - 10px); top: 10px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--lilac-2)); }
.flow::after { content: ""; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--violet), 0 0 18px rgb(136 58 254 / 0.6); animation: run 5s var(--ease-io) infinite; }
@keyframes run { 0% { left: 4px; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 100% / var(--n) + 4px); opacity: 0; } }
.flow li { position: relative; padding-top: 2.75rem; }
.flow__node { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--violet); }
.flow b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--violet); }
.flow li > span:last-child { display: block; margin-top: 0.75rem; font-weight: 600; line-height: 1.3; max-width: 18ch; }

/* Solutions with their signal strength */
.sols { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.6rem; }
.sols a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--paper-2); transition: background-color 250ms ease, transform 400ms var(--ease); }
.sols span:first-child { font-weight: 600; }
.sols .sig { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.sols .sig i { background: var(--lilac-2); }
.sols .sig i.on { background: var(--violet); box-shadow: none; }
.sols small { color: var(--ink-3); font-size: 0.8rem; }
@media (hover: hover) and (pointer: fine) { .sols a:hover { background: var(--lilac); transform: translateY(-2px); } }

/* Next capability: a full-width tone band */
.next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-block: 2rem clamp(4rem, 8vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; background: linear-gradient(150deg, var(--sa), var(--sb)); transition: transform 500ms var(--ease); }
.next[data-tone="night"], .next[data-tone="violet"] { color: #fff; }
.next__label { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.next__t { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 2.4vw, 3.4rem); line-height: 1.1; max-width: 20ch; }
.next__go { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; transition: transform 500ms var(--ease); }
.next[data-tone="violet"] .next__go { background: #fff; color: var(--violet); }
.next__go svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .next:hover .next__go { transform: translateX(8px); } }

/* Subservice: challenge, approach loop, use cases, siblings */
.challenge p { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 0.9rem + 1.6vw, 2.4rem); line-height: 1.3; max-width: 34ch; }
.challenge p::before { content: "Challenge"; display: block; margin-bottom: 1.25rem; font-family: var(--mono); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-ink); }
.loop { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.loop li { position: relative; padding: 0.85rem 1.4rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--lilac-2); font-weight: 600; animation: lit 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1s); }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: -0.55rem; top: 50%; width: 0.55rem; height: 1.5px; background: var(--lilac-2); }
@keyframes lit { 0%, 20%, 100% { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--lilac-2); } 8%, 14% { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -12px rgb(136 58 254 / 0.9); } }
.uses { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.uses li { padding: 0.8rem 1.2rem; border-radius: 16px; background: var(--lilac); font-weight: 500; }
.sibs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.5rem; }
.sibs a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); font-weight: 500; transition: background-color 220ms ease, box-shadow 220ms ease; }
.sibs svg { flex: none; width: 14px; height: 14px; color: var(--violet); }
@media (hover: hover) and (pointer: fine) { .sibs a:hover { background: var(--lilac); box-shadow: none; } }

.reveal { transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .flow::after { display: none; } .loop li { animation: none; } }

@media (max-width: 960px) {
  .ph { grid-template-columns: 1fr; }
  .hub__row { grid-template-columns: minmax(0, 1fr); }
  .hub__subs { columns: 1; }
  .hub__subs a { padding-block: 0.55rem; }
  .flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow::before { left: 10px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(var(--violet), var(--lilac-2)); }
  .flow::after { display: none; }
  .flow li { padding: 0 0 0 3rem; }
  .flow b { font-size: 1.4rem; }
}
@media (max-width: 720px) {
  .subs a { grid-template-columns: 2.5rem 1fr 2.6rem; padding-block: 1.2rem; }
  .subs__d { display: none; }
  .spec > div + div { padding-left: 0; border-left: 0; border-top: 1px dashed var(--lilac-2); }
  .spec > div { padding-right: 0; }
  .next { grid-template-columns: 1fr; }
}

/* Solutions and industries */
.sr-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ph--wide h1 { max-width: 24ch; font-size: clamp(2rem, 1rem + 3vw, 4rem); overflow-wrap: anywhere; }
.ph--wide .hub__meta { max-width: 62ch; }
.ph--long h1 { max-width: 20ch; font-size: clamp(1.9rem, 1rem + 2.3vw, 3.2rem); line-height: 1.12; }
.atlas-wrap { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(5rem, 10vw, 8rem); }

/* Reference architecture: the finished chain is the markup */
.stage.stage--chain { aspect-ratio: auto; display: block; place-items: normal; margin: 0; padding: clamp(1.5rem, 3vw, 2.75rem); text-align: left; justify-self: stretch; width: 100%; }
.ph--long { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.ph--long .btn { white-space: normal; text-align: left; }
.brief ~ .sec { padding-top: 0; }
.stage--chain figcaption { margin-bottom: 1.5rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.chain { list-style: none; padding: 0; }
.chain li { position: relative; display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 1rem; padding-bottom: 1.35rem; }
.chain li:last-child { padding-bottom: 0; }
.chain li:not(:last-child)::before { content: ""; position: absolute; left: calc(0.55rem - 0.75px); top: 1.25rem; bottom: -0.25rem; width: 1.5px; background: var(--line-art); }
.chain__mark { position: relative; z-index: 1; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; }
.chain__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--violet); }
.chain__seg { position: absolute; left: calc(0.55rem - 1px); top: 1.25rem; bottom: -0.25rem; width: 2px; background: var(--violet); transform-origin: 50% 0; }
.chain__t { font-weight: 500; line-height: 1.4; overflow-wrap: break-word; }

/* The priorities panel on industry pages */
.needs { list-style: none; padding: 0; }
.needs li { position: relative; padding: 0.7rem 0 0.7rem 1.5rem; border-bottom: 1px solid var(--line-art); font-weight: 500; line-height: 1.35; }
.needs li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--violet); }
.needs__for { margin-top: 1.25rem; color: var(--ink-2); font-size: 0.95rem; }

/* Atlas: every solution against the practices behind it */
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.5rem; margin-bottom: 1.25rem; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.mk { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 50%; vertical-align: middle; }
.mk--primary { background: var(--violet); }
.mk--contributing { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mk--contextual { width: 0.3rem; height: 0.3rem; background: var(--line-art); }
.mk--none { width: 0; height: 0; }
.atlas { width: 100%; border-collapse: collapse; }
.atlas thead th { padding: 0 0 0.9rem; font-family: var(--mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.03em; color: var(--ink-3); text-align: left; }
.atlas abbr { text-decoration: none; }
.atlas tbody tr { position: relative; border-top: 1px solid var(--rule); transition: background-color 200ms ease; }
.atlas tbody tr:last-child { border-bottom: 1px solid var(--rule); }
.atlas tbody th { padding: 1.15rem 1.5rem 1.15rem 0; font-weight: 400; text-align: left; }
.atlas tbody th a { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem, 0.9rem + 0.4vw, 1.3rem); line-height: 1.25; transition: color 200ms ease; }
.atlas tbody th a::after { content: ""; position: absolute; inset: 0; }
.atlas tbody th span { display: block; margin-top: 0.3rem; max-width: 60ch; color: var(--ink-2); font-size: 0.93rem; line-height: 1.4; }
.atlas thead .atlas__c, .atlas td.atlas__c { width: 5.5rem; text-align: center; }
.js .atlas td .mk { transform: scale(0); transition: transform 500ms var(--ease) calc(150ms + var(--c) * 50ms); }
.js .atlas.in td .mk { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .atlas tbody tr:hover { background: var(--paper-2); }
  .atlas tbody tr:hover th a { color: var(--violet-ink); }
}
@media (prefers-reduced-motion: reduce) { .js .atlas td .mk { transform: none; transition: none; } }

/* Rows: a title, a line of context, a way in */
.srows { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.srows li { border-bottom: 1px solid var(--rule); }
.srows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 2.6rem; gap: 0.3rem clamp(1.5rem, 3vw, 3rem); align-items: center; padding-block: 1.25rem; transition: color 200ms ease; }
.srows strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.02rem, 0.9rem + 0.4vw, 1.3rem); line-height: 1.25; }
.srows a > span:not(.srows__go) { color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.srows__go { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--lilac-2); transition: background-color 250ms ease, color 250ms ease, transform 400ms var(--ease); }
.srows__go svg { width: 14px; height: 14px; }
.srows--tight a { grid-template-columns: minmax(0, 1fr) 2.6rem; padding-block: 0.8rem; }
.srows--tight strong { font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .srows a:hover { color: var(--violet-ink); }
  .srows a:hover .srows__go { background: var(--violet); color: #fff; box-shadow: none; }
}

/* Solution page sections */
.brief { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.brief__lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 0.9rem + 1.2vw, 2rem); line-height: 1.3; }
.brief__body { color: var(--ink-2); font-size: 1.08rem; line-height: 1.65; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.steps li { position: relative; padding-top: 1.35rem; border-top: 1.5px solid var(--line-art); font-weight: 500; line-height: 1.45; }
.steps li::before { content: ""; position: absolute; left: 0; top: -0.4rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--violet); }
.steps li:only-child { max-width: 58ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }
.mods { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.mods li { padding: 1.25rem; min-height: 7rem; border-radius: var(--r-card); background: var(--paper-2); font-weight: 500; line-height: 1.35; }
.cases { list-style: none; padding: 0; columns: 2; column-gap: clamp(2rem, 5vw, 5rem); }
.cases li { break-inside: avoid; padding-block: 0.9rem; border-top: 1px solid var(--rule); line-height: 1.4; scroll-margin-top: 7rem; }
.cases li:target { color: var(--violet-ink); font-weight: 600; }
.behind { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.behind small, .behind__label { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.behind__lead { display: block; }
.behind__art { display: block; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; border-radius: var(--r-card); background: var(--paper-2); transition: background-color 250ms ease; }
.behind__art .il { width: 100%; height: 100%; }
.behind__lead strong { display: block; margin-top: 0.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); line-height: 1.25; }
.behind__label { margin-bottom: 0.75rem; }

@media (max-width: 1080px) {
  .atlas thead .atlas__c, .atlas td.atlas__c { width: 3.9rem; }
  .atlas thead th { font-size: 0.62rem; letter-spacing: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief, .behind { grid-template-columns: minmax(0, 1fr); }
  .ph--long { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .legend, .atlas thead, .atlas__c { display: none; }
  .srows a { grid-template-columns: minmax(0, 1fr) 2.6rem; }
  .srows a > span:not(.srows__go) { grid-column: 1; grid-row: 2; }
  .srows__go { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .steps, .mods { grid-template-columns: minmax(0, 1fr); }
  .mods li { min-height: 0; padding: 1rem 1.25rem; }
  .cases { columns: 1; }
}

/* Picture links answer on the page itself: the panel tints and the title takes the colour */
@media (hover: hover) and (pointer: fine) {
  .hub__vis:hover, .behind__lead:hover .behind__art { background: var(--lilac); }
  .hub__row:has(.hub__vis:hover) h2 a, .behind__lead:hover strong { color: var(--violet-ink); }
}

/* Work */
.sec--flush { padding-top: 0; }
.ph h1 + .ph__actions { margin-top: 2rem; }
.wmeta { margin-bottom: 1rem; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--violet-ink); }
.wlabel { margin-bottom: 0.9rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.wlabel--gap { margin-top: 2rem; }
.wnote { max-width: 62ch; margin-bottom: 2rem; color: var(--ink-2); }
.wphoto { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--paper-2); }
.wphoto img, .wcards__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.wcards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem); }
.wcards a { display: block; }
.wcards__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 1.1rem; border-radius: var(--r-card); background: var(--paper-2); }
.wcards__img img { transition: transform 900ms var(--ease); }
.wcards small { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-3); }
.wcards strong { display: block; margin-top: 0.45rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.65rem); line-height: 1.22; text-wrap: balance; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .wcards a:hover img { transform: scale(1.03); }
  .wcards a:hover strong { color: var(--violet-ink); }
}
.wfilter { display: none; }
.js .wfilter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.wfilter label > span { display: block; margin-bottom: 0.45rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.wfilter select { width: 100%; height: 2.9rem; padding: 0 2.4rem 0 0.9rem; border: 1px solid var(--line-art); border-radius: 10px; color: var(--ink); font: 500 0.92rem var(--body); text-overflow: ellipsis; appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23474354' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 12px; transition: border-color 200ms ease; }
.wfilter select:hover { border-color: var(--ink-3); }
.wfilter select:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.wfilter__count { padding: 0 0 0.8rem 0.5rem; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-2); white-space: nowrap; }
.srows li[hidden] { display: none; }
.wempty { padding-block: 2.5rem; color: var(--ink-2); }
.wempty button { padding: 0; border: 0; background: none; color: var(--violet-ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wrel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) {
  .js .wfilter { grid-template-columns: minmax(0, 1fr); }
  .wfilter__count { padding: 0; }
}
@media (max-width: 640px) { .wcards { grid-template-columns: minmax(0, 1fr); } }

/* Company */
.atlas--keep tbody th { padding-block: 0.8rem; font-weight: 600; }
.atlas--keep thead th { font-size: 0.78rem; }
.steps--rich h3 { font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.steps--rich p { margin-top: 0.7rem; color: var(--ink-2); font-weight: 400; font-size: 0.95rem; line-height: 1.5; }
.etypes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 5vw, 4.5rem); align-items: start; }
.etypes > p { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); line-height: 1.35; }
.etypes ul, .vals { list-style: none; padding: 0; }
.etypes li { padding-block: 0.75rem; border-top: 1px solid var(--rule); font-weight: 500; }
.etypes li:last-child { border-bottom: 1px solid var(--rule); }
.vals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; }
.vals li { font-weight: 500; line-height: 1.35; }
.sec__head.sec__head--center { justify-content: center; align-items: center; text-align: center; }
.people { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 20rem)); justify-content: center; gap: clamp(1.25rem, 3vw, 3rem); text-align: center; }
.people__photo { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 1.1rem; border-radius: var(--r-card); object-fit: cover; }
.people__photo--ph { display: grid; place-items: end center; overflow: hidden; background: var(--paper-2); }
.people__photo--ph svg { display: block; width: 62%; fill: var(--line-art); }
.people strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
.people__role { display: block; margin-top: 0.4rem; color: var(--ink-2); }
.logos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.logos li { display: grid; place-items: center; min-height: 7rem; padding: 1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-weight: 600; text-align: center; }
.logos img { display: block; height: 42px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: 0.8; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; padding-top: clamp(7.5rem, 12vw, 9.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact h1 { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1.1; overflow-wrap: anywhere; }
.contact__lede { margin-top: 1.4rem; max-width: 44ch; color: var(--ink-2); font-size: 1.1rem; }
.contact__ways { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.contact__ways > div { padding-block: 0.95rem; border-bottom: 1px solid var(--rule); }
.contact__ways dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.contact__ways dd { margin: 0.3rem 0 0; font-weight: 500; line-height: 1.4; }
.contact__ways a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .contact__ways a:hover { color: var(--violet-ink); } }
.cform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--r-card); background: var(--paper-2); }
.cfield--wide, .cform__end, .cform__status { grid-column: 1 / -1; }
.cfield label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.45rem; font-weight: 500; font-size: 0.93rem; }
.cfield small { color: var(--ink-3); font-weight: 400; font-size: 0.8rem; }
.cfield input, .cfield textarea, .cfield select { display: block; width: 100%; padding: 0.72rem 0.85rem; border: 1px solid var(--line-art); border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body); transition: border-color 200ms ease, box-shadow 200ms ease; }
.cfield textarea { resize: vertical; min-height: 8rem; }
.cfield select { height: 2.95rem; padding-right: 2.4rem; appearance: none; text-overflow: ellipsis; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23474354' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 12px; }
.cfield input:hover, .cfield textarea:hover, .cfield select:hover { border-color: var(--ink-3); }
.cfield input:focus-visible, .cfield textarea:focus-visible, .cfield select:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); border-radius: 10px; }
.cfield [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.cfield__err { margin-top: 0.4rem; color: #b3261e; font-size: 0.86rem; }
.cform .btn { border: 0; cursor: pointer; }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 0.25rem; }
.cform__note { flex: 1 1 14rem; color: var(--ink-3); font-size: 0.86rem; line-height: 1.4; }
.cform__status { padding: 0.9rem 1rem; border-radius: 10px; background: var(--lilac); font-size: 0.95rem; line-height: 1.45; }
.cform__status a { color: var(--violet-ink); font-weight: 600; }

@media (max-width: 1080px) {
  .etypes, .contact { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .atlas--keep thead { display: table-header-group; }
  .atlas--keep .atlas__c { display: table-cell; }
  .atlas--keep thead .atlas__c, .atlas--keep td.atlas__c { width: 3.6rem; }
  .atlas--keep thead th { font-size: 0.68rem; }
}
@media (max-width: 720px) {
  .vals, .cform { grid-template-columns: minmax(0, 1fr); }
}

/* Company: opening */
.co-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-top: clamp(7.5rem, 12vw, 9.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.co-hero h1 { font-size: clamp(2.1rem, 1rem + 3.6vw, 4.6rem); line-height: 1.08; overflow-wrap: anywhere; }
@media (min-width: 721px) { .co-keep { white-space: nowrap; } }
.co-hero p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; }

/* Company: the journey, one small scene per year. Stacked by default; site.js turns it into a film on large screens */
.jy { padding-bottom: clamp(3rem, 6vw, 5rem); }
.jy__head { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.jy__track { display: grid; gap: clamp(3rem, 8vw, 5rem); list-style: none; padding: 0; }
.jy__panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.jy__yr { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 1rem + 7vw, 7.5rem); line-height: 1; color: transparent; -webkit-text-stroke: max(1.2px, 0.02em) var(--violet); }
.jy__panel h3 { margin-top: 1.1rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 2rem); line-height: 1.2; }
.jy__panel p { margin-top: 0.7rem; max-width: 34ch; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }
.jy__art { display: block; border-radius: var(--r-card); background: var(--paper-2); padding: clamp(0.5rem, 1.5vw, 1.25rem); }
.jy__art .il { display: block; width: 100%; height: auto; }
.jy__panel--end { grid-template-columns: minmax(0, 1fr); }
.jy__panel--end .jy__yr { font-size: clamp(2.6rem, 1rem + 5vw, 5.5rem); }
.jy__panel--end p { max-width: 30ch; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.4vw, 2.2rem); line-height: 1.25; }
.jy__rail { display: none; }
.jy.is-film { max-width: none; padding-inline: 0; padding-bottom: 0; }
.jy.is-film .jy__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: 5.75rem; }
.jy.is-film .jy__head { width: 100%; max-width: 1320px; margin-inline: auto; padding: 0 var(--gutter) 0.5rem; }
.jy.is-film .jy__head .sec__head { margin: 0; }
.jy.is-film .jy__head h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); max-width: none; }
.jy.is-film .jy__track { --w: min(78vw, 66rem); flex: 1; min-height: 0; display: flex; gap: 4vw; align-items: center; width: max-content; padding-inline: calc((100vw - var(--w)) / 2); will-change: transform; }
.jy.is-film .jy__panel { flex: none; width: var(--w); transition: opacity 500ms ease; opacity: 0.2; }
.jy.is-film .jy__panel.is-on { opacity: 1; }
.jy.is-film .jy__art { width: 100%; max-height: calc(100svh - 13.5rem); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.jy.is-film .jy__art .il { height: 100%; width: 100%; }
.jy.is-film .jy__panel--end { min-height: 20rem; align-content: center; }
.jy.is-film .jy__rail { position: relative; display: block; flex: none; width: min(100% - 2 * var(--gutter), 1120px); height: 4rem; margin-inline: auto; list-style: none; padding: 0; }
.jy__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0.85rem; height: 1px; background: var(--line-art); }
.jy__rail li { position: absolute; top: 0; left: var(--at); translate: -50% 0; }
.jy__rail a { display: block; padding-top: 1.5rem; font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); transition: color 250ms ease; }
.jy__rail a::before { content: ""; position: absolute; left: 50%; top: 0.62rem; width: 0.5rem; height: 0.5rem; margin-left: -0.25rem; border-radius: 50%; background: var(--line-art); }
.jy__rail li.is-on a { color: var(--violet-ink); font-weight: 600; }
.jy__rail li.jy__mark { position: absolute; translate: none; top: 0.445rem; left: 0; width: 0.85rem; height: 0.85rem; margin-left: -0.425rem; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px #fff; pointer-events: none; }

.co-focus { padding-block: clamp(4rem, 8vw, 7rem); }
.co-focus p { max-width: 30ch; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2.2vw, 3.1rem); line-height: 1.22; }

/* Company: the proof, on night */
.dep__panel { --rule: rgb(255 255 255 / 0.12); padding: clamp(1.75rem, 5vw, 4.5rem); border-radius: var(--r-stage); background: var(--night); color: var(--on-night); }
.dep .atlas thead th { color: rgb(255 255 255 / 0.65); font-size: 0.82rem; }
.dep .atlas tbody th { color: #fff; }
.dep .mk--primary { background: var(--violet-hi); }
.dep .mk--none { width: 0.3rem; height: 0.3rem; background: rgb(255 255 255 / 0.22); }
@media (hover: hover) and (pointer: fine) { .dep .atlas tbody tr:hover { background: rgb(255 255 255 / 0.06); } }

@media (max-width: 1080px) {
  .co-hero { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.5rem; }
}
@media (max-width: 860px) {
  .dep .atlas thead th { font-size: 0.68rem; }
  .jy__panel { grid-template-columns: minmax(0, 1fr); }
}

/* Insights: the library and the article template */
.ins-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.ins-card { display: flex; flex-direction: column; height: 100%; }
.ins-card__art { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-card); background: var(--paper-2); }
.ins-card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 900ms var(--ease); }
.ins-card__topic { margin-top: 1.1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--violet-ink); }
.ins-card strong { display: block; margin-top: 0.5rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); line-height: 1.25; text-wrap: balance; transition: color 200ms ease; }
.ins-card__time { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) { .ins-card:hover img { transform: scale(1.03); } }
.ins-card:hover strong, .ins-card:focus-visible strong { color: var(--violet-ink); }

.art-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(8rem, 13vw, 10.5rem) clamp(2.5rem, 5vw, 4rem); }
.art-head__topic { font-family: var(--mono); font-size: 0.85rem; color: var(--violet-ink); }
.art-head h1 { margin-top: 1rem; font-size: clamp(2rem, 1rem + 2.7vw, 3.6rem); line-height: 1.1; text-wrap: balance; }
.art-head__lede { margin-top: 1.25rem; max-width: 46ch; color: var(--ink-2); font-size: 1.15rem; line-height: 1.5; }
.art-head__meta { margin-top: 1.25rem; font-size: 0.9rem; color: var(--ink-3); }
.art-head__sample { display: block; margin-top: 0.25rem; }
.art-head__art { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--paper-2); }
.art-head__art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.art-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.art-body { max-width: 68ch; font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.art-body > * + * { margin-top: 1.15rem; }
.art-body h2 { margin-top: 2.75rem; color: var(--ink); font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); line-height: 1.25; }
.art-body ul { list-style: disc; padding-left: 1.2rem; }
.art-body li + li { margin-top: 0.5rem; }
.art-body li::marker { color: var(--violet); }
.art-body pre { overflow-x: auto; padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--paper-2); color: var(--ink); font-family: var(--mono); font-size: 0.86rem; line-height: 1.6; }
.art-side { align-self: start; position: sticky; top: 7rem; }
.art-side h2 { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; color: var(--ink-3); }
.art-side ul { list-style: none; padding: 0; margin-top: 0.6rem; }
.art-side ul + h2 { margin-top: 1.75rem; }
.art-side a { display: block; padding-block: 0.4rem; font-size: 0.98rem; line-height: 1.35; color: var(--ink); transition: color 200ms ease; }
.art-side a:hover, .art-side a:focus-visible { color: var(--violet-ink); }
.art-next { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 2rem; align-items: center; padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: clamp(3rem, 6vw, 5rem); }
.art-next small { grid-column: 1; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }
.art-next strong { grid-column: 1; font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.2vw, 2.1rem); line-height: 1.2; transition: color 200ms ease; }
.art-next svg { grid-column: 2; grid-row: 1 / span 2; width: 1.4rem; height: 1.4rem; color: var(--violet); }
.art-next:hover strong, .art-next:focus-visible strong { color: var(--violet-ink); }
@media (max-width: 860px) {
  .ins-grid { grid-template-columns: minmax(0, 1fr); }
  .art-head, .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; }
}
