/* CTS Parts (ctsparts.com) - Archetype E Standalone Stylesheet */
:root {
  --ctp-bg: #f3f7f5;
  --ctp-surface: #ffffff;
  --ctp-dark: #161b22;
  --ctp-dark2: #212934;
  --ctp-accent: #047857;
  --ctp-accent-soft: #d1fae5;
  --ctp-border: #d2e2da;
  --ctp-ink: #12211b;
  --ctp-muted: #4b6358;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ctp-bg);
  color: var(--ctp-ink);
  font-family: 'Helvetica Neue', Arial, 'Segoe UI', sans-serif;
  line-height: 1.48;
  font-size: 14px;
}
img { max-width: 100%; display: block; }
a { color: var(--ctp-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Utility & Common Blocks */
.ctp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; width: 100%; }
.ctp-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  color: var(--ctp-accent);
  background: var(--ctp-accent-soft);
  padding: 3px 9px;
  border-radius: 0px;
  margin-bottom: 6px;
}
.ctp-hd { margin-bottom: 13px; max-width: 920px; }
.ctp-hd h1, .ctp-hd h2 {
  font-size: 22.5px;
  line-height: 1.2;
  color: var(--ctp-dark);
  margin: 0 0 5px 0;
  letter-spacing: -0.25px;
}
.ctp-hd p { margin: 0; color: var(--ctp-muted); font-size: 13.4px; }

.ctp-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ctp-btn-pri {
  background: var(--ctp-accent);
  color: #ffffff;
  padding: 9px 17px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-block;
  border: 1px solid var(--ctp-accent);
  cursor: pointer;
}
.ctp-btn-pri:hover { opacity: 0.92; text-decoration: none; }
.ctp-btn-sec {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  color: var(--ctp-dark);
  padding: 9px 15px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 13.2px;
  display: inline-block;
}
.ctp-btn-sec:hover { border-color: var(--ctp-accent); color: var(--ctp-accent); text-decoration: none; }
.ctp-btn-ghost {
  border: 1px solid rgba(255,255,255,0.42);
  color: #f1f5f9;
  padding: 9px 16px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-block;
}
.ctp-btn-ghost:hover { border-color: #ffffff; color: #ffffff; text-decoration: none; }

/* Grids & Cards */
.ctp-g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ctp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ctp-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.ctp-sp55 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: stretch; }
.ctp-sp46 { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 16px; align-items: start; }
.ctp-sp64 { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; align-items: start; }
.ctp-stack { display: flex; flex-direction: column; gap: 8px; }

.ctp-box {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  border-radius: 3px;
  padding: 13px 15px;
  border-left: 3px solid var(--ctp-accent);
  
}
.ctp-box-compact {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  border-radius: 3px;
  padding: 10px 14px;
  border-left: 3px solid var(--ctp-accent);
}
.ctp-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ctp-accent);
  margin-bottom: 3px;
  letter-spacing: 0.4px;
}
.ctp-box h3, .ctp-box-compact h3 { font-size: 14.5px; color: var(--ctp-dark); margin: 0 0 4px 0; line-height: 1.25; }
.ctp-box p, .ctp-box-compact p { margin: 0 0 6px 0; color: var(--ctp-muted); font-size: 12.8px; line-height: 1.4; }
.ctp-box ul { margin: 0; padding-left: 16px; color: var(--ctp-ink); font-size: 12.6px; line-height: 1.42; }
.ctp-box li { margin-bottom: 3px; }

/* Tables */
.ctp-tbl-box {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  border-radius: 2px;
  overflow-x: auto;
}
table.ctp-tbl { width: 100%; border-collapse: collapse; font-size: 12.8px; }
table.ctp-tbl th {
  background: var(--ctp-accent-soft);
  color: var(--ctp-dark);
  text-align: left;
  padding: 8px 11px;
  font-weight: 700;
  border-bottom: 2px solid var(--ctp-border);
}
table.ctp-tbl td {
  padding: 7.5px 11px;
  border-bottom: 1px solid var(--ctp-border);
  color: var(--ctp-ink);
  vertical-align: top;
}
table.ctp-tbl tr:nth-child(even) td { background: rgba(0,0,0,0.015); }
table.ctp-tbl tr:last-child td { border-bottom: none; }
.ctp-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.2px;
  color: var(--ctp-dark);
  font-weight: 700;
}

/* Media Frame (Quality Screen 1 strictly capped for zero PC overflow) */
.ctp-media {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  border-radius: 2px;
  overflow: hidden;
}
.ctp-media img { width: 100%; height: 225px; object-fit: cover; }
.ctp-media-cap { padding: 9px 13px; border-top: 1px solid var(--ctp-border); }
.ctp-media-ttl { font-weight: 700; color: var(--ctp-dark); font-size: 13.6px; margin-bottom: 2px; }
.ctp-media-txt { margin: 0; color: var(--ctp-muted); font-size: 12.2px; line-height: 1.38; }

/* Strip, Note, Next Bar, FAQ */
.ctp-callout {
  background: var(--ctp-accent-soft);
  border-left: 4px solid var(--ctp-accent);
  padding: 9px 14px;
  border-radius: 0 5px 5px 0;
  font-size: 12.8px;
  color: var(--ctp-ink);
  margin-top: 11px;
}
.ctp-foot-note { margin: 8px 0 0 0; font-size: 12px; color: var(--ctp-muted); font-style: italic; }
.ctp-next {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--ctp-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ctp-faq {
  background: var(--ctp-surface);
  border: 1px solid var(--ctp-border);
  border-radius: 2px;
  padding: 8px 12px;
  margin-bottom: 6px;
}
.ctp-faq:last-child { margin-bottom: 0; }
.ctp-faq h4 { margin: 0 0 2px 0; font-size: 13px; color: var(--ctp-dark); }
.ctp-faq p { margin: 0; font-size: 12.2px; color: var(--ctp-muted); line-height: 1.36; }

/* Regular Padding & Alt Surface */
.ctp-sec { padding: 30px 0; }
.ctp-alt { background: var(--ctp-surface); border-top: 1px solid var(--ctp-border); }

/* Integrated Slim Footer */
.ctp-ftr {
  background: var(--ctp-dark);
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 11px 0;
  font-size: 11.8px;
  width: 100%;
}
.ctp-ftr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.ctp-ftr-brand { color: #f1f5f9; font-weight: 800; }
.ctp-ftr-nav { display: flex; gap: 15px; flex-wrap: wrap; }
.ctp-ftr-nav a { color: #cbd5e1; font-weight: 600; }
.ctp-ftr-bot {
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.4px;
  opacity: 0.85;
}

/* Archetype E: Deep Slate/Charcoal Industrial + 60/40 Steel-Bordered Asymmetric Layout */
.ctp-bar { background: #0c0f14; color: #9ca3af; font-size: 11.6px; border-bottom: 1px solid #262e3a; }
.ctp-bar-in { max-width: 1160px; margin: 0 auto; padding: 5px 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ctp-bar strong { color: #f3f4f6; }
.ctp-hdr { background: var(--ctp-dark); border-bottom: 2px solid var(--ctp-accent); position: sticky; top: 0; z-index: 40; }
.ctp-hdr-in { max-width: 1160px; margin: 0 auto; padding: 10px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.ctp-brand { display: flex; flex-direction: column; text-decoration: none; }
.ctp-brand:hover { text-decoration: none; }
.ctp-brand-n { font-size: 18px; font-weight: 800; letter-spacing: 0.6px; color: #ffffff; line-height: 1.1; }
.ctp-brand-s { font-size: 10.2px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-top: 2px; }
.ctp-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ctp-nav a { color: #d1d5db; font-size: 13.5px; font-weight: 600; padding: 3px 0; border-bottom: 2px solid transparent; }
.ctp-nav a:hover, .ctp-nav a.ctp-on { color: #ffffff; border-bottom-color: var(--ctp-accent); text-decoration: none; }
.ctp-nav a.ctp-cta { background: var(--ctp-accent); color: #ffffff; padding: 7px 14px; border-radius: 3px; border-bottom: none; font-size: 12.8px; font-weight: 700; }
.ctp-nav a.ctp-cta:hover { opacity: 0.92; }

.ctp-hero { background: var(--ctp-bg); padding: 20px 0; }
.ctp-hero-grid { display: grid; grid-template-columns: 1.32fr 0.88fr; gap: 20px; align-items: stretch; }
.ctp-hero-panel { background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-top: 4px solid var(--ctp-dark); border-radius: 3px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.ctp-hero-k { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase; color: var(--ctp-accent); margin-bottom: 7px; }
.ctp-hero h1 { font-size: 27px; line-height: 1.16; margin: 0 0 9px 0; color: var(--ctp-dark); letter-spacing: -0.3px; }
.ctp-hero p { font-size: 13.8px; color: var(--ctp-muted); margin: 0 0 14px 0; }
.ctp-kpi-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ctp-border); }
.ctp-kpi-c { background: var(--ctp-bg); border: 1px solid var(--ctp-border); padding: 8px 10px; border-radius: 2px; }
.ctp-kpi-v { font-size: 15.5px; font-weight: 800; color: var(--ctp-dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ctp-kpi-l { font-size: 11px; color: var(--ctp-muted); margin-top: 2px; line-height: 1.3; }
.ctp-hfig { background: var(--ctp-dark); border: 1px solid var(--ctp-dark2); border-radius: 3px; overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.ctp-hfig img { width: 100%; flex: 1; min-height: 260px; max-height: 360px; object-fit: cover; }
.ctp-hfig figcaption { padding: 9px 13px; font-size: 11.6px; color: #d1d5db; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.12); }

/* v1.11 Archetype-Specific Spec, Material & Desk DOM Structures */
.ctp-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ctp-spec-card { background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-top: 2px solid var(--ctp-dark); padding: 10px 13px; border-radius: 2px; }
.ctp-spec-card h3 { font-size: 13.8px; color: var(--ctp-dark); margin: 0 0 5px 0; }
.ctp-spec-env { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.8px; color: var(--ctp-accent); font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.ctp-spec-tol { font-size: 12px; color: var(--ctp-ink); font-weight: 600; margin-bottom: 4px; line-height: 1.35; }
.ctp-spec-note { font-size: 11.6px; color: var(--ctp-muted); margin: 0; line-height: 1.34; }

.ctp-mat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ctp-mat-card { background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-top: 2px solid var(--ctp-accent); padding: 8px 11px; border-radius: 2px; }
.ctp-mat-card-wide { grid-column: 1 / -1; }
.ctp-mat-card h4 { margin: 0 0 3px 0; font-size: 13px; color: var(--ctp-dark); }
.ctp-mat-grades { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.6px; color: var(--ctp-accent); font-weight: 700; margin-bottom: 3px; }
.ctp-mat-trait { margin: 0; font-size: 11.8px; color: var(--ctp-muted); line-height: 1.34; }

.ctp-proc-split { display: grid; grid-template-columns: 1.24fr 0.76fr; gap: 14px; align-items: stretch; }
.ctp-proc-dl { margin: 0; background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-radius: 7px; overflow: hidden; }
.ctp-proc-row { display: grid; grid-template-columns: 31% 69%; border-bottom: 1px solid var(--ctp-border); }
.ctp-proc-row:last-child { border-bottom: none; }
.ctp-proc-row dt { margin: 0; padding: 9px 12px; background: var(--ctp-accent-soft); color: var(--ctp-dark); font-weight: 700; font-size: 12.6px; border-right: 1px solid var(--ctp-border); }
.ctp-proc-row dd { margin: 0; padding: 8px 12px; font-size: 12.2px; color: var(--ctp-ink); line-height: 1.36; }

.ctp-alloy-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-bottom: 12px; }
.ctp-alloy-tile { background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-top: 3px solid var(--ctp-accent); border-radius: 6px; padding: 9px 10px; }
.ctp-alloy-tile h4 { margin: 0 0 4px 0; font-size: 12.8px; color: var(--ctp-dark); }
.ctp-alloy-tile .ctp-mono { font-size: 11.3px; display: block; margin-bottom: 4px; line-height: 1.32; }
.ctp-alloy-tile p { margin: 0; font-size: 11.4px; color: var(--ctp-muted); line-height: 1.32; }

.ctp-alloy-dl { margin: 10px 0 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ctp-alloy-dl-item { background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-left: 3px solid var(--ctp-accent); border-radius: 5px; padding: 8px 11px; }
.ctp-alloy-dl-item dt { font-weight: 700; font-size: 12.6px; color: var(--ctp-dark); margin-bottom: 2px; }
.ctp-alloy-dl-item dd { margin: 0; font-size: 11.8px; color: var(--ctp-muted); line-height: 1.34; }

ul.ctp-ledger { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
ul.ctp-ledger li { display: grid; grid-template-columns: 21% 31% 26% 22%; gap: 10px; background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-left: 3px solid var(--ctp-accent); padding: 7.5px 11px; font-size: 12.2px; align-items: start; border-radius: 2px; }
ul.ctp-alloy-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
ul.ctp-alloy-list li { display: grid; grid-template-columns: 24% 38% 38%; gap: 9px; background: var(--ctp-surface); border: 1px solid var(--ctp-border); border-left: 3px solid var(--ctp-dark); padding: 7.5px 11px; font-size: 12px; align-items: start; }
.ctp-dark-box { background: var(--ctp-surface); border: 1px solid var(--ctp-dark); border-radius: 3px; overflow: hidden; }
.ctp-dark-box-hd { background: var(--ctp-dark); color: #f8fafc; padding: 9px 14px; font-weight: 700; font-size: 13.4px; }
.ctp-dark-box-bd { padding: 11px 14px; font-size: 12.4px; }
.ctp-dark-box-bd ul { margin: 0; padding-left: 16px; line-height: 1.44; }
.ctp-dark-box-bd li { margin-bottom: 4px; }

.ctp-desk-dl { margin: 7px 0 0 0; border-top: 1px solid var(--ctp-border); font-size: 12.4px; }
.ctp-desk-dl div { display: grid; grid-template-columns: 37% 63%; border-bottom: 1px solid var(--ctp-border); }
.ctp-desk-dl dt { padding: 6.5px 9px; background: var(--ctp-accent-soft); font-weight: 700; color: var(--ctp-dark); }
.ctp-desk-dl dd { margin: 0; padding: 6.5px 9px; color: var(--ctp-ink); }
ul.ctp-desk-list { list-style: none; margin: 7px 0 0 0; padding: 0; border-top: 1px solid var(--ctp-border); font-size: 12.4px; }
ul.ctp-desk-list li { display: grid; grid-template-columns: 37% 63%; border-bottom: 1px solid var(--ctp-border); }
ul.ctp-desk-list strong.ctp-dlbl { padding: 6.5px 9px; background: var(--ctp-bg); color: var(--ctp-dark); border-right: 1px solid var(--ctp-border); }
ul.ctp-desk-list span.ctp-dval { padding: 6.5px 9px; color: var(--ctp-ink); }

/* Desktop 2-Screen Exact Snap Paging (>= 960px and >= 600px) */
@media (min-width: 960px) and (min-height: 600px) {
  html.ctp-snap {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
  .ctp-top-snap {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .ctp-s1-hero {
    min-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ctp-s1-hero .ctp-hero {
    
  }
  .ctp-s1 {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    padding: 14px 0;
  }
  .ctp-s2 {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 58px;
    min-height: calc(100vh - 58px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
  }
  .ctp-s2-in {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 0;
  }
  .ctp-dots {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .ctp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--ctp-muted);
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .ctp-dot.ctp-dot-on {
    background: var(--ctp-accent);
    border-color: var(--ctp-accent);
    transform: scale(1.25);
  }
}
@media (max-width: 959px), (max-height: 599px) {
  .ctp-dots { display: none; }
  .ctp-s1, .ctp-s2-in { padding: 26px 0; }
  
}
@media (max-width: 920px) {
  .ctp-hero-grid, .ctp-hero-card, .ctp-hero-split, .ctp-g2, .ctp-g3, .ctp-g4, .ctp-sp55, .ctp-sp46, .ctp-sp64, .ctp-ed-grid, .ctp-spec-grid, .ctp-mat-grid, .ctp-proc-split, .ctp-alloy-strip, .ctp-alloy-dl { grid-template-columns: 1fr; }
  ul.ctp-ledger li, ul.ctp-alloy-list li { grid-template-columns: 1fr; gap: 4px; }
  .ctp-kpi-g { grid-template-columns: repeat(2, 1fr); }
}
