/* ============================================================
   ADVANCED PRODUCTS & MANUFACTURING — single-page site
   Palette: near-black · steel gray · silver · white · electric blue
   ============================================================ */

:root {
  --bg: #0a0d11;
  --bg-deep: #070a0d;
  --panel: #10141a;
  --panel-2: #141920;
  --line: rgba(196, 208, 222, 0.12);
  --line-strong: rgba(196, 208, 222, 0.22);
  --silver: #b7c0cb;
  --muted: #7d8894;
  --white: #eef2f7;
  --accent: #2f80ff;
  --accent-soft: #6db0ff;
  --glow: rgba(47, 128, 255, 0.35);
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(47, 128, 255, 0.04), transparent 420px),
    repeating-linear-gradient(90deg, rgba(196, 208, 222, 0.025) 0 1px, transparent 1px 240px),
    var(--bg);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

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

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-text { min-width: 0; }

.brand-mark { width: 42px; height: 42px; flex: none; }
.mark-outline { fill: none; stroke: var(--line-strong); stroke-width: 1.4; }
.mark-accent { fill: rgba(47, 128, 255, 0.1); stroke: var(--accent); stroke-width: 1.4; }
.mark-core { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: square; }

.brand-text { display: flex; flex-direction: column; gap: 3px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--white);
  white-space: nowrap;
}
.brand-name .amp { color: var(--accent-soft); font-weight: 600; }

.brand-sub { font-size: 10px; color: var(--muted); letter-spacing: 0.18em; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0; padding: 0;
}

.site-nav a[data-navlink] {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s var(--ease);
}

.site-nav a[data-navlink]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a[data-navlink]:hover,
.site-nav a[data-navlink][aria-current="true"] { color: var(--white); }

.site-nav a[data-navlink]:hover::after,
.site-nav a[data-navlink][aria-current="true"]::after { transform: scaleX(1); }

.nav-foot {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.toggle-line {
  width: 20px; height: 1.6px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .toggle-line:first-child { transform: translateY(4.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .toggle-line:last-child { transform: translateY(-4.3px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 32px) 0 34px;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-drift 26s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06) translateX(-1.2%); }
}

.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(76deg, rgba(7, 10, 13, 0.94) 18%, rgba(7, 10, 13, 0.55) 46%, rgba(7, 10, 13, 0.18) 78%),
    linear-gradient(180deg, rgba(7, 10, 13, 0.6) 0%, transparent 32%, rgba(7, 10, 13, 0.88) 100%);
}

.hero-gridlines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(196, 208, 222, 0.05) 0 1px, transparent 1px 180px),
    repeating-linear-gradient(0deg, rgba(196, 208, 222, 0.04) 0 1px, transparent 1px 140px);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 85%);
  mask-image: linear-gradient(90deg, #000 30%, transparent 85%);
}

.hero-inner {
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 11px;
  color: var(--accent-soft);
}

.tick { width: 34px; height: 1px; background: var(--accent); position: relative; }
.tick::before {
  content: "";
  position: absolute;
  top: -2.5px; left: -1px;
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
  max-width: 12ch;
}

.accent-line {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--silver);
}
.accent-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-lede {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--silver);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 rgba(47, 128, 255, 0);
}
.btn-primary:hover {
  background: #3f8dff;
  box-shadow: 0 8px 32px -8px var(--glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(238, 242, 247, 0.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-1px);
}

/* ---------- hero footer strip ---------- */

.hero-specs {
  width: min(1320px, 100% - 48px);
  margin: 44px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  font-size: 11px;
  color: var(--muted);
}

.hero-specs b { color: var(--white); font-weight: 500; }

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100% - 1320px) / 2));
  bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-cue:hover { color: var(--accent-soft); }

.cue-track {
  width: 1px; height: 64px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.cue-dot {
  position: absolute;
  top: -10px; left: -1.2px;
  width: 4px; height: 10px;
  background: var(--accent);
  animation: cue-fall 2.2s var(--ease) infinite;
}

@keyframes cue-fall {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { transform: translateY(70px); opacity: 0; }
}

/* ---------- sections ---------- */

.section { padding: 110px 0 96px; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 56px; }

.head-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}

.sec-index {
  font-size: 11.5px;
  color: var(--accent);
  padding-left: 18px;
  position: relative;
}
.sec-index::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 1px;
  background: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -0.01em;
  color: var(--white);
}

.sec-note { margin-left: auto; font-size: 10.5px; color: var(--muted); text-align: right; }

.sec-intro {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- company ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.standfirst {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.4;
  color: var(--white);
}

.company-copy p:not(.standfirst) { margin: 0 0 16px; color: var(--silver); }

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--silver);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.company-figure,
.tech-figure {
  position: relative;
  margin: 0;
}

.company-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.corner {
  position: absolute;
  width: 22px; height: 22px;
  z-index: 2;
}
.c-tl { top: -7px; left: -7px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.c-br { bottom: 33px; right: -7px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.company-figure figcaption,
.tech-figure figcaption {
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}

.stats {
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(47, 128, 255, 0.03), transparent);
}

.stat { padding: 26px 26px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }

.stat dt { font-size: 10px; color: var(--muted); margin-bottom: 12px; }

.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--white);
  letter-spacing: -0.01em;
}
.stat dd span { color: var(--accent-soft); }

/* ---------- capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.cap-card {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cap-card:nth-child(1) { grid-column: span 7; }
.cap-card:nth-child(2) { grid-column: span 5; }
.cap-card:nth-child(3),
.cap-card:nth-child(4),
.cap-card:nth-child(5) { grid-column: span 4; }

.cap-card:hover {
  border-color: rgba(47, 128, 255, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(47, 128, 255, 0.12);
}

.cap-media { overflow: hidden; border-bottom: 1px solid var(--line); }

.cap-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.cap-media img { filter: saturate(0.92) brightness(0.95); }

.cap-card:hover .cap-media img { transform: scale(1.035); filter: saturate(1.05) brightness(1); }

.cap-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.cap-index {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.cap-card:hover .cap-index { color: var(--accent-soft); }

.cap-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--white);
}

.cap-body p { margin: 0 0 20px; font-size: 14.5px; color: var(--silver); }

.spec-list {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 8px;
}

.spec-list li {
  position: relative;
  padding-left: 16px;
  font-size: 10.5px;
  color: var(--muted);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 7px; height: 1px;
  background: var(--accent);
}

/* ---------- technology ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 27px; top: 30px; bottom: 30px;
  width: 1px;
  background: var(--line-strong);
}

.process-step { position: relative; }
.process-step + .process-step { margin-top: 8px; }

.process-step button {
  position: relative;
  display: flex;
  gap: 26px;
  width: 100%;
  text-align: left;
  padding: 20px 18px 20px 0;
  transition: background 0.2s var(--ease);
}

.process-step button::before {
  content: "";
  position: absolute;
  left: 23px; top: 50%;
  width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  z-index: 1;
}

.step-num {
  flex: none;
  width: 54px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.step-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--silver);
  transition: color 0.25s var(--ease);
}

.step-text {
  max-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: var(--muted);
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease);
}

.process-step.is-active .step-num { color: var(--accent-soft); }
.process-step.is-active .step-title { color: var(--white); }
.process-step.is-active button::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--glow);
}
.process-step.is-active .step-text { max-height: 140px; opacity: 1; }
.process-step button:hover .step-title { color: var(--white); }

.tech-figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.equipment {
  margin-top: 64px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(-45deg, rgba(196, 208, 222, 0.03) 0 1px, transparent 1px 12px),
    var(--panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.equip-label { font-size: 10.5px; color: var(--accent); padding-right: 8px; border-right: 1px solid var(--line-strong); }

.equip-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.equip-list li {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  font-size: 10.5px;
  color: var(--silver);
  background: rgba(7, 10, 13, 0.4);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.equip-list li:hover { border-color: var(--accent); color: var(--white); }

/* ---------- applications ---------- */

.app-banner {
  position: relative;
  margin: 0 0 64px;
  height: clamp(220px, 34vw, 380px);
  overflow: hidden;
}

.app-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
}

.app-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 17, 0.5), transparent 40%, rgba(10, 13, 17, 0.85));
}

.app-banner figcaption {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: 22px;
  z-index: 1;
  font-size: 11px;
  color: var(--white);
  background: rgba(7, 10, 13, 0.55);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  padding: 10px 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.app-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.app-tile {
  position: relative;
  padding: 28px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition: background 0.25s var(--ease);
}

.app-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.3s var(--ease);
}

.app-tile:hover { background: var(--panel-2); }
.app-tile:hover::before { height: 100%; }

.app-code { font-size: 10.5px; color: var(--accent-soft); }

.app-tile h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  color: var(--white);
}

.app-tile p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- contact ---------- */

.section-contact .sec-intro { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  margin-top: 64px;
}

.info-block { padding: 24px 0; border-top: 1px solid var(--line-strong); }
.info-block:first-child { padding-top: 4px; border-top: 0; }

.info-label { display: block; font-size: 10.5px; color: var(--accent); margin-bottom: 14px; }

.contact-info address {
  font-style: normal;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--silver);
}

.email-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.email-link {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.email-link:hover { color: var(--accent-soft); border-color: var(--accent); }

.copy-btn {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  color: var(--silver);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.copy-btn:hover { border-color: var(--accent); color: var(--white); }
.copy-btn.is-copied { border-color: var(--accent); color: var(--accent-soft); }

.status-row { margin-bottom: 16px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status-pill.is-open .status-dot {
  background: #37d67a;
  box-shadow: 0 0 10px rgba(55, 214, 122, 0.7);
  animation: pulse 2s infinite;
}

.status-pill.is-open { border-color: rgba(55, 214, 122, 0.45); color: var(--white); }

.status-pill.is-break .status-dot { background: #e8b93e; }
.status-pill.is-break { border-color: rgba(232, 185, 62, 0.45); color: var(--white); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(55, 214, 122, 0); }
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.hours th, .hours td {
  padding: 9px 14px 9px 0;
  text-align: left;
  border-bottom: 1px dashed var(--line);
  color: var(--silver);
  font-weight: 400;
}

.hours th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); width: 40%; }
.hours td { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.closed-row td { color: var(--muted); }

/* ---------- form ---------- */

.quote-form {
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label em { color: var(--accent-soft); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.18);
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: #e05d5d; }

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }

.form-note { margin: 0; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }
.form-note.is-error { color: #e05d5d; }
.form-note.is-ok { color: var(--accent-soft); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 44px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }

.footer-brand .brand-name { font-size: 14px; }
.footer-inc { font-size: 10px; color: var(--muted); letter-spacing: 0.2em; }
.footer-coords { font-size: 9.5px; color: var(--muted); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.footer-nav a { font-size: 10.5px; color: var(--muted); transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--accent-soft); }

.footer-legal {
  width: 100%;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted);
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .cue-dot { animation: none; top: 8px; }
  .status-pill.is-open .status-dot { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .cap-card:nth-child(n) { grid-column: span 6; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-left: 0; }
  .tech-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .company-figure { max-width: 520px; }
  .scroll-cue { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 10, 13, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }

  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a[data-navlink] { padding: 15px 4px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .site-nav a[data-navlink]::after { display: none; }
  .nav-foot { display: flex; }

  .brand-sub { display: none; }

  .section { padding: 78px 0 64px; }
  .sec-note { display: none; }
  .cap-card:nth-child(n) { grid-column: span 12; }
  .process::before { display: none; }
  .process-step button::before { display: none; }
  .step-num { width: auto; text-align: left; }
  .process-step button { gap: 18px; padding: 16px 0; }
  .step-text { max-height: 200px; opacity: 1; }
  .hero-specs { gap: 10px 28px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 11.5px; letter-spacing: 0.06em; max-width: 208px; overflow: hidden; text-overflow: ellipsis; }
  .hero-inner, .hero-specs { width: calc(100% - 40px); }
  .form-row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .footer-nav { margin-left: 0; }
}
