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

:root {
  --paper: #F7F5F0;
  --paper-2: #EFECE4;
  --ink: #1A1914;
  --ink-2: #3D3B33;
  --ink-3: #7A7869;
  --ink-4: #BFBCAE;
  --rule: #D4D0C4;
  --accent: #C13B1B;
  --accent-2: #E8623D;
  --blue: #1B4F8A;
  --blue-light: #EEF3FA;
  --green: #1A5C3A;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
  --serif: 'IBM Plex Serif', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-4); }

/* ── GRID PAPER BACKGROUND ── */
.grid-bg {
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
}
.grid-bg-fine {
  background-image:
    linear-gradient(rgba(180,175,158,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,175,158,0.3) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ── NAV — instrument panel style ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink);
  border-bottom: 2px solid var(--accent);
  height: 48px;
  display: flex; align-items: stretch;
}
.nav-logo-block {
  display: flex; align-items: center;
  padding: 0 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-sq {
  width: 22px; height: 22px;
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-sq span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.5px;
}
.nav-wordmark {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}
.nav-wordmark small { display: block; font-size: 0.58rem; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; }
.nav-tabs {
  display: flex; align-items: stretch; flex: 1;
  list-style: none;
}
.nav-tabs li { display: flex; align-items: stretch; }
.nav-tabs a {
  display: flex; align-items: center;
  padding: 0 1.1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-tabs a:hover { color: white; background: rgba(255,255,255,0.05); }
.nav-tabs a.active { color: white; background: rgba(193,59,27,0.15); border-bottom: 2px solid var(--accent); }
.nav-status {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.25rem;
  margin-left: auto;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.status-dot {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.status-dot::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 6px #2ECC71;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hamburger-nav { display: none; align-items: center; padding: 0 1rem; margin-left: auto; cursor: pointer; }
.hamburger-nav span { display: block; width: 20px; height: 1.5px; background: rgba(255,255,255,0.6); margin: 4px 0; }
.mobile-menu {
  display: none; position: fixed; top: 48px; left: 0; right: 0;
  background: var(--ink); z-index: 199;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.7rem 1.25rem;
  font-family: var(--mono); font-size: 0.72rem;
  color: rgba(255,255,255,0.6); text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:hover { color: white; background: rgba(255,255,255,0.04); }

/* ── HERO — split panel instrument readout ── */
.hero {
  min-height: 100vh;
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1px 480px;
  grid-template-rows: 1fr;
}
.hero-main {
  padding: 5rem 3.5rem 4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-main::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-top { position: relative; z-index: 1; }
.specimen-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 10px;
}
.specimen-label::before {
  content: '';
  display: inline-block; width: 24px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.hero h1 strong {
  font-style: normal;
  font-weight: 400;
  display: block;
  color: var(--ink-2);
}
.hero-annotation {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-top: 2.5rem;
  max-width: 520px;
}
.annotation-bracket {
  flex-shrink: 0;
  width: 12px;
  border-top: 1.5px solid var(--ink-3);
  border-left: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  height: 60px;
  margin-top: 4px;
}
.hero-annotation p {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.7;
}
.hero-bottom {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: 2px;
}
.meta-cell {
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  font-family: var(--mono);
}
.meta-cell .mk { font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 3px; }
.meta-cell .mv { font-size: 0.88rem; font-weight: 400; }
.meta-cell.accent-cell { background: var(--accent); }
.hero-cta-group { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.btn-primary {
  background: var(--ink);
  color: white;
  padding: 0.7rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 0.65rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* divider line */
.hero-divider {
  background: var(--rule);
  position: relative;
}
.hero-divider::after {
  content: '//';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(90deg);
  font-family: var(--mono); font-size: 0.65rem;
  color: var(--ink-4); writing-mode: vertical-rl;
  background: var(--paper); padding: 6px 0;
}

/* hero sidebar — data panel */
.hero-sidebar {
  background: var(--paper-2);
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.panel-header {
  background: var(--ink-2);
  color: white;
  padding: 0.55rem 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
.panel-header .ph-dots { display: flex; gap: 5px; }
.panel-header .ph-dots span { width: 8px; height: 8px; border-radius: 50%; }
.panel-header .ph-dots .d1 { background: #E74C3C; }
.panel-header .ph-dots .d2 { background: #F39C12; }
.panel-header .ph-dots .d3 { background: #2ECC71; }
.data-row {
  display: flex;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.data-row:last-child { border-bottom: none; }
.data-key {
  width: 44%;
  padding: 0.7rem 1rem;
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
  background: rgba(0,0,0,0.02);
}
.data-val {
  flex: 1; padding: 0.7rem 1rem;
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--ink);
}
.data-val.highlight { color: var(--accent); font-weight: 500; }
.data-val.blue { color: var(--blue); }
.ascii-diagram {
  flex: 1;
  padding: 1.25rem 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--ink-3);
  white-space: pre;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.sidebar-cta {
  padding: 1rem;
  border-top: 2px solid var(--accent);
  background: rgba(193,59,27,0.05);
  flex-shrink: 0;
}
.sidebar-cta p {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.06em; color: var(--ink-3);
  margin-bottom: 0.6rem;
}
.sidebar-cta a {
  display: block;
  background: var(--accent); color: white;
  text-align: center; padding: 0.6rem;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s;
}
.sidebar-cta a:hover { background: #A32E12; }

/* ── SECTION COMMON ── */
.section { padding: 5rem 3.5rem; }
.section-num {
  font-family: var(--mono); font-size: 0.62rem;
  color: var(--ink-4); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.section-title em { font-style: italic; color: var(--ink-2); }
.section-rule { width: 40px; height: 2px; background: var(--accent); margin-bottom: 1.5rem; }
.section-body { font-family: var(--serif); font-size: 0.95rem; font-weight: 300; font-style: italic; color: var(--ink-2); max-width: 520px; line-height: 1.8; }

/* ── PRODUCTS ── */
.products-section { background: white; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.products-layout {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; min-height: 600px;
}
.products-nav-col {
  border-right: 1px solid var(--rule);
  padding-top: 1rem;
}
.products-nav-col .section { padding: 2rem 1.5rem; }
.product-tab-list { list-style: none; margin-top: 2rem; }
.product-tab {
  display: block;
  padding: 0.8rem 1rem;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  background: none; border-top: none; border-right: none; border-bottom: 1px solid var(--rule);
  width: 100%; text-align: left;
}
.product-tab:hover { color: var(--ink); background: var(--paper); }
.product-tab.active { color: var(--accent); border-left-color: var(--accent); background: rgba(193,59,27,0.04); font-weight: 500; }
.products-content-col { overflow: hidden; }
.product-panel { display: none; padding: 3rem; }
.product-panel.active { display: block; }
.product-panel-title {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300; font-style: italic;
  color: var(--ink); margin-bottom: 0.5rem;
}
.product-panel-title strong { font-style: normal; font-weight: 400; }
.product-schematic {
  margin: 1.5rem 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  font-family: var(--mono); font-size: 0.6rem;
  line-height: 1.6; color: var(--ink-3);
  white-space: pre;
  overflow-x: auto;
}
.product-specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; border: 1px solid var(--rule); margin-top: 1.5rem;
}
.spec-cell {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.spec-cell:nth-child(2n) { border-right: none; }
.spec-cell .sk {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.35rem;
}
.spec-cell .sv { font-size: 0.875rem; color: var(--ink); line-height: 1.5; font-weight: 300; }
.spec-cell.accent-spec { background: rgba(193,59,27,0.04); }
.spec-cell.accent-spec .sk { color: var(--accent); }
.product-desc { font-family: var(--serif); font-size: 0.95rem; font-weight: 300; font-style: italic; color: var(--ink-2); line-height: 1.75; max-width: 560px; margin-bottom: 1rem; }
.feature-list { list-style: none; margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature-list li {
  padding: 0.6rem 0;
  font-size: 0.85rem; color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: flex-start; gap: 8px;
  font-family: var(--sans); font-weight: 300;
}
.feature-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-family: var(--mono); font-size: 0.8rem; }

/* ── CROSS-SECTION / ABOUT ── */
.about-section {
  background: var(--ink);
  color: white;
}
.about-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.about-left {
  padding: 5rem 3.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-right {
  padding: 5rem 3.5rem;
  position: relative; overflow: hidden;
}
.about-right::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.about-section .section-num { color: rgba(255,255,255,0.2); }
.about-section .section-title { color: rgba(255,255,255,0.9); }
.about-section .section-rule { background: var(--accent); }
.about-section .section-body { color: rgba(255,255,255,0.5); }
.values-list { list-style: none; margin-top: 2.5rem; }
.value-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: grid; grid-template-columns: 2.5rem 1fr;
  gap: 1rem; align-items: start;
}
.value-num {
  font-family: var(--mono); font-size: 0.6rem;
  color: var(--accent); letter-spacing: 0.06em;
  padding-top: 3px;
}
.value-item h4 { font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 0.25rem; }
.value-item p { font-size: 0.83rem; color: rgba(255,255,255,0.4); font-weight: 300; line-height: 1.65; }
.location-plate {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-block;
  position: relative; z-index: 1;
}
.location-plate p { font-family: var(--mono); font-size: 0.68rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; line-height: 1.8; }
.location-plate strong { color: rgba(255,255,255,0.7); }

.measurement-lines {
  position: absolute; right: 3.5rem; top: 5rem; z-index: 1;
  font-family: var(--mono); font-size: 0.6rem;
  color: rgba(255,255,255,0.15);
}
.m-line { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }
.m-line-bar { height: 1px; background: rgba(255,255,255,0.15); }
.m-label { white-space: nowrap; letter-spacing: 0.08em; }

/* ── SERVICES ── */
.services-section { background: var(--paper); }
.services-inner { max-width: 1280px; margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; margin-top: 2.5rem;
  border: 1px solid var(--rule);
}
.service-cell {
  padding: 2rem;
  border-right: 1px solid var(--rule);
  position: relative;
}
.service-cell:last-child { border-right: none; }
.service-cell-num {
  font-family: var(--mono); font-size: 2rem; font-weight: 300;
  color: var(--paper-2); line-height: 1;
  position: absolute; top: 1rem; right: 1rem;
  user-select: none;
}
.service-cell h3 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.75rem; font-weight: 500; }
.service-cell p { font-size: 0.875rem; color: var(--ink-2); font-weight: 300; line-height: 1.7; }
.service-status {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.service-status.online { color: #1A5C3A; }
.service-status.pending { color: #7A4A0A; }
.service-status::before { content: '●'; font-size: 0.55em; }

/* ── CONTACT ── */
.contact-section { background: var(--paper-2); border-top: 1px solid var(--rule); }
.contact-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-coords {
  margin-top: 2rem;
  border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.72rem;
  background: white;
}
.coord-row {
  display: flex; border-bottom: 1px solid var(--rule);
}
.coord-row:last-child { border-bottom: none; }
.ck { width: 35%; padding: 0.75rem 1rem; background: var(--paper); border-right: 1px solid var(--rule); color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.62rem; }
.cv { flex: 1; padding: 0.75rem 1rem; color: var(--ink); }
.cv a { color: var(--blue); text-decoration: none; }
.cv a:hover { text-decoration: underline; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); background: white; }
.form-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.form-cell:nth-child(2n) { border-right: none; }
.form-cell.full { grid-column: 1 / -1; border-right: none; }
.form-cell label {
  display: block;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); padding: 0.5rem 0.9rem 0;
}
.form-cell input,
.form-cell textarea,
.form-cell select {
  display: block; width: 100%;
  border: none; outline: none;
  padding: 0.3rem 0.9rem 0.65rem;
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--ink); background: transparent;
  resize: none;
  -webkit-appearance: none;
}
.form-cell textarea { min-height: 120px; }
.form-cell:focus-within { background: #FFFBF5; }
.form-cell:focus-within label { color: var(--accent); }
.form-submit-row {
  grid-column: 1/-1; border-right: none;
  padding: 1rem; display: flex; justify-content: flex-end; align-items: center; gap: 1rem;
  background: var(--paper);
}
.form-submit-row p { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-4); }
.btn-submit {
  background: var(--ink);
  color: white; border: none; cursor: pointer;
  padding: 0.7rem 1.75rem;
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 1.5rem 3.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 2px solid var(--accent);
}
.footer-mono { font-family: var(--mono); font-size: 0.65rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-family: var(--mono); font-size: 0.65rem; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── FADE-IN ── */
@keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }
.hero-top { animation: fadeIn 0.8s ease 0.1s both; }
.hero-bottom { animation: fadeIn 0.8s ease 0.35s both; }
.hero-sidebar { animation: fadeIn 0.8s ease 0.2s both; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-divider { display: none; }
  .hero-sidebar { border-left: none; border-top: 1px solid var(--rule); max-height: 360px; }
  .ascii-diagram { display: none; }
  .products-layout { grid-template-columns: 1fr; }
  .products-nav-col { border-right: none; border-bottom: 1px solid var(--rule); }
  .product-tab-list { display: flex; flex-wrap: wrap; gap: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 3rem 2rem; }
  .about-right { padding: 3rem 2rem; }
}
@media (max-width: 768px) {
  .nav-tabs { display: none; }
  .nav-status { display: none; }
  .hamburger-nav { display: flex; }
  .section { padding: 3.5rem 1.5rem; }
  .hero-main { padding: 3rem 1.5rem 2.5rem; }
  .hero-meta { grid-template-columns: repeat(2, auto); }
  .services-grid { grid-template-columns: 1fr; }
  .service-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-cell { border-right: none !important; }
  footer { padding: 1.5rem; }
  .feature-list { grid-template-columns: 1fr; }
  .product-panel { padding: 1.5rem; }
}

/* ── multi-page layout & products landing ── */
.page-wrap { padding-top: 48px; min-height: 100vh; }
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 4rem 3.5rem 2.5rem;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero .specimen-label { margin-bottom: 0.75rem; }
.page-body { max-width: 1280px; margin: 0 auto; padding: 3rem 3.5rem 5rem; }
.prose-page {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.8;
}
.prose-page h1 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.prose-page p { margin-bottom: 1rem; }
.prose-page b { font-weight: 500; color: var(--ink); }

.products-landing-grid {
  border: 1px solid var(--rule);
  margin-top: 2rem;
  background: white;
}
.product-landing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2rem;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  transition: background 0.15s;
}
.product-landing-card:last-child { border-bottom: none; }
.product-landing-card:hover { background: var(--paper); }
.product-landing-card .cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.product-landing-card h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.product-landing-card p {
  max-width: 560px;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.65;
}

.nav-item-has-dropdown { position: relative; }
.nav-item-has-dropdown > a { height: 100%; }
.nav-flyout {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 2px solid var(--accent);
  z-index: 250;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.nav-item-has-dropdown:hover .nav-flyout,
.nav-item-has-dropdown:focus-within .nav-flyout { display: block; }
.nav-flyout a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: normal;
  line-height: 1.35;
}
.nav-flyout a:last-child { border-bottom: none; }
.nav-flyout a:hover {
  color: white;
  background: rgba(255,255,255,0.06);
}

.mobile-menu a.mobile-menu-sub {
  padding-left: 2rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}
.mobile-menu a.mobile-menu-sub:hover { color: rgba(255,255,255,0.9); }

@media (max-width: 768px) {
  .page-hero { padding: 3rem 1.5rem 2rem; }
  .page-body { padding: 2rem 1.5rem 4rem; }
  .product-landing-card { grid-template-columns: 1fr; }
}

/* Adeptlogics API-driven UI */
.adl-form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}
.adl-form-status--pending {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
}
.adl-form-status--success {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.adl-form-status--error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.adl-loading {
  padding: 2rem 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}
.product-landing-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1.5rem;
  align-items: start;
}
.product-landing-card-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}
.product-html {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}
.product-html p { margin: 0 0 1rem; }
.product-html ul, .product-html ol { margin: 0 0 1rem 1.25rem; }
.product-html a { color: var(--accent); }
@media (max-width: 768px) {
  .product-landing-card-main { grid-template-columns: 1fr; }
}
