/* ── TOKENS ── */
/* "Night Shift + Cold Storage" palette. --hazard now carries the Red (Subtle
   Accent) role (borders/labels/alerts/hovers) and --signal now carries the
   Amber (Accent) role (CTAs/icons/key numbers) — the two new roles map
   directly onto the two existing var names' established jobs across the
   site, so this is a value swap, not a selector rewrite. --frost and
   --walkway are new: --frost covers links/interactive highlights (nav hover,
   active state), --walkway is reserved narrowly for the diagonal
   warehouse-tape divider detail, used sparingly by design. */
:root {
  --steel:    #101416; /* Near Black (Base) */
  --steel2:   #0F2F35; /* Deep Teal (Primary) */
  --paper:    #C8D0D0; /* Stainless Steel (Neutral) */
  --paper2:   #DCE2E2; /* light tint of Stainless, for on-paper card backgrounds */
  --concrete: #82A3A5; /* muted teal-grey, for secondary text on dark */
  --hazard:   #A34836; /* Red (Subtle Accent) — borders/labels/alerts/hovers */
  --signal:   #D69A32; /* Amber (Accent) — CTAs/icons/key numbers */
  --ink:      #101416;
  --border-d: rgba(200,208,208,0.14);
  --border-l: rgba(16,20,22,0.14);
  --frost:    #3E8F91; /* Frost Teal (Secondary) — links/highlights */
  --walkway:  #F1C232; /* Yellow (Subtle Accent) — walkway-tape divider only */
  --mhe-red:       #C8202C; /* MHE livery red (Linde-style) — forklift/reach/PPT/LLOP/shunter body colour only */
  --mhe-red-dark:  #7A1017; /* MHE livery red, shadow-side panel */
  --mhe-red-mid:   #9E1A22; /* MHE livery red, mid-tone side panel */
  --mhe-red-light: #D8434E; /* MHE livery red, highlight face */
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--steel);
  color: var(--paper);
  overflow-x: hidden;
}
::selection { background: var(--signal); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--steel); }
::-webkit-scrollbar-thumb { background: var(--hazard); border-radius: 2px; }

.display { font-family: 'Archivo Black', sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(28,32,35,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-d);
}
.nav-logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1rem; letter-spacing: 0.02em;
  color: var(--paper); text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--hazard); }
.nav-links { display: flex; gap: 1.3rem; list-style: none; }
.nav-links a {
  color: var(--concrete); font-size: 0.76rem; text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--frost); }
.nav-cta {
  background: var(--signal); color: #fff; text-decoration: none;
  padding: 0.55rem 1.2rem; border-radius: 2px; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--paper); }

/* ── PAGE HERO (used on every inner page) ── */
.page-hero {
  padding: 9rem 2rem 4rem;
  background: var(--steel);
  border-bottom: 1px solid var(--border-d);
  position: relative; overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.page-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--concrete); margin-bottom: 1.2rem;
  font-family: 'IBM Plex Mono', monospace;
}
.page-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--hazard); }
.page-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.2rem;
}
.page-hero-sub { font-size: 1.02rem; color: var(--concrete); max-width: 620px; line-height: 1.7; }

/* ── HOME HERO (full height, only on index.html) ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 2rem 0;
  position: relative; overflow: hidden;
  background: var(--steel);
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--concrete); margin-bottom: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--hazard); }
h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1.6rem;
}
h1 .accent { color: var(--hazard); }
.hero-sub {
  font-size: 1.05rem; color: var(--concrete); max-width: 540px;
  line-height: 1.7; margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary {
  background: var(--signal); color: #fff;
  padding: 0.9rem 2rem; border-radius: 2px;
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  transition: transform 0.2s, opacity 0.2s;
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-secondary {
  border: 1px solid var(--border-d); color: var(--concrete);
  padding: 0.9rem 2rem; border-radius: 2px; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--hazard); color: var(--paper); }

/* ── MANIFEST STRIP ── */
.manifest-strip {
  background: var(--steel2);
  border-top: 1px solid var(--border-d);
  border-bottom: 2px solid var(--hazard);
  padding: 0.9rem 2rem;
  overflow-x: auto;
  white-space: nowrap;
}
.manifest-inner {
  max-width: 900px; margin: 0 auto;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hazard);
  display: flex; gap: 0.6rem; align-items: center;
}
.manifest-inner .sep { color: var(--concrete); }

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hazard); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--hazard); }
.on-paper .section-label { color: var(--signal); }
.on-paper .section-label::after { background: var(--signal); }
h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.1; margin-bottom: 1rem;
}
h3.sub-heading {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.2; margin-bottom: 0.8rem;
}
.section-sub { color: var(--concrete); max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }
.on-paper .section-sub { color: #4A5158; }

.on-paper { background: var(--paper); color: var(--ink); }
.on-steel { background: var(--steel); color: var(--paper); }

/* ── PIPELINE DIAGRAM ── */
.pipeline-diagram { max-width: 900px; margin: 0 0 3rem; overflow-x: auto; }
.pipeline-diagram svg { display: block; min-width: 700px; width: 100%; height: auto; }

/* ── BAYS (services) ── */
.bays-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.bay-card {
  background: var(--steel2); border: 1px solid var(--border-d);
  border-top: 3px solid var(--hazard);
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}
.bay-card:hover { transform: translateY(-4px); border-top-color: var(--signal); }
.bay-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hazard); margin-bottom: 0.8rem;
}
.bay-card h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.15rem; line-height: 1.3;
  margin-bottom: 0.6rem; color: var(--paper);
}
.bay-tagline { color: var(--concrete); font-size: 0.85rem; font-style: italic; margin-bottom: 1rem; }
.bay-card p.bay-body { color: var(--concrete); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; }
.bay-price {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--signal); border: 1px solid var(--signal);
  display: inline-block; padding: 0.4rem 0.9rem; border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: opacity 0.2s, background 0.2s;
}
.bay-price:hover { opacity: 0.8; background: rgba(214,154,50,0.1); }

/* ── TRUST STRIP ── */
.trust-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.trust-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--border-l); color: var(--ink);
  padding: 0.5rem 1rem; border-radius: 20px;
}
.trust-pill.on-steel-pill { border-color: var(--border-d); color: var(--paper); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; }
.about-text p { line-height: 1.8; margin-bottom: 1.1rem; font-size: 0.95rem; color: #33383E; }
.about-text p strong { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem; }
.stat-card {
  background: var(--paper2); border: 1px solid var(--border-l);
  padding: 1.3rem; border-top: 2px solid var(--signal);
}
.stat-tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.5rem; }
.about-map { margin-top: 3rem; }
.map-wrap { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; border: 1px solid var(--border-l); }
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.map-caption { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: #5A6168; letter-spacing: 0.02em; margin-top: 0.8rem; }
.stat-num { font-family: 'Archivo Black', sans-serif; font-size: 1.7rem; color: var(--ink); }
.stat-label { font-size: 0.72rem; color: #5A6168; letter-spacing: 0.04em; margin-top: 0.2rem; line-height: 1.5; }
.stat-label strong { color: var(--ink); }

/* ── ROI ── */
.roi-box {
  background: var(--paper2); border: 1px solid var(--border-l); border-left: 3px solid var(--signal);
  padding: 1.6rem 1.8rem; max-width: 720px; margin-top: 1.5rem;
}
.roi-box p { font-size: 0.92rem; line-height: 1.75; color: #33383E; margin: 0; }
.roi-box p strong { color: var(--ink); }
.roi-box .roi-caveat { font-size: 0.78rem; color: #5A6168; font-style: italic; margin-top: 0.8rem; }

/* ── PROCESS ── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step-num {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600;
  font-size: 0.85rem; color: var(--hazard);
  border: 1px solid var(--hazard);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step h4 { font-family: 'Archivo Black', sans-serif; font-size: 0.95rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.85rem; color: var(--concrete); line-height: 1.6; }

/* ── FIT (who this is for / not for) ── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; }
.fit-card { background: #fff; border: 1px solid var(--border-l); padding: 1.8rem; }
.fit-card.for { border-top: 3px solid var(--hazard); }
.fit-card.not-for { border-top: 3px solid var(--concrete); }
.fit-card h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.fit-card.for h4 { color: var(--signal); }
.fit-card.not-for h4 { color: #7A8087; }
.fit-card ul { padding-left: 1.1rem; margin: 0; }
.fit-card li { font-size: 0.88rem; color: #33383E; margin-bottom: 0.6rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 720px; }
.faq-item { background: #fff; border: 1px solid var(--border-l); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--ink);
}
.faq-icon {
  font-family: 'IBM Plex Mono', monospace; color: var(--signal); font-size: 1.2rem;
  flex-shrink: 0; transition: transform 0.2s; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 260px; }
.faq-answer p { font-size: 0.86rem; line-height: 1.7; color: #4A5158; padding: 0 1.3rem 1.1rem; }

/* ── DEMONSTRATION WORKFLOWS ── */
.demo-disclaimer { font-size: 0.78rem; color: #8A9098; max-width: 640px; margin-bottom: 2.2rem; font-style: italic; line-height: 1.6; }
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.demo-card { background: #fff; border: 1px solid var(--border-l); border-top: 3px solid var(--signal); padding: 1.8rem; }
.demo-tag { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.7rem; }
.demo-card h4 { font-family: 'Archivo Black', sans-serif; font-size: 1rem; color: var(--ink); margin-bottom: 1.1rem; line-height: 1.3; }
.demo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1rem; }
.demo-col h5 { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.demo-col.before h5 { color: #6B7A7B; }
.demo-col.after h5 { color: var(--signal); }
.demo-col ul { padding-left: 1.1rem; margin: 0; }
.demo-col li { font-size: 0.8rem; color: #4A5158; margin-bottom: 0.45rem; line-height: 1.5; }
.demo-note { font-size: 0.78rem; color: #5A6168; font-style: italic; border-top: 1px dashed var(--border-l); padding-top: 0.8rem; margin: 0; }

/* ── WORKFLOW DIAGRAM (illustrated before/after sequence) ── */
.demo-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }
.demo-tag-row .demo-tag { margin-bottom: 0; }
.wf-mhe-badge { flex-shrink: 0; opacity: 0.85; }
.workflow-diagram { background: var(--steel2); border: 1px solid var(--border-d); border-radius: 10px; padding: 0.9rem 0.6rem 0.5rem; margin-bottom: 1.1rem; max-width: 860px; }
.workflow-diagram svg { width: 100%; height: auto; display: block; min-width: 0; }

/* ── PROBLEMS PAGE ── */
.problem-block { border-bottom: 1px solid var(--border-d); padding: 3rem 0; }
.problem-block:first-of-type { padding-top: 0; }
.problem-block:last-of-type { border-bottom: none; }
.problem-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--hazard); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.problem-block h3 { font-family: 'Archivo Black', sans-serif; font-size: 1.5rem; color: var(--paper); margin-bottom: 1.2rem; line-height: 1.25; }
.problem-block p { color: var(--concrete); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1.1rem; max-width: 760px; }
.problem-block p strong { color: var(--paper); }
.problem-tag-out { display: inline-block; margin-top: 0.4rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal); border: 1px solid var(--signal); padding: 0.4rem 0.85rem; border-radius: 2px; text-decoration: none; }
.problem-tag-out:hover { background: rgba(214,154,50,0.1); }

/* ── WHY DRAKULIC PAGE ── */
.why-primary { max-width: 760px; margin-bottom: 3rem; }
.why-primary .why-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hazard); margin-bottom: 0.8rem; }
.why-primary p { font-size: 1.05rem; line-height: 1.8; color: var(--paper); }
.why-primary p strong { color: var(--hazard); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.why-card { background: var(--steel2); border: 1px solid var(--border-d); border-top: 3px solid var(--concrete); padding: 1.8rem; }
.why-card .why-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--concrete); letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.why-card h4 { font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; margin-bottom: 0.7rem; color: var(--paper); }
.why-card p { color: var(--concrete); font-size: 0.88rem; line-height: 1.7; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; align-items: start; }
.contact-info p { line-height: 1.8; font-size: 0.92rem; margin-bottom: 2rem; color: #33383E; }
.contact-detail {
  display: flex; align-items: center; gap: 0.8rem;
  color: #33383E; font-size: 0.88rem; margin-bottom: 1rem;
  text-decoration: none;
}
.contact-detail:hover { color: var(--signal); }
.contact-detail .icon {
  width: 34px; height: 34px; background: var(--paper2);
  border: 1px solid var(--border-l);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5A6168; font-family: 'IBM Plex Mono', monospace; }
input, textarea, select {
  background: #fff; border: 1px solid var(--border-l);
  color: var(--ink); padding: 0.8rem 1rem; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--signal); }
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--signal); color: #fff; border: none;
  padding: 0.9rem 2rem; border-radius: 2px; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace; cursor: pointer;
}
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { font-size: 0.78rem; color: #5A6168; }
.form-success {
  display: none; background: rgba(26,120,80,0.1); border: 1px solid rgba(26,120,80,0.4);
  border-radius: 4px; padding: 1rem; color: #1a7850; font-size: 0.88rem; text-align: center;
}
.form-error {
  display: none; background: rgba(163,72,54,0.12); border: 1px solid rgba(163,72,54,0.4);
  border-radius: 4px; padding: 1rem; color: var(--hazard); font-size: 0.88rem; text-align: center;
}

/* ── LOCAL AREA PAGES ── */
.local-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0 3rem; }
.local-fact-card { background: var(--steel2); border: 1px solid var(--border-d); border-top: 3px solid var(--hazard); padding: 1.6rem; }
.local-fact-card h4 { font-family: 'Archivo Black', sans-serif; font-size: 1rem; color: var(--paper); margin-bottom: 0.6rem; }
.local-fact-card p { color: var(--concrete); font-size: 0.86rem; line-height: 1.65; }

.staffs-knot { flex-shrink: 0; }
.page-eyebrow .staffs-knot { width: 18px; height: 18px; }

.town-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 0 0 3rem; }
.town-photo { background: var(--steel2); border: 1px solid var(--border-d); overflow: hidden; }
.town-photo img { display: block; width: 100%; height: 240px; object-fit: cover; }
.town-photo .photo-caption { padding: 0.9rem 1.1rem 0.4rem; font-family: 'Archivo Black', sans-serif; font-size: 0.85rem; color: var(--paper); }
.town-photo .photo-credit { padding: 0 1.1rem 1rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--concrete); letter-spacing: 0.02em; }
.town-photo .photo-credit a { color: var(--concrete); text-decoration: underline; }
.town-photo .photo-credit a:hover { color: var(--hazard); }
.areas-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 640px; }
.areas-list a.area-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 1px solid var(--border-l); padding: 1.1rem 1.4rem;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.areas-list a.area-link:hover { border-color: var(--signal); }
.areas-list a.area-link span.arrow { color: var(--signal); font-family: 'IBM Plex Mono', monospace; }
.areas-note { font-size: 0.82rem; color: #5A6168; max-width: 640px; margin-top: 1.5rem; line-height: 1.7; }

/* ── LEGAL ── */
.legal-list { max-width: 640px; }
.legal-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border-d); }
.legal-item:last-child { border-bottom: none; }
.legal-item-name { font-size: 0.95rem; color: var(--paper); }
.legal-item-desc { font-size: 0.78rem; color: var(--concrete); margin-top: 0.2rem; }
.legal-item a { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--hazard); text-decoration: none; white-space: nowrap; }
.legal-item a:hover { text-decoration: underline; }
.legal-note { margin-top: 2.5rem; font-size: 0.82rem; color: var(--concrete); max-width: 640px; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 2rem; text-align: center;
  border-top: 1px solid var(--border-d);
  color: var(--concrete); font-size: 0.8rem;
  font-family: 'IBM Plex Mono', monospace;
  background: var(--steel);
}
footer a { color: var(--concrete); text-decoration: none; }
footer a:hover { color: var(--hazard); }
footer .footer-line { margin-bottom: 0.5rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 60px; left: 0; right: 0; background: var(--steel2);
    padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--border-d);
    z-index: 99;
  }
  .hero { padding: 7rem 1.2rem 0; }
  .page-hero { padding: 8rem 1.2rem 3rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .demo-cols { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 4rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── VIRGIL CHAT WIDGET ── */
.chat-toggle {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 4px;
  background: var(--signal);
  border: none; cursor: pointer; color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.chat-toggle:hover { transform: translateY(-2px); }
.chat-toggle::after {
  content: ''; position: absolute; inset: -5px; border-radius: 4px;
  border: 2px solid var(--hazard); opacity: 0;
  animation: chatPulseRing 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulseRing { 0% { opacity: 0.55; } 100% { opacity: 0; transform: scale(1.15); } }

.chat-window {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 200;
  width: 340px; max-width: calc(100vw - 2rem);
  height: 460px; max-height: calc(100vh - 8rem);
  background: var(--steel2); border: 1px solid var(--border-d);
  border-top: 3px solid var(--hazard);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-window.open { display: flex; }
.chat-header {
  background: var(--steel);
  padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-d);
}
.chat-header-title { font-family: 'Archivo Black', sans-serif; font-size: 0.9rem; color: var(--paper); }
.chat-header-sub { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: var(--concrete); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.chat-close { background: none; border: none; color: var(--paper); font-size: 1.1rem; cursor: pointer; opacity: 0.8; }
.chat-close:hover { opacity: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chat-msg { max-width: 84%; padding: 0.6rem 0.85rem; border-radius: 2px; font-size: 0.84rem; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--steel); color: var(--paper); border-left: 2px solid var(--hazard); }
.chat-msg.user { align-self: flex-end; background: var(--signal); color: #fff; }
.chat-msg a { color: inherit; text-decoration: underline; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.8rem; }
.chat-suggest-btn {
  background: var(--steel); border: 1px solid var(--border-d); color: var(--concrete);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem; padding: 0.35rem 0.7rem; border-radius: 2px; cursor: pointer;
}
.chat-suggest-btn:hover { border-color: var(--hazard); color: var(--paper); }
.chat-input-row { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--border-d); }
.chat-input {
  flex: 1; background: var(--steel); border: 1px solid var(--border-d); color: var(--paper);
  padding: 0.6rem 0.8rem; border-radius: 2px; font-size: 0.84rem; outline: none;
  font-family: 'Inter', sans-serif;
}
.chat-input:focus { border-color: var(--hazard); }
.chat-send {
  background: var(--signal); border: none; color: #fff; width: 38px; height: 38px;
  border-radius: 2px; cursor: pointer; flex-shrink: 0; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.chat-send:hover { opacity: 0.85; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.15rem 0.2rem; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--concrete); animation: chatTypingBounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 480px) {
  .chat-window { right: 1rem; bottom: 5rem; width: calc(100vw - 2rem); }
  .chat-toggle { right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .chat-toggle::after, .chat-typing span { animation: none; } }

/* ── MAP PLACEHOLDER (consent-gated) ── */
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: var(--paper2); padding: 1.5rem; gap: 1rem;
}
.map-placeholder p { font-size: 0.8rem; color: #5A6168; max-width: 380px; line-height: 1.6; }
.map-load-btn {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--ink); color: var(--paper); border: none; padding: 0.7rem 1.3rem; cursor: pointer;
}
.map-load-btn:hover { background: var(--signal); }

/* ── WALKWAY DIVIDER (signature detail — used sparingly) ── */
.hazard-divider {
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--hazard) 0 12px, var(--walkway) 12px 24px);
}

/* ── HERO PHOTO (real stock photography, dimmed background behind hero text) ── */
.hero-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.4; filter: saturate(0.75) contrast(1.05);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--steel) 0%, var(--steel) 28%, rgba(16,20,22,0.55) 55%, rgba(16,20,22,0.15) 100%),
    linear-gradient(0deg, var(--steel) 0%, rgba(16,20,22,0.25) 25%, transparent 55%);
}
@media (max-width: 900px) {
  .hero-photo { display: none; }
}

/* ── LIVE OPERATIONS PANEL ── */
.ops-panel { background: var(--steel2); border: 1px solid var(--border-d); border-radius: 10px; padding: 2rem; margin-bottom: 3rem; }
.ops-panel-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.ops-panel-label { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--frost); }
.ops-panel-illustrative { font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; letter-spacing: 0.03em; color: var(--concrete); font-style: italic; }
.ops-panel .pipeline-diagram { margin: 0 0 1.8rem; }

.ops-ticker {
  background: var(--steel); border: 1px solid var(--border-d); border-left: 3px solid var(--walkway);
  border-radius: 4px; padding: 0.9rem 1.2rem; margin-bottom: 1.8rem;
  position: relative; height: 1.5rem; overflow: hidden;
}
.ops-ticker-item {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.82rem; color: var(--paper);
  position: absolute; left: 1.2rem; right: 1.2rem; top: 0.85rem;
  opacity: 0; transition: opacity 0.5s ease;
}
.ops-ticker-item.active { opacity: 1; }
.ops-ticker-item::before { content: '● '; color: var(--frost); }

.ops-gauge-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.ops-gauge-controls label {
  display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--concrete); font-family: 'IBM Plex Mono', monospace; margin-bottom: 0.7rem;
}
.ops-gauge-controls input[type="range"] { width: 100%; accent-color: var(--signal); }
.ops-gauge-readout { margin-top: 0.6rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: var(--paper); }
.ops-gauge { text-align: center; }
.ops-gauge-svg { width: 180px; height: auto; }
.ops-gauge-value { font-family: 'Archivo Black', sans-serif; font-size: 1.4rem; color: var(--paper); margin-top: -1.4rem; }
.ops-gauge-unit { font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; color: var(--concrete); margin-left: 0.3rem; }
.ops-gauge-caveat { font-size: 0.74rem; color: var(--concrete); font-style: italic; margin: 1.2rem 0 0; }
@media (max-width: 700px) {
  .ops-gauge-row { grid-template-columns: 1fr; }
  .ops-gauge { justify-self: center; }
}

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--steel); color: var(--paper); border-top: 3px solid var(--hazard);
  padding: 1.2rem 1.5rem; display: none;
}
.cookie-banner.open { display: block; }
.cookie-banner-inner { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; justify-content: space-between; }
.cookie-banner p { font-size: 0.82rem; line-height: 1.6; color: var(--concrete); max-width: 560px; margin: 0; }
.cookie-banner p a { color: var(--paper); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-btn {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.65rem 1.1rem; border: 1px solid var(--hazard); background: transparent; color: var(--paper); cursor: pointer;
}
.cookie-btn:hover { background: var(--steel2); }
.cookie-btn.primary { background: var(--hazard); color: var(--ink); border-color: var(--hazard); }
.cookie-btn.primary:hover { opacity: 0.9; background: var(--hazard); }
.cookie-panel {
  display: none; max-width: 960px; margin: 1rem auto 0; padding-top: 1rem; border-top: 1px solid var(--border-d);
}
.cookie-panel.open { display: block; }
.cookie-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--border-d); }
.cookie-cat:last-of-type { border-bottom: none; }
.cookie-cat-name { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--paper); margin-bottom: 0.3rem; }
.cookie-cat-desc { font-size: 0.78rem; color: var(--concrete); line-height: 1.5; max-width: 480px; }
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; margin-top: 0.2rem; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-track { position: absolute; inset: 0; background: var(--steel2); border: 1px solid var(--border-d); border-radius: 11px; cursor: pointer; transition: background 0.2s; }
.cookie-toggle-track::before { content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: var(--concrete); border-radius: 50%; transition: transform 0.2s, background 0.2s; }
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--signal); }
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(18px); background: var(--paper); }
.cookie-toggle input:disabled + .cookie-toggle-track { cursor: not-allowed; opacity: 0.6; }
.cookie-panel-actions { margin-top: 1rem; display: flex; justify-content: flex-end; }
.cookie-footer-link { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
