/* ============================================================
   DALJIT DOWELS — Precision Sheet Metal
   Engineering / blueprint editorial system
   ------------------------------------------------------------
   Type:  Inter Tight (display) · Inter (text) · JetBrains Mono (technical)
   ============================================================ */

:root {
  /* — palette — */
  --ink:        #0b0c0e;   /* near-black graphite      */
  --ink-soft:   #14161a;   /* dark panels              */
  --paper:      #f4f3f1;   /* warm industrial paper    */
  --paper-2:    #fbfbfa;   /* raised surfaces / cards  */
  --line:       #dcdbd6;   /* hairline on paper        */
  --line-dk:    rgba(255,255,255,.12);
  --text:       #1b1d21;
  --muted:      #6a6e76;
  --muted-dk:   #9aa0a8;   /* muted on dark            */
  --red:        #df1f26;   /* signal red               */
  --red-dk:     #b9151b;
  --red-tint:   rgba(223,31,38,.10);

  /* — radius / elevation — */
  --r:    14px;
  --r-sm: 8px;
  --shadow:    0 1px 0 var(--line), 0 22px 50px -28px rgba(11,12,14,.35);
  --shadow-lg: 0 30px 70px -34px rgba(11,12,14,.5);

  /* — layout — */
  --shell:  1280px;
  --pad:    clamp(20px, 5vw, 56px);

  /* — type — */
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --ease:  cubic-bezier(.22, 1, .36, 1);
  --ease2: cubic-bezier(.65, .05, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--red); color: #fff; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  accent-color: var(--red);
}

img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-weight: 500; }
.display {
  font-family: var(--display); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.025em; text-wrap: balance;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }
.section { padding: clamp(64px, 9vw, 132px) 0; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 3000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--red); z-index: 2000; transition: width .1s linear;
}

/* — shared kicker / eyebrow — */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tick { width: 8px; height: 8px; background: var(--red); border-radius: 2px; flex: none; }

.sec-head { margin-bottom: clamp(34px, 5vw, 60px); }
.sec-head.split {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.sec-head.split h2 { font-size: clamp(26px, 3.4vw, 44px); max-width: 24ch; }
.sec-head .kicker { display: inline-flex; }

@media (min-width: 860px) {
  .sec-head.split { grid-template-columns: 0.42fr 0.58fr; gap: 40px; align-items: start; }
}

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn {
  --bpad: 12px 22px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--bpad); border: 1.5px solid transparent; border-radius: 50px;
  font-family: var(--sans); font-weight: 600; font-size: 13.5px; letter-spacing: .005em;
  cursor: pointer; white-space: nowrap; will-change: transform;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn.lg { --bpad: 15px 30px; font-size: 14.5px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--red); box-shadow: 0 14px 30px -12px rgba(223,31,38,.6); }
.btn-line { background: transparent; color: var(--text); border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn-line { color: #fff; }
.hero .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn:active { transform: scale(.97); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--line); width: fit-content;
  transition: gap .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow span { color: var(--red); transition: transform .3s var(--ease); }
.link-arrow:hover { gap: 14px; border-color: var(--red); }
.link-arrow:hover span { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1500;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.site-header.scrolled {
  background: rgba(244,243,241,.85); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.brand img { height: 62px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 52px; }

.primary-nav { display: flex; gap: 30px; }
.primary-nav a {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  font-weight: 600; font-size: 13.5px; color: #fff; transition: color .25s var(--ease);
}
.site-header.scrolled .primary-nav a { color: var(--text); }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0;
  background: var(--red); transition: width .3s var(--ease);
}
.primary-nav a:hover { color: var(--red); }
.primary-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 13px; font-weight: 600; color: #fff; transition: color .25s var(--ease); }
.header-phone .mono { font-size: 11.5px; color: var(--red); margin-right: 6px; }
.site-header.scrolled .header-phone { color: var(--text); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
}
.menu-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; margin-left: auto; transition: transform .35s var(--ease), opacity .25s var(--ease), background .35s var(--ease), width .3s var(--ease); }
.menu-toggle span:nth-child(2) { width: 18px; }
.site-header.scrolled .menu-toggle span { background: var(--ink); }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); width: 26px; }
body.nav-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); width: 26px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: clamp(108px, 15vh, 168px);
  padding-bottom: clamp(40px, 7vw, 84px); overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.62); will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,12,14,.55) 0%, rgba(11,12,14,.35) 38%, rgba(11,12,14,.92) 100%),
    linear-gradient(90deg, rgba(11,12,14,.6) 0%, transparent 55%);
}
.blueprint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 20% 80%, #000 30%, transparent 100%);
}
.hero-side {
  position: absolute; right: 30px; top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-size: 11px; letter-spacing: .35em; color: rgba(255,255,255,.4);
}

.hero-inner { position: relative; z-index: 4; color: #fff; width: 100%; }
.hero-kicker { color: rgba(255,255,255,.78); margin-bottom: 26px; }
.hero-title {
  font-family: var(--display); font-weight: 900; letter-spacing: -0.035em;
  font-size: clamp(38px, 7vw, 98px); line-height: 0.96; margin-bottom: 18px;
}
.hero-title .mask { display: block; overflow: hidden; padding-bottom: .02em; }
.hero-title .ln { display: block; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-lead {
  max-width: 56ch; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6;
  color: rgba(233,234,236,.9); margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(36px, 6vw, 56px); }

.hero-specs {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line-dk); padding-top: 24px;
}
.hero-specs dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dk); margin-bottom: 6px; }
.hero-specs dd { font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; color: #fff; }

.hero-scroll {
  position: absolute; left: var(--pad); bottom: clamp(40px, 7vw, 84px); z-index: 4;
  display: none; align-items: center; gap: 12px; color: rgba(255,255,255,.6);
  font-size: 10px; letter-spacing: .2em; writing-mode: vertical-rl; rotate: 180deg;
}
.hero-scroll-bar { width: 1px; height: 46px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-scroll-bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(-100%); animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { 0% { transform: translateY(-100%) } 60%,100% { transform: translateY(100%) } }
@media (min-width: 1100px) { .hero-scroll { display: flex; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line-dk); padding: 16px 0;
}
.marquee-track { display: inline-flex; gap: 0; will-change: transform; animation: marquee 28s linear infinite; }
.marquee-track span {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 2.6vw, 30px); letter-spacing: -0.01em; padding-left: .4em;
}
.marquee-track i { color: var(--red); font-style: normal; margin: 0 .35em; vertical-align: middle; font-size: .7em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-lede .display { font-size: clamp(26px, 3.6vw, 46px); }
.about-body > p { color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); margin-bottom: 30px; }
.about-body strong { color: var(--text); }

.spec-list { list-style: none; display: grid; gap: 0; margin-bottom: 32px; }
.spec-list li {
  padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px;
}
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.spec-list strong { color: var(--text); margin-right: 4px; }

.about-figure { position: relative; margin-top: clamp(36px, 5vw, 64px); border-radius: var(--r); overflow: hidden; }
.about-figure img { width: 100%; height: clamp(280px, 48vw, 560px); object-fit: cover; filter: grayscale(.3) contrast(1.03); will-change: transform; }
.about-figure figcaption {
  position: absolute; left: 18px; bottom: 18px; color: #fff; font-size: 11px; letter-spacing: .1em;
  background: rgba(11,12,14,.7); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.16);
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics { background: var(--ink); color: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric { padding: clamp(34px, 5vw, 64px) clamp(18px, 2vw, 28px); border-top: 1px solid var(--line-dk); border-left: 1px solid var(--line-dk); }
.metric:nth-child(1), .metric:nth-child(2) { border-top: 0; }
@media (max-width: 759px) { .metric:nth-child(odd) { border-left: 0; } .metric:nth-child(-n+2) { border-top: 0; } .metric:nth-child(n+3) { border-top: 1px solid var(--line-dk); } }
@media (min-width: 760px) { .metric { border-top: 0; } .metric:first-child { border-left: 0; } }
.metric-num { display: block; font-size: clamp(40px, 5.5vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.metric-num::after { content: attr(data-suffix); color: var(--red); }
.metric-label { display: block; margin-top: 14px; color: var(--muted-dk); font-size: 13px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 640px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process-list { grid-template-columns: repeat(5, 1fr); } }
.process-step {
  position: relative; padding: 28px 22px 30px; border-top: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .35s var(--ease);
}
@media (min-width: 1040px) { .process-step { border-right: 1px solid var(--line); } .process-step:last-child { border-right: 0; } }
.process-step:hover { background: var(--paper-2); }
.process-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--red); transition: width .45s var(--ease); }
.process-step:hover::before { width: 100%; }
.process-step h3 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.process-step p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ============================================================
   MACHINERY
   ============================================================ */
.machine-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .machine-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .machine-grid { grid-template-columns: repeat(3, 1fr); } }
.machine-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.machine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfcec8; }
.machine-media {
  height: 220px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 38%, #fff, #ececea);
  display: flex; align-items: center; justify-content: center;
}
.machine-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease); }
.machine-card:hover .machine-media img { transform: scale(1.06); }
.machine-body { padding: 24px; }
.machine-body h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.machine-body p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
/* image-less card — same paper surface as the rest, body centred vertically */
.machine-card.plain { display: flex; align-items: stretch; }
.machine-card.plain .machine-body { display: flex; flex-direction: column; justify-content: center; }
.machine-card.plain .kicker { margin-bottom: 16px; }

.micro-spec { display: grid; gap: 0; }
.micro-spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.micro-spec dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.micro-spec dd { font-size: 12.5px; color: var(--text); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: linear-gradient(180deg, var(--paper) 0%, #ecebe7 100%); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  background: transparent; border: 1.5px solid var(--line); border-radius: 50px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip .mono { font-size: 10.5px; color: var(--red); }
.chip:hover { border-color: var(--ink); color: var(--text); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active .mono { color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 20px; }
.product-card {
  position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), opacity .4s var(--ease);
}
.product-card { cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfcec8; }
/* the carousel keeps its own affordances */
.product-card .pc-track { cursor: default; }
.product-card .pc-dot { cursor: pointer; }
.product-card.is-hidden { display: none; }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid var(--line);
  background: #fff;
}
/* — image carousel: native scroll-snap, one slide per viewport — */
.pc-track {
  display: flex; height: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.pc-track::-webkit-scrollbar { display: none; }
.pc-slide {
  flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; align-items: center; justify-content: center;
}
/* Tiles are pre-cropped square with their padding baked in, so cover fills the
   box edge-to-edge; any future off-ratio photo gets cropped, never letterboxed. */
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }

.pc-dots {
  position: absolute; left: 0; right: 0; bottom: 4px; z-index: 3;
  display: flex; justify-content: center; gap: 2px; pointer-events: none;
}
.pc-dot {
  width: 20px; height: 20px; padding: 0; border: 0; background: none;
  cursor: pointer; pointer-events: auto; display: grid; place-items: center;
}
.pc-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(11,12,14,.28);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.pc-dot:hover::before { background: rgba(11,12,14,.55); }
.pc-dot.is-active::before { background: var(--red); transform: scale(1.35); }

@media (prefers-reduced-motion: reduce) {
  .pc-track { scroll-behavior: auto; }
  .product-card:hover .product-media img { transform: none; }
}
.product-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 0; }
.product-meta .part { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.product-meta .cat { font-size: 10px; color: var(--red); text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border: 1px solid var(--line); border-radius: 50px; }
.product-card h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; padding: 8px 16px 0; }
.product-card > p { color: var(--muted); font-size: 12.5px; line-height: 1.5; padding: 4px 16px 18px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--red); color: #fff; }
.cta-inner {
  display: grid; gap: 28px; padding-block: clamp(48px, 7vw, 88px); align-items: center;
}
@media (min-width: 880px) { .cta-inner { grid-template-columns: 1.3fr 0.7fr; } }
.cta-band .kicker { color: rgba(255,255,255,.8); margin-bottom: 16px; }
.cta-band .tick { background: #fff; }
.cta-inner .display { font-size: clamp(26px, 3.8vw, 48px); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (min-width: 880px) { .cta-actions { align-items: flex-end; } }
.cta-band .btn-solid { background: #fff; color: var(--ink); }
.cta-band .btn-solid:hover { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta-phone { display: inline-flex; flex-direction: column; gap: 2px; font-size: 16px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 5px; }
.cta-phone strong { font-weight: 600; font-size: 15px; }
.cta-phone .mono { font-size: 15px; }
@media (min-width: 880px) { .cta-phone { align-items: flex-end; } }
.cta-phone:hover { border-color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.82fr 1.18fr; } }

.contact-info { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(28px, 3.6vw, 44px); align-self: start; }
.info-block { padding: 22px 0; border-top: 1px solid var(--line-dk); }
.info-block:first-child { padding-top: 0; border-top: 0; }
.info-label { display: block; font-size: 10.5px; letter-spacing: .16em; color: var(--red); margin-bottom: 14px; }
.contact-info address { font-style: normal; color: var(--muted-dk); line-height: 1.85; font-size: 14.5px; }
.map-embed { margin-top: 18px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-dk); }
.map-embed iframe { display: block; width: 100%; height: 200px; border: 0; }
.info-row { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; transition: transform .25s var(--ease); }
.info-row:not(:last-child) { border-bottom: 1px solid var(--line-dk); }
.info-row strong { font-size: 15px; font-weight: 600; }
.info-row .mono { font-size: 13px; color: var(--muted-dk); }
.info-row:hover { transform: translateX(4px); }
.info-row:hover .mono { color: var(--red); }

.contact-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field input, .field textarea {
  width: 100%; padding: 20px 14px 8px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 14.5px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 24px; }
.field label {
  position: absolute; left: 15px; top: 14px; font-size: 14px; color: var(--muted);
  pointer-events: none; transform-origin: left; transition: transform .2s var(--ease), color .2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(11,12,14,.06); outline: none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.78); color: var(--red);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; }
.form-note { font-size: 13px; font-weight: 600; min-height: 18px; }
.form-note.ok { color: #1a8f4a; }
.form-note.err { color: var(--red); }

/* ============================================================
   FOOTER + TO-TOP
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--muted-dk); font-size: 14px; max-width: 38ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-label { font-size: 10.5px; letter-spacing: .16em; color: var(--red); margin-bottom: 4px; }
.footer-col a { color: var(--muted-dk); font-size: 14px; width: fit-content; transition: color .25s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; }
.footer-contact strong { color: #fff; font-size: 14px; font-weight: 600; }
.footer-contact .mono { font-size: 12.5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 30px; border-top: 1px solid var(--line-dk); }
.footer-bottom .mono { font-size: 11px; letter-spacing: .1em; color: var(--muted-dk); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1200;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 17px; line-height: 1;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
}
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--red); transform: translateY(-3px); }

/* ============================================================
   REVEAL (GSAP-driven; graceful no-JS fallback)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); }
html:not(.gsap-ready) [data-reveal] { opacity: 1; transform: none; }

/* Pre-hide hero intro before deferred GSAP runs (no flash-of-final-state).
   Gated on .js — if scripts fail, app.js's fallback reveals them. */
.js .hero-title .ln { transform: translateY(115%); }
.js .hero-kicker,
.js .hero-lead,
.js .hero-cta,
.js .hero-specs > div { opacity: 0; }

/* ============================================================
   RESPONSIVE — header / nav
   ============================================================ */
@media (max-width: 1024px) {
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); z-index: 1400;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: 100px 40px; background: var(--ink);
    transform: translateX(100%); transition: transform .45s var(--ease2);
    box-shadow: -30px 0 80px -30px rgba(0,0,0,.7);
  }
  .primary-nav a { color: #fff; font-size: 24px; font-family: var(--display); font-weight: 700; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-dk); }
  .primary-nav a::after { display: none; }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  .hero-side { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn-solid { display: none; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .product-card h3 { font-size: 15px; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-title .ln { transform: none !important; }
  .hero-kicker, .hero-lead, .hero-cta, .hero-specs > div { opacity: 1 !important; }
  .marquee-track { animation: none; }
  .hero-scroll-bar::after { animation: none; }
}

/* ============================================================
   ENHANCEMENTS v2
   datasheet · faq · quick-view · dot-nav · grain · ticks
   ============================================================ */

/* — Film grain over content (subtle, non-interactive) — */
.grain {
  position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* — Blueprint corner ticks on machine cards — */
.machine-card { position: relative; }
.machine-card::after {
  content: ""; position: absolute; inset: 9px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .4s var(--ease);
  background:
    linear-gradient(var(--red),var(--red)) 0 0 / 12px 1.5px no-repeat,
    linear-gradient(var(--red),var(--red)) 0 0 / 1.5px 12px no-repeat,
    linear-gradient(var(--red),var(--red)) 100% 0 / 12px 1.5px no-repeat,
    linear-gradient(var(--red),var(--red)) 100% 0 / 1.5px 12px no-repeat,
    linear-gradient(var(--red),var(--red)) 0 100% / 12px 1.5px no-repeat,
    linear-gradient(var(--red),var(--red)) 0 100% / 1.5px 12px no-repeat,
    linear-gradient(var(--red),var(--red)) 100% 100% / 12px 1.5px no-repeat,
    linear-gradient(var(--red),var(--red)) 100% 100% / 1.5px 12px no-repeat;
}
.machine-card:hover::after { opacity: .85; }

/* — Capabilities datasheet — */
.cap-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 880px) { .cap-grid { grid-template-columns: 1.1fr 0.9fr; } }
.datasheet { border-top: 2px solid var(--ink); }
.ds-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.ds-row dt { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(16px, 1.9vw, 21px); }
.ds-row dd { color: var(--muted); font-size: 13px; text-align: right; }
.cap-aside { display: flex; flex-direction: column; gap: 24px; }
.cap-note { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; color: var(--text); padding-left: 18px; border-left: 2px solid var(--red); }
.op-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.op-chips li {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 50px; padding: 7px 13px; background: var(--paper-2);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.op-chips li:hover { border-color: var(--ink); color: var(--text); transform: translateY(-2px); }

/* — FAQ accordion — */
.faq-list { border-top: 1px solid var(--line); max-width: 940px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(17px, 2vw, 22px);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-ico { position: relative; width: 18px; height: 18px; flex: none; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease); }
.faq-ico::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-ico::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 50px 26px 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 72ch; }

/* — Product quick-view trigger — */
.product-card .qv-btn {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 0; border-radius: 50px; background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.product-card .qv-btn span { font-size: 13px; line-height: 0; }
.product-card:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
.qv-btn:hover { background: var(--red); }
@media (hover: none) { .product-card .qv-btn { opacity: 1; transform: none; } }

/* — Quick-view modal — */
.qv { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.qv[hidden] { display: none; }
.qv-backdrop { position: absolute; inset: 0; background: rgba(7,8,10,.64); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s var(--ease); }
.qv-dialog {
  position: relative; z-index: 1; width: min(840px, 100%); max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1fr; background: var(--paper-2);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
@media (min-width: 680px) { .qv-dialog { grid-template-columns: 1fr 1fr; } }
.qv.is-open .qv-backdrop { opacity: 1; }
.qv.is-open .qv-dialog { opacity: 1; transform: none; }
.qv-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: rgba(11,12,14,.07); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease);
}
.qv-close:hover { background: var(--ink); color: #fff; }
.qv-media { background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
@media (min-width: 680px) { .qv-media { border-bottom: 0; border-right: 1px solid var(--line); } }
.qv-media img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; padding: 30px; }
.qv-info { padding: clamp(24px, 3vw, 36px); }
.qv-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.qv-meta .part { font-size: 11px; color: var(--muted); }
.qv-meta .cat { font-size: 10px; color: var(--red); text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); border-radius: 50px; padding: 3px 9px; }
.qv-info h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.qv-info > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.qv-spec { border-top: 1px solid var(--line); margin-bottom: 26px; }
.qv-spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qv-spec dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.qv-spec dd { font-size: 13px; }
body.qv-open { overflow: hidden; }

/* — Vertical section dot-nav (large screens) — */
.dot-nav { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 1300; display: none; flex-direction: column; gap: 15px; }
@media (min-width: 1200px) { .dot-nav { display: flex; } }
.dot-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.dot-nav em {
  font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); opacity: 0; transform: translateX(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.dot-nav span { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.dot-nav a:hover em { opacity: 1; transform: none; color: var(--ink); }
.dot-nav a:hover span { border-color: var(--ink); }
.dot-nav a.active span { background: var(--red); border-color: var(--red); transform: scale(1.3); }
.dot-nav a.active em { opacity: 1; transform: none; color: var(--ink); }
