/* ==========================================================================
   MYTECHLEARN — inner-page component styles (v4)
   Styles the page-level components used across domain, method, resource,
   glossary and knowledge pages. Loaded after mtl-v3.css.
   ========================================================================== */

/* ---------- Image fit: never crop diagrams ---------- */
img[src$=".svg"]{object-fit:contain!important;height:auto}
.mtl-project-card img[src$=".svg"],.mtl-domain-card>img[src$=".svg"],.mtl-card-media img[src$=".svg"]{
  background:#F3F7FB;padding:10px;height:auto!important;aspect-ratio:600/360;width:100%}
.mtl-project-card{overflow:hidden}

/* ---------- Article shell ---------- */
.mtl-article{display:block;min-width:0}
.mtl-article .container,.mtl-article .ind-wrap{width:100%;max-width:none;margin:0;padding:0}
.mtl-article section.ind-sec,.mtl-article section.ind-cta,.mtl-article section.discuss-band,
.mtl-article section.lead-magnet,.mtl-article section.engineering-editorial,
.mtl-article section.related-learning,.mtl-article section.section-faq,
.mtl-article section.mtl-standards-deliverables{background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;margin:0 0 clamp(28px,4vw,48px)}
.mtl-article section.section--surface,.mtl-article section.section-soft{background:var(--surface-alt)}
.mtl-article h2{font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.2;letter-spacing:-.02em;color:#10243A;margin:0 0 14px}
.mtl-article h3{font-size:clamp(1.1rem,1.8vw,1.3rem);line-height:1.3;color:#10243A;margin:22px 0 10px}
.mtl-article h4{font-size:1.02rem;color:#1D3550;margin:16px 0 8px}
.mtl-article p,.mtl-article li{overflow-wrap:break-word}
.mtl-article li{line-height:1.65;margin:4px 0}

/* ---------- Eyebrows / kickers ---------- */
.eyebrow,.kicker,.ind-k,.ee-kicker,.topic-kicker,.visual-kicker,.on-page-label,.lead-magnet__kicker,.section-kicker{
  display:inline-block;font:700 .72rem/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#145A91;margin:0 0 10px}
.mtl-article .page-hero .eyebrow,.mtl-article .page-hero .kicker,.mtl-article .ind-cta .ind-k,.mtl-article .discuss-card .kicker,
.mtl-article .lead-magnet__kicker{color:#FDBA74}

/* ---------- Buttons ---------- */
.btn{min-height:44px;text-align:center;line-height:1.2}
.btn--primary{background:var(--amber);border-color:var(--amber);color:#fff!important}
.btn--ghost{background:transparent!important;color:#10243A!important;border:1.5px solid #8CA3BA!important}
.btn--ghost:hover{background:rgba(23,105,170,.08)!important;border-color:#1769AA!important}
.page-hero .btn--ghost,.ind-cta .btn--ghost,.discuss-card .btn--ghost{color:#fff!important;border-color:rgba(255,255,255,.55)!important}
.page-hero .btn--ghost:hover,.ind-cta .btn--ghost:hover{background:rgba(255,255,255,.12)!important;border-color:#fff!important}
.btn-o{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:8px;font-weight:600;border:1.5px solid #8CA3BA;color:#10243A}
.hero-actions,.ind-btns,.discuss-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.text-link{color:#145A91;font-weight:600}

/* ---------- Hero (page-hero) ---------- */
.mtl-article section.page-hero{position:relative;overflow:hidden;padding:clamp(24px,4vw,48px);margin-bottom:clamp(28px,4vw,48px);border-radius:16px;
  background:linear-gradient(135deg,#0F2338 0%,#18334F 60%,#1B4568 100%);
  --muted:#C9D8E6;--text:#fff;--ink:#fff;--ink-2:#E2EAF2;--line:rgba(255,255,255,.18);--border:rgba(255,255,255,.18);--surface:rgba(255,255,255,.07)}
.page-hero .glow{position:absolute;border-radius:50%;filter:blur(50px);pointer-events:none;opacity:.9}
.page-hero .container{position:relative;z-index:1}
.page-hero-grid,.domain-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,48px);align-items:center}
.page-hero-copy{min-width:0}
.mtl-article .page-hero h1{font-size:clamp(1.7rem,3.3vw,2.6rem);line-height:1.12;letter-spacing:-.03em;margin:8px 0 14px;color:#fff;max-width:none}
.page-intro,.page-hero .lead{font-size:clamp(1rem,1.3vw,1.1rem);line-height:1.65}
.mtl-article .page-hero p{color:#D7E2ED}
.mtl-article .page-hero .page-intro{color:#E4ECF4}
.mtl-article .page-hero h2,.mtl-article .page-hero h3,.mtl-article .page-hero h4{color:#fff}
.mtl-article .page-hero [style*="color:var(--muted)"],.mtl-article .page-hero [style*="color: var(--muted)"]{color:#D3E0EC!important}
.mtl-article .page-hero ul,.mtl-article .page-hero li{color:#E2EAF2}
.engineering-visual{margin:0;border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:8px;background:rgba(255,255,255,.07);min-width:0}
.engineering-visual img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:10px;background:#EAF0F6}
.engineering-visual figcaption{font-size:.78rem;color:#C9D8E6;padding:8px 6px 2px;line-height:1.4}

/* Breadcrumbs */
.breadcrumb,.breadcrumbs,.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:.84rem;margin:0 0 14px;color:#D3E0EC}
.breadcrumb a,.breadcrumbs a,.crumbs a{color:#9DD5FF!important;text-decoration:none}
.breadcrumb a:hover,.breadcrumbs a:hover{text-decoration:underline}
.breadcrumb .sep{opacity:.6}
.page-hero .breadcrumb span:last-child,.page-hero .breadcrumbs span:last-child{color:#fff}

/* Domain hero spec card */
.domain-meta{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.meta-pill{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:600;color:#E2EAF2;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2)}
.meta-pill.accent{background:rgba(242,140,40,.2);border-color:rgba(242,140,40,.6);color:#FFD7A8}
.spec-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:clamp(18px,2.4vw,26px);min-width:0}
.spec-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.18)}
.mono-tag{font:700 .7rem/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#FDBA74}
.mtl-article .spec-head h2{font-size:1.05rem;margin:4px 0 0;color:#fff}
.spec-rev{font:700 .72rem var(--mono);padding:4px 10px;border-radius:6px;background:rgba(255,255,255,.12);color:#fff;white-space:nowrap}
.mtl-article .spec-card p{color:#D7E2ED!important;font-size:.92rem!important;margin:14px 0}
.spec-checklist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.spec-checklist li{display:flex;gap:10px;align-items:flex-start;color:#EAF1F8;font-size:.94rem;margin:0}
.spec-checklist .check{color:#7DD3A7;font-weight:800;flex:none}
.focus-line{padding:12px 16px;border-left:4px solid var(--amber);background:#FFF6EA;border-radius:0 8px 8px 0;margin:16px 0;color:#4A3515}
.mtl-article .page-hero .focus-line{background:rgba(242,140,40,.14);color:#FFE6C7}

/* In-page nav pills */
.on-page{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
.on-page a{padding:5px 12px;border:1px solid #C6D4E2;border-radius:999px;font-size:.8rem;color:#145A91;background:#fff}
.on-page-label{margin:0 4px 0 0}

/* ---------- Industry sections ---------- */
.ind-sec{padding:0}
.ind-sec.alt,.ind-sec--alt{background:#F1F6FB;border-radius:14px;padding:clamp(20px,3vw,32px)!important}
.ind-sec-head{margin-bottom:12px}
.ind-lead,.lead{font-size:1.04rem;line-height:1.7;color:#43576B;max-width:70ch}
.ind-copy p{max-width:75ch}
.ind-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(20px,3vw,40px);align-items:center}
.ind-fig,.phase2-diagram,.domain-technical-visual,.engineering-figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:var(--shadow-sm);min-width:0}
.ind-fig img,.phase2-diagram img,.domain-technical-visual img{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px;background:#F7FAFD}
.ind-fig figcaption,.phase2-diagram figcaption,.domain-technical-visual figcaption,.engineering-figure figcaption{font-size:.82rem;line-height:1.5;color:#526579;padding:10px 4px 2px;text-align:left}
.engineering-figure figcaption strong{display:block;color:#10243A;font-size:.95rem}
.engineering-figure svg{display:block;width:100%;height:auto;min-width:560px}
.diagram-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:14px 0}
.domain-technical-visual{max-width:900px;margin-inline:auto}
.domain-technical-visual .visual-kicker{display:block}
.domain-visual-title{font-size:1.2rem!important}
.ind-tbl-wrap{margin:16px 0}
.ind-tbl{width:100%;border-collapse:collapse;font-size:.92rem;background:#fff}
.ind-tbl caption{caption-side:top;text-align:left;font-weight:700;padding:10px 12px;color:#10243A;background:#F1F6FB}
.ind-tbl th,.ind-tbl td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;min-width:120px}
.ind-tbl tbody tr:nth-child(even){background:#F8FAFC}
table th{font-weight:700;font-size:.85rem}
.ind-tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:14px 0 0}
.ind-tags li{margin:0;padding:6px 14px;border-radius:999px;background:#EAF4FC;color:#145A91;font-size:.84rem;font-weight:600;border:1px solid #CFE3F3}

/* ---------- CTA band with quick form ---------- */
.mtl-article section.ind-cta{background:linear-gradient(135deg,#10243A,#18334F);border-radius:16px;padding:clamp(22px,3.5vw,40px);color:#fff;
  --muted:#C9D8E6}
.ind-cta-in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(20px,3vw,40px);align-items:center}
.mtl-article .ind-cta h2{color:#fff}
.mtl-article section.ind-cta p{color:#D7E2ED!important}
.ind-qf{display:grid;gap:10px;background:#fff;border-radius:12px;padding:20px;color:#10243A}
.ind-qf strong{font-size:1.02rem;color:#10243A}
.ind-qf input,.ind-qf select,.ind-qf textarea,.lead-form input,.lead-form select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #B9C8D8;border-radius:8px;font:inherit;background:#fff;color:#243447}
.ind-qf button,.lead-form button,.ind-qf .btn{min-height:46px;border:0;border-radius:8px;background:var(--amber);color:#fff;font-weight:700;cursor:pointer;padding:10px 16px;font:inherit;font-weight:700}
.ind-qf label.c{display:flex;gap:8px;align-items:flex-start;font-size:.8rem;color:#43576B;line-height:1.4}
.ind-qf label.c input{width:auto;min-height:0;margin-top:3px}
.ind-qf .st{font-size:.82rem;min-height:1em;color:#43576B}

/* ---------- Discuss band ---------- */
.discuss-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:24px;align-items:center;background:#F1F6FB;border:1px solid #D5E2EF;border-radius:16px;padding:clamp(20px,3vw,34px)}
.discuss-card h2{margin-bottom:8px}
.discuss-actions{flex-direction:column;align-items:flex-start;margin:0}
.contact-line a{color:#145A91;font-weight:600}
.cta-band{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#10243A,#18334F);color:#fff;border-radius:14px;padding:clamp(18px,3vw,28px);margin:24px 0}
.cta-band h3,.cta-band p{color:#fff!important;margin:0 0 6px}
.cta-band p{color:#D7E2ED!important}

/* ---------- Lead magnet ---------- */
.lead-magnet__box{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(20px,3vw,36px);background:linear-gradient(135deg,#10243A,#1B3C5C);border-radius:16px;padding:clamp(22px,3.5vw,38px);color:#E2EAF2;align-items:start}
.mtl-article .lead-magnet__box h2{color:#fff}
.mtl-article .lead-magnet__box p,.mtl-article .lead-magnet__box li{color:#D7E2ED!important}
.lead-magnet__box a{color:#9DD5FF}
.lead-magnet ul{padding-left:20px}
.lead-form{display:grid;gap:8px;background:#fff;border-radius:12px;padding:18px;color:#243447}
.lead-form label{font-size:.84rem;font-weight:600;color:#243447}
.lead-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.lead-consent{display:flex;gap:8px;align-items:flex-start;font-size:.78rem!important;font-weight:400!important;line-height:1.4}
.lead-consent input{width:auto!important;min-height:0!important;margin-top:3px}
.lead-status{font-size:.84rem;color:#43576B;min-height:1em}
.lead-magnet__more{font-size:.84rem;color:#C9D8E6}
.lead-interview-link{font-size:.9rem}

/* ---------- FAQ ---------- */
.faq-container,.section-faq .container{max-width:880px}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 10px;padding:0;overflow:hidden}
.faq-item summary{cursor:pointer;list-style:none;padding:16px 48px 16px 18px;font-weight:650;color:#10243A;position:relative;line-height:1.4}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#1769AA}
.faq-item[open] summary::after{content:"–"}
.faq-item[open] summary{border-bottom:1px solid var(--line);background:#F7FAFD}
.faq-item p{margin:0;padding:14px 18px 18px}

/* ---------- Phase-2 / process visuals ---------- */
.mtl-article section.phase2-technical-expansion{padding:clamp(20px,3vw,34px)}
.phase2-process-visual{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0;counter-reset:p2}
.phase2-process-step{counter-increment:p2;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;background:#EAF4FC;border:1px solid #CFE3F3;border-radius:10px;color:#10243A;font-weight:650;font-size:.88rem;position:relative}
.phase2-process-step::before{content:counter(p2);display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1769AA;color:#fff;font-size:.74rem}
.phase2-process-step:not(:last-child)::after{content:"→";position:absolute;right:-17px;color:#6C86A0;font-weight:700}
.phase2-process-visual{column-gap:26px}
.phase2-related-links{font-size:.92rem;padding:12px 16px;background:#F1F6FB;border-radius:10px}
.phase2-contextual-cta{margin-top:18px}
.phase2-diagram{margin:18px 0}

/* ---------- Editorial blocks ---------- */
.engineering-editorial .ee-copy{background:#F1F6FB;border:1px solid #D5E2EF;border-radius:16px;padding:clamp(20px,3vw,34px)}
.ee-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}
.ee-point{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px}
.ee-point strong{color:#10243A}
.ee-point span{color:#526579;font-size:.92rem;line-height:1.55}
.ee-links{display:flex;flex-wrap:wrap;gap:10px 18px}
.ee-links a{color:#145A91;font-weight:600}
.ee-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}

/* ---------- Cards & grids ---------- */
.card-grid,.related-grid,.g3,.mtl-practice-grid,.mtl-depth-grid,.r20-evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin:16px 0}
.card-grid .card,.related-card,.mtl-depth-card,.discipline-related a{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;text-decoration:none;color:#334155;transition:border-color .15s,box-shadow .15s}
.card-grid .card:hover,.related-card:hover{border-color:#1769AA;box-shadow:var(--shadow)}
.card-grid .card h3,.related-card h3,.related-card strong,.mtl-depth-card h3{margin:0 0 8px;font-size:1.02rem;color:#10243A}
.card-grid .card p,.related-card p{margin:0;font-size:.92rem;color:#526579;line-height:1.55}
.related-card .n,.n{font:700 .72rem var(--mono);color:#145A91;letter-spacing:.08em}

/* ---------- Two-column body + side panel ---------- */
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(20px,3vw,36px);align-items:start}
.mtl-article section.content-layout{padding:0;background:transparent;border:0;box-shadow:none}
.technical-content{min-width:0}
.side-panel{position:sticky;top:110px;background:#F1F6FB;border:1px solid #D5E2EF;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:8px}
.side-panel>a{color:#145A91;font-weight:600;font-size:.92rem;padding:6px 0;border-bottom:1px solid #DCE7F1}
.side-panel h2{font-size:1.05rem;margin:0 0 6px}
.side-cta{margin-top:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.side-cta p{font-size:.88rem;margin:6px 0 10px}
.side-cta .btn{width:100%}

/* ---------- Content blocks ---------- */
.section-heading,.section-head{margin-bottom:16px}
.section-heading p:not(.eyebrow){max-width:70ch;color:#526579}
.narrow-content{max-width:780px}
.note,.mtl-reference-caveat,.mtl-engineering-caveat,.audit-learning-note,.mtl-depth-note,.mtl-research-panel{background:#FFF8EC;border:1px solid #F4D9AE;border-left:4px solid var(--amber);border-radius:0 10px 10px 0;padding:14px 16px;margin:18px 0;font-size:.94rem;color:#4A3515}
.note p,.mtl-reference-caveat p,.mtl-engineering-caveat p,.audit-learning-note p{margin:0;color:#4A3515!important}
.mtl-applied-check,.mtl-practical-review,.mtl-worked-example,.mtl-practice-brief,.mtl-engineering-workflow,.r26-engineering-review,.r20-evidence,.mtl-depth,.mtl-standards-deliverables,.mtl-curriculum,.mtl-module-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(16px,2.6vw,26px);margin:22px 0}
.mtl-source-list,.mtl-workflow-list,.mtl-practice-steps{padding-left:22px}
.h-num{font:700 .8em var(--mono);color:#1769AA;margin-right:6px}
.li-label{color:#10243A}
.bullet-run{padding-left:20px}
.technical-content h2{margin-top:34px;padding-top:6px;scroll-margin-top:110px}
.technical-content h2:first-child{margin-top:0}
.technical-content table{width:100%;border-collapse:collapse;font-size:.92rem}
.technical-content th,.technical-content td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.prose{max-width:75ch}
.rv{opacity:1}

/* Dark-hero safety net: inline muted/greys on dark containers */
.mtl-article .page-hero [style*="color:#64748B"],.mtl-article .page-hero [style*="color:#334155"]{color:#D3E0EC!important}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .page-hero-grid,.domain-hero-grid,.ind-split,.ind-cta-in,.discuss-card,.lead-magnet__box,.content-layout{grid-template-columns:1fr}
  .side-panel{position:static}
  .engineering-visual{max-width:640px}
}
@media(max-width:560px){
  .mtl-article section.page-hero{border-radius:12px;padding:20px 16px}
  .btn,.hero-actions .btn,.ind-btns .btn{width:100%}
  .phase2-process-step:not(:last-child)::after{display:none}
  .phase2-process-visual{flex-direction:column;gap:8px}
  .card-grid,.related-grid,.g3{grid-template-columns:1fr}
  .ind-tbl th,.ind-tbl td{min-width:110px}
  .discuss-actions{align-items:stretch}
}

/* ---------- Fixes after review ---------- */
.mtl-article section.ind-sec.alt,.mtl-article section.ind-sec--alt{background:#F1F6FB;border:1px solid #D9E5F0;border-radius:14px;padding:clamp(20px,3vw,34px)}
.mtl-toc{max-height:calc(100vh - 130px);overflow-y:auto;overscroll-behavior:contain}
.mtl-toc a{line-height:1.4;font-size:.84rem}
.mtl-toc li{margin:0}
body:has(.mtl-breadcrumb) .page-hero :is(.breadcrumb,.breadcrumbs,.crumbs){display:none}
@media(max-width:1020px){
  .mtl-toc{order:2!important;max-height:none;margin-top:8px}
  .mtl-toc ul{grid-template-columns:1fr 1fr;gap:4px 12px}
}
@media(max-width:560px){.mtl-toc ul{grid-template-columns:1fr}}
.lead-form a,.ind-qf a{color:#145A91!important}
.lead-magnet__more{padding:12px 4px 0;color:#43576B;font-size:.86rem}

/* ---------- Contrast corrections (WCAG AA) ---------- */
/* Primary buttons: navy text on signal orange (6.6:1) instead of white (2.4:1) */
.btn,.btn--primary,.btn-primary,.cta-btn,.btn--secondary,.mtl-btn-primary,.mtl-dock-demo,
.ind-qf button,.lead-form button,button.btn{color:#10243A!important;font-weight:700}
.btn:not(.btn--ghost):not(.btn-secondary):not(.btn-outline){background:#F28C28;border-color:#F28C28}
.btn:not(.btn--ghost):not(.btn-secondary):not(.btn-outline):hover{background:#FFA64D;border-color:#FFA64D}
.mtl-article .btn--ghost,.btn.btn--ghost{color:#10243A!important}
.page-hero .btn--ghost,.ind-cta .btn--ghost{color:#fff!important}
.ind-qf button,.lead-form button{background:#F28C28}

/* spec-card is dark everywhere; checklists default to light-surface colours */
.spec-card{background:linear-gradient(135deg,#14304A,#1B3F5E);border-color:#2C5379}
.spec-checklist li{color:#334155}
.spec-checklist .check{color:#0F766E}
.spec-card .spec-checklist li{color:#EAF1F8}
.spec-card .spec-checklist .check{color:#7DD3A7}
.mtl-article .spec-card h2,.mtl-article .spec-card strong{color:#fff}
.mtl-article .spec-card p{color:#D7E2ED!important}

/* Light-context defaults for hero-style components */
.engineering-visual{border-color:var(--line);background:#fff}
.engineering-visual figcaption{color:#526579}
.engineering-visual figcaption strong{color:#10243A;display:block}
.page-hero .engineering-visual{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07)}
.page-hero .engineering-visual figcaption{color:#C9D8E6}
.page-hero .engineering-visual figcaption strong{color:#fff}
.page-hero-grid .eyebrow{color:#145A91}
.page-hero .page-hero-grid .eyebrow{color:#FDBA74}
.mtl-article section.section-soft .page-hero-copy p{color:#475569}
.mtl-article section.section-soft .page-hero-copy h2{color:#10243A}

/* kicker on light discuss band */
.mtl-article .discuss-card .kicker{color:#145A91}

/* on-page pills */
.mtl-article .page-hero .on-page a,.mtl-article .on-page a{color:#145A91!important;background:#fff;border-color:#C6D4E2}
.page-hero .on-page-label{color:#FDBA74}
.on-page-label{color:#145A91}

/* legacy page-scoped dark-theme text on light cards */
.mtl-article .project-page .project-section h2,.mtl-article .project-page .project-section h3,
.mtl-article .success-page .story-section>h2,.mtl-article .success-page .story-section>h3,
.project-page .project-section h2,.project-page .project-section h3,
.success-page .story-section>h2,.success-page .story-section>h3{color:#10243A!important}
.project-page .project-section>p,.project-page .project-section li,
.success-page .story-section>p,.success-page .story-section li{color:#334155!important}

/* accent-coloured small headings and links inside dark panels */
h4[style*="var(--accent)"],h4[style*="color:#F28C28"]{color:#B8560A!important}
.mtl-dark a:not(.btn),[class*="hero"] a:not(.btn):not(.mtl-btn){text-underline-offset:3px}

/* CTA band section variant */
.mtl-article section.cta-band{background:linear-gradient(135deg,#10243A,#18334F);border:0;border-radius:16px;padding:clamp(22px,3.5vw,38px);color:#fff;display:block}
.cta-band-inner{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.mtl-article section.cta-band h2{color:#fff;margin-bottom:8px}
.mtl-article section.cta-band p{color:#D7E2ED!important;margin:0}
.mtl-article section.cta-band .kicker{color:#FDBA74}

/* Row-header cells in tables */
tbody th[scope="row"]{background:#EEF4FA;color:#10243A;font-size:.9rem}
tbody th[scope="row"] a{color:#145A91}
.search-box label{color:#fff!important;display:block;margin-bottom:6px;font-weight:600}
.search-box input{width:100%;max-width:520px;min-height:46px;padding:10px 14px;border-radius:8px;border:1px solid #B9C8D8;font:inherit}
a[style*="var(--accent)"]{color:#B8560A!important}
.cta-band .btn--ghost,.mtl-dark .btn--ghost,section.cta-band .btn--ghost{color:#fff!important;border-color:rgba(255,255,255,.6)!important}
.mtl-article figure{margin:0 0 18px}
.ind-split>figure:not(.ind-fig){background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;box-shadow:var(--shadow-sm)}
.ind-split>figure:not(.ind-fig) img{width:100%;height:auto;border-radius:8px;display:block}
.ind-split>figure:not(.ind-fig) figcaption{font-size:.82rem;line-height:1.5;color:#526579;padding:8px 4px 0}


/* V6.3 engineering authority and domain visual modules */
.v63-engineering-spotlight{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:clamp(22px,4vw,44px);align-items:center;margin:34px auto 42px;padding:clamp(18px,3vw,30px);border:1px solid #d8e2eb;border-radius:22px;background:linear-gradient(135deg,#f7fafc,#eef4f8);box-shadow:0 12px 34px rgba(16,36,58,.07)}
.v63-engineering-spotlight figure{margin:0;min-width:0}
.v63-engineering-spotlight img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:15px;background:#dce6ef}
.v63-engineering-spotlight figcaption{font-size:12px;line-height:1.5;color:#526579;margin-top:9px}
.v63-engineering-spotlight .v63-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1769aa}
.v63-engineering-spotlight h2{font-size:clamp(21px,2.3vw,29px);line-height:1.2;color:#10243a;margin:8px 0 12px}
.v63-engineering-spotlight p{color:#40556a;line-height:1.7;margin:0 0 13px}
.v63-engineering-spotlight ul{padding-left:20px;margin:0;color:#23384c;line-height:1.7}
.v63-engineering-spotlight li{margin:5px 0}
.v63-global-band{margin:32px auto;padding:clamp(22px,4vw,40px);border-radius:22px;background:#10243a;color:#f7fbff}
.v63-global-band h2{color:#fff;margin:0 0 12px;font-size:clamp(23px,3vw,32px)}
.v63-global-band p{color:#d8e5f0;line-height:1.75;max-width:90ch}
.v63-global-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.v63-global-card{padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(255,255,255,.06)}
.v63-global-card h3{font-size:15px;color:#fff;margin:0 0 7px}.v63-global-card p{font-size:13px;margin:0}
.v63-deliverables-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:26px 0}
.v63-deliverable{border:1px solid #dbe4ec;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(16,36,58,.06)}
.v63-deliverable img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.v63-deliverable div{padding:14px}.v63-deliverable h3{font-size:16px;margin:0 0 7px;color:#10243a}.v63-deliverable p{font-size:13px;line-height:1.6;color:#526579;margin:0}
@media(max-width:800px){.v63-engineering-spotlight{grid-template-columns:1fr}.v63-global-grid{grid-template-columns:1fr}.v63-deliverables-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.v63-deliverables-grid{grid-template-columns:1fr}.v63-engineering-spotlight{padding:16px;border-radius:16px}}

/* V6.3 resource navigation and institute transparency */
.v63-resource-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.v63-resource-links a{display:inline-flex;padding:8px 11px;border-radius:999px;background:#e5eef6;color:#124c78;font-size:12px;font-weight:700;text-decoration:none}
.v63-resource-links a:hover{text-decoration:underline}
.v63-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.v63-proof-card{padding:18px;border:1px solid #d8e2eb;border-radius:15px;background:#f7fafc}
.v63-proof-card h3{font-size:16px;color:#10243a;margin:0 0 8px}
.v63-proof-card p{font-size:13px;line-height:1.65;color:#526579;margin:0}
.v63-proof-card a{display:inline-block;margin-top:10px;font-weight:700;color:#1769aa;font-size:13px}
@media(max-width:800px){.v63-proof-grid{grid-template-columns:1fr}}
