/* ==========================================================================
   SENTINEL PEAK SOLUTIONS — styles.css
   Command-center aesthetic. Charcoal / navy / slate / muted teal.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --bg-deep:        #07090d;   /* deepest charcoal */
  --bg-base:        #0a0e13;   /* page background */
  --bg-panel:       #0f1620;   /* deep navy panel */
  --bg-card:        #131b26;   /* slate card */
  --bg-card-hi:     #182231;   /* hover card */
  --line:           #1f2a38;   /* primary border */
  --line-soft:      #161f2b;   /* subtle border */
  --line-bright:    #2a3a4f;   /* hover border */

  --text:           #e8ecf0;   /* primary text */
  --text-dim:       #9aa7b5;   /* secondary text */
  --text-faint:     #6b7888;   /* tertiary / labels */

  --accent:         #5ecfb8;   /* muted signal teal */
  --accent-bright:  #7fe0cc;
  --accent-dim:     rgba(94, 207, 184, 0.14);
  --accent-line:    rgba(94, 207, 184, 0.32);

  --signal-amber:   #d4a86a;   /* secondary signal (rare) */

  /* Type */
  --f-display: "Saira", system-ui, sans-serif;
  --f-body:    "Sora", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing — phi-influenced scale (~1.618 ratio) */
  --s-1: 0.382rem;
  --s-2: 0.618rem;
  --s-3: 1rem;
  --s-4: 1.618rem;
  --s-5: 2.618rem;
  --s-6: 4.236rem;
  --s-7: 6.854rem;

  /* Layout */
  --container: 1240px;
  --header-h:  72px;
  --radius:    2px;

  /* Motion */
  --ease:        cubic-bezier(.2, .7, .2, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --t-fast:      180ms;
  --t-med:       320ms;
  --t-slow:      640ms;
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-dim); color: var(--accent-bright); }

/* Accessible skip link */
.skip-link {
  position: absolute; top: -80px; left: 12px; z-index: 100;
  background: var(--accent); color: var(--bg-base);
  padding: 10px 16px; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND CANVAS
   -------------------------------------------------------------------------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

/* Static grid overlay layered behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(31, 42, 56, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 42, 56, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  border-top: 1px solid var(--line-soft);
}
.section-alt { background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-base) 100%); }

.section-head {
  max-width: 760px;
  margin-bottom: var(--s-5);
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  position: relative;
  padding-left: 22px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}
.section h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
  color: var(--text);
}
.section-lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0;
}

/* Utility */
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 14, 19, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 19, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(94, 207, 184, 0.18));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-top: 4px;
  text-transform: uppercase;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.primary-nav a {
  font-size: 13.5px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 2px;
  transition: color var(--t-fast) var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.primary-nav .nav-cta:hover { background: var(--accent-dim); border-color: var(--accent); }
.primary-nav .nav-cta::after { display: none; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px; height: 44px;
  padding: 0;
  border-radius: var(--radius);
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1px;
  background: var(--text);
  margin: 4px auto;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(10, 14, 19, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) clamp(1.25rem, 4vw, 2.5rem);
  z-index: 49;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 15px;
}
.mobile-menu a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--s-5));
  padding-bottom: var(--s-6);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: rgba(15, 22, 32, 0.6);
  border-radius: var(--radius);
  margin-bottom: var(--s-4);
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-dim);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-dim); }
  50%      { box-shadow: 0 0 0 8px rgba(94, 207, 184, 0.04); }
}

.hero-headline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  color: var(--text);
}
.hero-headline .accent { color: var(--accent); font-weight: 400; }

.hero-sub {
  max-width: 64ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  margin: 0 0 var(--s-5);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: var(--s-5);
}

.hero-trust {
  display: inline-block;
  color: var(--text-faint);
  border-left: 1px solid var(--accent-line);
  padding-left: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  max-width: 60ch;
}

/* Corner markers — decorative */
.corner-marker {
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--accent-line);
  z-index: 1;
}
.corner-marker.tl { top: calc(var(--header-h) + 24px); left: 24px; border-right: 0; border-bottom: 0; }
.corner-marker.tr { top: calc(var(--header-h) + 24px); right: 24px; border-left: 0; border-bottom: 0; }
.corner-marker.bl { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.corner-marker.br { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid;
  transition: all var(--t-med) var(--ease);
  position: relative;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-dim);
}
.btn-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 6px var(--accent-dim);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-bright);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   8. MISSION
   -------------------------------------------------------------------------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr; /* golden ratio split */
  gap: var(--s-5);
  align-items: start;
}
.mission-copy p {
  font-size: 1.08rem;
  color: var(--text-dim);
  margin: 0 0 var(--s-3);
  max-width: 62ch;
}
.mission-copy p:last-child { margin-bottom: 0; }

.mission-panel {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-panel) 100%);
  border: 1px solid var(--line);
  padding: var(--s-4);
  position: relative;
}
.mission-panel::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.panel-label {
  color: var(--accent);
  display: block;
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.principle-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.principle-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-list strong { color: var(--text); font-weight: 500; }

/* --------------------------------------------------------------------------
   9. SERVICES
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: var(--s-4);
  position: relative;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--accent-dim), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--accent-line);
  background: var(--bg-card-hi);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.service-card { display: flex; flex-direction: column; min-height: 100%; }
.card-index {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.card-icon {
  color: var(--accent);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line-soft);
  width: max-content;
  padding-right: var(--s-4);
}
.service-card h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-2);
  color: var(--text);
}
.service-card > p {
  color: var(--text-dim);
  font-size: 0.96rem;
  margin: 0 0 var(--s-4);
  flex-grow: 1;
}
.deliverables {
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-soft);
}
.deliverables-label {
  color: var(--accent);
  display: block;
  margin-bottom: var(--s-2);
}
.deliverables ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.deliverables li {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}
.deliverables li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   10. FRAMEWORK
   -------------------------------------------------------------------------- */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}
.pillar {
  padding: var(--s-4);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t-med) var(--ease);
}
.pillar:hover { background: var(--bg-card-hi); }
.pillar-num {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: var(--s-2);
  display: block;
}
.pillar h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}
.pillar p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. INDUSTRIES
   -------------------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
}
.industry {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: var(--s-3) var(--s-4);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.industry:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}
.industry-icon {
  width: 32px; height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.industry h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   12. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process-timeline {
  position: relative;
  padding-left: var(--s-4);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding-left: var(--s-3);
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  left: calc(var(--s-3) * -1 - var(--s-4) - 6px);
  top: 14px;
  width: 11px; height: 11px;
  background: var(--bg-base);
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.step::after {
  content: "";
  position: absolute;
  left: calc(var(--s-3) * -1 - var(--s-4) + 5px);
  top: 18px;
  width: var(--s-3);
  height: 1px;
  background: var(--accent-line);
}
.step-num {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding-top: 6px;
}
.step-body h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text);
}
.step-body p {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin: 0;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   13. ABOUT
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s-5);
  align-items: start;
}
.about-grid .lede {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 var(--s-3);
  max-width: 58ch;
}
.about-grid p {
  color: var(--text-dim);
  margin: 0 0 var(--s-3);
  max-width: 62ch;
}
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.stat {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: var(--s-3);
}
.stat-label {
  display: block;
  color: var(--accent);
  margin-bottom: 6px;
}
.stat-value {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. INSIGHTS
   -------------------------------------------------------------------------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--s-4);
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  position: relative;
}
.insight-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}
.insight-tag {
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border: 1px solid var(--accent-line);
  width: max-content;
  font-size: 10px;
}
.insight-card h3 {
  font-family: var(--f-display);
  font-size: 1.18rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}
.insight-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line-soft);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.link-arrow:hover { gap: 12px; color: var(--accent-bright); }

/* --------------------------------------------------------------------------
   15. CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-form {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  position: relative;
}
.contact-form::before,
.contact-form::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--accent);
  border-style: solid;
}
.contact-form::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.contact-form::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-hi);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4 L6 8 L10 4' fill='none' stroke='%235ecfb8' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-note {
  text-align: center;
  margin: 0;
  min-height: 18px;
}
.form-note.is-success { color: var(--accent); }
.form-note.is-error   { color: var(--signal-amber); }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-top: var(--s-5);
  padding-bottom: var(--s-3);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: var(--s-4);
  align-items: start;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.footer-mark {
  width: 48px; height: 48px;
  object-fit: contain;
  opacity: 0.92;
}
.footer-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.02em;
}
.footer-tag {
  margin: 4px 0 0;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: flex-end;
}
.footer-nav a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover { color: var(--accent); }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: var(--s-3);
}
.footer-bar .mono { font-size: 10px; color: var(--text-faint); }

/* --------------------------------------------------------------------------
   17. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .mission-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav ul { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .corner-marker { display: none; }
  .step { grid-template-columns: 60px 1fr; gap: var(--s-3); }
  .step-num { font-size: 18px; }
  .hero { padding-bottom: var(--s-5); }
  .hero-trust { font-size: 10px; }
}

@media (max-width: 480px) {
  .brand-text .brand-sub { display: none; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .btn { padding: 12px 18px; font-size: 11px; }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  #bg-canvas, .site-header, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
