/* StrasIA-Tech 0.9.9.7: phone and tablet reading layout. */
@media (max-width: 900px) {
  .header-inner, body.header-compact .header-inner { min-height:72px; gap:12px; }
  .brand-wrap { min-width:0; flex:1; }
  .brand-wrap img { display:block; max-width:min(100%,240px); height:auto; }
  .nav-toggle { flex:0 0 46px; min-height:46px; }
  .primary-nav { position:absolute; top:100%; margin:0; overscroll-behavior:contain; }
  .primary-nav.is-open { max-height:calc(100dvh - 73px); }
  .primary-nav .menu { padding:12px 20px 24px; }
  .strasia-menu > .menu-item > .menu-link-row > a,
  .submenu .menu-link-row > a { min-height:48px; font-size:1rem; line-height:1.4; white-space:normal; }
  .submenu-toggle { flex:0 0 48px; height:48px; }
  .submenu::before { display:none; }
  .primary-nav .submenu { min-width:0; }
  .hero-inner { min-height:0; gap:0; }
  .hero-copy { max-width:100%; padding:3.5rem 0; }
  .hero h1 { max-width:19ch; font-size:clamp(2rem,7.5vw,3.6rem); line-height:1.1; letter-spacing:-.045em; }
  .hero-visual { display:none; }
  .hero-lead { font-size:1.05rem; line-height:1.7; margin:1.5rem 0; }
  .hero-proof { margin-top:1.5rem; font-size:.9rem; }
  .section { padding-block:3.5rem; }
  .section-heading { margin-bottom:2rem; }
  .section-heading h2, .local-card h2, .cta-card h2 { font-size:clamp(1.65rem,5.5vw,2.4rem); line-height:1.2; }
  .method-grid,.demo-grid { gap:2rem; }
  .method-visual { display:none; }
  .inner-hero-inner { min-height:0; padding-block:2.5rem; gap:1rem; }
  .inner-hero h1 { max-width:100%; font-size:clamp(1.9rem,6.8vw,3rem); line-height:1.15; overflow-wrap:anywhere; }
  .inner-hero-mark { display:none; }
  .inner-hero-inner { grid-template-columns:minmax(0,1fr); }
  .breadcrumbs { font-size:.85rem; line-height:1.6; }
  .breadcrumbs a { display:inline-block; padding-block:4px; }
  .content-layout { padding-block:2rem 3.5rem; }
  .content-primary { overflow-wrap:break-word; }
  .content-primary .item-page p { font-size:1rem; line-height:1.75; }
  .content-primary .item-page h2 { font-size:clamp(1.5rem,5.5vw,2rem); line-height:1.25; }
  .content-primary .item-page h3 { font-size:1.2rem; line-height:1.35; }
  .content-primary fieldset { min-width:0; }
  .content-primary input, .content-primary textarea, .content-primary select { font-size:16px; max-width:100%; }
  .content-primary table { display:block; max-width:100%; overflow-x:auto; }
  .pagination ul { flex-wrap:wrap; }
  .footer-links a { display:inline-flex; align-items:center; min-height:44px; }
  .footer-grid { gap:1.5rem; }
}
@media (max-width: 600px) {
  .container { width:calc(100% - 36px); }
  .hero-copy { padding-block:2.5rem; }
  .hero h1 { font-size:clamp(2rem,8.5vw,2.9rem); }
  .eyebrow { font-size:.7rem; letter-spacing:.12em; }
  .eyebrow span { width:22px; }
  .hero-actions { gap:.75rem; }
  .btn { min-height:48px; padding:.8rem 1rem; text-align:center; white-space:normal; }
  .hero-proof { gap:.65rem; }
  .trust-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trust-grid > div { min-width:0; padding:1rem .65rem; gap:.65rem; }
  .trust-grid > div:nth-child(odd) { border-right:1px solid var(--strasia-border)!important; }
  .trust-grid > div:nth-last-child(-n+2) { border-bottom:0; }
  .trust-grid strong { font-size:.9rem; }
  .trust-grid small { font-size:.78rem; }
  .solution-card { min-height:0; padding:1.5rem; }
  .solution-card h3 { font-size:1.25rem; }
  .solution-card p { font-size:1rem; }
  .solution-card-cta { margin-top:1rem; font-size:.95rem; }
  .why-grid { margin-top:1.5rem; }
  .why-card { padding:1.4rem; }
  .why-card > span { margin-bottom:.75rem; }
  .why-card p, .example-home-card p { font-size:1rem; }
  .example-home-card { min-height:0; padding:1.4rem; }
  .local-card,.cta-card { padding:1.6rem 1.25rem; }
  .local-badge { display:none; }
  .local-card { grid-template-columns:minmax(0,1fr); }
  .blog-item,.items-leading > div,.items-row > div { padding:1.25rem; }
  .blog-item p,.items-leading p,.items-row p { font-size:1rem; }
  .reference-card-copy { padding:1.2rem; }
  .references-grid { gap:1rem; margin-block:1.5rem; }
  .references-page .reference-card p { font-size:1rem; }
  .contact .contact-form,.contact-form { padding:1rem; }
  .footer-links { gap:.2rem; }
}
@media (max-width: 360px) {
  .container { width:calc(100% - 28px); }
  .trust-grid { grid-template-columns:minmax(0,1fr); }
  .trust-grid > div:nth-child(odd) { border-right:0!important; }
  .trust-grid > div:not(:last-child) { border-bottom:1px solid var(--strasia-border); }
}

@media (min-width: 901px) {
  .strasia-menu > .menu-item:last-child > .submenu { left:auto; right:0; }
}

/* 0.9.9.8: compact professional references, logo beside the text. */
.references-page .references-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1.5rem; margin-block:1.75rem 2rem; }
.references-page .reference-card { display:grid; grid-template-columns:164px minmax(0,1fr); align-items:center; gap:1rem; grid-column:auto; padding:1rem 0; border:0; border-bottom:1px solid var(--strasia-border); border-radius:0; background:none; box-shadow:none; }
.references-page .reference-logo { height:70px; padding:8px; border-radius:8px; }
.references-page .reference-logo img { width:150px; max-width:100%; height:auto; max-height:54px; object-fit:contain; }
.references-page .reference-card-copy { min-width:0; padding:0; }
.references-page .reference-card h3 { margin:0 0 .3rem; font-size:1rem; line-height:1.35; }
.references-page .reference-card p { margin:0; font-size:.88rem; line-height:1.5; }
.references-page .references-perspective { padding:1.25rem 0 0; border:0; border-radius:0; background:none; }
@media (max-width:760px) {
  .references-page .references-grid { grid-template-columns:minmax(0,1fr); margin-block:1.25rem 1.5rem; }
  .references-page .reference-card { grid-template-columns:140px minmax(0,1fr); padding:.8rem 0; gap:1rem; }
}
@media (max-width:400px) {
  .references-page .reference-card { grid-template-columns:104px minmax(0,1fr); gap:.85rem; }
  .references-page .reference-logo { height:64px; padding:6px; }
  .references-page .reference-logo img { max-height:50px; }
  .references-page .reference-card h3 { font-size:.95rem; }
}

/* 0.9.9.9: Solutions follows the editorial layout of Methode. */
.page-solutions .inner-hero-inner { min-height:155px; padding-block:1.55rem 1.35rem; }
.page-solutions .inner-hero-mark { width:128px; height:88px; }
.page-solutions .inner-hero-mark img { width:74px; }
.page-solutions .inner-hero h1 { margin:.12rem 0 .5rem; font-size:clamp(2.05rem,3.45vw,3.15rem); }
.page-solutions .context-band { width:min(calc(100% - 40px),var(--strasia-max)); margin:1.1rem auto 0; border:0; background:none; }
.page-solutions .context-band-inner { width:100%; max-width:920px; margin:0; display:block; padding:1.4rem 1.6rem; border:1px solid var(--strasia-border); border-left:2px solid var(--strasia-cyan); border-radius:0 16px 16px 0; background:linear-gradient(100deg,rgba(20,77,255,.08),rgba(255,255,255,.01)); }
.page-solutions .context-kicker { display:block; margin-bottom:.5rem; }
.page-solutions .context-band-inner strong { display:block; font-size:1.2rem; line-height:1.4; }
.page-solutions .context-band-inner p { margin:.75rem 0 0; font-size:1rem; line-height:1.7; }
.page-solutions .content-layout { padding-top:1.6rem; }
.page-solutions .content-primary { max-width:920px; }
.page-solutions .blog { counter-reset:solution; }
.page-solutions .blog-items { display:block; }
.page-solutions .blog-item { counter-increment:solution; margin:0 0 1rem; padding:1.5rem 1.6rem 1.15rem 4.8rem; border:1px solid rgba(90,150,255,.16); border-radius:16px; background:linear-gradient(100deg,rgba(20,77,255,.06),rgba(255,255,255,.012)); box-shadow:none; transform:none; }
.page-solutions .blog-item::before { content:counter(solution,decimal-leading-zero); position:absolute; inset:1.5rem auto auto 1.15rem; width:2.4rem; height:auto; border-right:1px solid rgba(0,194,255,.4); background:none; color:var(--strasia-cyan); font-size:1.3rem; font-weight:850; line-height:1.4; opacity:1; }
.page-solutions .blog-item::after { display:none; }
.page-solutions .blog-item:hover { transform:none; border-color:rgba(0,194,255,.32); }
.page-solutions .blog-item h2 { margin:0 0 .85rem; font-size:1.45rem; line-height:1.3; letter-spacing:-.025em; }
.page-solutions .blog-item .strasia-lead { margin:0; padding:0; font-size:1rem; line-height:1.75; color:#c9d8ee; background:none; border:0; box-shadow:none; }
.page-solutions .readmore { margin:.65rem 0 0; }
.page-solutions .readmore a { min-height:44px; width:auto; padding:.35rem 0; border:0; background:none; box-shadow:none; font-size:.9rem; line-height:1.5; text-align:left; justify-content:flex-start; white-space:normal; }
.page-solutions .readmore a:hover { transform:none; color:#fff; }
@media (max-width:600px) {
  .page-solutions .context-band { width:calc(100% - 36px); }
  .page-solutions .context-band-inner { padding:1.1rem; }
  .page-solutions .context-band-inner strong { font-size:1.1rem; }
  .page-solutions .blog-item { padding:1.25rem 1.1rem 1rem; }
  .page-solutions .blog-item::before { position:static; display:block; margin-bottom:.75rem; width:auto; border:0; font-size:1.1rem; }
  .page-solutions .blog-item h2 { font-size:1.3rem; }
}
@media (max-width:360px) { .page-solutions .context-band { width:calc(100% - 28px); } }
