/* Slewing Drives — dependency-free, responsive static styles. */
:root {
  --ink: #191e22;
  --muted: #60676c;
  --accent: #cd2945;
  --accent-dark: #a71e36;
  --paper: #fff;
  --soft: #f5f5f3;
  --line: #dedfdd;
  --container: 1184px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; vertical-align: middle; }
a { color: inherit; text-underline-offset: 4px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: #fff; background: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.7vw, 80px); font-weight: 750; }
h2 { font-size: clamp(32px, 3.25vw, 46px); font-weight: 700; }
h3 { font-size: 23px; }
p { color: var(--muted); }
p + p { margin-top: 16px; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 94px; }
.section-muted { background: var(--soft); }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; margin-bottom: 18px; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 + p { margin-top: 22px; }
.section-description { max-width: 760px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 700; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--accent); margin-top: 22px; }
.text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 16px 24px; min-height: 54px; background: var(--accent); color: white; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; border: 1px solid transparent; transition: background .18s, border-color .18s; }
.button:hover { background: var(--accent-dark); }
.button-small { padding: 11px 19px; min-height: 44px; }
.button-group { display: flex; flex-wrap: wrap; gap: 12px; }
.button-outline-light { border-color: #ffffff70; background: transparent; }
.button-outline-light:hover { background: #ffffff14; border-color: white; }
.button-white { color: var(--ink); background: #fff; }
.button-white:hover { background: #eee; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -90px; padding: 12px 20px; background: var(--accent); color: #fff; }
.skip-link:focus { top: 12px; }
/* Navigation */
.site-header { background: var(--paper); position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-light { font-weight: 400; margin-left: 5px; }
.brand small { display: block; font-size: 8px; color: var(--muted); letter-spacing: .23em; font-weight: 400; margin-top: 5px; }
.brand-symbol { display: grid; place-items: center; height: 38px; width: 38px; color: var(--accent); }
.brand-symbol svg { width: 38px; height: 38px; stroke-width: 1.4; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a { font-size: 13px; font-weight: 600; text-decoration: none; }
.primary-nav > a:not(.button):hover, .primary-nav > a[aria-current] { color: var(--accent); }
.menu-toggle { display: none; align-items: center; gap: 10px; padding: 10px 0 10px 10px; background: transparent; border: none; color: var(--ink); }
.menu-label { font-size: 13px; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 21px; height: 2px; background: currentColor; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
/* Landing hero */
.hero { position: relative; color: #fff; background: #1d2023 url('../images/slewing-drives-banner.webp') center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111518f5 0%, #111518de 30%, #11151882 65%, #11151840 100%); }
.hero-inner { position: relative; padding-block: 82px 48px; min-height: 620px; }
.hero-eyebrow { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-eyebrow > span { width: 7px; height: 7px; background: var(--accent); }
.hero h1 { max-width: 850px; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 span { color: #fff; }
.hero-description { color: #e3e5e6; max-width: 555px; margin-top: 27px; font-size: 16px; line-height: 1.75; }
.hero .button-group { margin-top: 31px; }
.delivery-note { display: flex; align-items: center; gap: 10px; margin-top: 37px; color: #d1d4d5; font-size: 12px; }
.delivery-note strong { color: #fff; font-weight: 500; }
.delivery-note img { width: 25px; height: 25px; }
/* Overview */
.intro-copy h3 { font-size: 20px; margin-bottom: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 60px; }
.feature { padding-top: 28px; border-top: 1px solid var(--line); }
.feature-value { display: block; font-size: 54px; font-weight: 700; line-height: 1.15; letter-spacing: -.055em; }
.feature-value > span { color: var(--accent); }
.feature h3 { font-size: 18px; margin-block: 19px 12px; letter-spacing: -.02em; }
.feature p { font-size: 14px; max-width: 325px; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.application-card { background: white; }
.application-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.application-card figcaption { padding: 17px 16px; font-size: 14px; line-height: 1.4; font-weight: 700; border-bottom: 2px solid var(--accent); }
/* Models */
.models-intro { padding-bottom: 42px; }
.models-intro .section-heading { margin-bottom: 38px; }
.technical-note { display: flex; gap: 18px; padding: 21px 24px; background: var(--soft); border-left: 2px solid var(--accent); }
.technical-note p { font-size: 13px; }
.note-mark { display: grid; place-items: center; flex: 0 0 20px; height: 20px; font-size: 12px; border: 1px solid var(--muted); border-radius: 50%; margin-top: 2px; }
.model-nav { position: sticky; top: 0; z-index: 20; border-block: 1px solid var(--line); background: #fffffffa; }
.model-nav-inner { display: flex; gap: 16px; align-items: center; overflow-x: auto; scrollbar-width: thin; padding-block: 12px; }
.model-nav-inner > span { font-size: 10px; font-weight: 700; letter-spacing: .13em; margin-right: auto; padding-right: 30px; }
.model-nav a { padding: 8px 21px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; border: 1px solid transparent; line-height: 1.5; }
.model-nav a:hover { background: var(--soft); }
.model-nav a.is-active { background: var(--ink); color: #fff; }
.product-section { padding-block: 78px; scroll-margin-top: 0; border-bottom: 1px solid var(--line); }
.product-alt { background: #f8f8f7; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-alt .product-gallery { order: 2; }
.product-gallery { min-width: 0; background: #eee; border: 1px solid var(--line); }
.gallery-track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) #ddd; }
.product-gallery.enhanced .gallery-track { scrollbar-width: none; }
.product-gallery.enhanced .gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-slide img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-slide figcaption { padding: 10px 16px; font-size: 11px; color: var(--muted); background: #fff; text-align: center; border-top: 1px solid var(--line); }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; background: white; padding: 12px 15px; border-top: 1px solid var(--line); }
.gallery-arrow { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: #fff; border: 1px solid var(--line); font-size: 20px; line-height: 1; }
.gallery-arrow:hover { background: var(--soft); border-color: var(--ink); }
.gallery-tabs { display: flex; gap: 6px; }
.gallery-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font-size: 12px; color: var(--muted); min-height: 38px; }
.gallery-tab[aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--accent); }
.product-copy > .eyebrow { display: flex; align-items: center; justify-content: space-between; }
.product-count { color: #767c80; letter-spacing: .06em; }
.product-copy h2 { font-size: 48px; margin-bottom: 18px; }
.product-copy h2 span { margin-left: 14px; font-size: 22px; color: #757a7e; font-weight: 400; letter-spacing: -.03em; }
.product-copy > p:not(.eyebrow) { font-size: 14px; }
.spec-list { margin-block: 23px; }
.spec-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-copy .motor-note { font-size: 12px !important; line-height: 1.75; margin-top: 8px; }
.product-callout { padding: 16px 20px; background: #fff; border-left: 2px solid var(--accent); margin-top: 20px; }
.product-callout a { font-weight: 700; color: var(--accent-dark); }
.product-buy { width: 100%; justify-content: space-between; margin-top: 24px; }
.product-copy .speed-note { font-size: 11px !important; line-height: 1.6; margin-top: 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: white; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; white-space: nowrap; }
.comparison-table caption { text-align: left; font-size: 12px; padding: 14px 22px; color: var(--muted); border-bottom: 1px solid var(--line); }
.comparison-table thead { background: var(--ink); color: white; font-size: 12px; }
.comparison-table th, .comparison-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table tbody tr:hover { background: var(--soft); }
.comparison-table a { color: var(--accent-dark); text-decoration: none; }
/* Supporting content */
.custom-section { background: var(--ink); color: white; padding-block: 76px; position: relative; overflow: hidden; }
.custom-section::after { content: ''; position: absolute; height: 470px; width: 470px; border: 70px solid #ffffff04; border-radius: 50%; right: -180px; top: -100px; pointer-events: none; }
.custom-inner { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 60px; position: relative; z-index: 1; }
.custom-inner .eyebrow { color: #f16b80; }
.custom-inner p:not(.eyebrow) { color: #c5c9cc; margin-top: 24px; font-size: 14px; }
.custom-inner > .button { justify-self: end; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.related-card { border: 1px solid var(--line); }
.related-card img { width: 100%; height: auto; aspect-ratio: 550/120; object-fit: contain; background: var(--soft); }
.related-card > div { padding: 28px; }
.related-card h3 { margin-bottom: 15px; }
.related-card p { font-size: 14px; }
.contact-section { background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.contact-layout h2 { margin-bottom: 24px; }
.contact-layout > div > p:not(.eyebrow) { max-width: 440px; }
.contact-list { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list li > svg { width: 21px; color: var(--accent); }
.contact-list span { display: block; font-size: 11px; color: var(--muted); }
.contact-list a { display: block; font-size: 18px; font-weight: 700; text-decoration: none; line-height: 1.4; }
.contact-list a:hover { color: var(--accent); }
.contact-address { display: flex; align-items: center; gap: 12px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-address svg { width: 17px; }
.location-map { border: 1px solid #d5d9da; background: #fff; }
.location-map img { width: 100%; }
.location-map figcaption { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 15px; }
.location-dot { height: 6px; width: 6px; background: var(--accent); border-radius: 50%; }
.location-map figcaption > span:last-child { margin-left: auto; font-size: 10px; color: var(--muted); font-weight: 400; }
.site-footer { background: var(--ink); color: #fff; padding-block: 38px 27px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 29px; border-bottom: 1px solid #ffffff20; }
.footer-brand { font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.footer-brand span { font-size: 11px; font-weight: 400; color: #a9b0b4; margin-left: 9px; }
.footer-top > a:last-child { font-size: 11px; text-decoration: none; color: #c5c9cc; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; }
.footer-bottom p { font-size: 11px; color: #a9b0b4; line-height: 1.9; }
.footer-bottom > div { display: flex; gap: 26px; align-items: center; }
.footer-bottom a { font-size: 11px; text-decoration: none; color: #c5c9cc; }
.footer-bottom svg { width: 13px; height: 13px; margin-left: 4px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* FAQ and utility pages */
.page-heading { padding-block: 56px 70px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: clamp(44px, 5vw, 68px); }
.page-heading h1 > span { color: #787d80; }
.page-heading p:not(.eyebrow) { margin-top: 23px; }
.breadcrumb { display: inline-block; font-size: 11px; color: var(--muted); text-decoration: none; margin-bottom: 30px; }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 84px; align-items: start; }
.faq-aside h2 { font-size: 30px; margin-bottom: 20px; }
.faq-aside > p:not(.eyebrow) { font-size: 14px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { padding-block: 23px; cursor: pointer; display: flex; align-items: center; gap: 18px; list-style: none; line-height: 1.5; font-size: 15px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number { font-size: 10px; color: var(--accent); font-weight: 400; min-width: 20px; }
.faq-plus { flex: 0 0 14px; height: 14px; margin-left: auto; position: relative; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--ink); }
.faq-plus::before { width: 12px; height: 1px; top: 6px; left: 1px; }
.faq-plus::after { height: 12px; width: 1px; top: 1px; left: 6px; }
.faq-item[open] .faq-plus::after { display: none; }
.faq-item[open] summary { color: var(--accent-dark); }
.faq-answer { padding: 0 30px 25px 38px; color: var(--muted); font-size: 14px; }
.faq-answer strong { color: var(--ink); }
.faq-answer a { color: var(--accent-dark); }
.faq-contact { padding-block: 60px; background: var(--soft); }
.faq-contact > .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.faq-contact h2 { font-size: 30px; }
.faq-contact p { font-size: 14px; max-width: 550px; margin-top: 15px; }
.faq-contact-links { display: grid; gap: 12px; }
.faq-contact-links a { display: flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.faq-contact-links svg { color: var(--accent); }
.sitemap-content h2 { font-size: 27px; }
.sitemap-content ul { padding-left: 20px; margin-bottom: 38px; }
.sitemap-content li { padding-block: 5px; }
.sitemap-content a { color: var(--accent-dark); }
/* Tablet */
@media (max-width: 1050px) {
  .container { width: calc(100% - 56px); }
  .primary-nav { gap: 20px; }
  .primary-nav > a { font-size: 12px; }
  .brand { font-size: 17px; gap: 9px; }
  .split-heading { gap: 48px; }
  .product-layout { gap: 36px; }
  .product-copy h2 { font-size: 42px; }
  .product-copy h2 span { font-size: 19px; margin-left: 9px; }
  .model-nav a { padding-inline: 15px; }
  .model-nav-inner { gap: 10px; }
  .contact-layout { gap: 45px; }
  .faq-layout { gap: 45px; }
  .application-grid { gap: 24px 18px; }
}
/* Mobile and no-JavaScript fallback */
@media (max-width: 780px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 62px; }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 17px; padding-block: 18px; }
  .primary-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-block: 6px 20px; gap: 20px; }
  .primary-nav > a { font-size: 13px; }
  .js .menu-toggle { display: flex; }
  .js .primary-nav { display: none; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav > a:not(.button) { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .js .primary-nav .button { margin-top: 16px; }
  .hero-inner { padding-block: 59px 36px; min-height: 570px; }
  .hero::before { background: linear-gradient(90deg, #111518ef, #11151898); }
  .hero { background-position: 60% center; }
  .hero h1 { font-size: clamp(42px, 7.6vw, 59px); }
  .hero-description { max-width: 520px; font-size: 15px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 24px; }
  .hero .button-group { margin-top: 27px; }
  .delivery-note { margin-top: 28px; }
  .split-heading { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { margin-bottom: 32px; }
  .feature-grid { gap: 22px; margin-top: 38px; }
  .feature-value { font-size: 42px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 13px; }
  .application-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .application-card figcaption { padding: 14px 13px; font-size: 13px; }
  .models-intro { padding-bottom: 30px; }
  .technical-note { padding: 17px 18px; gap: 13px; }
  .model-nav-inner { width: 100%; padding-inline: 20px; gap: 8px; }
  .model-nav-inner > span { padding-right: 12px; }
  .model-nav a { padding: 8px 14px; }
  .product-section { padding-block: 50px; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { max-width: 550px; width: 100%; margin-inline: auto; }
  .product-alt .product-gallery { order: 0; }
  .product-copy h2 { font-size: 42px; }
  .product-copy h2 span { font-size: 20px; }
  .spec-list > div { padding-block: 10px; }
  .product-copy .motor-note { font-size: 13px !important; }
  .custom-section { padding-block: 56px; }
  .custom-inner { grid-template-columns: 1fr; gap: 28px; }
  .custom-inner > .button { justify-self: start; }
  .related-grid { gap: 20px; }
  .related-card > div { padding: 22px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .location-map { max-width: 500px; width: 100%; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom > div { gap: 15px; flex-wrap: wrap; justify-content: flex-end; }
  .page-heading { padding-block: 40px 50px; }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside h2 br { display: none; }
  .faq-contact > .container { flex-direction: column; align-items: flex-start; gap: 26px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 14px; }
  .hero .button-group { gap: 10px; }
  .hero .button { padding: 14px 17px; font-size: 12px; gap: 10px; min-height: 49px; }
  .hero .button svg { width: 17px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature { display: grid; grid-template-columns: 100px 1fr; gap: 0 20px; padding-top: 22px; }
  .feature-value { grid-row: span 2; font-size: 38px; }
  .feature h3 { margin-block: 0 10px; }
  .feature p { font-size: 13px; }
  .application-grid { gap: 16px 14px; }
  .application-card figcaption { min-height: 65px; display: flex; align-items: center; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .spec-list > div { font-size: 12px; gap: 12px; }
  .gallery-tab { padding-inline: 9px; }
  .footer-top { align-items: flex-start; }
  .footer-brand span { display: block; margin: 5px 0 0; }
  .footer-bottom { flex-direction: column; gap: 18px; }
  .footer-bottom > div { justify-content: flex-start; gap: 24px; }
  .faq-item summary { font-size: 14px; gap: 12px; }
  .faq-answer { padding-left: 32px; padding-right: 15px; }
  .location-map figcaption > span:last-child { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .model-nav, .button, .gallery-controls, .site-footer { display: none !important; }
  .container { width: 100%; }
  .section, .product-section { padding-block: 24px; }
  .hero { background: #fff; color: #000; }
  .hero::before { display: none; }
  .hero h1 span, .hero-description, .hero-eyebrow { color: #000; }
  .hero-inner { min-height: 0; padding-block: 20px; }
  .product-layout { gap: 28px; }
  .product-section { break-inside: avoid; }
  .custom-section { background: #fff; color: #000; }
  .custom-inner p:not(.eyebrow) { color: #333; }
  .faq-item > .faq-answer { display: block !important; }
}
