/* ═══════════════════════════════════════════════════════════════
   UNITED SERVICES EGYPT — Concept 02: Engineering Blueprint
   Design System: Technical White / Navy / Plan Cyan
   ═══════════════════════════════════════════════════════════════ */

:root {
  --white: #F7F8FA;
  --vellum: #EEF1F4;
  --navy: #0B1F3A;
  --cyan: #3A7CA5;
  --dim-blue: #5B8FB9;
  --grid: #C9D0D8;
  --green: #1F4D3A;
  --red: #9E2A2B;
  --text: #1A2B42;
  --text-muted: #5A6B7D;
  --radius: 2px;
  --radius-sm: 1px;
  --shadow-sheet: 0 1px 0 var(--grid), 0 4px 24px rgba(11, 31, 58, 0.06);
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --nav-h: 72px;
  --section-pad: clamp(64px, 8vw, 96px);
  --container: 1280px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.loading { overflow: hidden; }
body.menu-open { overflow: hidden; }
body.transitioning { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ─── Typography ─── */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.label--navy { color: var(--navy); }

.display {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.sheet-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Grid Background ─── */
.grid-bg {
  background-color: var(--white);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}

.grid-bg--faint {
  background-image:
    linear-gradient(rgba(201, 208, 216, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 208, 216, 0.35) 1px, transparent 1px);
}

/* ─── Loading Screen ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__frame {
  position: relative;
  width: 280px;
  height: 200px;
  border: 1px solid var(--grid);
}

.loader__mark {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--navy);
  opacity: 0;
}

.loader__mark--tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.loader__mark--tr { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.loader__mark--bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.loader__mark--br { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
}

.loader__line {
  width: 0;
  height: 1px;
  background: var(--cyan);
}

.loader__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0;
}

.loader__progress {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0;
}

/* ─── Page Transition ─── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
}

.page-transition.active {
  pointer-events: all;
}

.page-transition__rule {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transform: translateY(-50%);
}

.page-transition__flash {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grid);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(11, 31, 58, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.3;
}

.nav__name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__utility {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--white);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--grid);
}

.mobile-menu__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: #0d2847;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.2);
}

.btn--primary::before,
.btn--primary::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn--primary::before { top: 3px; left: 3px; border-right: none; border-bottom: none; }
.btn--primary::after { bottom: 3px; right: 3px; border-left: none; border-top: none; }

.btn--primary:hover::before,
.btn--primary:hover::after { opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--grid);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--nav-h) + 24px) 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--grid); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 48px 0 64px;
  align-items: center;
}

.hero__drawing {
  position: relative;
  aspect-ratio: 16/10;
  max-height: 540px;
  border: 1px solid var(--grid);
  background: var(--vellum);
  overflow: hidden;
  box-shadow: var(--shadow-sheet);
}

.hero__drawing-plate {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: min(220px, 42%);
  border: 1px solid var(--navy);
  background: rgba(247, 248, 250, 0.94);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.hero__plate-cell {
  padding: 6px 8px;
  border-right: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
}

.hero__plate-cell:nth-child(2n) { border-right: none; }
.hero__plate-cell:nth-child(n+3) { border-bottom: none; }

.hero__plate-cell em {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.hero__drawing-marks {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
}

.hero__drawing-marks::before,
.hero__drawing-marks::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--navy);
}

.hero__drawing-marks::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero__drawing-marks::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero__svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.hero__meta-rule {
  flex: 0 0 48px;
  height: 1px;
  background: var(--grid);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 12px;
}

.hero__lede {
  margin-top: 16px;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.hero__actions {
  margin-top: 28px;
}

.hero__sheet-info {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ─── Sections / rhythm ─── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--vellum { background: var(--vellum); }
.section--white { background: var(--white); }

.section--air {
  padding: clamp(28px, 5vw, 48px) 0;
  background: var(--white);
}

.section--dense {
  padding-block: clamp(72px, 9vw, 112px);
}

.section--quiet .section__header {
  margin-bottom: 28px;
}

.section--proof .stamps {
  margin-top: 8px;
}

.air-rule {
  height: 1px;
  width: 100%;
  background: var(--grid);
  transform-origin: left center;
}

.section__note {
  margin: -24px 0 36px;
  max-width: 48rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.title-block__drawing-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
}

.title-block__meta {
  text-align: right;
}

.philosophy__intro {
  max-width: 46rem;
  margin: -12px 0 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
  box-shadow: var(--shadow-sheet);
}

.philosophy-card {
  background: var(--white);
  padding: 28px 24px 32px;
  transition: background 0.35s ease;
}

.philosophy-card:hover {
  background: var(--vellum);
}

.philosophy-card__code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 14px;
}

.philosophy-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.philosophy-card__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.rfq-panel__body {
  padding: 40px 28px;
  text-align: center;
}

.rfq-panel__copy {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* Sheet entrance — visible by default.
   Do NOT use clip-path for the pending state: a fully clipped box has
   zero intersection area, so IntersectionObserver never fires. */
[data-sheet-in] {
  opacity: 1;
  transform: none;
}

html.js-motion [data-sheet-in]:not(.is-in) {
  opacity: 0;
  transform: translateY(10px);
}

html.js-motion [data-sheet-in].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.btn:focus-visible,
.nav__link:focus-visible,
.sheet-card:focus-visible,
.stamp:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

.sheet-card__spec {
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.sheet-card:hover .sheet-card__spec {
  border-color: var(--cyan);
  color: var(--navy);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section__header {
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section__header-left { max-width: 640px; }

.section__rule {
  width: 48px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 16px;
}

.section__sheet-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ─── Title Block ─── */
.title-block {
  border: 1px solid var(--grid);
  background: var(--white);
  box-shadow: var(--shadow-sheet);
}

.title-block__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--grid);
  background: var(--vellum);
}

.title-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.title-block__cell {
  padding: 24px;
  border-right: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
}

.title-block__cell:last-child { border-right: none; }

.title-block__cell-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.title-block__cell-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

.title-block__cell-value--lg {
  font-size: 20px;
  font-weight: 600;
}

/* ─── Quality Stamps ─── */
.stamps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stamp {
  position: relative;
  padding: 28px 24px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  text-align: center;
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stamp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.12);
}

.stamp__code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.06em;
}

.stamp__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.stamp__ring {
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(31, 77, 58, 0.3);
  border-radius: var(--radius);
  pointer-events: none;
}

/* ─── Sheet Cards ─── */
.sheets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.sheet-card {
  position: relative;
  border: 1px solid var(--grid);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.sheet-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-sheet);
  transform: translateY(-3px);
}

.sheet-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--grid);
  background: var(--vellum);
}

.sheet-card__no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.sheet-card__rev {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.sheet-card__body {
  padding: 24px 20px;
}

.sheet-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.sheet-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sheet-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sheet-card__spec {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--vellum);
  color: var(--navy);
  border: 1px solid var(--grid);
  border-radius: var(--radius-sm);
}

.sheet-card__diagram {
  height: 80px;
  margin-top: 16px;
  border-top: 1px solid var(--grid);
  padding-top: 16px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.sheet-card:hover .sheet-card__diagram { opacity: 1; }

.sheet-card__diagram svg {
  width: 100%;
  height: 100%;
}

.sheet-card__link {
  display: block;
}

/* ─── GRE Deep Dive ─── */
.gre-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.gre-dive__diagram {
  position: relative;
  border: 1px solid var(--grid);
  background: var(--vellum);
  aspect-ratio: 4/3;
  padding: 24px;
}

.gre-dive__diagram svg {
  width: 100%;
  height: 100%;
}

.gre-dive__annotations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.annotation {
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  background: var(--white);
  border: 1px solid var(--grid);
  border-left: 3px solid var(--cyan);
  transition: border-color var(--transition);
}

.annotation:hover {
  border-left-color: var(--navy);
}

.annotation__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.annotation__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

/* ─── Installation Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--grid);
  background: var(--white);
}

.step {
  padding: 32px 24px;
  border-right: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  position: relative;
  transition: background var(--transition);
}

.step:hover { background: var(--vellum); }

.step__num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--grid);
  line-height: 1;
  margin-bottom: 16px;
}

.step__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step__connector {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 16px;
  height: 1px;
  background: var(--cyan);
  z-index: 1;
}

/* ─── Spec Envelope ─── */
.spec-envelope {
  border: 2px solid var(--navy);
  background: var(--white);
  position: relative;
}

.spec-envelope__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--navy);
  color: var(--white);
}

.spec-envelope__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spec-envelope__ref {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.7;
}

.spec-envelope__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.spec-envelope__item {
  padding: 28px 24px;
  border-right: 1px solid var(--grid);
  border-bottom: 1px solid var(--grid);
  text-align: center;
}

.spec-envelope__param {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.spec-envelope__value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--navy);
}

.spec-envelope__unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--cyan);
}

/* ─── Project Case Sheets ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.project-sheet {
  border: 1px solid var(--grid);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.project-sheet:hover {
  box-shadow: var(--shadow-sheet);
}

.project-sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--vellum);
  border-bottom: 1px solid var(--grid);
}

.project-sheet__id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.project-sheet__region {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.project-sheet__body {
  padding: 24px 20px;
}

.project-sheet__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.project-sheet__detail {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.project-sheet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-sheet__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid var(--grid);
  color: var(--navy);
}

/* ─── Clients Row ─── */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  padding: 40px 0;
}

.client-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 12px 24px;
  border: 1px solid var(--grid);
  transition: border-color var(--transition), color var(--transition);
}

.client-mark:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ─── RFQ Teaser / Form ─── */
.rfq-panel {
  border: 1px solid var(--grid);
  background: var(--white);
  box-shadow: var(--shadow-sheet);
}

.rfq-panel__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 20px 28px;
  background: var(--vellum);
  border-bottom: 2px solid var(--navy);
}

.rfq-panel__title-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rfq-panel__field-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rfq-panel__field-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 4px;
}

.rfq-form {
  padding: 32px 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

/* ─── Footer ─── */
.footer {
  background: var(--white);
  border-top: 2px solid var(--navy);
  position: relative;
}

.footer__border {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--grid);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__link:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--grid);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer__marks {
  display: flex;
  gap: 24px;
}

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 10000;
  padding: 16px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.24);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-width: 360px;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast__mono {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.7;
  margin-top: 4px;
}

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 64px;
  background: var(--vellum);
  border-bottom: 1px solid var(--grid);
}

.page-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-hero__sheet {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: right;
}

/* ─── About Page ─── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mission-card {
  padding: 32px;
  border: 1px solid var(--grid);
  background: var(--white);
}

.mission-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.mission-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--grid);
  margin-top: 48px;
}

.facility-stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--grid);
  background: var(--white);
}

.facility-stat:last-child { border-right: none; }

.facility-stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
}

.facility-stat__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grid);
}

.timeline__item {
  position: relative;
  padding-bottom: 32px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cyan);
  background: var(--white);
  border-radius: 50%;
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 6px;
}

.timeline__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

/* ─── Services Page ─── */
.service-sheet {
  border: 1px solid var(--grid);
  background: var(--white);
  margin-bottom: 32px;
  overflow: hidden;
}

.service-sheet__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 28px;
  background: var(--vellum);
  border-bottom: 1px solid var(--grid);
}

.service-sheet__no {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--cyan);
}

.service-sheet__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}

.service-sheet__std {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

.service-sheet__body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

.service-sheet__content {
  padding: 32px 28px;
  border-right: 1px solid var(--grid);
}

.service-sheet__content p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-sheet__list {
  margin-top: 20px;
}

.service-sheet__list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--vellum);
}

.service-sheet__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.service-sheet__diagram {
  padding: 28px;
  background: var(--vellum);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-sheet__diagram svg {
  width: 100%;
  max-height: 200px;
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  padding: 24px;
  border: 1px solid var(--grid);
  background: var(--white);
}

.contact-block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-block__value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}

.contact-block__value a:hover { color: var(--cyan); }

.alliance-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.alliance-item {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 14px;
  border: 1px solid var(--grid);
  text-align: center;
  color: var(--navy);
  transition: border-color var(--transition), background var(--transition);
}

.alliance-item:hover {
  border-color: var(--cyan);
  background: var(--vellum);
}

.form-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
}

.form-success.visible { display: block; }

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
}

.form-success__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.form-success__text {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Reveal helpers — keep visible in CSS; GSAP animates entrance.
   CSS opacity:0 + gsap.from(opacity:0) causes permanent invisible sections. */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Scroll Progress ─── */
.scroll-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vellum);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.scroll-progress.visible { opacity: 1; }

.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 0.1s linear;
}

/* ─── Document HUD (DWG / SCALE / VIEW / REV) ─── */
.doc-hud {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: max(12px, calc((100vw - var(--container)) / 2 - 8px));
  z-index: 900;
  width: 168px;
  border: 1px solid var(--navy);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: saturate(1.05);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -4px, 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: var(--shadow-sheet);
}

.doc-hud.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.doc-hud__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--grid);
  align-items: baseline;
}

.doc-hud__row:last-child { border-bottom: none; }

.doc-hud__row em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.doc-hud__value {
  text-align: right;
  color: var(--navy);
  font-weight: 500;
  min-height: 1em;
}

.doc-hud__row--rev .doc-hud__value {
  color: var(--cyan);
}

/* ─── CAD drafting cursor (sheet-local, 24px) ─── */
.cad-crosshair {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.cad-crosshair.is-active,
.cad-crosshair.is-drafting {
  opacity: 1;
}

.cad-crosshair[hidden] {
  display: none !important;
}

.cad-crosshair__arm {
  position: absolute;
  background: #fff;
  box-shadow: 0 0 0 0.5px #0B1F3A;
  opacity: 0.95;
}

.cad-crosshair__arm--h {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-0.5px);
}

.cad-crosshair__arm--v {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-0.5px);
}

.cad-crosshair__snap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border: 1px solid #fff;
  box-shadow: 0 0 0 0.5px #0B1F3A;
  background: transparent;
  opacity: 0.8;
}

.cad-crosshair__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  margin: -1px 0 0 -1px;
  background: #0B1F3A;
  border: 1px solid #fff;
}

.cad-crosshair.is-snap .cad-crosshair__snap {
  border-color: var(--cyan);
  opacity: 1;
}

.hero__drawing.is-frozen .cad-crosshair {
  display: none !important;
}

.plotter-head {
  display: none !important;
}

/* ─── Documentation rails (L/R drawing package margins) ─── */
.doc-rails {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  display: none;
}

@media (min-width: 1200px) {
  .doc-rails {
    display: block;
  }
}

.doc-rails__col {
  position: absolute;
  top: 96px;
  bottom: 72px;
  width: max(88px, calc((100vw - var(--container)) / 2 - 28px));
  max-width: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.doc-rails__col--left {
  left: max(10px, calc((100vw - var(--container)) / 2 - 148px));
}

.doc-rails__col--right {
  right: max(10px, calc((100vw - var(--container)) / 2 - 148px));
}

.doc-drawing {
  margin: 0;
  opacity: 0.22;
  color: #6b7785;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.45s ease;
}

.doc-drawing.is-drawn {
  opacity: 0.72;
  transform: translateY(0);
  color: #3A7CA5;
}

.doc-drawing figcaption {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #8a94a0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.doc-drawing svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 120 / 160;
  border: 1px solid rgba(154, 163, 173, 0.45);
  background: rgba(247, 248, 250, 0.55);
}

.doc-drawing .rail-stroke {
  vector-effect: non-scaling-stroke;
}

/* Sheet / rule one-shots — pending only under js-motion so CSS alone never blanks the page */
html.js-motion [data-draw-rule]:not(.is-drawn),
html.js-motion .section__rule:not(.is-drawn) {
  transform: scaleX(0);
  transform-origin: left center;
}

html.js-motion [data-draw-rule].is-drawn,
html.js-motion .section__rule.is-drawn {
  transform: scaleX(1);
  transition: transform 0.7s ease-in-out;
}

/* Floating revision stamp */
.floating-rev {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding: 10px 14px;
  border: 1.5px solid var(--navy);
  font-family: var(--font-mono);
  transform-origin: left center;
}

html.js-motion .floating-rev:not(.is-stamped) {
  opacity: 0;
  transform: scaleY(1.08);
}

.floating-rev.is-stamped {
  opacity: 1;
  transform: scaleY(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

html.js-motion [data-stamp]:not(.is-stamped),
html.js-motion .stamp:not(.is-stamped) {
  opacity: 0;
  transform: scaleY(1.08);
  transform-origin: center top;
}

[data-stamp].is-stamped,
.stamp.is-stamped {
  opacity: 1;
  transform: scaleY(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.eng-trace-defs,
.eng-trace {
  display: none !important;
}

.floating-rev__mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--navy);
}

.floating-rev__status {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

/* ─── XYZ coordinate readout (ambient CAD status) ─── */
.xyz-hud {
  position: fixed;
  left: max(16px, calc((100vw - var(--container)) / 2 - 4px));
  bottom: 18px;
  z-index: 880;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: #6b7785;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.4s ease;
  display: grid;
  gap: 8px;
  min-width: 120px;
}

.xyz-hud.is-visible {
  opacity: 0.5;
}

.xyz-hud__coords {
  display: grid;
  gap: 1px;
}

.xyz-hud__row {
  display: grid;
  grid-template-columns: 14px auto;
  gap: 10px;
  align-items: baseline;
}

.xyz-hud__row span,
.xyz-hud__flag span {
  color: #8a94a0;
}

.xyz-hud__row em,
.xyz-hud__flag em {
  font-style: normal;
  color: #5a6572;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  min-width: 5.5ch;
}

.xyz-hud__flags {
  display: grid;
  gap: 1px;
  padding-top: 6px;
  border-top: 1px solid rgba(154, 163, 173, 0.35);
}

.xyz-hud__flag {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 8px;
  align-items: baseline;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.xyz-hud__flag em.is-on {
  color: #3A7CA5;
}

/* ─── Blueprint background construction traces ─── */
.eng-trace-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.eng-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  color: #9aa3ad;
  overflow: hidden;
  will-change: opacity;
}

.eng-trace .eng-trace__stroke {
  vector-effect: non-scaling-stroke;
}

[data-eng-zone] > .container {
  position: relative;
  z-index: 1;
}

.hero[data-eng-zone] > .container {
  position: relative;
  z-index: 1;
}

.section--vellum .eng-trace {
  color: #8f99a4;
}

.section--white .eng-trace {
  color: #a3abb4;
}

@media (max-width: 900px) {
  .doc-hud { display: none; }
  .xyz-hud { display: none !important; }
  .cad-crosshair { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  /* Ambient drafting chrome stays static-capable; strip active motion systems */
  .plotter-head,
  .eng-trace,
  .eng-trace-defs,
  .doc-rails {
    display: none !important;
  }
  .cad-crosshair {
    display: none !important;
  }
  html.js-motion [data-sheet-in]:not(.is-in),
  html.js-motion [data-sheet-in].is-in,
  [data-sheet-in] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js-motion [data-draw-rule]:not(.is-drawn),
  html.js-motion .section__rule:not(.is-drawn),
  html.js-motion [data-draw-rule].is-drawn,
  html.js-motion .section__rule.is-drawn {
    transform: none !important;
    transition: none !important;
  }
  html.js-motion .floating-rev:not(.is-stamped),
  .floating-rev.is-stamped,
  html.js-motion [data-stamp]:not(.is-stamped),
  html.js-motion .stamp:not(.is-stamped),
  [data-stamp].is-stamped,
  .stamp.is-stamped {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.is-cad-cursor,
  body.is-cad-cursor a,
  body.is-cad-cursor button {
    cursor: auto !important;
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .gre-dive { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-sheet__body { grid-template-columns: 1fr; }
  .service-sheet__content { border-right: none; border-bottom: 1px solid var(--grid); }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .facility-stats { grid-template-columns: repeat(2, 1fr); }
  .facility-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .nav__links, .nav__utility .btn { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner { padding: 32px 0 56px; }
  .hero__drawing { aspect-ratio: 4/3; }

  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .rfq-panel__title-block { grid-template-columns: 1fr; }
  .rfq-panel__header { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step__connector { display: none; }

  .facility-stats { grid-template-columns: 1fr; }
  .facility-stat { border-right: none; }

  .service-sheet__header {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .service-sheet__std { text-align: left; }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
