@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ESS Executive Security Services
   Original visual system inspired by the brochure's deep-blue / silver /
   glass / optical-illusion mood, without copying any prior site structure. */

:root {
  --bg: #06112d;
  --bg-2: #091a45;
  --panel: rgba(9, 18, 48, 0.72);
  --panel-strong: rgba(8, 16, 42, 0.9);
  --line: rgba(140, 186, 255, 0.18);
  --line-strong: rgba(140, 186, 255, 0.3);
  --text: #edf5ff;
  --muted: rgba(229, 238, 252, 0.86);
  --soft: rgba(229, 238, 252, 0.74);
  --blue: #4fb4ff;
  --blue-2: #99d9ff;
  --blue-3: #2757ff;
  --silver: #d8e0eb;
  --silver-2: #a8b6c9;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Manrope, Inter, "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(79, 180, 255, 0.16), transparent 42%),
    radial-gradient(900px 700px at 90% 20%, rgba(153, 217, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #071333 0%, #050b1c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 68px 68px,
    radial-gradient(circle at 50% 24%, rgba(143, 214, 255, 0.08), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(91, 126, 255, 0.1), transparent 28%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.75) 35%, rgba(0,0,0,.55) 100%);
  opacity: 0.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5,10,24,0.96), rgba(5,10,24,0.76));
  border-bottom: 1px solid rgba(168, 182, 201, 0.12);
}
.topbar .shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand__icon {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 24px rgba(79,180,255,.22));
}
.brand__meta { min-width: 0; }
.brand__name {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 800;
}
.brand__sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(12, 24, 61, 0.72);
  outline: none;
}
.nav .cta {
  color: #02101f;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  box-shadow: 0 12px 34px rgba(79, 180, 255, 0.24);
  border-color: transparent;
  font-weight: 800;
}
.nav .cta:hover,
.nav .cta:focus-visible {
  color: #02101f;
  background: linear-gradient(135deg, #c9f0ff, #7ccaff);
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(168, 182, 201, 0.16);
  border-radius: 999px;
  background: rgba(10, 18, 41, 0.72);
  color: var(--text);
  padding: 0.75rem 1rem;
}

.hero {
  position: relative;
  padding: 3.6rem 0 1.5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
}
.kicker::before {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-2));
}
.hero h1 {
  margin: 1rem 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.1rem, 6.2vw, 6.2rem);
  line-height: 0.91;
  letter-spacing: -0.035em;
  max-width: 12ch;
  text-wrap: balance;
}
.hero h1 em,
.section-title em,
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: #f2f7ff;
}
.lead {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 182, 201, 0.18);
  background: rgba(12, 19, 44, 0.74);
  color: var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}
.btn:hover,
.btn:focus-visible {
  border-color: var(--line-strong);
  background: rgba(18, 29, 66, 0.9);
  outline: none;
}
.btn--primary {
  background: linear-gradient(135deg, #c9f0ff, #66b9ff);
  color: #03101c;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(79, 180, 255, 0.25);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  color: #03101c;
  background: linear-gradient(135deg, #e7f8ff, #8ac8ff);
}

.hero__panel,
.card,
.panel,
.cta,
.metric,
.service,
.timeline__item,
.note,
.contact-card {
  background: linear-gradient(180deg, rgba(12, 21, 50, 0.92), rgba(9, 16, 39, 0.82));
  border: 1px solid rgba(168, 182, 201, 0.14);
  box-shadow: var(--shadow);
}
.hero__panel {
  position: relative;
  border-radius: var(--radius-xl);
  min-height: 620px;
  overflow: hidden;
  padding: 1.2rem;
}
.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__panel::before {
  background:
    radial-gradient(circle at 30% 20%, rgba(124, 202, 255, 0.42), transparent 16%),
    radial-gradient(circle at 68% 36%, rgba(79, 180, 255, 0.26), transparent 12%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 34%, rgba(255,255,255,.02) 70%);
  mix-blend-mode: screen;
}
.hero__panel::after {
  inset: 22px;
  border-radius: 22px;
  border: 1px solid rgba(150, 214, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 30%),
    repeating-linear-gradient(90deg, rgba(128, 213, 255, 0.08) 0 2px, transparent 2px 20px),
    repeating-linear-gradient(0deg, rgba(128, 213, 255, 0.06) 0 2px, transparent 2px 22px);
  mask-image: radial-gradient(circle at center, black 35%, transparent 78%);
  opacity: 0.62;
}
.panel-stack {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.panel-top {
  display: grid;
  gap: 0.9rem;
}
.crew-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: transparent;
}
.team-shot {
  margin: 1.2rem 0 1.4rem;
}
.crew-photo--section {
  display: block;
  max-width: 920px;
  margin-inline: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.25));
}
.section-head {
  max-width: 66ch;
  margin: 0 auto 1.35rem;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0.9rem auto 0;
}
.emblem {
  width: min(280px, 88%);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 18px 30px rgba(79, 180, 255, 0.18));
}
.hero__badge {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  align-self: start;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 26, 59, 0.86);
  border: 1px solid rgba(168, 182, 201, 0.22);
  color: var(--blue-2);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tunnel {
  position: relative;
  min-height: 290px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%),
    radial-gradient(circle at center, rgba(83, 193, 255, 0.18), transparent 54%),
    linear-gradient(180deg, rgba(17, 34, 81, 0.98), rgba(6, 12, 32, 0.98));
  overflow: hidden;
  border: 1px solid rgba(140, 186, 255, 0.24);
}
.tunnel::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border: 2px solid rgba(139, 217, 255, 0.56);
  box-shadow:
    0 0 18px rgba(124, 202, 255, 0.42),
    inset 0 0 36px rgba(124, 202, 255, 0.18);
  transform: perspective(500px) rotateX(66deg) scaleY(0.58);
  transform-origin: center;
}
.tunnel::after {
  content: "";
  position: absolute;
  inset: 18% 18%;
  border: 1px solid rgba(198, 238, 255, 0.52);
  box-shadow:
    0 0 12px rgba(124, 202, 255, 0.32),
    inset 0 0 18px rgba(124, 202, 255, 0.2);
  transform: perspective(500px) rotateX(66deg) scaleY(0.58);
  transform-origin: center;
}
.tunnel__steps {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.tunnel__steps span {
  position: absolute;
  border: 1px solid rgba(139, 217, 255, 0.54);
  border-radius: 18px;
  box-shadow: 0 0 16px rgba(79, 180, 255, 0.22);
}
.tunnel__steps span:nth-child(1) { width: 82%; height: 82%; }
.tunnel__steps span:nth-child(2) { width: 67%; height: 67%; }
.tunnel__steps span:nth-child(3) { width: 52%; height: 52%; }
.tunnel__steps span:nth-child(4) { width: 39%; height: 39%; }
.tunnel__steps span:nth-child(5) { width: 28%; height: 28%; }
.tunnel__steps span:nth-child(6) { width: 19%; height: 19%; }
.tunnel__glow {
  position: absolute;
  inset: auto 18% 15% 18%;
  height: 18px;
  border-radius: 999px;
  filter: blur(14px);
  background: radial-gradient(circle, rgba(153,217,255,.95), transparent 70%);
  opacity: 0.9;
}
.tunnel__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(10, 20, 47, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 182, 201, 0.18);
}
.tunnel__label strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tunnel__label span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 1.4rem 0 3rem;
}
.section--tight { padding-top: 0.25rem; }
.section-head {
  max-width: 66ch;
  margin-bottom: 1.35rem;
}
.section-head .eyebrow {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--blue-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}
.section-head h2,
.display {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.section-head p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0.9rem 0 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.card,
.service,
.metric,
.timeline__item,
.note,
.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}
.metric h3,
.service h3,
.card h3,
.contact-card h3,
.timeline__item h3,
.note h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.metric p,
.service p,
.card p,
.contact-card p,
.timeline__item p,
.note p {
  color: var(--muted);
  line-height: 1.75;
}
.metric .num {
  color: var(--blue-2);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.metric .label {
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
}
.service {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
}
.service .eyebrow,
.note .eyebrow,
.contact-card .eyebrow {
  display: inline-flex;
  color: var(--blue-2);
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service .photo {
  margin: -1.2rem -1.2rem 1rem;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(168, 182, 201, 0.14);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(42, 81, 145, 0.7), rgba(10, 17, 44, 0.96));
}
.service .photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(1.1) contrast(1.04); }
.service .photo.placeholder {
  display: grid;
  place-items: center;
  color: rgba(233, 245, 255, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}
.service .photo.placeholder::before {
  content: "";
  width: 60%;
  height: 60%;
  border-radius: 24px;
  border: 1px solid rgba(153, 217, 255, 0.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(153,217,255,.16), transparent 52%),
    repeating-linear-gradient(135deg, rgba(153,217,255,.08) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent);
  transform: perspective(560px) rotateX(66deg);
}
.badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  margin-bottom: 0.35rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 182, 201, 0.22);
  color: #e6eefb;
  background: rgba(11, 20, 47, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: stretch;
}
.story {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 18, 45, 0.95), rgba(8, 14, 35, 0.85));
  border: 1px solid rgba(168, 182, 201, 0.14);
  box-shadow: var(--shadow);
}
.story h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}
.story p { color: var(--muted); line-height: 1.82; }
.story ul {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}
.story li { margin-bottom: 0.4rem; }
.callout {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(140, 186, 255, 0.16);
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 180, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(13, 24, 56, 0.96), rgba(7, 12, 31, 0.92));
  box-shadow: var(--shadow);
}
.callout h3 { margin: 0; font-size: 1.25rem; }
.callout p { color: var(--muted); line-height: 1.75; }
.callout .btn { margin-top: 0.8rem; }

.timeline {
  display: grid;
  gap: 1rem;
}
.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: start;
}
.timeline__item .year {
  color: var(--blue-2);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0.2rem;
}
.timeline__item h3 { margin-bottom: 0.4rem; }
.timeline__item p { margin: 0; }

.cta {
  margin: 1.3rem 0 1.4rem;
  border-radius: var(--radius-xl);
  padding: 1.9rem 1.5rem 1.7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(79, 180, 255, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(11, 20, 50, 0.96), rgba(6, 11, 27, 0.94));
}
.cta > div:first-child { max-width: 58ch; }
.cta h2,
.cta h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.cta p { color: var(--muted); line-height: 1.75; margin: 0.5rem auto 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.client-wall-section {
  position: relative;
  margin: 1.2rem 0 2.6rem;
  padding: 2.2rem 0 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(6, 10, 24, 0.98), rgba(4, 8, 20, 0.94));
  border: 1px solid rgba(168, 182, 201, 0.12);
  overflow: hidden;
}
.client-wall-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(79, 180, 255, 0.14), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(244, 196, 60, 0.08), transparent 28%);
  pointer-events: none;
}
.client-wall-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.client-wall-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 0.65rem;
}
.client-wall-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.06;
  color: var(--text);
}
.client-wall-sub {
  margin: 0.85rem auto 1.15rem;
  max-width: 64rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--muted);
}
#canvas-container {
  position: relative;
  width: 100%;
  height: min(480px, 58vw);
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 12, 24, 0.75), rgba(4, 8, 20, 0.96));
  border: 1px solid rgba(168, 182, 201, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 18px 44px rgba(0,0,0,0.28);
}
#canvas-container canvas {
  display: block;
}
@media (max-width: 760px) {
  .client-wall-section { margin: 1rem 0 2rem; padding: 1.6rem 0 1.2rem; }
  .client-wall-title { font-size: 1.45rem; }
  .client-wall-sub { font-size: 0.72rem; letter-spacing: 0.1em; }
  #canvas-container { height: 300px; min-height: 240px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #canvas-container { background: linear-gradient(180deg, rgba(9, 12, 24, 0.9), rgba(4, 8, 20, 0.98)); }
}

.footer {
  border-top: 1px solid rgba(168, 182, 201, 0.12);
  background: rgba(4, 9, 22, 0.9);
  padding: 2rem 0 2.6rem;
}
.footer .shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  align-items: start;
}
.footer h4 {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.8;
}
.footer a:hover,
.footer a:focus-visible { color: var(--text); }
.footer .fine {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: var(--soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer .mini {
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-credit {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 182, 201, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--soft);
}
.footer-credit a {
  color: var(--blue-2);
  text-decoration: none;
}
.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--text); }

.note {
  border-radius: var(--radius-xl);
  margin-top: 1rem;
}
.note strong { color: var(--blue-2); }
.contact-card .phone {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 0.4rem;
}
.form {
  display: grid;
  gap: 0.9rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.form input,
.form textarea {
  border: 1px solid rgba(168, 182, 201, 0.16);
  background: rgba(8, 15, 38, 0.72);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(124, 202, 255, 0.28);
  border-color: rgba(124, 202, 255, 0.55);
}
.form textarea { min-height: 160px; resize: vertical; }

@media (max-width: 980px) {
  .hero__grid,
  .split,
  .grid-4,
  .grid-3,
  .grid-2,
  .cta,
  .footer .shell {
    grid-template-columns: 1fr;
  }
  .hero__panel { min-height: 540px; }
  .timeline__item { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  /* ---- responsive spacing scale ---- */
  .shell { width: min(var(--max), calc(100% - 1.3rem)); }
  .topbar .shell { flex-wrap: wrap; row-gap: 0.7rem; padding: 0.7rem 0; }
  .brand { gap: 0.7rem; }
  .brand__icon { width: 56px; height: 56px; }
  .brand__name { font-size: 0.9rem; letter-spacing: 0.2em; }
  .brand__sub { font-size: 0.74rem; letter-spacing: 0.16em; }
  .hero { padding: 1.8rem 0 0.8rem; }
  .hero__grid { gap: 1.2rem; }
  .hero h1 { max-width: 100%; font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .lead { font-size: 1.02rem; line-height: 1.72; }
  .hero__panel { min-height: 420px; }
  .section { padding: 1.1rem 0 2.2rem; }
  .section-head { margin-bottom: 1.1rem; text-align: left; }
  .section-head p { margin-top: 0.7rem; }
  .grid-4, .grid-3, .grid-2, .split, .cta { gap: 0.85rem; }
  .card, .service, .metric, .timeline__item, .note, .contact-card { padding: 1.05rem; }
  .story, .callout { padding: 1.15rem; }
  .service .photo { margin: -1.05rem -1.05rem 0.9rem; }
  .badge-row { gap: 0.45rem; }
  .badge { letter-spacing: 0.1em; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

  /* ---- mobile navigation ---- */
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.05rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    border-color: rgba(168, 182, 201, 0.3);
    background: rgba(12, 22, 52, 0.85);
  }
  .menu-btn:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
  .nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(168, 182, 201, 0.16);
  }
  .nav.is-open { display: flex; }
  .nav a,
  .nav .cta {
    flex: 0 0 auto;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    border: 1px solid rgba(168, 182, 201, 0.16);
    background: rgba(11, 20, 47, 0.66);
  }
  .nav .cta {
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
  }
  .nav a::after { display: none; }
  .nav a.is-active,
  .nav a[aria-current="page"] {
    border-color: rgba(153, 217, 255, 0.55);
    background: rgba(20, 38, 84, 0.9);
  }
}

@media (max-width: 460px) {
  .shell { width: min(var(--max), calc(100% - 1.05rem)); }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 2.8rem); }
  .hero__actions { gap: 0.6rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta .actions { justify-content: stretch; }
  .cta .actions .btn { flex: 1 1 100%; }
  .footer .shell { gap: 1.1rem; }
}

/* ===== PERSISTENT MOBILE CALL ACTION (phones only) ===== */
.call-bar {
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(153, 217, 255, 0.42);
  background: linear-gradient(135deg, #c9f0ff, #66b9ff);
  color: #03101c;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(6, 17, 45, 0.55);
  text-transform: none;
  letter-spacing: 0;
}
.call-bar__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: rgba(3, 16, 28, 0.14);
  font-size: 1.1rem;
}
.call-bar__copy { display: grid; gap: 0.05rem; min-width: 0; }
.call-bar__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}
.call-bar__copy span {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(3, 16, 28, 0.78);
  line-height: 1.2;
}
.call-bar__go {
  margin-left: auto;
  font-size: 1.15rem;
  font-weight: 800;
}
.call-bar:active { transform: translateY(1px); }
.call-bar:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 760px) {
  .call-bar { display: flex; }
}

/* ===== SERVICE CARD CALLS TO ACTION ===== */
.service__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  margin-top: auto;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(153, 217, 255, 0.45);
  background: linear-gradient(135deg, rgba(201, 240, 255, 0.16), rgba(79, 180, 255, 0.14));
  color: #d9eeff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}
.service__cta-arrow { transition: transform 0.28s ease; }
.service__cta:hover,
.service__cta:focus-visible {
  color: #03101c;
  border-color: transparent;
  background: linear-gradient(135deg, #c9f0ff, #66b9ff);
  outline: none;
}
.service__cta:hover .service__cta-arrow,
.service__cta:focus-visible .service__cta-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .service__cta, .service__cta-arrow { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ESS content protection: page content is not selectable or copyable
   (form fields and the phone number stay usable). */
body { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
input, textarea, [contenteditable] { user-select: text; -webkit-user-select: text; }

/* ===== DYNAMIC MOTION — approved ESS design (8/22) =====
   Slow, structural, security-brand movement. No floating or cursor orbs. */

/* 1) Hero panel scan sweep + targeting corner brackets */
.hero__panel { position: relative; overflow: hidden; }
.hero__panel::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -20%; height: 22%;
  background: linear-gradient(180deg, transparent, rgba(124,202,255,.16), rgba(124,202,255,.02), transparent);
  animation: essScan 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes essScan {
  0%   { transform: translateY(-10px); }
  50%  { transform: translateY(calc(100% + 40px)); }
  100% { transform: translateY(calc(100% + 40px)); }
}
.hero__panel .corner {
  position: absolute; width: 26px; height: 26px;
  border: 1.5px solid rgba(124,202,255,.5);
  pointer-events: none; z-index: 3;
  animation: essCornerPulse 4s ease-in-out infinite;
}
.hero__panel .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero__panel .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; animation-delay: 2s; }
@keyframes essCornerPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* 2) Elegant nav underline sweep */
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: .4rem; transform: translateX(-50%);
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  transition: width .32s ease; opacity: 0;
}
.nav a:hover::after,
.nav a:focus-visible::after { width: 72%; opacity: 1; }
.nav a.cta::after { display: none; }

/* 2b) Active page indicator */
.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(153, 217, 255, 0.42);
  background: linear-gradient(180deg, rgba(26, 48, 100, 0.85), rgba(13, 25, 63, 0.8));
  box-shadow: inset 0 0 0 1px rgba(153, 217, 255, 0.1), 0 10px 26px rgba(0, 0, 0, 0.28);
  font-weight: 800;
}
.nav a.is-active::after,
.nav a[aria-current="page"]::after {
  width: 72%;
  opacity: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
}

/* 3) Button shimmer on hover */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s ease;
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateX(100%); }

@media (prefers-reduced-motion: reduce) {
  .hero__panel::after { animation: none; }
  .hero__panel .corner { animation: none; }
  .nav a::after { transition: none; }
}
