/* ==========================================================================
   innomfg.com, "The Drawing Sheet"
   The whole site is laid out as an engineering drawing: zone markers around
   the frame, balloon callouts for sections, dimension lines, ruled spec
   tables, a revision block for notices and a title block for the footer.
   Ink blue on vellum, revision red for changes.
   ========================================================================== */

:root {
  --vellum: #F2EFE6;
  --paper: #FBFAF6;
  --ink: #062F64;          /* logo navy */
  --ink-2: #1D4F8E;
  --ink-soft: #5B7393;
  --grid: rgba(6, 47, 100, 0.06);
  --rule: rgba(6, 47, 100, 0.26);
  --rule-strong: #062F64;
  --text: #1A2430;
  --muted: #5F6368;         /* close to the logo gray */
  --steel: #6D6D6D;         /* logo gray */
  --red: #B42318;
  --red-soft: rgba(180, 35, 24, 0.08);
  --blueprint: #062F64;
  --blueprint-line: rgba(255, 255, 255, 0.10);

  --f-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Public Sans', 'Segoe UI', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;

  --maxw: 1200px;
  --gutter: 32px;
  --sheet-pad: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background-color: var(--vellum);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* --------------------------------------------------------------------------
   Sheet, frame and zone markers
   -------------------------------------------------------------------------- */
.sheet {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--sheet-pad);
}
.frame {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--rule-strong);
  outline: 1px solid var(--rule-strong);
  outline-offset: 5px;
}
.zones {
  position: absolute;
  left: var(--sheet-pad);
  right: var(--sheet-pad);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  height: var(--sheet-pad);
  align-items: center;
}
.zones span { border-left: 1px solid var(--rule); height: 12px; line-height: 12px; }
.zones span:first-child { border-left: 0; }
.zones-top { top: 0; }
.zones-bottom { bottom: 0; }
.zones-side {
  position: absolute;
  top: var(--sheet-pad);
  bottom: var(--sheet-pad);
  width: var(--sheet-pad);
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  align-items: center;
}
.zones-side span { border-top: 1px solid var(--rule); width: 12px; margin: 0 auto; padding-top: 0; line-height: 1; height: 100%; display: flex; align-items: center; justify-content: center; }
.zones-side span:first-child { border-top: 0; }
.zones-left { left: 0; }
.zones-right { right: 0; }

/* --------------------------------------------------------------------------
   Top bar, masthead, navigation
   -------------------------------------------------------------------------- */
.topbar { border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.topbar a { color: var(--ink); text-decoration: none; }
.topbar a:hover { color: var(--red); }
.topbar .sep { margin: 0 10px; color: var(--rule); }
.topbar-certs { text-transform: uppercase; }

.masthead { border-bottom: 2px solid var(--rule-strong); position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 246, 0.96); backdrop-filter: blur(6px); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { display: block; height: 48px; width: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--red); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--f-head); font-weight: 600; font-size: 22px; white-space: nowrap; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.brand-inc { font-weight: 400; }
.brand-tag { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.site-nav ul a { font-family: var(--f-head); font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav ul a:hover { color: var(--red); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--red); }

.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; padding: 8px 12px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .site-nav ul a[aria-current="page"] { color: var(--red); border-bottom-color: var(--rule); }
  .nav-quote { margin-top: 16px; text-align: center; }
}

/* --------------------------------------------------------------------------
   Revision block (move notice)
   -------------------------------------------------------------------------- */
.revision { border-bottom: 1px solid var(--rule); background: var(--red-soft); }
.revision-row { display: flex; align-items: center; gap: 14px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.rev-letter { flex: none; width: 30px; height: 26px; color: var(--red); }
.rev-letter text { font-family: var(--f-mono); font-size: 11px; font-weight: 500; fill: currentColor; }
.rev-label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); border-right: 1px solid var(--rule); padding-right: 14px; }
.rev-text { color: var(--text); font-size: 15px; }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; font-family: var(--f-head); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 12px 24px; border: 1.5px solid var(--ink); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; line-height: 1.2; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-inv { background: #fff; border-color: #fff; color: var(--blueprint); }
.btn-inv:hover { background: transparent; color: #fff; }
.btn-inv-line { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-inv-line:hover { background: #fff; color: var(--blueprint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-col { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: ""; width: 34px; height: 1.5px; background: currentColor; position: relative; box-shadow: none; }
.link-arrow::before { content: ""; order: 2; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; margin-left: -12px; }
.link-arrow:hover { color: var(--red); }
.link-arrow-sm { margin-top: 0; font-size: 13px; }
.link-arrow-sm::after { width: 22px; }

/* --------------------------------------------------------------------------
   Balloons and section heads
   -------------------------------------------------------------------------- */
.balloon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--f-mono); font-size: 17px; color: var(--ink); background: var(--paper); }
.balloon-sm { width: 26px; height: 26px; font-size: 12px; }

.sechead { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; margin-bottom: 36px; border-bottom: 1px solid var(--rule-strong); position: relative; flex-wrap: wrap; }
.sechead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; border-bottom: 1px solid var(--rule); }
.sechead-title { font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; letter-spacing: 0.01em; }
.sechead-note { margin-left: auto; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 22px; }
.eyebrow-inv { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 76px 0; }
.section-ruled { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(30, 58, 95, 0.025); }
.section + .section-ruled, .section-ruled + .section { border-top: 1px solid var(--rule); }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.split-wide { grid-template-columns: 1.35fr 0.65fr; }
.split-form { grid-template-columns: 0.75fr 1.25fr; }
.split-form-rev { grid-template-columns: 1.25fr 0.75fr; }

.prose { max-width: 68ch; }
.prose p { color: #2A3644; }
.lead-in { font-size: 20px; line-height: 1.5; color: var(--text) !important; }
.signature { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.sig-name { font-family: var(--f-head); font-size: 20px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
.sig-role { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; text-transform: uppercase; font-weight: 500; letter-spacing: -0.005em; }
.hero h1 em { font-style: normal; color: var(--ink-2); display: block; }
.lede { font-size: 19px; color: #2F3B49; margin: 24px 0 0; max-width: 54ch; }

.view { margin: 0; border: 1.5px solid var(--ink); background: #fff; position: relative; }
.view-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.view-label span:first-child { color: var(--red); }
.view-img { display: block; background: #fff; }
.view-img img { width: 100%; aspect-ratio: 1269 / 986; object-fit: cover; object-position: center; }
.hero-view .view-img img { object-fit: contain; }
.view-img-photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.view-img-cert img { aspect-ratio: auto; object-fit: contain; }

.dimline { position: relative; height: 38px; margin: 0 12px; }
.dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; border-top: 1px solid var(--ink); }
.dimline::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 22px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.dimline span { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); background: #fff; padding: 0 10px; font-family: var(--f-mono); font-size: 11.5px; line-height: 18px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; z-index: 1; }
/* arrowheads drawn as gradients at each end of the dimension line */
.dimline { background-image:
  linear-gradient(to top right, transparent 46%, var(--ink) 50%, transparent 54%),
  linear-gradient(to bottom right, transparent 46%, var(--ink) 50%, transparent 54%),
  linear-gradient(to top left, transparent 46%, var(--ink) 50%, transparent 54%),
  linear-gradient(to bottom left, transparent 46%, var(--ink) 50%, transparent 54%);
  background-repeat: no-repeat;
  background-size: 10px 4px;
  background-position: 1px 15px, 1px 20px, calc(100% - 1px) 15px, calc(100% - 1px) 20px;
}

.spec-strip { width: 100%; border-collapse: collapse; margin-top: 48px; border: 1.5px solid var(--ink); background: #fff; }
.spec-strip th, .spec-strip td { border: 1px solid var(--rule); padding: 12px 14px; text-align: left; vertical-align: middle; }
.spec-strip th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); width: 1%; white-space: nowrap; background: rgba(30, 58, 95, 0.03); }
.spec-strip td { font-family: var(--f-head); font-size: 20px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.01em; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
caption { caption-side: top; text-align: left; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-bottom: 10px; }
.notes-table, .data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid var(--ink); }
.notes-table td, .data-table th, .data-table td { border-bottom: 1px solid var(--rule); padding: 12px 14px; text-align: left; vertical-align: top; }
.notes-table td:first-child { width: 44px; color: var(--muted); border-right: 1px solid var(--rule); }
.data-table th { font-family: var(--f-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); width: 38%; border-right: 1px solid var(--rule); }
.data-table td.mono { font-size: 15px; color: var(--ink); }
.data-table td:first-child.mono { width: 44px; color: var(--muted); border-right: 1px solid var(--rule); }
.row-rev th, .row-rev td { color: var(--red) !important; background: var(--red-soft); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--ink); background: #fff; }
.bom { width: 100%; border-collapse: collapse; min-width: 720px; }
.bom th, .bom td { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: 13px 14px; text-align: left; vertical-align: middle; }
.bom th:last-child, .bom td:last-child { border-right: 0; }
.bom thead th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); background: rgba(30, 58, 95, 0.04); border-bottom: 1.5px solid var(--ink); }
.bom tbody th { font-family: var(--f-head); font-weight: 500; font-size: 18px; text-transform: uppercase; }
.bom tbody th a { color: var(--ink); text-decoration: none; }
.bom tbody th a:hover { color: var(--red); }
.bom td.mono { color: var(--muted); width: 56px; }
.bom tbody tr:hover { background: rgba(30, 58, 95, 0.03); }

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1.5px solid var(--ink); background: #fff; }
.industries li { padding: 22px 18px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.industries li:last-child { border-right: 0; }
.industries .mono { font-size: 11px; color: var(--red); letter-spacing: 0.08em; }
.ind-name { font-family: var(--f-head); font-size: 21px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }

/* --------------------------------------------------------------------------
   Equipment cards (parts list)
   -------------------------------------------------------------------------- */
.parts-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.item-card { margin: 0; background: #fff; border: 1.5px solid var(--ink); display: flex; flex-direction: column; }
.item-img { display: block; background: #fff; border-bottom: 1px solid var(--rule); overflow: hidden; }
.item-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform 0.25s; }
a.item-img:hover img { transform: scale(1.03); }
.item-card figcaption { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 14px 16px; align-items: baseline; }
.item-no { grid-row: 1 / span 2; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); border-right: 1px solid var(--rule); padding-right: 14px; align-self: stretch; display: flex; align-items: center; }
.item-name { font-family: var(--f-head); font-size: 19px; text-transform: uppercase; color: var(--ink); line-height: 1.15; }
.item-desc { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Figures (parts gallery)
   -------------------------------------------------------------------------- */
.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fig { margin: 0; }
.fig a { display: block; border: 1px solid var(--rule); background: #fff; overflow: hidden; }
.fig a:hover { border-color: var(--red); }
.fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.25s; }
.fig a:hover img { transform: scale(1.04); }
.fig figcaption { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding-top: 8px; text-align: center; }

/* --------------------------------------------------------------------------
   Notes lists
   -------------------------------------------------------------------------- */
.notes-list { margin: 0; padding: 0; list-style: none; counter-reset: note; border-top: 1px solid var(--rule); }
.notes-list li { counter-increment: note; display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.notes-list li::before { content: counter(note) "."; font-family: var(--f-mono); font-size: 13px; color: var(--muted); padding-top: 2px; }

/* --------------------------------------------------------------------------
   Page head (interior pages)
   -------------------------------------------------------------------------- */
.pagehead { padding: 44px 0 40px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }
.pagehead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.pagehead h1 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; }
.pagehead-dwg { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); white-space: nowrap; padding-bottom: 6px; }
.pagehead-intro { margin: 18px 0 0; font-size: 18px; color: #2F3B49; max-width: 64ch; }

.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; padding-bottom: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; }
.jump a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.jump a:hover { color: var(--red); border-color: var(--red); }

/* --------------------------------------------------------------------------
   Machine sheet
   -------------------------------------------------------------------------- */
.machine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.spec-h { font-size: 22px; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.spec-h::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.spec-sheet .notes-list, .spec-sheet .data-table { margin-bottom: 30px; }
.spec-sheet .btn-row { margin-top: 0; }
.sheet-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-bottom: 56px; }
.sheet-nav a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); border-top: 1.5px solid var(--ink); padding-top: 12px; }
.sheet-nav a span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.sheet-nav a span:last-child { font-family: var(--f-head); font-size: 19px; text-transform: uppercase; }
.sheet-nav a:hover span:last-child { color: var(--red); }
.sheet-nav .sheet-nav-all { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; border-top: 0; align-self: end; }
.sheet-nav .sheet-nav-next { text-align: right; }

/* --------------------------------------------------------------------------
   Certificate
   -------------------------------------------------------------------------- */
.cert-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.stamp-box { display: inline-flex; flex-direction: column; border: 2px solid var(--red); color: var(--red); padding: 10px 18px; margin: 0 12px 18px 0; transform: rotate(-1.5deg); background: #fff; }
.stamp-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
.stamp-v { font-family: var(--f-head); font-size: 26px; text-transform: uppercase; line-height: 1.1; }

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.video { position: relative; aspect-ratio: 16 / 9; border: 1.5px solid var(--ink); background: #000; max-width: 960px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Blueprint CTA band
   -------------------------------------------------------------------------- */
.blueprint {
  background-color: var(--blueprint);
  background-image:
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
  border-top: 2px solid var(--rule-strong);
}
.blueprint-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.blueprint h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; }
.blueprint p { color: rgba(255, 255, 255, 0.82); margin: 10px 0 0; max-width: 52ch; }
.blueprint .btn-row { margin-top: 0; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.form legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.field-hint { display: block; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 13px; margin-top: 2px; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1px solid var(--rule); border-bottom: 1.5px solid var(--ink);
  padding: 11px 12px; border-radius: 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.15); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); border-bottom-color: var(--red); }
.field-err, .form-err { color: var(--red); font-size: 14px; margin: 0; }
.form-err { border: 1.5px solid var(--red); padding: 12px 14px; margin-bottom: 22px; background: var(--red-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.file { position: relative; display: flex; align-items: center; gap: 14px; border: 1px dashed var(--ink-soft); background: #fff; padding: 12px; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn { flex: none; font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; border: 1.5px solid var(--ink); color: var(--ink); padding: 8px 14px; }
.file:hover .file-btn, .file input:focus-visible + .file-btn { background: var(--ink); color: #fff; }
.file-name { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.has-error .file { border-color: var(--red); }

.aside-note { margin-top: 22px; font-size: 15px; color: var(--muted); }

.received { border: 1.5px solid var(--ink); background: #fff; padding: 34px; position: relative; }
.received-stamp { display: inline-block; border: 2px solid var(--red); color: var(--red); font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 14px; transform: rotate(-3deg); margin-bottom: 18px; }
.received h2 { font-size: 30px; text-transform: uppercase; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   Title block footer
   -------------------------------------------------------------------------- */
.titleblock { border-top: 2px solid var(--rule-strong); }
.tb-grid { display: grid; grid-template-columns: 1.6fr 1.1fr 1fr 1fr; }
.tb-cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tb-cell:nth-child(4n) { border-right: 0; }
.tb-k { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.tb-v { font-size: 15px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.tb-v:hover { color: var(--red); }
.tb-v-lg { font-family: var(--f-head); font-size: 20px; text-transform: uppercase; line-height: 1.15; }
.tb-note { font-size: 13px; color: var(--red); }
.tb-brand { justify-content: center; }
.tb-logo { display: block; height: 40px; width: auto; margin: 4px 0 6px; }
.tb-company { font-family: var(--f-head); font-size: 24px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.tb-tag { font-size: 14px; color: var(--muted); }
.tb-notes ol { margin: 4px 0 0; padding-left: 20px; columns: 2; column-gap: 24px; font-size: 14px; }
.tb-notes li { margin-bottom: 3px; }
.tb-notes a { color: var(--ink); text-decoration: none; }
.tb-notes a:hover { color: var(--red); }
.tb-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.tb-legal .mono { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 26, 40, 0.92); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; background: #fff; border: 2px solid #fff; }
.lb-btn { position: absolute; background: none; border: 1.5px solid rgba(255, 255, 255, 0.7); color: #fff; font-family: var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; padding: 8px 14px; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.75); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(3, 1fr); }
  .industries li:nth-child(3n) { border-right: 0; }
  .industries li:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .parts-list { grid-template-columns: repeat(2, 1fr); }
  .tb-grid { grid-template-columns: 1fr 1fr; }
  .tb-cell, .tb-cell:nth-child(4n) { border-right: 1px solid var(--rule); }
  .tb-cell:nth-child(2n) { border-right: 1px solid var(--rule); }
  .tb-brand { grid-column: 1 / -1; grid-row: auto; }
  .tb-notes { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gutter: 22px; --sheet-pad: 22px; }
  .hero-grid, .split, .split-wide, .split-form, .split-form-rev, .machine-grid, .cert-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-form-rev > aside { order: -1; }
  .fig-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-strip, .spec-strip tbody, .spec-strip tr { display: block; }
  .spec-strip tr { display: grid; grid-template-columns: minmax(120px, auto) 1fr; }
  .spec-strip th { width: auto; }
  .section { padding: 56px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --sheet-pad: 8px; }
  body { font-size: 16px; }
  .zones, .zones-side { display: none; }
  .frame { outline: 0; border-width: 1.5px; }
  .topbar-certs { display: none; }
  .topbar .wrap { justify-content: center; }
  .masthead-row { min-height: 66px; gap: 12px; }
  .brand-logo { height: 34px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 17px; }
  .brand-tag { display: none; }
  .nav-toggle-label { display: none; }
  .revision-row { align-items: flex-start; }
  .rev-label { display: none; }
  .rev-text { font-size: 14px; }
  .hero { padding: 40px 0; }
  .lede { font-size: 17px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .industries li { border-bottom: 1px solid var(--rule); }
  .industries li:nth-child(3n) { border-right: 1px solid var(--rule); }
  .industries li:nth-child(2n) { border-right: 0; }
  .industries li:nth-last-child(-n+2) { border-bottom: 0; }
  .parts-list { grid-template-columns: 1fr; }
  .fig-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .sechead-note { margin-left: 0; width: 100%; }
  .balloon { width: 36px; height: 36px; font-size: 15px; }
  .pagehead-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sheet-nav { grid-template-columns: 1fr 1fr; }
  .sheet-nav .sheet-nav-all { display: none; }
  .tb-grid { grid-template-columns: 1fr; }
  .tb-cell { border-right: 0 !important; }
  .tb-deco { display: none; }
  .tb-notes ol { columns: 1; }
  .btn-row .btn { flex: 1 1 100%; }
  .blueprint-row { padding-top: 48px; padding-bottom: 48px; }
  .received { padding: 24px; }
  .data-table th { width: 40%; }
}

@media print {
  .masthead, .topbar, .blueprint, .nav-toggle, .lightbox { display: none !important; }
  body { background: #fff; }
}

/* Section heads inside two-column splits */
.split .sechead-title { font-size: clamp(24px, 2.3vw, 30px); }

/* Certificate shown as a PDF when no preview image was uploaded */
.cert-pdf { display: block; width: 100%; aspect-ratio: 8.5 / 11; border: 0; background: #fff; }
.cert-pdf-fallback { padding: 24px; }
.cert-data { margin: 6px 0 24px; }
