:root {
  --bg: #050a10;
  --bg-2: #0b121b;
  --panel: #111a25;
  --line: #1f2b3a;
  --text: #e8eef5;
  --muted: #8a9bb0;
  --red: #e5282c;
  --red-d: #c21e22;
  --green: #1f7a4d;
  --paper: #f3f5f8;
  --ink: #0b1018;
  --gutter: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  text-transform: uppercase;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: .01em;
}
.red { color: var(--red); }

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-ghost { border-color: #4a5a6e; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 12px 18px; font-size: 17px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 27, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; gap: 16px;
}
.logo { display: block; }
.logo img { height: 64px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--muted);
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 17px;
}
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 56px 0 72px; position: relative; overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(229, 40, 44, .14), transparent 70%),
    url("assets/patterns/blueprint.svg");
  background-size: auto, 120px 120px;
}
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); margin: 14px 0 22px; max-width: 16ch; }
.hero p.lead { color: var(--muted); font-size: 21px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-grid { display: grid; gap: 48px; }

/* Calibration label */
.label {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: 8px; padding: 26px 28px 20px;
  max-width: 460px; width: 100%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
}
.label::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--red) 0 38%, #0f1a28 38% 100%);
  border-radius: 8px 8px 0 0;
}
.label-top {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: center;
  padding-bottom: 18px; border-bottom: 2px solid var(--ink);
}
.label-top img { width: 100%; height: auto; }
.label address {
  font-style: normal; font-size: 13.5px; line-height: 1.45; color: #2a3646;
}
.label address span {
  display: block; font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: .02em; color: var(--red-d); margin-bottom: 3px; font-weight: 500;
}
.label-data { padding-top: 6px; }
.label-data div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed #c9d1db;
}
.label-data div:last-child { border-bottom: 0; }
.label-data dt {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 17px; color: #4a586b;
}
.label-data dd {
  font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 20px; letter-spacing: .02em;
}
.label-note {
  margin-top: 8px; font-size: 11.5px; color: #8590a0; font-family: "IBM Plex Mono", monospace;
}

/* Sections */
section { padding: 72px 0; }
.alt { background-color: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 36px; max-width: 40em; }
.section-head h2 { font-size: clamp(34px, 7vw, 54px); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; }

.cards { display: grid; gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-top: 3px solid var(--red); border-radius: 4px; padding: 24px;
}
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16.5px; }

.steps { display: grid; gap: 20px; counter-reset: s; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: "IBM Plex Mono", monospace; color: var(--red); font-size: 22px; padding-top: 2px;
}
.steps h3 { font-size: 24px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 16.5px; }

.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.areas li {
  border: 1px solid var(--line); background: var(--panel);
  padding: 8px 16px; border-radius: 999px; font-size: 16px;
}

/* Contact */
.contact-grid { display: grid; gap: 36px; }
/* Contact info cards */
.info-list { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.info-item {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: linear-gradient(180deg, var(--panel), #0d151f);
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 4px; padding: 18px 20px;
  transition: transform .15s, border-color .15s, background .15s;
}
.info-item:hover { transform: translateX(4px); border-color: #34475e; border-left-color: var(--red); background: #142030; }
.info-icon {
  flex: none; width: 48px; height: 48px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(229, 40, 44, .12); border: 1px solid rgba(229, 40, 44, .35);
}
.info-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.info-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.info-value { font-size: 18px; font-weight: 500; color: var(--text); line-height: 1.4; overflow-wrap: anywhere; }
.info-arrow { color: #4a5a6e; font-size: 22px; transition: color .15s, transform .15s; }
.info-item:hover .info-arrow { color: var(--red); transform: translateX(3px); }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted);
  font-family: "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea {
  font: inherit; font-size: 17px; text-transform: none; letter-spacing: 0;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
textarea { min-height: 96px; resize: vertical; }
select { font-family: "Barlow", system-ui, sans-serif; }
.form-msg { font-size: 15px; color: #6fd19c; min-height: 1.4em; }

.site-footer {
  background-color: var(--bg); border-top: 1px solid var(--line);
  padding: 64px 0 28px; text-align: center; color: var(--muted);
}
.footer-logo-link { display: block; width: fit-content; margin: 0 auto 22px; }
.footer-logo { height: 72px; width: auto; }
.footer-tag { font-size: 17px; }
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0;
  font-family: "Barlow Condensed", sans-serif; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 600; font-size: 18px;
}
.footer-nav a, .footer-contact a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-contact {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  font-size: 15.5px; margin-bottom: 36px;
}
.footer-contact b { color: var(--red); font-weight: 600; margin-right: 8px; }
.footer-rule {
  height: 1px; margin-bottom: 22px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.legal { font-size: 13px; color: #5d6c80; font-family: "IBM Plex Mono", monospace; }

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .nav { display: flex; }
  .hero { padding: 60px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  form { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto 1fr auto; gap: 12px 16px; }
  form label.full:has(textarea) { display: flex; flex-direction: column; }
  form textarea { flex: 1; }
  .form-msg:empty { display: none; }
  form .full, form button, form .form-msg { grid-column: 1 / -1; }
  input, select, textarea { padding: 10px 14px; }
  textarea { min-height: 84px; }
  #contact { padding: 56px 0; }
}

/* Glow line that travels under the logo */
.glow-line { position: relative; }
.glow-line::before, .glow-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; pointer-events: none;
}
.glow-line::before { height: 1px; background: rgba(255, 255, 255, .07); }
.glow-line::after {
  background: linear-gradient(90deg, transparent, var(--red) 50%, transparent) no-repeat;
  background-size: 30% 100%; background-position: -40% 0; opacity: 0;
  filter: drop-shadow(0 0 6px var(--red)) drop-shadow(0 0 12px rgba(229, 40, 44, .6));
  animation: glow-slide 6s ease-in-out infinite;
}
@keyframes glow-slide {
  0%, 55% { background-position: -40% 0; opacity: 0; }
  60%, 95% { opacity: 1; }
  100% { background-position: 140% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Annotated label section */
.label-section { background-color: var(--bg-2); border-block: 1px solid var(--line); padding: 72px 0 80px; }
.section-head.center { text-align: center; margin-inline: auto; }
.label-stage { position: relative; display: flex; justify-content: center; }
.label-stage .label { flex: none; }
.label-stage .note {
  position: absolute; width: 250px; font-size: 15px; line-height: 1.45; color: var(--muted);
}
.label-stage .note b {
  display: block; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text); font-size: 18px; line-height: 26px;
}
.note-l { right: calc(50% + 230px + 44px); text-align: right; }
.note-r { left: calc(50% + 230px + 44px); }
/* leader line: runs from the note to the label edge, at the height of the row it explains */
.label-stage .note::after {
  content: ""; position: absolute; top: 13px; width: 44px; height: 1px;
  background: var(--red); box-shadow: 0 0 6px var(--red);
}
.label-stage .note::before {
  content: ""; position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 8px var(--red);
}
.note-l::after { left: 100%; margin-left: 0; } .note-l::before { left: calc(100% + 44px - 4px); }
.note-r::after { right: 100%; } .note-r::before { right: calc(100% + 44px - 4px); }
@media (max-width: 1000px) {
  .label-stage { flex-direction: column; align-items: center; gap: 14px; }
  .label-stage .note { position: static; width: 100%; max-width: 460px; text-align: left; order: 2; }
  .label-stage .note::before, .label-stage .note::after { display: none; }
}

/* Hero extras */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.trust li {
  font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 9px;
}
.trust li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(63, 191, 127, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m3.5 7.2 2.2 2.2 4.8-4.8' fill='none' stroke='%233fbf7f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border: 1px solid rgba(63, 191, 127, .5);
}
.hero-steps { list-style: none; display: grid; gap: 14px; position: relative; max-width: 440px; width: 100%; justify-self: end; }
.hero-steps::before {
  content: ""; position: absolute; left: 37px; top: 40px; bottom: 40px; width: 1px;
  background: linear-gradient(180deg, var(--red), rgba(229, 40, 44, .1));
}
.hero-steps li {
  position: relative; display: flex; align-items: center; gap: 18px;
  background: linear-gradient(180deg, rgba(17, 26, 37, .92), rgba(13, 21, 31, .92));
  border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.hs-icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); box-shadow: 0 0 16px rgba(229, 40, 44, .55); position: relative; z-index: 1;
}
.hs-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-steps li div { position: relative; flex: 1; }
.hs-num { position: absolute; right: 0; top: -2px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #3d4c60; letter-spacing: .12em; }
.hero-steps h3 { font-size: 26px; }
.hero-steps p { font-size: 15px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 759px) { .hero-steps { justify-self: stretch; max-width: none; } }

/* Red glow on every section below the hero. The blueprint grid is hero-only. Section colours (--bg / --bg-2) alternate underneath. */
section:not(.hero), .site-footer {
  --glow-x: 15%;
  position: relative; overflow: hidden;
  background-image: radial-gradient(ellipse 55% 80% at var(--glow-x) 20%, rgba(229, 40, 44, .07), transparent 70%);
}
.label-section, #areas { --glow-x: 85%; }
.site-footer { --glow-x: 50%; }
section > .wrap, .site-footer > .wrap { position: relative; z-index: 1; }

/* Canvas that lights up random grid lines (see script.js) */
.grid-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
