/* ==========================================================================
   Audio Visual Australia Pty Ltd — "Signal Room"
   Art direction: dark-first control-room palette, phosphor-teal brand,
   signal-amber accent, sharp shape language, segmented level-meter motif.
   Single stylesheet. No @import, no external assets.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS — every colour, space, radius, shadow and type step lives here.
   Nothing below this block may hard-code a colour or a raw length.
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — dark field */
  --bg: #0f1114;
  --surface: #171a20;
  --surface-2: #1e232b;
  --surface-3: #252b34;

  /* Surfaces — light "paper" band */
  --paper: #f1efe9;
  --paper-surface: #fbfaf7;
  --paper-2: #e6e3da;

  /* Brand + accent */
  --brand: #4fb3a6;
  --brand-deep: #14504a;
  --brand-dim: #2f5f5a;
  --accent: #e9a63e;
  --accent-hi: #f5bb63;

  /* Text */
  --text: #e9ecf1;
  --text-muted: #a3adba;
  --ink: #14161a;
  --ink-muted: #4a5058;

  /* Lines */
  --border: #2a303a;
  --border-2: #353c48;
  --border-light: #d5d1c5;

  /* Alpha helpers */
  --brand-a10: rgba(79, 179, 166, 0.10);
  --brand-a18: rgba(79, 179, 166, 0.18);
  --brand-a30: rgba(79, 179, 166, 0.30);
  --accent-a12: rgba(233, 166, 62, 0.12);
  --glow-teal: rgba(79, 179, 166, 0.16);
  --glow-amber: rgba(233, 166, 62, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --nav-bg: rgba(15, 17, 20, 0.74);
  --focus-ring: rgba(233, 166, 62, 0.85);

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.38);
  --shadow-paper: 0 1px 2px rgba(20, 22, 26, 0.05), 0 8px 24px rgba(20, 22, 26, 0.07);
  --shadow-btn: 0 6px 18px rgba(233, 166, 62, 0.22);

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --section-y: clamp(3.25rem, 7.5vw, 6.5rem);

  /* Structure */
  --container: 1140px;
  --pad-x: 1.375rem;
  --measure: 66ch;
  --radius: 3px;
  --radius-sm: 2px;
  --radius-lg: 5px;
  --hair: 1px;
  --rule: 2px;
  --lift: -2px;

  /* Motif metrics */
  --meter-seg: 5px;
  --meter-pitch: 8px;
  --rule-h: 6px;
  --tick-h: 3px;
  --meter-w: 84px;
  --dot-pitch: 22px;
  --tile: 44px;
  --icon: 24px;
  --led: 7px;
  --dot-6: 6px;

  /* Type */
  --f-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
  --t-hero: clamp(2.25rem, 5vw, 4rem);
  --t-h1: clamp(2rem, 4.2vw, 3.1rem);
  --t-h2: clamp(1.6rem, 3vw, 2.4rem);
  --t-h3: 1.15rem;
  --t-lead: clamp(1.03rem, 1.5vw, 1.18rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-xs: 0.75rem;
  --t-eyebrow: 0.78rem;
  --t-svg: 9px;

  /* Motion */
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--s3);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 var(--s3); max-width: var(--measure); }
ul, ol { max-width: var(--measure); }

a { color: var(--accent); text-decoration-thickness: var(--hair); text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

svg { display: block; }

:focus-visible {
  outline: var(--rule) solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: var(--hair);
  height: var(--hair);
  margin: calc(var(--hair) * -1);
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(var(--s7) * -1);
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s3); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.mono { font-family: var(--f-mono); }
.muted { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   3. SIGNATURE MOTIF — segmented level meter
   -------------------------------------------------------------------------- */
.meter-rule {
  height: var(--rule-h);
  width: 100%;
  background-image:
    repeating-linear-gradient(90deg, var(--accent) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch)),
    repeating-linear-gradient(90deg, var(--brand-dim) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch));
  background-size: 26% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: left center, left center;
}

.meter-rule--sm {
  height: var(--tick-h);
  width: var(--meter-w);
  margin-bottom: var(--s4);
  background-size: 34% 100%, 100% 100%;
}

/* --------------------------------------------------------------------------
   4. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; }

.navbar {
  position: relative;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: var(--hair) solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--s6);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text);
  padding: var(--s1) 0;
}
.wordmark:hover { color: var(--text); }

.wordmark-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: var(--tile);
  height: var(--tile);
  background: var(--brand-deep);
  border: var(--hair) solid var(--brand-dim);
  border-radius: var(--radius);
  color: var(--brand);
  font-family: var(--f-mono);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wordmark-text { display: flex; flex-direction: column; line-height: 1.2; }
.wordmark-name { font-weight: 700; letter-spacing: -0.02em; font-size: var(--t-small); }
.wordmark-sub {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu { display: flex; align-items: center; gap: var(--s4); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: var(--s2) 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--tick-h);
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch));
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--tile);
  height: var(--tile);
  background: var(--surface-2);
  border: var(--hair) solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--brand-dim); color: var(--brand); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.8rem 1.6rem;
  border: var(--hair) solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover {
  background: var(--accent-hi);
  color: var(--ink);
  transform: translateY(var(--lift));
  box-shadow: var(--shadow-btn);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
  font-weight: 600;
}
.btn-outline:hover {
  color: var(--brand);
  border-color: var(--brand-dim);
  background: var(--brand-a10);
  transform: translateY(var(--lift));
}

.btn-sm { padding: var(--s2) var(--s3); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* --------------------------------------------------------------------------
   6. SECTIONS + HEADINGS
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt {
  background: var(--surface);
  border-top: var(--hair) solid var(--border);
  border-bottom: var(--hair) solid var(--border);
}
.section--tight { padding: var(--s5) 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin: 0 0 var(--s2);
  font-family: var(--f-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: var(--s1);
  height: var(--s1);
  background: var(--accent);
  border-radius: var(--radius-sm);
}

.section-head { max-width: var(--measure); margin-bottom: var(--s5); }
.section-title { margin-bottom: var(--s2); }
.section-lead { color: var(--text-muted); font-size: var(--t-lead); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--s7) 0 var(--s6);
  background-image:
    radial-gradient(120% 90% at 78% 4%, var(--glow-teal), transparent 62%),
    radial-gradient(90% 70% at 6% 104%, var(--glow-amber), transparent 66%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-soft) var(--hair), transparent var(--hair));
  background-size: var(--dot-pitch) var(--dot-pitch);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule-h);
  background-image:
    repeating-linear-gradient(90deg, var(--accent) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch)),
    repeating-linear-gradient(90deg, var(--brand-dim) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch));
  background-size: 26% 100%, 100% 100%;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--s6);
  align-items: center;
}

.hero-copy { max-width: var(--measure); min-width: 0; }

.hero-title {
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s3);
}
.hero-title em { font-style: normal; color: var(--brand); }

.hero-lead {
  font-size: var(--t-lead);
  color: var(--text-muted);
  max-width: var(--measure);
  margin-bottom: var(--s4);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  list-style: none;
  margin: var(--s5) 0 0;
  padding: 0;
  max-width: none;
}

.tag {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--s1) var(--s2);
  background: var(--surface);
}

/* Rack-style panel — hero visual anchor, reused for content panels */
.hero-panel {
  min-width: 0;
  border: var(--hair) solid var(--border-2);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-bottom: var(--hair) solid var(--border);
  background: var(--surface-3);
}

.panel-label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel-dots { display: flex; gap: var(--s1); margin-left: auto; }
.panel-dot { width: var(--dot-6); height: var(--dot-6); border-radius: 50%; background: var(--border-2); }
.panel-dot--on { background: var(--brand); }
.panel-dot--sig { background: var(--accent); }

.panel-body { padding: var(--s4) var(--s3); }
.panel-body .check-list { margin-top: 0; }

.chain-svg { width: 100%; height: auto; color: var(--brand); }
.chain-node { fill: none; stroke: currentColor; stroke-width: 1.5; }
.chain-wire { fill: none; stroke: var(--brand-dim); stroke-width: 1.5; }
.chain-label { fill: var(--text-muted); font-family: var(--f-mono); font-size: var(--t-svg); letter-spacing: 0.1em; }
.chain-bar { fill: var(--brand-dim); }
.chain-bar--on { fill: var(--brand); }
.chain-bar--sig { fill: var(--accent); }

/* --------------------------------------------------------------------------
   8. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--s6) 0 var(--s5);
  background-image:
    radial-gradient(110% 120% at 88% 0%, var(--glow-teal), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-soft) var(--hair), transparent var(--hair));
  background-size: var(--dot-pitch) var(--dot-pitch);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule-h);
  background-image:
    repeating-linear-gradient(90deg, var(--accent) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch)),
    repeating-linear-gradient(90deg, var(--brand-dim) 0 var(--meter-seg), transparent var(--meter-seg) var(--meter-pitch));
  background-size: 26% 100%, 100% 100%;
  background-repeat: no-repeat;
}
.page-hero-inner { position: relative; max-width: var(--measure); }
.page-title { margin-bottom: var(--s2); }
.page-lead { color: var(--text-muted); font-size: var(--t-lead); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. VALUE PROPS
   -------------------------------------------------------------------------- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.prop { border-top: var(--rule) solid var(--border-2); padding-top: var(--s3); min-width: 0; }
.prop h3 { margin-bottom: var(--s1); }
.prop p { color: var(--text-muted); font-size: var(--t-small); margin-bottom: 0; }

.icon-tile {
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  margin-bottom: var(--s3);
  border: var(--hair) solid var(--brand-a30);
  border-radius: var(--radius);
  background: var(--brand-a10);
  color: var(--brand);
}
.icon-tile svg { width: var(--icon); height: var(--icon); }

/* --------------------------------------------------------------------------
   10. SERVICES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.service-card {
  display: block;
  min-width: 0;
  padding: var(--s4);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(var(--lift));
  border-color: var(--brand-dim);
  background: var(--surface-2);
  color: var(--text);
}
.service-card--static:hover {
  transform: none;
  border-color: var(--border);
  background: var(--surface);
}

.service-title { margin-bottom: var(--s1); color: var(--text); }
.service-text { color: var(--text-muted); font-size: var(--t-small); margin-bottom: 0; }

.service-meta {
  display: block;
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: var(--hair) solid var(--border);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   11. SPLIT BAND (two columns, breaks the stack)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: var(--s6);
  align-items: center;
}
.split-copy { max-width: var(--measure); min-width: 0; }
.split-visual { min-width: 0; }
.split--reverse .split-visual { order: -1; }

.check-list { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: var(--s4);
  margin-bottom: var(--s2);
  font-size: var(--t-small);
  color: var(--text-muted);
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: var(--s2);
  height: var(--tick-h);
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   12. PAPER BAND (the single light, full-bleed band)
   -------------------------------------------------------------------------- */
.section--paper {
  background: var(--paper);
  color: var(--ink);
  border-top: var(--hair) solid var(--border-light);
  border-bottom: var(--hair) solid var(--border-light);
}
.section--paper h2,
.section--paper h3 { color: var(--ink); }
.section--paper p { color: var(--ink-muted); }
.section--paper .section-lead { color: var(--ink-muted); }
.section--paper .eyebrow { color: var(--brand-deep); }
.section--paper .eyebrow::before { background: var(--brand-deep); }
.section--paper .check-list li { color: var(--ink-muted); }
.section--paper .check-list li::before { background: var(--brand-deep); }
.section--paper .step { border-bottom-color: var(--border-light); }
.section--paper .step-num { color: var(--brand-deep); }
.section--paper .step p { color: var(--ink-muted); }
.section--paper .btn-outline { color: var(--ink); border-color: var(--border-light); }
.section--paper .btn-outline:hover { color: var(--brand-deep); border-color: var(--brand-deep); background: var(--brand-a10); }

/* CSS-drawn equipment rack — illustration for the paper band */
.rack {
  border: var(--hair) solid var(--border-light);
  border-radius: var(--radius);
  background: var(--paper-surface);
  box-shadow: var(--shadow-paper);
  padding: var(--s2);
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  margin-bottom: var(--s1);
  border: var(--hair) solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.rack-unit:last-child { margin-bottom: 0; }
.rack-unit--blank { background: var(--paper-2); }

.rack-leds { display: flex; flex: none; gap: var(--s1); }
.led { width: var(--led); height: var(--led); border-radius: 50%; background: var(--border-light); }
.led--on { background: var(--brand-deep); }
.led--sig { background: var(--accent); }

.rack-label { font-family: var(--f-mono); font-size: var(--t-small); color: var(--ink); letter-spacing: -0.01em; }
.rack-ru { margin-left: auto; font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-muted); letter-spacing: 0.08em; }
.rack-caption {
  margin: var(--s2) 0 0;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   13. CREDENTIALS STRIP (factual only)
   -------------------------------------------------------------------------- */
.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  padding: var(--s4);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.cred { border-left: var(--rule) solid var(--brand-dim); padding-left: var(--s3); min-width: 0; }
.cred-label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.cred-value { display: block; font-family: var(--f-mono); font-size: var(--t-small); color: var(--text); }

/* --------------------------------------------------------------------------
   14. PROCESS STEPS (a genuine sequence, so numbering carries information)
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; max-width: none; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-bottom: var(--hair) solid var(--border);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  font-family: var(--f-mono);
  font-size: var(--t-small);
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: var(--s1);
}
.step-body { min-width: 0; }
.step-title { margin-bottom: var(--s1); }
.step p { color: var(--text-muted); font-size: var(--t-small); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. SECTORS
   -------------------------------------------------------------------------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.sector {
  min-width: 0;
  padding: var(--s3);
  border: var(--hair) solid var(--border);
  border-left: var(--rule) solid var(--brand-dim);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.sector-name { display: block; font-weight: 700; margin-bottom: var(--s1); letter-spacing: -0.01em; }
.sector-text { display: block; color: var(--text-muted); font-size: var(--t-small); }

/* --------------------------------------------------------------------------
   16. CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s5);
  align-items: start;
}

.info-panel,
.form-panel {
  min-width: 0;
  padding: var(--s4);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.form-panel { box-shadow: var(--shadow-2); }

.info-row { padding: var(--s3) 0; border-bottom: var(--hair) solid var(--border); }
.info-row:last-of-type { border-bottom: 0; }
.info-label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s1);
}
.info-value { display: block; font-size: var(--t-small); color: var(--text); overflow-wrap: anywhere; }

.form { margin-top: var(--s4); }
.field { margin-bottom: var(--s3); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.label {
  display: block;
  margin-bottom: var(--s1);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.required { color: var(--accent); }

.input,
.textarea,
.select {
  width: 100%;
  padding: var(--s2) var(--s3);
  background: var(--bg);
  border: var(--hair) solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-small);
  transition: border-color var(--dur) var(--ease);
}
.input:hover,
.textarea:hover,
.select:hover { border-color: var(--brand-dim); }
.textarea { min-height: var(--s7); resize: vertical; line-height: 1.6; }

.form-note {
  margin: var(--s3) 0 0;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal { max-width: var(--measure); }
.legal h2 {
  font-size: var(--t-h3);
  margin-top: var(--s5);
  margin-bottom: var(--s2);
  padding-top: var(--s3);
  border-top: var(--hair) solid var(--border);
}
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal p { color: var(--text-muted); font-size: var(--t-small); }
.legal ul { margin: 0 0 var(--s3); padding-left: var(--s4); color: var(--text-muted); font-size: var(--t-small); }
.legal li { margin-bottom: var(--s1); }
.legal strong { color: var(--text); }

.legal-updated {
  display: inline-block;
  margin: 0 0 var(--s5);
  padding: var(--s1) var(--s2);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
  background-image:
    radial-gradient(80% 140% at 82% 50%, var(--brand-a18), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-top: var(--hair) solid var(--border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: var(--s5);
  align-items: center;
}
.cta-title { margin-bottom: var(--s2); }
.cta-text { color: var(--text-muted); margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--surface); color: var(--text-muted); }
.footer-top { padding: var(--s6) 0 var(--s5); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s5);
}

.footer-col { min-width: 0; }
.footer-title {
  margin: 0 0 var(--s3);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
}

.footer-blurb { font-size: var(--t-small); color: var(--text-muted); margin: var(--s3) 0; max-width: var(--measure); }

.footer-mono {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s2); }
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--t-small);
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease);
}
.footer-link:hover { color: var(--brand); }

.footer-bottom { border-top: var(--hair) solid var(--border); background: var(--bg); padding: var(--s3) 0; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  justify-content: space-between;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
.footer-copy { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s5); }
  .split { grid-template-columns: 1fr; gap: var(--s5); }
  .split--reverse .split-visual { order: 0; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
  .cta-inner { grid-template-columns: 1fr; gap: var(--s4); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s2);
    padding: var(--s3) var(--pad-x) var(--s4);
    background: var(--surface);
    border-bottom: var(--hair) solid var(--border);
    box-shadow: var(--shadow-2);
  }
  .nav-menu.is-open { display: flex; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: var(--s2) 0; border-bottom: var(--hair) solid var(--border); }
  .nav-link.is-active::after { right: auto; width: var(--meter-w); }

  /* The hero's decorative anchor may drop; content panels elsewhere must not. */
  .hero { min-height: 0; padding: var(--s6) 0 var(--s5); }
  .hero .hero-panel { display: none; }

  .props-grid,
  .services-grid,
  .sector-grid { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-bottom-inner { justify-content: flex-start; }
  .btn { justify-content: center; }
  .btn-row .btn { flex: 1 1 auto; }
  .step { grid-template-columns: 1fr; gap: var(--s1); }
  .step-num { padding-top: 0; }
}

@media (max-width: 400px) {
  .wordmark-name { font-size: var(--t-xs); }
  .rack-unit { gap: var(--s2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover,
  .service-card:hover { transform: none; }
}
