/* PMTC website: premium dark industrial theme.
   Palette: ink canvas, dark surfaces, one orange accent from the logo. */

:root {
  --ink: #0A0E13;
  --surface: #10161E;
  --surface-2: #151D28;
  --border: #223041;
  --text: #E9EEF4;
  --muted: #93A1B3;
  --accent: #F26B21;
  --accent-hover: #FF7D33;
  --green: #3ECF8E;
  --amber: #E8A33D;
  --blue: #5EA2FF;
  --display: "Oswald", "Archivo", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; }
.container { width: min(1200px, 92%); margin: 0 auto; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(233, 238, 244, 0.4); color: var(--text); }
.btn-outline:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; margin-top: 20px; }

/* Logo chip: the logo art carries its own light background, so it always
   sits inside a white rounded chip on dark surfaces. */
.logo-chip {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 10px;
  line-height: 0;
  flex: 0 0 auto;
}
.logo-chip img { height: 38px; width: auto; display: block; }

/* Top utility strip */
.topstrip {
  border-bottom: 1px solid var(--border);
  background: #080B0F;
  font-size: 12.5px;
  color: var(--muted);
}
.topstrip-in {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topstrip a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.topstrip a:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 19, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 48, 65, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 14, 19, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.header-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-in { padding-top: 9px; padding-bottom: 9px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; }
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #C7D0DC;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.main-nav a:hover { color: #FFFFFF; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.btn-quote { color: #FFFFFF; padding: 10px 20px; }
.main-nav a.btn-quote::after { display: none; }
.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(10, 14, 19, 0.94) 0%, rgba(10, 14, 19, 0.78) 46%, rgba(10, 14, 19, 0.5) 100%),
    url("hero-cnc.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(10, 14, 19, 0), var(--ink));
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  max-width: 1060px;
}
.hl-line { display: block; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { margin-top: 22px; max-width: 620px; color: #C7D0DC; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.proof-strip {
  margin-top: 44px;
  border-top: 1px solid rgba(233, 238, 244, 0.14);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proof-num { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; }
.proof-num .suffix { color: var(--accent); font-size: 24px; margin-left: 3px; }
.proof-lbl { margin-top: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.svc-card:hover { border-color: #33465E; transform: translateY(-4px); }
.svc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-body { padding: 26px; }
.svc-body h3 { font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.svc-body p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 12px;
  font-weight: 500;
  color: #C7D0DC;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 5px 11px;
}

/* Facility */
.facility { padding-bottom: 96px; }
.facility-media {
  background:
    linear-gradient(to top, rgba(10, 14, 19, 0.92) 0%, rgba(10, 14, 19, 0.35) 55%, rgba(10, 14, 19, 0.25) 100%),
    url("workshop.jpg") center / cover no-repeat;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
}
.facility-caption { padding-top: 60px; padding-bottom: 44px; }
.facility-caption h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  max-width: 640px;
}
.facility-caption p:last-child { margin-top: 12px; color: #C7D0DC; max-width: 560px; }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: 28px; }
.bento-cell {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.bento-cell h3 { font-family: var(--display); font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 16px; }
.tick-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #C7D0DC;
  font-size: 15px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.bento-cell .chips { margin-top: 2px; }

/* Machines */
.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.machine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.machine-card:hover { border-color: #33465E; transform: translateY(-4px); }
.machine-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.machine-top h3 { font-family: var(--display); font-size: 21px; font-weight: 600; text-transform: uppercase; }
.machine-type { margin-top: 6px; color: var(--muted); font-size: 13.5px; letter-spacing: 0.04em; }
.machine-now { margin-top: 18px; color: #C7D0DC; font-size: 15px; min-height: 52px; }
.machine-now strong { color: var(--accent); }
.machine-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.machine-foot span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.machine-foot strong { font-size: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.pill-run { color: var(--green); background: rgba(62, 207, 142, 0.1); border-color: rgba(62, 207, 142, 0.35); }
.pill-run .dot { animation: pulse-dot 1.6s ease-out infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(62, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); }
}

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color 0.3s ease;
}
.step:hover { border-color: #33465E; }
.step-num {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
@supports not (-webkit-text-stroke: 1px black) {
  .step-num { color: var(--accent); }
}
.step h3 { margin-top: 18px; font-family: var(--display); font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.step p { margin-top: 9px; color: var(--muted); font-size: 14.5px; }

/* Forms, shared */
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #C7D0DC; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0B1118;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 107, 33, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: #5E6E82; }
.form-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* Track */
.track-panel {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
}
.track-form { display: flex; gap: 14px; align-items: flex-end; }
.track-form .grow { flex: 1 1 auto; }
.track-error { display: none; margin-top: 18px; color: #FF8A8A; font-size: 14.5px; }
.track-result { display: none; margin-top: 24px; border-top: 1px solid var(--border); padding-top: 22px; }
.track-result h3 { font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; }
.track-result p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.track-result .status-line { color: var(--text); margin-top: 14px; font-weight: 500; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
  margin-left: 6px;
}
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-Pending { color: var(--amber); background: rgba(232, 163, 61, 0.1); border-color: rgba(232, 163, 61, 0.35); }
.st-Production { color: var(--blue); background: rgba(94, 162, 255, 0.1); border-color: rgba(94, 162, 255, 0.35); }
.st-QC { color: var(--accent); background: rgba(242, 107, 33, 0.1); border-color: rgba(242, 107, 33, 0.4); }
.st-Delivered { color: var(--green); background: rgba(62, 207, 142, 0.1); border-color: rgba(62, 207, 142, 0.35); }

/* Quote */
.quote-split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 26px; align-items: stretch; }
.quote-visual { position: relative; border-radius: 20px; overflow: hidden; min-height: 480px; border: 1px solid var(--border); }
.quote-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 19, 0.94) 0%, rgba(10, 14, 19, 0.35) 55%, rgba(10, 14, 19, 0.1) 100%);
}
.quote-visual-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; }
.quote-visual-in h3 { font-family: var(--display); font-size: 26px; font-weight: 600; text-transform: uppercase; line-height: 1.15; }
.fact-list { margin-top: 16px; }
.fact-list li { position: relative; padding-left: 22px; margin-bottom: 9px; color: #C7D0DC; font-size: 15px; }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.quote-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(62, 207, 142, 0.4);
  background: rgba(62, 207, 142, 0.08);
  border-radius: 12px;
  font-size: 14.5px;
}
.form-success strong { display: block; color: var(--green); margin-bottom: 4px; }
.form-success span { color: #C7D0DC; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px;
  transition: border-color 0.3s ease;
}
.testi-card:hover { border-color: #33465E; }
.testi-mark { font-family: var(--display); font-size: 44px; line-height: 0.6; color: var(--accent); height: 22px; }
.testi-card blockquote { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: #D5DCE5; }
.testi-card figcaption { margin-top: 20px; display: flex; flex-direction: column; }
.testi-card figcaption strong { font-size: 14.5px; }
.testi-card figcaption span { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: #080B0F; border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 300px; }
.site-footer h4 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.site-footer li { margin-bottom: 9px; color: var(--muted); font-size: 14.5px; }
.site-footer li a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.site-footer li a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 46px;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #66788D;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .svc-grid, .machine-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 6px; }
  .main-nav a::after { display: none; }
  .main-nav a.btn-quote { text-align: center; margin-top: 8px; }
  .quote-split { grid-template-columns: 1fr; }
  .quote-visual { min-height: 300px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .hero-in { padding-top: 62px; padding-bottom: 58px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .svc-grid, .machine-grid, .testi-grid, .bento, .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .track-panel { padding: 24px; }
  .track-form { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-text span { display: none; }
  .logo-chip img { height: 32px; }
  .ts-hide { display: none; }
  .facility-media { min-height: 340px; }
  .facility { padding-bottom: 64px; }
}
