/* Block: argos/page-hero (service pages) */
.breadcrumb { padding-top: 112px; display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--violet); }

.es-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 88% 11%, rgba(29,214,190,.14), transparent 25%), radial-gradient(circle at 5% 55%, rgba(97,24,215,.08), transparent 29%), var(--paper-wash); }
.es-hero::after { content: ""; width: 540px; height: 540px; position: absolute; right: -330px; bottom: -330px; border: 1px solid rgba(97,24,215,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(97,24,215,.025), 0 0 0 140px rgba(29,214,190,.022); }
.es-hero-grid { min-height: 710px; padding: 50px 0 80px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: 7vw; align-items: center; }
.es-hero-grid-single { grid-template-columns: 1fr; min-height: 0; }
.es-hero .eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.es-hero .eyebrow span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; line-height: 1; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.es-hero .eyebrow span:first-child { color: var(--violet); background: rgba(97,24,215,.06); border-color: rgba(97,24,215,.16); }
.es-hero-copy h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.35rem, 5.15vw, 5.7rem); font-weight: 800; }
.es-hero-copy .hero-lead { max-width: 660px; margin-bottom: 22px; color: #403d47; font-size: clamp(1.04rem, 1.45vw, 1.24rem); line-height: 1.65; }
.es-hero-copy .hero-support { max-width: 620px; margin: 0 0 30px; color: var(--muted); font-size: .95rem; }
.es-hero-copy .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.es-hero-copy .hero-note { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: .84rem; }
.page-stamp { margin: 28px 0 0; color: rgba(17,16,21,.42); font-size: .63rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }

/* Illustration panel */
.es-visual { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.15); border-radius: 28px; background: var(--field); box-shadow: 0 30px 80px rgba(35,24,59,.13); transform: rotate(1deg); }
.visual-bar { min-height: 52px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); font-size: .62rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.visual-bar span:last-child { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.visual-bar i { width: 7px; height: 7px; border-radius: 50%; background: #14bfa7; box-shadow: 0 0 0 5px rgba(20,191,167,.12); }
.es-visual figcaption { padding: 16px 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
.es-visual figcaption b, .es-visual figcaption strong { color: var(--ink); }

/* Signal strip */
.hero-signals { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card-glass); }
.hero-signals .shell { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.hero-signals p { min-height: 116px; margin: 0; padding: 25px 27px; border-right: 1px solid var(--line); }
.hero-signals p:first-child { padding-left: 0; }
.hero-signals p:last-child { padding-right: 0; border-right: 0; }
.hero-signals span, .hero-signals b, .hero-signals small { display: block; }
.hero-signals span { color: var(--violet); font-size: .78rem; font-weight: 900; }
.hero-signals b { margin-top: 12px; font-size: .9rem; }
.hero-signals small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.5; }

/* Illustration: pathway map */
.rp-visual { min-height: 500px; padding: 27px; display: grid; align-content: center; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 28px 28px; }
.rp-visual-label { margin-bottom: 18px; color: var(--muted); font-size: .5rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pathway-map { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pathway-map article { min-height: 145px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.pathway-map article:first-child { color: var(--white); border-color: transparent; background: linear-gradient(145deg, var(--violet), var(--violet-dark)); }
.pathway-map span { color: var(--violet); font-size: .5rem; font-weight: 900; }
.pathway-map article:first-child span { color: #14bfa7; }
.pathway-map b { margin-top: auto; font-size: .78rem; line-height: 1.15; }
.pathway-map small { margin-top: 7px; color: var(--muted); font-size: .48rem; }
.pathway-map article:first-child small { color: rgba(255,255,255,.6); }

/* Illustration: portal workspace */
.portal-canvas { min-height: 500px; padding: 24px; background: var(--visual); }
.portal-shell { height: 100%; min-height: 450px; display: grid; grid-template-columns: 132px 1fr; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--card); box-shadow: 0 18px 44px rgba(35,24,59,.1); }
.portal-nav { padding: 22px 15px; color: rgba(255,255,255,.62); background: var(--midnight); }
.portal-nav b { display: block; margin-bottom: 32px; color: var(--white); font-size: .68rem; }
.portal-nav span { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .55rem; }
.portal-nav span.active { color: #14bfa7; }
.portal-work { padding: 23px; }
.portal-welcome { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.portal-welcome small, .portal-welcome b { display: block; }
.portal-welcome small { color: var(--muted); font-size: .52rem; }
.portal-welcome b { margin-top: 3px; font-size: 1rem; }
.account-pill { padding: 7px 10px; border-radius: 999px; color: #057868; background: rgba(20,191,167,.12); font-size: .48rem; font-weight: 900; }
.portal-progress { margin: 30px 0 22px; }
.portal-progress > div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .49rem; }
.portal-progress i { height: 5px; margin-top: 7px; display: block; overflow: hidden; border-radius: 999px; background: #e7e3ed; }
.portal-progress i::before { content: ""; width: 72%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #14bfa7); }
.portal-task { min-height: 74px; padding: 13px 0; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.portal-task > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--violet); background: rgba(97,24,215,.08); font-size: .55rem; font-weight: 900; }
.portal-task b, .portal-task small { display: block; }
.portal-task b { font-size: .63rem; }
.portal-task small { margin-top: 3px; color: var(--muted); font-size: .5rem; }
.portal-task em { color: #057868; font-size: .5rem; font-style: normal; font-weight: 900; }
.portal-task.exception em { color: #9a5b07; }

/* Illustration: integration handoff */
.integration-canvas { min-height: 500px; padding: 27px; position: relative; display: grid; grid-template-columns: 1fr 105px 1fr; gap: 13px; align-items: center; background-image: radial-gradient(circle at 50% 48%, rgba(29,214,190,.1), transparent 30%); }
.system-column { display: grid; gap: 12px; }
.system-column > small { color: var(--muted); font-size: .49rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.system-node { min-height: 67px; padding: 12px; display: flex; gap: 11px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-node i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: var(--violet); background: rgba(97,24,215,.08); font-size: .48rem; font-style: normal; font-weight: 900; }
.system-node b, .system-node span { display: block; }
.system-node b { font-size: .64rem; }
.system-node span { margin-top: 3px; color: var(--muted); font-size: .52rem; }
.exchange-core { width: 96px; height: 96px; margin: auto; display: grid; place-content: center; position: relative; border-radius: 50%; color: var(--white); background: var(--midnight); text-align: center; box-shadow: 0 18px 35px rgba(16,25,39,.22); }
.exchange-core::before, .exchange-core::after { content: ""; width: 32px; height: 1px; position: absolute; top: 48px; background: #14bfa7; }
.exchange-core::before { right: 100%; }
.exchange-core::after { left: 100%; }
.exchange-core b { font-size: .6rem; }
.exchange-core small { color: #14bfa7; font-size: .43rem; font-weight: 900; letter-spacing: .06em; }
.failure-rail { grid-column: 1 / -1; padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(240,173,82,.5); border-bottom: 1px solid rgba(240,173,82,.5); color: #8b540a; font-size: .52rem; font-weight: 850; }
.failure-rail span:last-child { color: var(--muted); font-weight: 700; }

@media (max-width: 1100px) {
  .es-hero-grid { grid-template-columns: 1fr; }
  .es-visual { width: min(100%, 760px); }
}

@media (max-width: 840px) {
  .hero-signals .shell { grid-template-columns: repeat(2, 1fr); }
  .hero-signals p:nth-child(2) { border-right: 0; }
  .hero-signals p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-signals p:nth-child(3) { padding-left: 0; }
}

@media (max-width: 760px) {
  .breadcrumb { padding-top: 91px; }
  .es-hero-grid { min-height: auto; padding: 34px 0 60px; gap: 48px; }
  .es-hero-copy h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .es-hero-copy .hero-actions { align-items: stretch; flex-direction: column; }
  .es-hero-copy .hero-actions .btn { width: 100%; }
  .es-hero-copy .hero-actions .text-link { align-self: flex-start; }
  .es-visual { transform: none; }
  .rp-visual { min-height: 420px; }
  .pathway-map { grid-template-columns: 1fr; }
  .pathway-map article { min-height: 110px; }
  .portal-shell { grid-template-columns: 84px 1fr; }
  .portal-nav { padding-inline: 10px; }
  .portal-nav span { font-size: .46rem; }
  .portal-work { padding: 17px; }
  .portal-task { grid-template-columns: 27px 1fr; }
  .portal-task em { grid-column: 2; }
  .integration-canvas { grid-template-columns: 1fr; }
  .exchange-core::before, .exchange-core::after { display: none; }
  .failure-rail { grid-column: 1; flex-direction: column; }
}

@media (max-width: 430px) {
  .es-hero .eyebrow span:last-child:not(:first-child) { display: none; }
  .hero-signals .shell { grid-template-columns: 1fr; }
  .hero-signals p, .hero-signals p:nth-child(2), .hero-signals p:nth-child(3) { min-height: 100px; padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-signals p:last-child { border-bottom: 0; }
  .visual-bar { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .portal-canvas, .integration-canvas { padding: 15px; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-nav { display: flex; gap: 10px; overflow-x: auto; }
  .portal-nav b { margin: 0 8px 0 0; }
  .portal-nav span { min-width: max-content; padding: 0 8px; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .es-visual { transform: none; }
}

/* Hero style: workflow (service pages in the workflow family) */
.es-hero--workflow { padding-top: 88px; background: radial-gradient(circle at 10% 26%, rgba(97,24,215,.08), transparent 31%), radial-gradient(circle at 94% 14%, rgba(144,189,247,.25), transparent 30%), var(--paper-wash); }
.es-hero--workflow::after { display: none; }
.es-hero--workflow::before { content: ""; position: absolute; width: 760px; height: 760px; right: -420px; top: -370px; border: 1px solid rgba(97,24,215,.14); border-radius: 50%; box-shadow: 0 0 0 88px rgba(97,24,215,.026), 0 0 0 176px rgba(29,214,190,.018); }
.es-hero--workflow .breadcrumb { position: relative; z-index: 1; padding-top: 28px; }
.es-hero--workflow .es-hero-grid { min-height: 720px; padding: 46px 0 82px; gap: 64px; }
.es-hero--workflow .es-hero-copy h1 { max-width: 720px; font-size: clamp(3.35rem, 4.7vw, 5rem); }
.es-hero--workflow .es-hero-copy .hero-support { color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }

/* Proof strip (text-only items) */
.hero-proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card-glass); }
.hero-proof-inner { min-height: 84px; display: grid; grid-template-columns: repeat(var(--signal-count, 3), 1fr); align-items: stretch; }
.hero-proof-inner p { margin: 0; padding: 22px 26px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); font-size: .85rem; font-weight: 850; line-height: 1.35; }
.hero-proof-inner p:last-child { border-right: 0; }
.hero-proof-inner span { color: var(--violet); font-size: .78rem; }

/* Illustration: operational system blueprint (own frame) */
.product-blueprint { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.15); border-radius: 30px; background: var(--field); box-shadow: var(--shadow); transform: rotate(.7deg); }
.blueprint-toolbar { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.blueprint-status { display: flex; align-items: center; gap: 8px; }
.blueprint-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.14); }
.blueprint-canvas { min-height: 485px; display: grid; grid-template-columns: 54px 1fr; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 28px 28px; }
.blueprint-nav { padding: 18px 13px; display: flex; flex-direction: column; align-items: center; gap: 17px; border-right: 1px solid var(--line); background: var(--card); }
.nav-mark { width: 27px; height: 27px; margin-bottom: 10px; border: 2px solid var(--violet); border-radius: 50% 50% 8px 50%; transform: rotate(45deg); }
.blueprint-nav i { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); }
.blueprint-nav i.active { border-color: rgba(97,24,215,.34); background: rgba(97,24,215,.14); box-shadow: inset 0 0 0 7px white; }
.blueprint-main { min-width: 0; padding: 23px; }
.blueprint-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.blueprint-title small, .blueprint-title b { display: block; }
.blueprint-title small { color: var(--muted); font-size: .52rem; font-weight: 900; letter-spacing: .09em; }
.blueprint-title b { margin-top: 4px; font-size: .82rem; }
.blueprint-title > span { padding: 6px 9px; border-radius: 999px; color: #087b6c; background: rgba(29,214,190,.15); font-size: .53rem; font-weight: 900; }
.blueprint-kpis { margin-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.blueprint-kpis > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.blueprint-kpis small, .blueprint-kpis strong { display: block; }
.blueprint-kpis small { color: var(--muted); font-size: .52rem; }
.blueprint-kpis strong { margin: 5px 0 10px; font-size: 1rem; }
.blueprint-kpis i { display: block; width: 75%; height: 3px; border-radius: 3px; background: var(--violet); }
.blueprint-kpis .amber-bar { width: 36%; background: #d88922; }
.blueprint-kpis .mint-bar { width: 81%; background: #0ba48f; }
.blueprint-workflow { margin-top: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.flow-head { display: flex; justify-content: space-between; gap: 10px; }
.flow-head span { font-size: .61rem; font-weight: 900; }
.flow-head small { color: var(--muted); font-size: .5rem; }
.flow-lanes { margin-top: 17px; display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr; align-items: center; }
.flow-lanes article { min-width: 0; min-height: 86px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.flow-lanes article span, .flow-lanes article b, .flow-lanes article small { display: block; }
.flow-lanes article span { color: var(--violet); font-size: .46rem; font-weight: 900; }
.flow-lanes article b { margin: 14px 0 3px; font-size: .58rem; }
.flow-lanes article small { overflow: hidden; color: var(--muted); font-size: .46rem; text-overflow: ellipsis; white-space: nowrap; }
.flow-lanes article.flow-review { border-color: rgba(216,137,34,.38); background: #fff8ec; }
.flow-lanes > i { height: 1px; background: var(--line); position: relative; }
.flow-lanes > i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }
.blueprint-bottom { margin-top: 12px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; }
.activity-panel, .exception-panel { min-height: 94px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.activity-panel span { display: block; margin-bottom: 12px; font-size: .52rem; font-weight: 900; }
.activity-panel i { display: block; height: 5px; margin: 7px 0; border-radius: 4px; background: #e7e3ec; }
.activity-panel i:nth-child(3) { width: 78%; }
.activity-panel i:nth-child(4) { width: 55%; }
.exception-panel { border-color: rgba(216,137,34,.32); background: #fff7e9; }
.exception-panel span, .exception-panel b, .exception-panel small { display: block; }
.exception-panel span { color: #9a5b0c; font-size: .5rem; font-weight: 900; text-transform: uppercase; }
.exception-panel b { margin: 10px 0 4px; font-size: .58rem; }
.exception-panel small { color: #805f3b; font-size: .48rem; }
.blueprint-legend { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-around; gap: 12px; border-top: 1px solid var(--line); }
.blueprint-legend span { position: relative; padding-left: 11px; color: var(--muted); font-size: .49rem; font-weight: 850; text-transform: uppercase; }
.blueprint-legend span::before { content: ""; position: absolute; left: 0; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); }
.blueprint-legend span:nth-child(2)::before { background: var(--mint); }
.blueprint-legend span:nth-child(3)::before { background: #ffca74; }
.blueprint-legend span:nth-child(4)::before { background: #90bdf7; }

@media (max-width: 1120px) {
  .product-blueprint { width: min(100%, 760px); margin-inline: auto; }
  .es-hero--workflow .es-hero-copy { max-width: 850px; }
}

@media (max-width: 900px) {
  .hero-proof-inner { grid-template-columns: 1fr; }
  .hero-proof-inner p { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof-inner p:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .es-hero--workflow { padding-top: 0; }
  .es-hero--workflow .breadcrumb { padding-top: 96px; }
  .es-hero--workflow .es-hero-grid { padding: 34px 0 64px; gap: 50px; }
  .es-hero--workflow .es-hero-copy h1 { font-size: clamp(3rem, 13.4vw, 4.15rem); }
  .product-blueprint { transform: none; border-radius: 22px; }
  .blueprint-canvas { grid-template-columns: 1fr; }
  .blueprint-nav { min-height: 50px; padding: 12px; flex-direction: row; justify-content: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-mark { width: 24px; height: 24px; margin: 0 10px 0 0; }
  .blueprint-nav i { width: 20px; height: 20px; }
  .blueprint-main { padding: 16px; }
  .blueprint-kpis { grid-template-columns: 1fr; }
  .flow-lanes { grid-template-columns: 1fr; gap: 7px; }
  .flow-lanes article { min-height: 70px; }
  .flow-lanes > i { width: 1px; height: 14px; margin-left: 50%; }
  .flow-lanes > i::after { right: -3px; top: 7px; transform: rotate(135deg); }
  .blueprint-bottom { grid-template-columns: 1fr; }
  .blueprint-legend { flex-wrap: wrap; padding-block: 15px; }
}

@media (max-width: 480px) {
  .blueprint-toolbar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .blueprint-title { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .product-blueprint { transform: none; }
}
.es-hero--workflow .breadcrumb { font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }

/* Hero style: legacy modernization (amber glow, larger headline, workflow-style copy) */
.es-hero--legacy { background: radial-gradient(circle at 0 28%, rgba(240,168,74,.12), transparent 28%), radial-gradient(circle at 96% 9%, rgba(97,24,215,.11), transparent 30%), var(--paper-wash); }
.es-hero--legacy::after { display: none; }
.es-hero--legacy .breadcrumb { padding-top: 118px; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }
.es-hero--legacy .es-hero-grid { min-height: 760px; padding: 38px 0 84px; grid-template-columns: .93fr 1.07fr; gap: 62px; }
.es-hero--legacy .es-hero-copy h1 { max-width: 730px; font-size: clamp(3.25rem, 4.75vw, 5.25rem); }
.es-hero--legacy .es-hero-copy .hero-lead { max-width: 690px; }
.es-hero--legacy .es-hero-copy .hero-support { margin: -10px 0 28px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }
.es-hero--legacy .es-hero-copy .hero-note { max-width: 620px; margin-top: 23px; font-size: .82rem; }

/* Illustration: modernization board (own frame) */
.modernization-board { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.16); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); transform: rotate(.5deg); }
.modernization-toolbar { height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); font-size: .62rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.modernization-toolbar span:last-child { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.modernization-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.14); }
.modernization-canvas { min-height: 470px; padding: 38px 22px; display: grid; grid-template-columns: 1fr .48fr 1.08fr; gap: 16px; align-items: center; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 25px 25px; }
.system-era { min-width: 0; }
.system-era > small { display: block; margin-bottom: 13px; color: var(--muted); font-size: .56rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.legacy-window, .modern-window { overflow: hidden; border: 1px solid rgba(17,16,21,.18); border-radius: 15px; background: var(--card); box-shadow: 0 14px 30px rgba(21,19,27,.1); }
.legacy-window { filter: saturate(.6); transform: rotate(-1.2deg); }
.window-bar { height: 32px; padding: 0 9px; display: flex; align-items: center; gap: 5px; color: #77727e; background: #ebe8e2; font-size: .48rem; font-weight: 800; }
.window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #aaa5ae; }
.window-bar span { margin-left: 5px; }
.old-ui { min-height: 200px; padding: 18px; background: var(--visual); }
.old-ui b { display: block; margin-bottom: 20px; font-family: Georgia, serif; font-size: .68rem; }
.old-ui span { height: 20px; margin-bottom: 10px; display: block; border: 1px inset #ccc7be; background: var(--card); }
.old-ui button { min-width: 72px; min-height: 25px; border: 1px outset #aaa; color: #4e4a52; background: #e9e6df; font-family: Georgia, serif; font-size: .52rem; }
.era-tags { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.era-tags span { padding: 5px 7px; border: 1px solid rgba(17,16,21,.12); border-radius: 999px; color: var(--muted); background: var(--card-glass); font-size: .50rem; font-weight: 850; }
.modern-era .era-tags span { color: #086f63; border-color: rgba(8,111,99,.18); background: rgba(29,214,190,.09); }
.preserve-gate { min-height: 200px; padding: 20px 8px; display: grid; place-items: center; align-content: center; text-align: center; border-radius: 999px; color: var(--white); background: var(--charcoal); box-shadow: 0 18px 38px rgba(20,24,32,.24); }
.preserve-gate span { color: #f0a84a; font-size: .48rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.preserve-gate b { margin-top: 8px; font-size: .58rem; }
.preserve-gate i { width: 34px; height: 1px; margin: 15px 0; position: relative; background: linear-gradient(90deg, #f0a84a, var(--mint)); }
.preserve-gate i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--mint); border-right: 1px solid var(--mint); transform: rotate(45deg); }
.preserve-gate small { max-width: 80px; color: rgba(255,255,255,.72); font-size: .45rem; line-height: 1.45; }
.modern-window { min-height: 254px; display: grid; grid-template-columns: 42px 1fr; border-color: rgba(97,24,215,.2); transform: rotate(1deg); }
.modern-nav { padding: 12px 9px; display: grid; align-content: start; gap: 15px; color: var(--white); background: var(--violet-bg); }
.modern-nav i { width: 19px; height: 19px; border: 2px solid var(--mint); border-radius: 50% 50% 5px 50%; transform: rotate(45deg); }
.modern-nav span { height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); }
.modern-main { padding: 18px 14px; }
.modern-main > b { display: block; font-size: .68rem; }
.metric-row { margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.metric-row span { height: 45px; border-radius: 7px; background: var(--tint-a); }
.metric-row span:nth-child(2) { background: var(--tint-b); }
.metric-row span:nth-child(3) { background: linear-gradient(145deg, #fff5e6, #ffe3b8); }
.modern-chart { height: 82px; padding: 10px 8px 0; display: flex; align-items: end; gap: 7px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modern-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--violet), #b591ed); }
.modern-chart i:nth-child(1) { height: 28%; }
.modern-chart i:nth-child(2) { height: 46%; }
.modern-chart i:nth-child(3) { height: 38%; }
.modern-chart i:nth-child(4) { height: 72%; }
.modern-chart i:nth-child(5) { height: 88%; background: linear-gradient(180deg, #0db7a1, var(--mint)); }
.modernization-caption { margin: 0 20px 20px; padding: 14px 16px; display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-radius: 13px; color: var(--white); background: var(--charcoal); }
.modernization-caption span { color: #f0a84a; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.modernization-caption p { margin: 0; color: rgba(255,255,255,.72); font-size: .72rem; }

@media (max-width: 1100px) {
  .es-hero--legacy .es-hero-grid { grid-template-columns: 1fr; }
  .modernization-board { max-width: 760px; }
}

@media (max-width: 760px) {
  .es-hero--legacy .breadcrumb { padding-top: 96px; }
  .es-hero--legacy .es-hero-grid { min-height: auto; padding: 34px 0 64px; gap: 48px; }
  .es-hero--legacy .es-hero-copy h1 { font-size: clamp(2.9rem, 13.2vw, 4.05rem); }
  .modernization-board { transform: none; }
  .modernization-toolbar { font-size: .52rem; }
  .modernization-canvas { min-height: auto; padding: 25px 18px; grid-template-columns: 1fr; }
  .preserve-gate { min-height: 110px; border-radius: 24px; }
  .preserve-gate small { max-width: 190px; }
  .modernization-caption { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 430px) {
  .es-hero--legacy .es-hero-copy h1 { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .modernization-board { transform: none; }
}

/* Hero style: automation (mint glow, largest headline) */
.es-hero--automation { background: radial-gradient(circle at 2% 20%, rgba(97,24,215,.09), transparent 32%), radial-gradient(circle at 96% 8%, rgba(29,214,190,.14), transparent 28%), var(--paper-wash); }
.es-hero--automation::after { display: none; }
.es-hero--automation .breadcrumb { padding-top: 118px; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }
.es-hero--automation .es-hero-grid { min-height: 720px; padding: 46px 0 84px; grid-template-columns: .96fr 1.04fr; gap: 68px; }
.es-hero--automation .es-hero-copy h1 { max-width: 760px; font-size: clamp(3.45rem, 5vw, 5.6rem); }
.es-hero--automation .es-hero-copy .hero-lead { max-width: 720px; }
.es-hero--automation .es-hero-copy .hero-support { margin: -10px 0 28px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }
.es-hero--automation .es-hero-copy .hero-note { max-width: 620px; margin-top: 23px; font-size: .82rem; }

/* Illustration: workflow operations board (own frame) */
.workflow-hero-board { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.15); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); transform: rotate(.6deg); }
.board-toolbar { height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.board-live { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.board-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.14); }
.board-body { position: relative; min-height: 478px; display: grid; grid-template-columns: 1fr .9fr 1fr; gap: 18px; padding: 28px 24px 90px; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 26px 26px; }
.board-column { position: relative; z-index: 2; min-width: 0; }
.board-label { display: block; margin-bottom: 18px; color: var(--muted); font-size: .6rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mini-ticket, .status-ticket { min-height: 72px; margin-bottom: 28px; padding: 11px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 9px 24px rgba(25,18,36,.07); }
.mini-ticket b, .mini-ticket small, .status-ticket b, .status-ticket small { display: block; line-height: 1.25; }
.mini-ticket b, .status-ticket b { font-size: .68rem; }
.mini-ticket small, .status-ticket small { margin-top: 4px; color: var(--muted); font-size: .57rem; }
.ticket-icon, .status-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--tint-a); font-size: .58rem; font-style: normal; font-weight: 900; }
.mail-icon::before { content: ""; width: 16px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; background: linear-gradient(35deg, transparent 47%, currentColor 48% 51%, transparent 52%), linear-gradient(-35deg, transparent 47%, currentColor 48% 51%, transparent 52%); }
.form-icon::before { content: ""; width: 14px; height: 17px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: inset 0 -5px rgba(97,24,215,.12); }
.route-core { min-height: 142px; margin-top: 52px; padding: 19px 10px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--white); border-radius: 24px; background: var(--ink); box-shadow: 0 18px 38px rgba(17,16,21,.24); }
.route-core b, .route-core small { display: block; }
.route-core b { margin: 10px 0 4px; font-size: .72rem; }
.route-core small { color: rgba(255,255,255,.58); font-size: .55rem; }
.route-mark { width: 30px; height: 30px; border: 2px solid var(--mint); border-radius: 50% 50% 7px 50%; transform: rotate(45deg); }
.route-rule { margin-top: 22px; padding: 10px 11px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; border: 1px solid rgba(97,24,215,.2); border-radius: 11px; color: var(--violet); background: rgba(97,24,215,.06); font-size: .52rem; }
.route-rule span { font-weight: 900; }
.route-rule b { color: var(--ink); font-size: .57rem; }
.status-ticket { margin-bottom: 25px; }
.status-icon { color: #057c6d; background: rgba(29,214,190,.15); }
.review-ticket .status-icon { color: #8f4e00; background: #ffedcb; }
.queued-ticket .status-icon { color: var(--violet); background: rgba(97,24,215,.1); }
.board-connectors { position: absolute; z-index: 1; inset: 25px 14px auto; width: calc(100% - 28px); height: 354px; pointer-events: none; }
.board-connectors path { fill: none; stroke: rgba(17,16,21,.18); stroke-width: 1.5; stroke-dasharray: 4 6; }
.board-connectors .exception-path { stroke: var(--violet); stroke-width: 2; }
.board-connectors .retry-path { stroke: #d28424; }
.board-exception-bar { margin: 0 20px 20px; padding: 14px 16px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; border-radius: 13px; color: var(--white); background: var(--violet-dark); }
.board-exception-bar span { color: var(--mint); font-size: .61rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.board-exception-bar p { margin: 0; color: rgba(255,255,255,.7); font-size: .65rem; }

@media (max-width: 1120px) {
  .es-hero--automation .es-hero-grid { grid-template-columns: 1fr; }
  .workflow-hero-board { width: min(100%, 760px); margin-inline: auto; }
}

@media (max-width: 760px) {
  .es-hero--automation .breadcrumb { padding-top: 96px; }
  .es-hero--automation .es-hero-grid { min-height: auto; padding: 34px 0 64px; gap: 48px; }
  .es-hero--automation .es-hero-copy h1 { font-size: clamp(3rem, 13.5vw, 4.2rem); }
  .workflow-hero-board { transform: none; }
  .board-body { min-height: auto; padding: 22px 18px; grid-template-columns: 1fr; }
  .board-column { padding-bottom: 12px; }
  .board-label { margin-bottom: 12px; }
  .mini-ticket, .status-ticket { margin-bottom: 10px; }
  .route-core { min-height: 120px; margin-top: 0; }
  .route-rule { margin-top: 10px; }
  .board-connectors { display: none; }
  .board-exception-bar { margin: 0 18px 18px; grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 430px) {
  .es-hero--automation .es-hero-copy h1 { font-size: 3.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-hero-board { transform: none; }
}

/* Hero style: support (blue glow, largest headline) */
.es-hero--support { background: radial-gradient(circle at 6% 24%, rgba(91,141,239,.12), transparent 29%), radial-gradient(circle at 96% 12%, rgba(29,214,190,.15), transparent 27%), var(--paper-wash); }
.es-hero--support::after { display: none; }
.es-hero--support .breadcrumb { padding-top: 118px; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }
.es-hero--support .es-hero-grid { min-height: 730px; padding: 44px 0 82px; grid-template-columns: .92fr 1.08fr; gap: 70px; }
.es-hero--support .es-hero-copy h1 { max-width: 720px; font-size: clamp(3.45rem, 5.2vw, 5.9rem); }
.es-hero--support .es-hero-copy .hero-lead { max-width: 680px; }
.es-hero--support .es-hero-copy .hero-support { margin: -10px 0 28px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }
.es-hero--support .es-hero-copy .hero-note { max-width: 620px; margin-top: 23px; font-size: .82rem; }

/* Illustration: product control room (own frame) */
.product-control-room { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.16); border-radius: 30px; color: var(--white); background: var(--charcoal); box-shadow: 0 32px 80px rgba(20,30,50,.2); transform: rotate(.5deg); }
.control-toolbar { min-height: 55px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.72); font-size: .58rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.control-toolbar span:last-child { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.46); }
.control-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.12); }
.control-body { min-height: 450px; padding: 21px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 13px; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 25px 25px; }
.product-status, .queue-view { padding: 19px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.status-heading, .queue-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.status-heading small, .status-heading strong, .queue-head small, .queue-head strong { display: block; }
.status-heading small, .queue-head small { color: rgba(255,255,255,.4); font-size: .5rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.status-heading strong, .queue-head strong { margin-top: 4px; font-size: .68rem; }
.status-heading > span { padding: 5px 8px; border: 1px solid rgba(29,214,190,.25); border-radius: 999px; color: var(--mint); background: rgba(29,214,190,.08); font-size: .47rem; font-weight: 900; letter-spacing: .08em; }
.status-metrics { margin-top: 24px; display: grid; gap: 9px; }
.status-metrics article { min-height: 60px; padding: 12px; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.035); }
.status-metrics small, .status-metrics b { display: block; }
.status-metrics small { color: rgba(255,255,255,.38); font-size: .48rem; font-weight: 850; text-transform: uppercase; }
.status-metrics b { margin-top: 5px; font-size: .67rem; }
.status-metrics i { width: 8px; height: 8px; position: absolute; right: 12px; top: 50%; border-radius: 50%; transform: translateY(-50%); }
.status-metrics .healthy { background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.1); }
.status-metrics .watch { background: #f1ae50; box-shadow: 0 0 0 5px rgba(241,174,80,.1); }
.capacity-view { margin-top: 20px; }
.capacity-title { display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: .49rem; font-weight: 850; text-transform: uppercase; }
.capacity-bar { height: 22px; margin: 9px 0 7px; display: grid; grid-template-columns: 25% 20% 37% 18%; gap: 2px; }
.capacity-bar i { background: #f07f67; }
.capacity-bar i:nth-child(2) { background: #f1ae50; }
.capacity-bar i:nth-child(3) { background: var(--mint); }
.capacity-bar i:nth-child(4) { background: #5b8def; }
.capacity-bar i:first-child { border-radius: 7px 0 0 7px; }
.capacity-bar i:last-child { border-radius: 0 7px 7px 0; }
.capacity-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; color: rgba(255,255,255,.38); font-size: .43rem; text-align: center; }
.queue-head > span { min-width: 45px; padding: 5px 7px; border-radius: 7px; color: #a8c5ff; background: rgba(91,141,239,.13); font-size: .48rem; font-weight: 900; text-align: center; }
.queue-view ol { margin: 24px 0 0; padding: 0; list-style: none; }
.queue-view li { min-height: 76px; margin-bottom: 8px; padding: 11px; display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.035); }
.queue-view li > span { color: rgba(255,255,255,.35); font-size: .48rem; font-weight: 900; }
.queue-view b, .queue-view small { display: block; }
.queue-view b { font-size: .63rem; }
.queue-view small { margin-top: 3px; color: rgba(255,255,255,.36); font-size: .47rem; }
.queue-view em { color: rgba(255,255,255,.42); font-size: .43rem; font-style: normal; font-weight: 900; }
.queue-view .queue-incident { border-color: rgba(240,127,103,.35); background: linear-gradient(120deg, rgba(240,127,103,.16), rgba(255,255,255,.035)); }
.queue-view .queue-incident > span, .queue-view .queue-incident em { color: #ff9b85; }
.control-footer { margin: 0 20px 20px; padding: 15px 17px; display: grid; grid-template-columns: 110px 1fr; gap: 15px; border: 1px solid rgba(29,214,190,.19); border-radius: 13px; background: linear-gradient(110deg, rgba(29,214,190,.11), rgba(91,141,239,.09)); }
.control-footer span { color: var(--mint); font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.control-footer p { margin: 0; color: rgba(255,255,255,.72); font-size: .58rem; }

@media (max-width: 1100px) {
  .es-hero--support .es-hero-grid { grid-template-columns: 1fr; }
  .product-control-room { max-width: 780px; }
}

@media (max-width: 760px) {
  .es-hero--support .breadcrumb { padding-top: 96px; }
  .es-hero--support .es-hero-grid { min-height: auto; padding: 34px 0 64px; gap: 48px; }
  .es-hero--support .es-hero-copy h1 { font-size: clamp(2.95rem, 14vw, 4.1rem); }
  .product-control-room { transform: none; }
  .control-body { min-height: auto; grid-template-columns: 1fr; }
  .control-footer { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 430px) {
  .es-hero--support .es-hero-copy h1 { font-size: 2.85rem; }
  .control-toolbar { align-items: flex-start; flex-direction: column; padding-block: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-control-room { transform: none; }
}

/* Hero style: document (mint ring, tighter grid) */
.es-hero--document { background: radial-gradient(circle at 92% 16%, rgba(20,191,167,.14), transparent 27%), radial-gradient(circle at 5% 34%, rgba(97,24,215,.09), transparent 30%), var(--paper-wash); }
.es-hero--document::after { display: none; }
.es-hero--document::before { content: ""; width: 650px; height: 650px; position: absolute; right: -330px; top: -300px; border: 1px solid rgba(20,191,167,.2); border-radius: 50%; box-shadow: 0 0 0 72px rgba(20,191,167,.025), 0 0 0 144px rgba(97,24,215,.018); }
.es-hero--document .breadcrumb { padding-top: 118px; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }
.es-hero--document .breadcrumb a { color: var(--ink); }
.es-hero--document .es-hero-grid { min-height: 730px; padding: 58px 0 76px; grid-template-columns: 1.03fr .97fr; gap: 62px; }
.es-hero--document .es-hero-copy h1 { max-width: 760px; font-size: clamp(3.35rem, 5vw, 5.35rem); }
.es-hero--document .es-hero-copy .hero-lead { max-width: 700px; }
.es-hero--document .es-hero-copy .hero-support { margin: -10px 0 28px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }
.es-hero--document .es-hero-copy .hero-note { max-width: 650px; margin-top: 25px; font-size: .76rem; }
.es-hero--document .page-stamp { margin-top: 19px; font-size: .65rem; font-weight: 750; letter-spacing: .04em; }
.es-hero--document .hero-signals { background: transparent; }
.es-hero--document .hero-signals p { min-height: 112px; padding: 22px 26px; }

/* Illustration: document flow board (own frame) */
.document-flow-board { position: relative; z-index: 1; min-width: 0; overflow: hidden; border: 1px solid rgba(18,27,42,.18); border-radius: 28px; background: var(--field); box-shadow: 0 32px 80px rgba(18,27,42,.15); transform: rotate(.5deg); }
.flow-toolbar { min-height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: #121b2a; font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.flow-toolbar span:last-child { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.flow-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #14bfa7; box-shadow: 0 0 0 5px rgba(20,191,167,.12); }
.flow-canvas { min-height: 455px; padding: 26px 22px; position: relative; display: grid; grid-template-columns: .82fr 1.05fr 1fr; gap: 17px; background-image: linear-gradient(rgba(18,27,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,27,42,.035) 1px, transparent 1px); background-size: 25px 25px; }
.flow-canvas > div { position: relative; z-index: 2; }
.flow-canvas small { color: var(--muted); font-size: .53rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.flow-lane, .flow-engine, .flow-outcomes { display: flex; flex-direction: column; gap: 12px; }
.source-chip, .engine-stage, .outcome-card { min-height: 74px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(18,27,42,.13); border-radius: 13px; background: var(--card); box-shadow: 0 9px 21px rgba(18,27,42,.05); }
.source-chip i { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: #ebe4ff; font-size: .58rem; font-style: normal; font-weight: 900; }
.source-chip b, .source-chip em, .engine-stage b, .engine-stage em, .outcome-card b, .outcome-card em { display: block; line-height: 1.2; }
.source-chip b, .engine-stage b, .outcome-card b { font-size: .7rem; }
.source-chip em, .engine-stage em, .outcome-card em { margin-top: 5px; color: var(--muted); font-size: .55rem; font-style: normal; }
.engine-stage { min-height: 93px; align-items: flex-start; justify-content: center; padding-left: 44px; position: relative; }
.engine-stage > span { width: 25px; height: 25px; position: absolute; left: 11px; top: 13px; display: grid; place-items: center; border: 1px solid rgba(82,121,216,.24); border-radius: 50%; color: #5279d8; background: #e8efff; font-size: .48rem; font-weight: 900; }
.engine-stage.active { border-color: rgba(20,191,167,.4); background: var(--tint-b); }
.engine-stage.active > span { color: #087f70; border-color: rgba(20,191,167,.28); background: #d9fff7; }
.outcome-card > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 900; }
.outcome-card.review { border-color: rgba(240,173,82,.4); background: #fffaf1; }
.outcome-card.review > span { color: #8d5b14; background: #ffedcc; }
.outcome-card.approved > span { color: #087f70; background: #d9fff7; }
.outcome-card.measured > span { color: #3d62b7; background: #e8efff; }
.flow-canvas svg { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-canvas path { fill: none; stroke: rgba(18,27,42,.22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.flow-canvas path.exception { stroke: #f0ad52; stroke-width: 2; }
.flow-status { min-height: 74px; padding: 15px 19px; display: grid; grid-template-columns: 145px 1fr; gap: 18px; align-items: center; color: var(--white); background: var(--midnight); }
.flow-status span { color: #ffd695; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.flow-status p { margin: 0; color: rgba(255,255,255,.72); font-size: .65rem; }

@media (max-width: 1100px) {
  .es-hero--document .es-hero-grid { grid-template-columns: 1fr; }
  .document-flow-board { max-width: 790px; }
}

@media (max-width: 760px) {
  .es-hero--document .breadcrumb { padding-top: 100px; }
  .es-hero--document .es-hero-grid { min-height: auto; padding: 34px 0 62px; gap: 48px; }
  .es-hero--document .es-hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.05rem); }
  .flow-canvas { min-height: auto; grid-template-columns: 1fr; }
  .flow-canvas svg { display: none; }
  .flow-status { grid-template-columns: 1fr; gap: 7px; }
  .document-flow-board { transform: none; }
}

@media (max-width: 430px) {
  .es-hero--document .es-hero-copy h1 { font-size: 2.7rem; }
  .flow-toolbar { align-items: flex-start; flex-direction: column; padding-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .document-flow-board { transform: none; }
}

/* Hero style: contact (largest headline, wide gap) */
.es-hero--contact { background: radial-gradient(circle at 5% 28%, rgba(97,24,215,.1), transparent 30%), radial-gradient(circle at 96% 12%, rgba(29,214,190,.15), transparent 29%), var(--paper-wash); }
.es-hero--contact::after { display: none; }
.es-hero--contact .breadcrumb { padding-top: 118px; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; }
.es-hero--contact .es-hero-grid { min-height: 700px; padding: 42px 0 78px; grid-template-columns: .92fr 1.08fr; gap: 78px; }
.es-hero--contact .es-hero-copy h1 { max-width: 700px; font-size: clamp(3.55rem, 5.6vw, 6.25rem); }
.es-hero--contact .es-hero-copy .hero-lead { max-width: 650px; }
.es-hero--contact .es-hero-copy .hero-support { margin: -10px 0 28px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; font-size: 1rem; }

/* Illustration: discovery brief (own frame) */
.discovery-brief { min-width: 0; overflow: hidden; border: 1px solid rgba(17,16,21,.15); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); transform: rotate(.6deg); }
.brief-toolbar { height: 55px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); font-size: .63rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.brief-toolbar span:last-child { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.brief-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.14); }
.brief-body { min-height: 440px; padding: 36px 26px; display: grid; grid-template-columns: 1fr .68fr 1fr; gap: 17px; align-items: center; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 25px 25px; }
.brief-inputs, .brief-outcomes { display: grid; gap: 11px; }
.brief-inputs > small, .brief-outcomes > small { margin-bottom: 3px; color: var(--muted); font-size: .55rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.brief-inputs > span, .brief-outcomes > span { min-height: 68px; padding: 12px; display: grid; align-content: center; border: 1px solid var(--line); border-radius: 13px; background: var(--card); box-shadow: 0 8px 20px rgba(20,17,28,.05); }
.brief-inputs b, .brief-inputs em { display: block; }
.brief-inputs b { font-size: .68rem; }
.brief-inputs em { margin-top: 4px; color: var(--muted); font-size: .54rem; font-style: normal; }
.brief-outcomes > span { min-height: 48px; color: #17695f; border-color: rgba(29,214,190,.25); background: rgba(222,255,249,.88); font-size: .61rem; font-weight: 850; }
.brief-route { min-height: 175px; padding: 18px 10px; display: grid; place-items: center; align-content: center; border-radius: 999px; color: var(--white); background: var(--ink); text-align: center; box-shadow: 0 18px 35px rgba(17,16,21,.22); }
.brief-route i { width: 34px; height: 34px; border: 2px solid var(--mint); border-radius: 50% 50% 8px 50%; transform: rotate(45deg); }
.brief-route strong { margin-top: 13px; font-size: .68rem; }
.brief-route small { max-width: 90px; margin-top: 5px; color: rgba(255,255,255,.72); font-size: .49rem; }
.brief-footer { margin: 0 20px 20px; padding: 15px 16px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; border-radius: 13px; color: var(--white); background: var(--violet-bg); }
.brief-footer span { color: var(--mint); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brief-footer p { margin: 0; color: rgba(255,255,255,.82); font-size: .62rem; }

@media (max-width: 1100px) {
  .es-hero--contact .es-hero-grid { grid-template-columns: 1fr; }
  .discovery-brief { max-width: 780px; }
}

@media (max-width: 760px) {
  .es-hero--contact .breadcrumb { padding-top: 96px; }
  .es-hero--contact .es-hero-grid { min-height: auto; padding: 34px 0 64px; gap: 48px; }
  .es-hero--contact .es-hero-copy h1 { font-size: clamp(3rem, 15vw, 4.15rem); }
  .discovery-brief { transform: none; }
  .brief-body { min-height: auto; grid-template-columns: 1fr; }
  .brief-route { min-height: 120px; border-radius: 22px; }
  .brief-footer { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 430px) {
  .es-hero--contact .es-hero-copy h1 { font-size: 3.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-brief { transform: none; }
}

/* Illustration: system map (four nodes around a core) */
.case-system-visual { min-height: 520px; padding: 34px; align-content: center; background: var(--visual); }
.case-system-map { position: relative; min-height: 390px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 82px 108px; align-items: center; }
.case-system-map::before, .case-system-map::after { content: ""; position: absolute; inset: 50% 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(97,24,215,.35), transparent); }
.case-system-map::after { inset: 12% 50%; width: 1px; height: auto; background: linear-gradient(transparent, rgba(29,214,190,.5), transparent); }
.case-system-node { min-height: 88px; padding: 17px; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; border-top: 1px solid rgba(17,16,21,.17); background: var(--card-glass); }
.case-system-node:nth-child(even) { text-align: right; }
.case-system-node span { color: var(--violet); font-size: .5rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.case-system-node b { margin-top: 9px; font-size: .75rem; }
.case-system-node small { margin-top: 4px; color: var(--muted); font-size: .5rem; }
.case-system-core { width: 150px; height: 150px; position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-content: center; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; text-align: center; background: var(--midnight); box-shadow: 0 0 0 18px rgba(97,24,215,.06), 0 20px 45px rgba(20,25,38,.2); }
.case-system-core span, .case-system-core b, .case-system-core small { display: block; }
.case-system-core span { color: #14bfa7; font-size: .48rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.case-system-core b { margin: 8px 0 5px; font-size: 1rem; line-height: 1.05; }
.case-system-core small { color: rgba(255,255,255,.72); font-size: .46rem; }

/* Illustration: numbered stack */
.work-index-visual { min-height: 520px; align-content: center; }
.work-index-stack { width: min(100%, 470px); margin: auto; display: grid; gap: 12px; }
.work-index-stack > div { min-height: 88px; padding: 17px 19px; display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; border: 1px solid rgba(17,16,21,.11); border-radius: 15px; background: var(--card); box-shadow: 0 12px 28px rgba(30,18,51,.06); }
.work-index-stack > div:first-child { color: var(--white); border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--violet-dark)); transform: translateX(-16px); }
.work-index-stack > div > span { color: var(--violet); font-size: .78rem; font-weight: 900; }
.work-index-stack > div:first-child > span { color: var(--mint); }
.work-index-stack p { margin: 0; }
.work-index-stack b, .work-index-stack small { display: block; }
.work-index-stack b { font-size: .9rem; }
.work-index-stack small { margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.work-index-stack > div:first-child small { color: rgba(255,255,255,.72); }
.work-index-stack i { width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* Illustration: learning workspace */
.case-visual { padding: 22px; background: var(--visual); }
.case-detail-visual { min-height: 520px; align-content: center; }
.learning-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 18px 44px rgba(35,24,59,.1); }
.learning-head { padding: 17px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.learning-head b { font-size: .7rem; }
.learning-head small { color: var(--muted); font-size: .49rem; }
.learning-body { min-height: 330px; display: grid; grid-template-columns: 110px 1fr; }
.learning-nav { padding: 18px 13px; color: rgba(255,255,255,.62); background: var(--midnight); }
.learning-nav span { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .49rem; }
.learning-nav span:first-child { color: #14bfa7; }
.lesson { padding: 20px; }
.lesson-video { height: 135px; position: relative; border-radius: 12px; background: var(--violet-bg); }
.lesson-video::after { content: "▶"; width: 40px; height: 40px; position: absolute; left: 50%; top: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; background: rgba(255,255,255,.18); }
.lesson h4 { margin: 18px 0 10px; font-size: .86rem; }
.lesson-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lesson-tools span { min-height: 52px; padding: 9px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .47rem; font-weight: 800; text-align: center; }

@media (max-width: 760px) {
  .learning-body { grid-template-columns: 80px 1fr; }
}

@media (max-width: 560px) {
  .work-index-visual, .case-detail-visual, .case-system-visual { min-height: 420px; }
  .work-index-stack > div:first-child { transform: none; }
  .case-system-visual { padding: 22px 16px; }
  .case-system-map { gap: 82px 44px; }
  .case-system-core { width: 124px; height: 124px; }
  .case-system-node { padding: 12px 8px; }
  .case-system-node small { display: none; }
}

/* ---- hero visuals: orbit (About), model (Approach), assessment, authority (AI Control Layer), card (Readiness) */
.about-visual { padding: 34px; }
.work-orbit { width: 280px; height: 280px; margin: auto; position: relative; display: grid; place-content: center; border: 1px solid rgba(97,24,215,.24); border-radius: 50%; box-shadow: 0 0 0 34px rgba(97,24,215,.035), 0 0 0 68px rgba(29,214,190,.025); }
.work-orbit strong { width: 140px; display: block; text-align: center; font-size: 1.2rem; line-height: 1.1; }
.work-orbit > span { width: 75px; height: 75px; position: absolute; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card); font-size: .54rem; font-weight: 900; text-align: center; }
.work-orbit span:nth-child(2) { left: -24px; top: 102px; }
.work-orbit span:nth-child(3) { right: -24px; top: 102px; }
.work-orbit span:nth-child(4) { left: 102px; top: -24px; }
.work-orbit span:nth-child(5) { left: 102px; bottom: -24px; }
.model-visual { padding-inline: 20px; }
.model-line { min-height: 68px; display: grid; grid-template-columns: 35px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.model-line:last-child { border-bottom: 1px solid var(--line); }
.model-line span { color: var(--violet); font-size: .52rem; font-weight: 900; }
.model-line b { font-size: .74rem; }
.model-line small { color: var(--muted); font-size: .49rem; }
.model-gate { margin: 12px 0; padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; border-radius: 11px; color: var(--white); background: var(--es-navy); font-size: .51rem; font-weight: 900; letter-spacing: .04em; }
.model-gate span { color: var(--es-teal); }
.assessment-visual { grid-template-columns: 1fr; }
.assessment-list { border-top: 1px solid var(--line); }
.assessment-row { min-height: 72px; padding: 12px 0; display: grid; grid-template-columns: 30px 1fr 82px; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.assessment-row > span { color: var(--violet); font-size: .51rem; font-weight: 900; }
.assessment-row b { font-size: .67rem; }
.assessment-row i { height: 5px; overflow: hidden; border-radius: 999px; background: #e6e2eb; }
.assessment-row i::before { content: ""; width: var(--bar, 60%); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--es-teal)); }
.assessment-outcome { margin-top: 18px; padding: 16px; border-left: 3px solid var(--es-teal); background: linear-gradient(90deg, rgba(20,191,167,.08), transparent); }
.assessment-outcome small, .assessment-outcome b { display: block; }
.assessment-outcome small { color: #057868; font-size: .48rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.assessment-outcome b { margin-top: 5px; font-size: .76rem; }
.authority-canvas { min-height: 500px; padding: 24px; display: grid; grid-template-columns: 1fr 124px; gap: 19px; background-image: linear-gradient(rgba(17,16,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.035) 1px, transparent 1px); background-size: 28px 28px; }
.authority-scale { display: grid; align-content: center; }
.authority-row { min-height: 61px; padding: 9px 6px; display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.authority-row:first-child { border-top: 1px solid var(--line); }
.authority-row > span { color: var(--violet); font-size: .55rem; font-weight: 900; }
.authority-row b { font-size: .74rem; }
.authority-row small { color: var(--muted); font-size: .54rem; text-align: right; }
.authority-row.active { padding-inline: 12px; color: var(--white); border-color: transparent; border-radius: 12px; background: linear-gradient(100deg, var(--violet-dark), var(--violet)); box-shadow: 0 13px 30px rgba(97,24,215,.2); }
.authority-row.active > span, .authority-row.active small { color: rgba(255,255,255,.67); }
.control-spine { min-width: 0; display: grid; align-content: center; gap: 8px; }
.control-spine span { min-height: 42px; padding: 8px; display: grid; place-items: center; border: 1px solid rgba(20,191,167,.3); border-radius: 10px; color: #057868; background: rgba(20,191,167,.08); font-size: .5rem; font-weight: 900; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.control-spine::before { content: "CONTROL LAYER"; color: var(--muted); font-size: .48rem; font-weight: 900; letter-spacing: .12em; text-align: center; }
.es-hero--readiness .es-hero-grid { min-height: 620px; }
.readiness-card { padding: 30px; border-radius: 24px; color: #fff; background: var(--violet-bg); box-shadow: var(--shadow); }
.readiness-card > span { color: var(--es-teal); font-size: .58rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.readiness-card h2 { margin: 45px 0 18px; font-size: clamp(2.1rem, 3.4vw, 3.5rem); }
.readiness-card p { color: rgba(255,255,255,.82); }
.readiness-card ol { margin: 28px 0 0; padding: 0; list-style: none; }
.readiness-card li { padding: 13px 0; display: grid; grid-template-columns: 32px 1fr; gap: 12px; border-top: 1px solid rgba(255,255,255,.13); font-size: .71rem; }
.readiness-card li span { color: var(--es-teal); font-size: .54rem; font-weight: 900; }
@media (max-width: 760px) {
  .model-line { grid-template-columns: 30px 1fr; }
  .model-line small { grid-column: 2; }
  .authority-canvas { min-height: 0; grid-template-columns: 1fr; }
  .control-spine { grid-template-columns: repeat(4, 1fr); }
  .control-spine::before { grid-column: 1 / -1; }
  .control-spine span { min-height: 48px; }
}
@media (max-width: 430px) {
  .work-orbit { width: 220px; height: 220px; }
  .work-orbit strong { width: 110px; font-size: 1rem; }
  .work-orbit > span { width: 62px; height: 62px; font-size: .47rem; }
  .work-orbit span:nth-child(2) { left: -14px; top: 79px; }
  .work-orbit span:nth-child(3) { right: -14px; top: 79px; }
  .work-orbit span:nth-child(4) { left: 79px; top: -14px; }
  .work-orbit span:nth-child(5) { left: 79px; bottom: -14px; }
  .authority-canvas { padding: 15px; }
  .authority-row { grid-template-columns: 28px 1fr; }
  .authority-row small { grid-column: 2; text-align: left; }
  .control-spine { grid-template-columns: repeat(2, 1fr); }
}
@media print { .es-hero--readiness { display: none !important; } }
