:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --paper: #ffffff;
  --paper-soft: #f5f4f1;
  --line: #d8d6d0;
  --accent: #d71e29;
  --muted: #6a6760;
  --max: 1180px;
  --gutter: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { overflow-x: hidden; width: 100%; }

/* prevent grid/flex items from blowing past their track on narrow viewports.
   minmax(0, 1fr) is the canonical fix for "grid item refuses to shrink below
   the min-content of an image inside it" - which was clipping the hero text. */
.hero-grid > *, .story-grid > *, .two-col > *,
.licensing-grid > *, .lic-side > *, .dim-grid > *,
.mfg-grid > *, .ops-grid > *, .mode-grid > * {
  min-width: 0;
  max-width: 100%;
}
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.story-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.licensing-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mfg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* let long headings and paragraphs break inside narrow tracks */
h1, h2, h3, p, .lead, summary, figcaption, dt, dd, label, .dim-label, .dim-value {
  overflow-wrap: anywhere;
  word-break: normal;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* topbar */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { height: 60px; width: auto; }
.confidential {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* hero */
.hero {
  background: var(--paper);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hero-stats li {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 12px;
}
.hero-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}
.hero-stats span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.hero-render {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-render img {
  width: auto;
  max-width: 115%;
  max-height: 540px;
  filter: drop-shadow(0 24px 34px rgba(17, 17, 17, 0.16));
}

/* anchor nav */
.anchor-nav {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}
.anchor-nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.anchor-nav a {
  color: #cfcdc7;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-right: 1px solid #2a2a2a;
  text-transform: uppercase;
  font-weight: 500;
}
.anchor-nav a:hover {
  background: #1c1c1c;
  color: #ffffff;
  text-decoration: none;
}

/* sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--ink);
  color: #e8e6e0;
  border-bottom-color: var(--ink);
}
.section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark .footnote { color: #9c9a93; }
.section-accent {
  background: var(--paper-soft);
}
h2 {
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 0 32px;
}
.section-dark .section-lead { color: #b8b5ae; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.two-col h3 { margin-top: 0; }
.two-col p:first-of-type { margin-top: 0; }

/* overview / simple-idea benefit cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.why-grid > * { min-width: 0; max-width: 100%; }
.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 24px;
}
.why-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink);
}
.why-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
}
.use-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 12px;
}
.use-pair > * { min-width: 0; max-width: 100%; }
.use-pair figure { margin: 0; }
.use-pair img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.use-pair figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.use-pair figcaption strong {
  color: var(--ink);
  margin-right: 6px;
}

.bullet-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.bullet-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.bullet-list.compact li { padding-top: 4px; padding-bottom: 4px; }

.footnote {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 70ch;
}

/* modes grid */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mode-grid figure {
  margin: 0;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mode-grid img {
  background: #ffffff;
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 8px;
}
.mode-grid figcaption {
  width: 100%;
  text-align: left;
  padding: 12px 4px 4px;
}
.mode-grid figcaption strong {
  display: block;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 4px;
}
.mode-grid figcaption span {
  display: block;
  font-size: 13px;
  color: #b8b5ae;
}

/* dimensions */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dim-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
}
.dim-card-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.dim-card-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.dim-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-transform: none;
  border-bottom: 0;
  padding-bottom: 0;
}
.dim-card-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.dim-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dim-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed #e8e6e0;
  gap: 16px;
}
.dim-list li:last-child { border-bottom: 0; }
.dim-label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.dim-value {
  font-family: "SF Mono", ui-monospace, "Menlo", monospace;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.dim-unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-list li {
  padding: 14px 0;
  border-bottom: 1px dashed #e8e6e0;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}
.spec-value {
  display: block;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

/* manufacturing grid */
.mfg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mfg-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  border-top: 3px solid var(--accent);
}
.mfg-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}
/* Cards sit on the dark manufacturing section background but have a white
   surface of their own. Override the inherited section-dark white H3 rule. */
.section-dark .mfg-card h3 { color: var(--ink); }
.mfg-count {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.mfg-card p:last-child {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* cost table */
.cost-table-wrap {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  overflow-x: auto;
}
.cost-table { width: 100%; }
.cost-table .th-full {
  display: inline;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 6px;
  color: #6e6c66;
  font-size: 11px;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  color: #e8e6e0;
}
.cost-table thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9c9a93;
  padding: 14px 18px;
  border-bottom: 1px solid #333;
  font-weight: 600;
}
.cost-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 15px;
  vertical-align: top;
}
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table td:first-child {
  color: #ffffff;
  font-weight: 600;
}

/* licensing */
.licensing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.lic-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
}
.lic-card-structure {
  border-top: 4px solid var(--accent);
}
.lic-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.lic-eyebrow-positive { color: #1f6f43; }
.lic-eyebrow-negative { color: #8c1a23; }
.lic-card h3 {
  font-size: 24px;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.lic-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.55;
}
.lic-card p.lic-footnote {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rate-table {
  margin-top: 6px;
  background: #fafaf7;
  border: 1px solid var(--line);
}
.rate-table-head, .rate-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
}
.rate-table-head {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: #f0eeea;
  border-bottom: 1px solid var(--line);
}
.rate-row {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rate-row:last-child { border-bottom: 0; }
.rate-row:hover { background: #ffffff; }
.rate-tier {
  font-weight: 600;
  color: var(--ink);
}
.rate-vol { color: var(--ink-soft); }
.rate-fee {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  text-align: right;
}
.rate-fee em {
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 2px;
}

.lic-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.lic-card-positive {
  border-left: 3px solid #2a8959;
}
.lic-card-negative {
  border-left: 3px solid #b53741;
  background: #fbf6f6;
}

.check-list, .cross-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.check-list li, .cross-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child, .cross-list li:last-child { border-bottom: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #2a8959;
  border-bottom: 2px solid #2a8959;
  transform: rotate(-45deg);
}
.cross-list li::before,
.cross-list li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 14px;
  height: 2px;
  background: #b53741;
}
.cross-list li::before { transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }

/* contact */
.contact-wrap { max-width: 720px; }
.contact-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}
.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.contact-row:last-child { border-bottom: 0; }
.contact-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* section eyebrow */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.section-eyebrow.on-dark { color: #b8b5ae; }
.section-dark .section-eyebrow { color: #b8b5ae; }

/* topbar actions + buttons */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  text-decoration: none;
}
.btn-ghost { background: transparent; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 12px 24px;
  font-size: 14px;
}
.btn-primary:hover {
  background: #b81923;
  border-color: #b81923;
  color: #fff;
}

/* hero eyebrow */
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
}

/* story section */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.story-copy p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.65;
}
.story-copy h2 {
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.story-emphasis {
  font-size: 18px !important;
  color: var(--ink) !important;
  font-weight: 500;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0 !important;
}
.story-side {
  position: sticky;
  top: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story-photo {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
}
.story-photo img {
  width: 100%;
  display: block;
}
.story-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-pills li {
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  color: var(--ink-soft);
}

/* product mechanism block */
.product-mech {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 18px;
}
.product-mech img {
  width: 100%;
  display: block;
  background: var(--paper);
}
.caption {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
  font-style: italic;
}

/* conversion animation: cross-fade through the real position renders */
.conv-figure {
  margin: 8px 0 36px;
}
.conv-stage {
  position: relative;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 12px;
}
.conv-frames {
  position: relative;
  width: 100%;
  /* renders are 600x360-ish; reserve a stable 5:3 box so frames don't jump */
  aspect-ratio: 5 / 3;
}
.conv-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 650ms ease;
  pointer-events: none;
}
.conv-frame.is-on {
  opacity: 1;
}
.conv-label {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.conv-label.is-on {
  opacity: 1;
}
.conv-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.conv-toggle {
  min-width: 72px;
}
.conv-pose {
  font-size: 13px;
}

/* order-of-operations page gallery + lightbox */
.ops-pages-title {
  margin: 36px 0 6px;
  font-size: 20px;
}
.ops-pages-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}
.ops-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ops-gallery > * { min-width: 0; max-width: 100%; }
.ops-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ops-thumb:hover,
.ops-thumb:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  outline: none;
}
.ops-thumb img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}
.ops-thumb span {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(17, 17, 17, 0.88);
}
.lightbox.is-open { display: flex; }
.lightbox-stage {
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #ffffff;
  border-radius: 2px;
}
.lightbox-caption {
  color: #f5f4f1;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-btn:hover { background: rgba(0, 0, 0, 0.6); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close {
  top: 20px;
  right: 20px;
  transform: none;
  width: 44px;
  height: 44px;
  font-size: 26px;
}
@media (max-width: 700px) {
  .ops-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox-btn { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* origin story + design progression */
.prose {
  max-width: 68ch;
}
.prose p {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.origin-figure {
  margin: 28px 0 0;
}
.origin-figure img {
  width: 100%;
  border: 1px solid var(--line);
  display: block;
}
.evolution-figure {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.evolution-figure:hover,
.evolution-figure:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  outline: none;
}
.evolution-figure img {
  width: 100%;
  display: block;
}

/* operations */
.ops-hero {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 24px;
  margin: 8px 0 36px;
  text-align: center;
}
.ops-hero img {
  max-width: 380px;
  margin: 0 auto;
  display: block;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ops-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ops-grid img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: #fafaf7;
  padding: 14px;
}
.ops-grid figcaption strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
}
.ops-grid figcaption span {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* dimensions hero (drawing) */
.dim-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  margin-bottom: 32px;
}
.dim-hero img {
  max-width: 720px;
  margin: 0 auto;
  display: block;
}

/* comparable products table */
.compare-table-wrap {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  font-weight: 600;
}
.compare-table thead th.fc-col {
  color: var(--accent);
  background: #fff7f7;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-soft);
  vertical-align: top;
  width: 22%;
}
.compare-table tbody td {
  font-size: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.compare-table tbody td.fc-col {
  color: var(--ink);
  font-weight: 600;
  background: #fffbfb;
}
.compare-table tbody td.fc-col strong { color: var(--accent); }
.compare-table tr:last-child td,
.compare-table tr:last-child th { border-bottom: 0; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  background: transparent;
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list p {
  margin: 0 0 18px 0;
  padding: 0 40px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline > li {
  position: relative;
  padding: 0 0 28px 40px;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 2px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
}
.timeline-done .timeline-marker {
  background: var(--ink);
  border-color: var(--ink);
}
.timeline-active .timeline-marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 30, 41, 0.18);
}
.timeline-next .timeline-marker {
  background: var(--paper);
  border-color: var(--accent);
  border-width: 2px;
}
.timeline-future .timeline-marker {
  background: var(--paper);
  border-color: var(--line);
  border-style: dashed;
}
.timeline-content { padding-top: 0; }
.timeline-date {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-active .timeline-date { color: var(--accent); }
.timeline-content h3 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--ink);
}
.timeline-content p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 68ch;
}
.timeline-future .timeline-content h3,
.timeline-future .timeline-content p {
  color: var(--muted);
}

/* inventor */
.inventor-wrap { max-width: 820px; }
.inventor-card {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  padding: 32px;
  margin-top: 8px;
}
.inventor-card p {
  color: #cfcdc7;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.inventor-card p:last-child { margin-bottom: 0; }
.inventor-lead {
  font-size: 18px !important;
  color: #fff !important;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 16px;
}
.inventor-todo {
  background: #2a1a1c;
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  font-size: 14px !important;
  color: #e8c4c7 !important;
}
.inventor-todo strong { color: #fff; }
.inventor-card a { color: #ff8a90; }

/* access form */
.access-wrap { max-width: 820px; }
.access-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.access-form label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  gap: 6px;
}
.access-form input,
.access-form textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 11px 13px;
  letter-spacing: 0;
  text-transform: none;
}
.access-form input:focus,
.access-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.access-form .form-full { width: 100%; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

/* footer */
.footer {
  background: var(--ink);
  color: #9c9a93;
  padding: 24px 0;
  font-size: 13px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-note {
  color: #6a6760;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* responsive */
@media (max-width: 1024px) and (min-width: 901px) {
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mfg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* tablet and below */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .mode-grid, .dim-grid, .mfg-grid, .licensing-grid,
  .story-grid, .ops-grid, .form-row, .why-grid, .use-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .story-side { position: static; }
  .rate-table-head, .rate-row {
    grid-template-columns: 1fr 1fr 0.9fr;
    font-size: 12.5px;
  }
  .rate-fee { font-size: 15px; }
  .anchor-nav .wrap {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .anchor-nav .wrap::-webkit-scrollbar { display: none; }
  .anchor-nav a { white-space: nowrap; flex-shrink: 0; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .compare-table { font-size: 13px; }
  .compare-table tbody th { width: 30%; }
}

/* phones */
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 26px; line-height: 1.18; letter-spacing: -0.01em; }
  .hero .lead { font-size: 16px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-stats { gap: 12px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 11px; }
  .hero-render img { max-height: 380px; max-width: 100%; }

  h2 { font-size: 24px; }
  h3 { font-size: 16px; }
  .section-lead { font-size: 16px; margin-bottom: 24px; }
  .section-eyebrow { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 10px; }

  .anchor-nav a { font-size: 12px; padding: 12px 13px; letter-spacing: 0.02em; }

  .topbar .wrap { padding-top: 12px; padding-bottom: 12px; }
  .logo { height: 46px; }
  .confidential { font-size: 10px; }
  .btn { padding: 10px 14px; font-size: 12px; min-height: 38px; }

  /* story */
  .story-copy h2 { font-size: 26px; }
  .story-copy p { font-size: 15.5px; }
  .story-emphasis { font-size: 16px !important; padding: 14px 0; }
  .story-pills li { font-size: 12px; padding: 9px 12px; }

  /* product */
  .product-mech { padding: 14px; }
  .caption { font-size: 12px; }

  /* modes */
  .mode-grid { gap: 14px; }
  .mode-grid img { height: 200px; }
  .mode-grid figcaption strong { font-size: 15px; }
  .mode-grid figcaption span { font-size: 12.5px; }

  /* operations */
  .ops-hero { padding: 16px; margin-bottom: 24px; }
  .ops-hero img { max-width: 100%; }
  .ops-grid { gap: 16px; }
  .ops-grid figure { padding: 16px; gap: 10px; }
  .ops-grid img { padding: 10px; }
  .ops-grid figcaption strong { font-size: 15px; }
  .ops-grid figcaption span { font-size: 13px; }

  /* dimensions */
  .dim-hero { padding: 14px; margin-bottom: 22px; }
  .dim-hero img { max-width: 100%; }
  .dim-card { padding: 22px 20px 18px; }
  .dim-card h3 { font-size: 19px; }
  .dim-list li { padding: 10px 0; }
  .dim-label { font-size: 12.5px; }
  .dim-value { font-size: 16.5px; }
  .dim-unit { font-size: 10px; }

  /* IP / Manufacturing / Cost / Footnote */
  .footnote { font-size: 13px; }
  .bullet-list li { font-size: 14.5px; padding: 8px 0 8px 18px; }
  .bullet-list li::before { top: 14px; }

  /* cost table: fits inside 500px viewport with shortened header */
  .cost-table thead th { font-size: 10px; padding: 10px 10px; }
  .cost-table td { font-size: 12.5px; padding: 11px 10px; }
  .cost-table .th-full { display: none; }

  /* licensing rate table: stack to card rows on phones */
  .lic-card { padding: 22px 20px; }
  .lic-card h3 { font-size: 19px; }
  .rate-table-head { display: none; }
  .rate-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "tier fee"
      "vol fee";
    gap: 4px 12px;
    padding: 14px 16px;
    align-items: center;
  }
  .rate-tier { grid-area: tier; font-size: 14px; }
  .rate-vol {
    grid-area: vol;
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .rate-fee {
    grid-area: fee;
    font-size: 17px;
    align-self: center;
  }
  .check-list li, .cross-list li { font-size: 13.5px; padding: 9px 0 9px 26px; }

  /* compare table: stacked card layout on phones (each attribute = one card).
     The table renders as a series of blocks, with each cell prefixed by its
     column-header label via a data attribute. */
  .compare-table-wrap { border: 0; background: transparent; overflow: visible; }
  .compare-table { display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }
  .compare-table tbody tr {
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    margin-bottom: 12px;
    padding: 14px 16px;
  }
  .compare-table tbody th {
    display: block;
    width: auto;
    background: transparent;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
  }
  .compare-table tbody td {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 12px;
    padding: 6px 0;
    border-bottom: 0;
    font-size: 13.5px;
    background: transparent !important;
    color: var(--ink-soft);
  }
  .compare-table tbody td::before {
    content: attr(data-label);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    align-self: start;
    padding-top: 2px;
  }
  .compare-table tbody td.fc-col {
    color: var(--accent);
    font-weight: 600;
    padding-top: 8px;
    margin-top: 2px;
    border-top: 1px dashed var(--line);
  }
  .compare-table tbody td.fc-col::before {
    color: var(--accent);
  }
  .compare-table tbody td.fc-col strong { color: var(--accent); }

  /* FAQ */
  .faq-list summary { font-size: 15px; padding: 15px 36px 15px 0; min-height: 44px; }
  .faq-list summary::after { font-size: 22px; top: 12px; }
  .faq-list p { font-size: 14px; padding-right: 0; }

  /* timeline */
  .timeline > li { padding: 0 0 22px 32px; }
  .timeline::before { left: 7px; }
  .timeline-marker { left: 0; width: 14px; height: 14px; top: 5px; }
  .timeline-content h3 { font-size: 15.5px; }
  .timeline-content p { font-size: 13.5px; }
  .timeline-date { font-size: 10px; }

  /* inventor */
  .inventor-card { padding: 22px 20px; }
  .inventor-card p { font-size: 14.5px; }
  .inventor-lead { font-size: 16px !important; padding-bottom: 12px; }
  .inventor-todo { font-size: 13px !important; padding: 12px 14px; }

  /* form */
  .access-form { padding: 22px 20px; gap: 14px; }
  .access-form label { font-size: 10px; }
  .access-form input, .access-form textarea {
    font-size: 16px; /* iOS will not zoom on inputs at 16px+ */
    padding: 12px;
    min-height: 44px;
  }
  .access-form textarea { min-height: 90px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary { width: 100%; padding: 14px 24px; min-height: 48px; }
  .form-note { min-width: 0; font-size: 12px; }

  /* footer */
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer { font-size: 12px; }
  .footer-note { font-size: 11px; }

  /* contact card (legacy if used) */
  .contact-row { grid-template-columns: 80px 1fr; gap: 10px; }
  .contact-label { font-size: 10px; }
}

/* tiny phones (iPhone SE and below) */
@media (max-width: 420px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 23px; }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-stats strong { font-size: 20px; }
  h2 { font-size: 21px; }
  .story-copy h2 { font-size: 22px; }
  .anchor-nav a { padding: 11px 11px; font-size: 11.5px; }
  .mode-grid img { height: 170px; }
  .ops-hero { padding: 12px; }
  .dim-hero { padding: 10px; }
  .lic-card { padding: 18px 16px; }
  .inventor-card { padding: 18px 16px; }
  .access-form { padding: 18px 16px; }
  .dim-card h3 { font-size: 17px; }
}

/* print: PDF export */
@media print {
  body { font-size: 10.5pt; color: #000; background: #fff; }
  .topbar, .anchor-nav, .access-form, .topbar-actions, .btn {
    display: none !important;
  }
  .section, .hero {
    padding: 16pt 0 !important;
    page-break-inside: avoid;
    border-bottom: 1pt solid #888;
  }
  .section-dark { background: #fff !important; color: #000 !important; }
  .section-dark h2, .section-dark h3,
  .section-dark .section-eyebrow,
  .section-dark .footnote.on-dark, .section-dark .section-lead.on-dark { color: #000 !important; }
  .section-accent { background: #fff !important; }
  .inventor-card { background: #fafafa !important; color: #000 !important; border: 1pt solid #888; }
  .inventor-card p { color: #000 !important; }
  .inventor-todo { background: #f5f0f0 !important; color: #444 !important; }
  .inventor-card a { color: #000 !important; text-decoration: underline; }
  .hero { padding-top: 0 !important; }
  .hero h1 { font-size: 20pt; }
  h2 { font-size: 16pt; page-break-after: avoid; }
  h3 { font-size: 12pt; }
  a { color: #000; text-decoration: none; }
  .wrap { padding: 0 18pt; max-width: none; }
  img { max-height: 320pt; object-fit: contain; }
  .mode-grid figure { background: #fff !important; border: 1pt solid #ccc !important; }
  .mode-grid img { background: #fff !important; height: 130pt; padding: 4pt; }
  .mode-grid figcaption strong { color: #000 !important; }
  .mode-grid figcaption span { color: #444 !important; }
  .cost-table-wrap { background: #fff !important; border: 1pt solid #888; }
  .cost-table thead th { background: #f5f5f5 !important; color: #000 !important; border-bottom: 1pt solid #888; }
  .cost-table td { border-bottom: 1pt solid #ccc; color: #000; }
  .cost-table td:first-child { color: #000 !important; }
  .story-side { position: static; page-break-inside: avoid; }
  .story-grid, .ops-grid, .licensing-grid, .two-col, .dim-grid, .mfg-grid, .form-row, .why-grid, .use-pair {
    display: block;
  }
  .dim-card, .lic-card, .mfg-card, .ops-grid figure, .why-card, .use-pair figure {
    page-break-inside: avoid;
    margin-bottom: 10pt;
  }
  .footer { background: #fff !important; color: #444 !important; border-top: 1pt solid #888; }
  .footer-note { color: #888; }
  #access { display: none; }
  #story, #modes, #operations, #dimensions, #ip,
  #manufacturing, #cost, #licensing, #compare, #faq, #status, #inventor {
    page-break-before: auto;
  }
  /* Force the section eyebrow to print in black for legibility */
  .section-eyebrow { color: #444 !important; border-bottom: 1pt solid #888; }
}
