/* SME — atmosphere and editorial depth for internal routes only.
   Intentionally scoped: the home, global header and admin keep their owners. */
#route-view {
  --inner-blue: #063a91;
  --inner-electric: #165bf4;
  --inner-ink: #10213e;
  --inner-muted: #465775;
  --inner-border: #c9d6ed;
  background:
    radial-gradient(ellipse at 0 25%, #165bf40c, transparent 48%),
    radial-gradient(ellipse at 100% 80%, #ef5d0c0c, transparent 42%),
    linear-gradient(155deg, #f1f5ff, #f8f7f5 62%, #fff4eb);
  color: var(--inner-ink);
}

#route-view .route-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 180px;
  padding-bottom: 76px;
  color: #fff;
  background:
    radial-gradient(ellipse at 95% 18%, #165bf459, transparent 57%),
    radial-gradient(ellipse at 2% 100%, #ef5d0c2e, transparent 46%),
    linear-gradient(120deg, #04132b 10%, #052456 62%, #063a91);
  border-bottom: 1px solid #7b9ed966;
}
#route-view .route-hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -150px;
  top: 15%;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, #ef5d0c38, #165bf42b 42%, transparent 70%);
  animation: sme-inner-atmosphere 12s ease-out both;
}
#route-view .route-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, #165bf4, #063a91 42%, #ef5d0c 79%, #ff9f5e);
}
#route-view .route-hero h1 {
  color: #fff;
  max-width: 1120px;
  font-size: clamp(54px, 6vw, 90px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 4px 30px #04132b40;
  animation: sme-inner-title .65s cubic-bezier(.2,.7,.3,1) both;
}
#route-view .route-hero p:not(.eyebrow) {
  color: #eef3ff;
  max-width: 650px;
  font-size: 14px;
  line-height: 1.9;
}
#route-view .route-hero > .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
  padding: 8px 11px;
  background: linear-gradient(100deg, #ef5d0c, #ff9f5e);
  border-radius: 3px;
  color: #04132b;
  font-size: 10px;
  letter-spacing: .12em;
}
#route-view .breadcrumb { color: #eef3ff; }
#route-view .breadcrumb a { text-underline-offset: 4px; }
#route-view .breadcrumb a:hover { color: #fff; text-decoration: underline; }
#route-view .route-body { padding-block: 58px 100px; }
#route-view .route-body > *,
#route-view .machine-detail > *,
#route-view .article-layout > * { min-width: 0; }

/* A useful toolbar, followed by technical inventory cards. */
#route-view .catalog-toolbar {
  padding: 20px 22px;
  border: 1px solid var(--inner-border);
  border-radius: 12px;
  background: linear-gradient(120deg, #fff, #edf3ff);
  box-shadow: 0 12px 35px #063a9108;
  gap: 20px;
}
#route-view .category-tabs { border: 0; padding-bottom: 0; gap: 8px; }
#route-view .category-tabs button {
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #063a91;
  background: #e5edff;
  font-size: 11px;
}
#route-view .category-tabs button.active {
  background: linear-gradient(110deg, #02217c, #165bf4);
  color: #fff;
  border-color: #165bf4;
}
#route-view .category-tabs button:not(.active):hover { color: #04132b; background: #d7e4ff; }
#route-view .catalog-search {
  min-width: 230px;
  background: #fff;
  border-color: #afc2e5;
  border-radius: 7px;
  color: #10213e;
  font-size: 13px;
}
#route-view .catalog-search::placeholder { color: #5e6c85; }
#route-view .catalog-search:focus { border-color: #165bf4; box-shadow: 0 0 0 4px #165bf419; }
#route-view .result-count { color: #465775; font-size: 11px; }
#route-view .machine-grid, #route-view .post-grid { gap: 26px; }
#route-view .machine-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--inner-border);
  border-radius: 13px;
  background: linear-gradient(155deg, #fff 40%, #eaf1ff);
  box-shadow: 0 8px 25px #04132b05;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#route-view .machine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #165bf4, #063a91 65%, #ef5d0c);
}
#route-view .machine-card:hover { transform: translateY(-4px); border-color: #739be2; box-shadow: 0 20px 40px #063a9119; }
#route-view .machine-photo { margin: 12px 12px 0; border-radius: 8px; }
#route-view .machine-photo img { filter: saturate(.95); }
#route-view .machine-demo { background: #fff; color: #021f59; border: 1px solid #c9d6ed; border-radius: 3px; }
#route-view .machine-info { padding: 24px 22px 22px; }
#route-view .machine-info > .eyebrow { color: #063a91; font-size: 9px; }
#route-view .machine-info h3 { font-size: clamp(26px, 2.1vw, 32px); color: #021f59; }
#route-view .machine-info h3 a:hover { text-decoration: underline; text-decoration-color: #ef5d0c; text-underline-offset: 5px; }
#route-view .machine-meta { border-color: #c1cfe6; color: #465775; }
#route-view .machine-meta strong { color: #021f59; font-size: 12px; }
#route-view .machine-card-bottom { border-top-color: #c1cfe6; padding-top: 15px; gap: 12px; }
#route-view .machine-card-bottom a { color: #063a91; font-size: 11px; min-height: 44px; }
#route-view .compare-toggle { color: #063a91; background: #e0eaff; border-radius: 5px; padding: 8px 10px; font-size: 10px; }
#route-view .compare-toggle[aria-pressed="true"] { color: #04132b; background: linear-gradient(110deg, #ef5d0c, #ff9f5e); }

/* Journal cards have their own blue editorial plate. Long-form reading stays light. */
#route-view .post-card {
  overflow: hidden;
  border: 1px solid #2b5399;
  border-radius: 13px;
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 100%, #ef5d0c20, transparent 58%),
    linear-gradient(150deg, #04132b, #063a91);
  box-shadow: 0 12px 35px #04132b12;
  padding-bottom: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
#route-view .post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 42px #063a9126; }
#route-view .post-card .post-image { display: block; margin: 12px 12px 0; border-radius: 8px; overflow: hidden; }
#route-view .post-card .post-image img { width: 100%; }
#route-view .post-card .post-meta { margin: 22px 22px 16px; color: #eef3ff; }
#route-view .post-card .post-meta > span { color: #ffd1ad; }
#route-view .post-card h3 { margin: 0 22px 22px; color: #fff; font-size: 28px; }
#route-view .post-card > .text-link { margin: 0 22px; color: #fff; font-size: 11px; }
#route-view .post-card > .text-link > span { color: #ffb781; }
#route-view .detail-back { color: #063a91; font-size: 12px; text-underline-offset: 4px; }
#route-view .detail-back:hover { text-decoration: underline; }
#route-view .machine-detail > div > img,
#route-view .article-cover { border-radius: 13px; border: 1px solid #c9d6ed; box-shadow: 0 20px 55px #063a9117; }
#route-view .detail-copy {
  padding: 30px;
  border: 1px solid var(--inner-border);
  border-top: 4px solid #165bf4;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #edf3ff);
}
#route-view .detail-copy .eyebrow { color: #a33807; }
#route-view .detail-copy h2 { color: #021f59; font-size: clamp(33px, 3.3vw, 48px); }
#route-view .detail-copy > p { color: #465775; }
#route-view .spec-table { border: 1px solid #c9d6ed; border-radius: 8px; overflow: hidden; }
#route-view .spec-table tr:nth-child(odd) { background: #e5edff; }
#route-view .spec-table th, #route-view .spec-table td { padding: 14px 12px; border-color: #c9d6ed; overflow-wrap: anywhere; }
#route-view .spec-table th { color: #021f59; }
#route-view .spec-table td { color: #33486c; }
#route-view .article-aside { align-self: start; padding: 20px; border-left: 3px solid #165bf4; border-radius: 0 8px 8px 0; background: linear-gradient(140deg, #e2ebff, #f0f5ff); color: #33486c; }
#route-view .article-body { padding: 32px 36px; border: 1px solid #c9d6ed; border-radius: 12px; background: #fff; color: #273c5e; }
#route-view .article-body h1, #route-view .article-body h2, #route-view .article-body h3 { color: #021f59; }
#route-view .article-body blockquote { border-left-color: #ef5d0c; border-radius: 0 7px 7px 0; background: linear-gradient(110deg, #e5edff, #fff2e9); color: #273c5e; }
#route-view .article-body a { color: #063a91; text-decoration-thickness: 1px; text-underline-offset: 4px; }
#route-view .article-body pre { background: #04132b; color: #eef3ff; border-radius: 7px; }
#route-view .article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
#route-view .article-body th, #route-view .article-body td { padding: 11px; border: 1px solid #c9d6ed; }
#route-view .article-body th { background: #e5edff; color: #021f59; }

/* The company section connects people with its two origins. */
#route-view .about-photo { border-radius: 12px; box-shadow: 0 18px 45px #063a911a; }
#route-view .about-caption { border-radius: 8px; background: linear-gradient(125deg, #04132b, #063a91); color: #fff; box-shadow: 0 18px 36px #04132b26; }
#route-view .about-caption p, #route-view .about-caption span { color: #fff; }
#route-view .about-caption > span:last-child { color: #ffb781; }
#route-view .about-copy h2 { color: #021f59; }
#route-view .about-copy p { color: #465775; }
#route-view .about-copy .eyebrow { color: #a33807; }
#route-view .about-copy .heritage { padding: 22px 18px; border: 1px solid #c9d6ed; border-radius: 8px; background: linear-gradient(110deg, #e2ebff, #fff5ee); color: #021f59; }
#route-view .about-copy .heritage > span:nth-child(2) { color: #a33807; }
#route-view .capabilities { color: #fff; background: radial-gradient(ellipse at 95% 5%, #165bf454, transparent 52%), linear-gradient(125deg, #04132b, #063a91); }
#route-view .capabilities h2, #route-view .capabilities h3 { color: #fff; }
#route-view .capabilities h2 em { color: #ffd1ad; }
#route-view .capabilities-top > p, #route-view .capabilities .service-card p { color: #eef3ff; }
#route-view .capabilities .eyebrow { color: #ffd1ad; }
#route-view .service-card { border-color: #7598cf; background: linear-gradient(140deg, #ffffff08, #ffffff0f); }
#route-view .service-card .service-num { color: #c9dcff; }
#route-view .service-accent { color: #04132b; border-color: #ff9f5e; background: linear-gradient(145deg, #ef5d0c, #ff9f5e); }
#route-view .service-accent h3, #route-view .service-accent p, #route-view .service-accent .service-num { color: #04132b; }
#route-view .capabilities .service-accent p { color: #04132b; }
#route-view .closing { color: #fff; background: radial-gradient(ellipse at 90% 50%, #ef5d0c35, transparent 48%), linear-gradient(110deg, #04132b, #063a91); border-top: 4px solid #ef5d0c; }
#route-view .closing h2, #route-view .closing a { color: #fff; }
#route-view .closing h2 span { color: #ffd1ad; }
#route-view .closing .eyebrow, #route-view .closing-arrow { color: #ffd1ad; }

/* A clear conversation: dark context plate, bright form, real status messages. */
#route-view .contact-layout { align-items: start; gap: 6%; }
#route-view .contact-copy { padding: 34px 30px; border-radius: 12px; border-left: 4px solid #ef5d0c; color: #fff; background: radial-gradient(ellipse at 100% 0, #165bf449, transparent 65%), linear-gradient(145deg, #04132b, #063a91); box-shadow: 0 18px 45px #063a9115; }
#route-view .contact-copy h2 { color: #fff; }
#route-view .contact-copy h2 em { color: #ffd1ad; }
#route-view .contact-copy > p, #route-view .contact-points dt, #route-view .contact-points dd, #route-view .contact-points a { color: #eef3ff; }
#route-view .contact-copy .eyebrow { color: #ffd1ad; }
#route-view .contact-points dd { overflow-wrap: anywhere; }
#route-view .contact-points a { text-underline-offset: 4px; }
#route-view .contact-copy .editorial-note { color: #eef3ff; }
#route-view .contact-form { position: relative; padding: 32px; border: 1px solid #c9d6ed; border-top: 4px solid #165bf4; border-radius: 12px; background: linear-gradient(145deg, #fff, #edf3ff); box-shadow: 0 16px 45px #063a910c; }
#route-view .contact-form .field { color: #14294e; font-size: 11px; }
#route-view .field input, #route-view .field select, #route-view .field textarea { background: #fff; border-color: #afc2e5; border-radius: 6px; color: #10213e; font-size: 13px; }
#route-view .field input::placeholder, #route-view .field textarea::placeholder { color: #5e6c85; }
#route-view .field input:focus, #route-view .field select:focus, #route-view .field textarea:focus { border-color: #165bf4; box-shadow: 0 0 0 4px #165bf419; }
#route-view .consent { color: #33486c; font-size: 11px; }
#route-view .consent a { color: #063a91; }
#route-view .form-message.error { padding: 16px; border-radius: 7px; background: #fff0f2; color: #9c2431; }
#route-view .form-message.success { border-radius: 7px; border-left: 3px solid #257446; }
#route-view .privacy-body { padding: 32px 36px; border: 1px solid #c9d6ed; border-left: 4px solid #ef5d0c; border-radius: 12px; background: linear-gradient(145deg, #fff, #edf3ff); }
#route-view .privacy-body h2 { color: #021f59; }
#route-view .privacy-body p, #route-view .privacy-body li { color: #465775; }
#route-view .empty-state { border-color: #9eb7e2; border-radius: 12px; background: linear-gradient(135deg, #fff, #eaf1ff); color: #33486c; }
#route-view .editorial-note { color: #465775; }
#route-view .pagination { color: #465775; }
#route-view :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #ff9d00; outline-offset: 3px; box-shadow: 0 0 0 6px #04132b; }

@keyframes sme-inner-atmosphere { from { transform: translate3d(-35px, 25px, 0) scale(.88); opacity: .5; } to { transform: translate3d(20px, -15px, 0) scale(1.08); opacity: 1; } }
@keyframes sme-inner-title { from { transform: translateY(12px); } to { transform: translateY(0); } }

@media (max-width: 1050px) {
  #route-view .catalog-toolbar { align-items: stretch; }
  #route-view .catalog-toolbar > label { flex: 1; }
  #route-view .catalog-search { width: 100%; min-width: 210px; }
  #route-view .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  #route-view .contact-copy > p { max-width: 600px; }
  #route-view .contact-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #route-view .machine-detail { gap: 4%; }
  #route-view .detail-copy { padding: 24px; }
  #route-view .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 5%; }
}
@media (max-width: 760px) {
  #route-view .route-hero { padding-top: 142px; padding-bottom: 55px; }
  #route-view .route-hero h1 { font-size: clamp(40px, 10.8vw, 58px); line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
  #route-view .route-hero p:not(.eyebrow) { font-size: 12px; line-height: 1.9; }
  #route-view .route-hero > .eyebrow { font-size: 9px; padding: 7px 9px; }
  #route-view .route-hero::before { width: 320px; height: 320px; right: -180px; }
  #route-view .breadcrumb { font-size: 9px; margin-bottom: 30px; }
  #route-view .route-body { padding-block: 40px 65px; }
  #route-view .catalog-toolbar { padding: 16px; gap: 18px; }
  #route-view .category-tabs { gap: 7px; }
  #route-view .category-tabs button { padding: 10px 12px; font-size: 10px; }
  #route-view .catalog-toolbar > label { width: 100%; flex-basis: 100%; }
  #route-view .catalog-search { width: 100%; min-width: 0; font-size: 16px; }
  #route-view .machine-info { padding: 22px 18px; }
  #route-view .machine-meta { gap: 14px; }
  #route-view .machine-card-bottom { gap: 10px; }
  #route-view .machine-card-bottom a { font-size: 10px; gap: 10px; }
  #route-view .compare-toggle { min-width: 82px; font-size: 9px; }
  #route-view .post-card h3 { font-size: 27px; }
  #route-view .post-card .post-meta, #route-view .post-card h3, #route-view .post-card > .text-link { margin-left: 18px; margin-right: 18px; }
  #route-view .machine-detail { grid-template-columns: 1fr; gap: 28px; }
  #route-view .detail-copy { padding: 24px 20px; }
  #route-view .detail-copy h2 { font-size: 35px; }
  #route-view .spec-table th, #route-view .spec-table td { padding: 12px 9px; font-size: 11px; }
  #route-view .article-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  #route-view .article-aside { display: flex; gap: 18px; justify-content: space-between; padding: 18px; }
  #route-view .article-body, #route-view .privacy-body { padding: 25px 20px; }
  #route-view .article-body { font-size: 14px; }
  #route-view .article-body h2 { font-size: 29px; }
  #route-view .article-body h3 { font-size: 24px; }
  #route-view .about-copy .heritage { padding: 18px 14px; gap: 14px; font-size: 12px; }
  #route-view .contact-copy { padding: 28px 23px; }
  #route-view .contact-copy h2 { font-size: 43px; }
  #route-view .contact-points { grid-template-columns: 1fr; gap: 20px; }
  #route-view .contact-form { padding: 24px 20px; }
  #route-view .form-row { grid-template-columns: 1fr; }
  #route-view .field input, #route-view .field select, #route-view .field textarea { font-size: 16px; }
  #route-view .contact-form .button { width: 100%; justify-content: space-between; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #route-view .route-hero::before, #route-view .route-hero h1 { animation: none; }
  #route-view .machine-card, #route-view .post-card, #route-view .machine-photo img { transition: none; }
  #route-view .machine-card:hover, #route-view .post-card:hover, #route-view .machine-card:hover img { transform: none; }
}
@media print {
  #route-view { background: #fff; color: #111; }
  #route-view .route-hero, #route-view .capabilities, #route-view .contact-copy, #route-view .post-card, #route-view .closing { color: #111; background: #fff; box-shadow: none; }
  #route-view .route-hero::before, #route-view .route-hero::after { display: none; }
  #route-view .route-hero h1, #route-view .route-hero p, #route-view .post-card h3, #route-view .post-card .post-meta, #route-view .contact-copy h2, #route-view .contact-copy p { color: #111; }
}
