/* Saturn Machinery — additive cross-site quality layer.
   This stylesheet deliberately leaves each page's layout and content architecture intact. */

html { scroll-padding-top: 132px; }
body { overflow-x: hidden; }

/* Give keyboard users a reliable, high-contrast focus indicator on every page. */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #c2692d;
  outline-offset: 3px;
}

/* Keep skip links discoverable and avoid in-page targets hiding beneath sticky navigation. */
.skip:focus,
.skip-link:focus { z-index: 100000; }
:where([id]) { scroll-margin-top: 132px; }

/* Improve tap behavior and avoid accidental double-tap delays on controls. */
:where(button, input, select, textarea, summary) { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .68; }

/* Prevent browser zoom on focused form controls in the mobile layout. */
@media (max-width: 720px) {
  :where(input, select, textarea) { font-size: 16px !important; }
}

/* Respect operating-system motion preferences without changing the visual hierarchy. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Ensure native disclosure controls remain clearly interactive. */
details > summary { touch-action: manipulation; }

/* Shared feedback for legacy inquiry forms handled by site-polish.js. */
.saturn-form-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.saturn-form-message.is-success { background: #eaf6ee; color: #1f6f3b; }
.saturn-form-message.is-error { background: #fbeceb; color: #9c2922; }


/* Unified industrial B2B presentation layer — applies after legacy per-page styles. */
:root {
  --color-accent: #d87520;
  --color-accent-light: #f0aa72;
  --color-accent-dark: #a94f10;
  --color-accent-muted: rgba(216, 117, 32, .12);
  --color-bg: #f4f7f9;
  --color-surface: #ffffff;
  --color-border: #d6e1e9;
  --color-text: #08253e;
  --color-text-secondary: #586b7b;
  --accent: #d87520;
  --accent-deep: #a94f10;
  --accent-soft: #fff1e4;
  --ink: #08253e;
  --ink-2: #103e60;
  --paper: #f4f7f9;
  --surface: #ffffff;
  --line: #d6e1e9;
  --muted: #586b7b;
}

/* Shared legacy-page shell: align inner pages to the homepage's industrial palette. */
.top-bar,
.utility { background: #061827 !important; }
.top-bar a,
.utility a { color: #ffd29a !important; }
.main-nav { border-bottom-color: #d6e1e9 !important; box-shadow: 0 5px 16px rgba(8, 37, 62, .08); }
.main-nav a:hover,
.main-nav a.active { color: #d87520 !important; border-bottom-color: #d87520 !important; }
.nav-dropdown-content { border-color: #d6e1e9 !important; box-shadow: 0 14px 30px rgba(8, 37, 62, .16) !important; }
.nav-dropdown-content .dropdown-section { color: #d87520 !important; }
.page-hero:not(.page-hero--split) {
  background: linear-gradient(120deg, rgba(4, 24, 39, .92), rgba(8, 62, 96, .82)), url('img/factory-1.webp') center/cover no-repeat !important;
  padding: 76px 0 !important;
}
.page-hero--split {
  background: var(--color-bg, #faf9f7) !important;
  color: var(--color-text, #1e1b18) !important;
  padding: 72px 0 64px !important;
}
.page-hero--split h1 { color: var(--color-text, #1e1b18) !important; }
.page-hero--split .hero-sub { color: var(--color-text-secondary, #6b625c) !important; }
.form-sec { background: linear-gradient(125deg, #061827, #104d78) !important; }
.site-footer { background: #061827 !important; }
.site-footer a { color: #ffd29a !important; }
.btn-primary,
.btn-submit,
.mob-quote { background: #d87520 !important; }
.btn-primary:hover,
.btn-submit:hover { background: #a94f10 !important; }
.btn-outline { border-color: #d87520 !important; color: #d87520 !important; }
.btn-outline:hover { background: #d87520 !important; color: #fff !important; }
.pcard,
.feat-card,
.prod-rec,
.contact-method,
.info-box,
.gallery-item,
.case-card,
.form-box { box-shadow: 0 4px 16px rgba(8, 37, 62, .05); }
.pcard:hover,
.feat-card:hover,
.contact-method:hover,
.gallery-item:hover,
.case-card:hover { border-color: #d87520 !important; box-shadow: 0 14px 28px rgba(8, 37, 62, .13) !important; transform: translateY(-3px); }

/* Reliable compact navigation: keep all routes reachable without clipping on small screens. */
@media (max-width: 900px) {
  .top-bar { min-height: 44px; align-items: center; padding-inline: 16px; }
  .top-bar .container { padding-inline: 0; }
  .main-nav .nav-inner {
    width: 100%;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav .nav-inner::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; }
  .nav-dropdown-content { max-width: min(280px, calc(100vw - 24px)); }
}

@media (max-width: 768px) {
  .page-hero:not(.page-hero--split) { padding: 56px 0 !important; }
  .page-hero h1 { max-width: 22ch; }
  .top-bar { font-size: .75rem; }
  .top-bar > span:first-child { display: none; }
  .top-bar > span:last-child { margin-inline: auto; }
  .main-nav { top: 44px !important; }
  .main-nav a { padding: 11px 10px !important; }
  .nav-dropdown-content { position: fixed !important; top: 88px !important; left: 12px !important; max-height: calc(100vh - 170px); overflow: auto; }
  .form-box, .quote-card { padding: 24px 18px !important; }
  .page-hero + .section { padding-top: 52px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .button, .pcard, .feat-card, .contact-method, .gallery-item, .case-card { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
}


/* home-opt-20260914 */
.sr-anchor{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hero-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;width:100%;max-width:560px}
.hero-journey__step{display:flex;align-items:flex-start;gap:10px;padding:12px 12px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.06);color:#e8f2fa;text-decoration:none;transition:background .2s ease,border-color .2s ease}
.hero-journey__step:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4)}
.hero-journey__step b{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:var(--orange,#d87520);color:#fff;font-size:12px}
.hero-journey__step span{font-size:13px;line-height:1.35}
.rec-ask{display:inline-flex;margin-top:8px;font-size:13px;font-weight:700;color:var(--blue,#0b5cad);text-decoration:none}
.rec-ask:hover{text-decoration:underline}
.material-why{margin:0 0 6px;color:var(--blue,#0b5cad);font-size:12px;font-weight:700;line-height:1.4}
.why-us .lead{max-width:720px;margin:0 auto}
@media (max-width:720px){
  .hero-journey{grid-template-columns:1fr;max-width:none}
}
/* product-photo-full-view */
/* Prefer full product photos over aggressive crop */
#gallery .card img,
#principle .principle-visual img,
#principle .principle-visuals img,
#highlights .card img,
#support .reason img,
.product-detail-main img {
  object-fit: contain !important;
}
#highlights .card img,
#support .reason img {
  height: auto !important;
  max-height: 220px;
  padding: 10px;
  background: #f7f4f1;
}
#gallery .card img {
  background: #f7f4f1;
}
.product-detail-main img {
  max-height: 520px;
  padding: 16px;
  background: #f7f4f1;
}

/* full product catalog menus */
.nav-dropdown-content,.drop-menu{max-height:min(72vh,680px);overflow:auto;overscroll-behavior:contain}
.nav-dropdown-content{min-width:280px}
.catalog-subhead{margin:36px 0 14px;font:800 18px/1.2 Montserrat,Arial,sans-serif;letter-spacing:-.02em;color:inherit}
.catalog-more{margin:28px 0 0;text-align:center}
