:root {
  --void: #05080c;
  --carbon: #0e151b;
  --panel: #121d25;
  --panel-2: #182630;
  --gunmetal: #1a252e;
  --line: #294653;
  --line-strong: #00d9ff;
  --electric: #009dff;
  --ice: #f4fbff;
  --steel: #aebbc5;
  --muted: #7e909d;
  --amber: #f6a92b;
  --ink: #d9e8ef;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ecs-page {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--ice);
  color: var(--void);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(226, 242, 248, 0.9), rgba(133, 168, 181, 0.82)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(0, 217, 255, 0.08));
  border-bottom: 1px solid rgba(141, 242, 255, 0.46);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22), inset 0 -1px 0 rgba(5, 8, 12, 0.18);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.28rem 0.5rem;
  text-decoration: none;
}

.brand-lockup::before {
  content: "";
  position: absolute;
  inset: 2px -16px 0 -16px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(5, 8, 12, 0.3), rgba(0, 157, 255, 0.16) 44%, rgba(0, 217, 255, 0) 74%);
  filter: blur(8px);
}

.brand-lockup img {
  width: clamp(250px, 21vw, 390px);
  height: auto;
  filter: brightness(1.08) contrast(1.18) saturate(1.12) drop-shadow(0 0 14px rgba(0, 217, 255, 0.34)) drop-shadow(0 2px 3px rgba(3, 6, 8, 0.38));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: #17313d;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.62rem 0.78rem;
  border-radius: 6px;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: #031016;
  background: rgba(244, 251, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(5, 8, 12, 0.08), 0 0 18px rgba(0, 217, 255, 0.12);
  outline: none;
}

.nav-links .nav-cta {
  margin-left: 0.35rem;
  color: #031016;
  background: #00c8ed;
  box-shadow: 0 8px 22px rgba(0, 157, 255, 0.24);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #031016;
  background: #67ebff;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(5, 8, 12, 0.22);
  background: rgba(244, 251, 255, 0.42);
  border-radius: 6px;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #031016;
}

.section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.section.tight {
  padding: clamp(42px, 6vw, 76px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--line-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ice);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.05rem, 4.2vw, 3.72rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 1.25rem;
  color: var(--steel);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
}

.hero {
  min-height: clamp(680px, calc(100vh - 80px), 860px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.98) 0%, rgba(5, 8, 12, 0.82) 44%, rgba(5, 8, 12, 0.42) 100%),
    url("../img/ecs/ecs-eye-detail.png") 78% center / cover no-repeat,
    var(--void);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -4% -3%;
  z-index: -2;
  background:
    linear-gradient(rgba(0, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.42;
  animation: hero-grid-drift 18s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.1), rgba(5, 8, 12, 0.7)),
    linear-gradient(110deg, rgba(5, 8, 12, 0.96) 0%, rgba(5, 8, 12, 0.76) 48%, rgba(5, 8, 12, 0.26) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 820px;
  min-width: 0;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(0, 217, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px),
    rgba(7, 16, 22, 0.84);
  background-size: 34px 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), inset 0 0 80px rgba(0, 217, 255, 0.08);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18% -28% auto auto;
  width: 74%;
  height: 58%;
  background: linear-gradient(135deg, rgba(141, 242, 255, 0.18), rgba(0, 217, 255, 0));
  clip-path: polygon(36% 0, 100% 0, 66% 100%, 0 100%);
  opacity: 0.45;
  animation: panel-sweep 7s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 251, 255, 0.08), transparent 18%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.hero-seal-stage {
  position: absolute;
  inset: 3rem 2rem auto;
  display: grid;
  place-items: center;
}

.hero-seal-stage img {
  width: min(86%, 360px);
  filter: drop-shadow(0 0 42px rgba(0, 217, 255, 0.42));
  animation: seal-float 7s ease-in-out infinite;
}

.hero-readout {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 7.6rem;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-readout span {
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(0, 217, 255, 0.18);
  background: rgba(5, 8, 12, 0.7);
  color: var(--steel);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-reel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-reel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(141, 242, 255, 0.22);
  border-radius: 6px;
  opacity: 0.86;
  animation: reel-lift 8s ease-in-out infinite;
}

.hero-reel img:nth-child(2) {
  animation-delay: 700ms;
}

.hero-reel img:nth-child(3) {
  animation-delay: 1400ms;
}

.media-ribbon {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  border-top: 1px solid rgba(0, 217, 255, 0.18);
  border-bottom: 1px solid rgba(0, 217, 255, 0.18);
  background: #03070a;
}

.media-ribbon-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 1rem;
  animation: media-ribbon-scroll 42s linear infinite;
}

.media-ribbon-track img {
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 6px;
  opacity: 0.82;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background:
    linear-gradient(110deg, rgba(5, 8, 12, 0.98) 0%, rgba(8, 17, 23, 0.92) 52%, rgba(5, 8, 12, 0.76) 100%),
    url("../img/ecs/ecs-eye-detail.png") 92% center / min(58vw, 760px) auto no-repeat,
    var(--void);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -2;
  background:
    linear-gradient(rgba(0, 217, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.48;
  animation: hero-grid-drift 28s linear infinite;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 34%, rgba(0, 217, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.02), rgba(5, 8, 12, 0.72));
  pointer-events: none;
}

.page-hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-panel {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 217, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.055) 1px, transparent 1px),
    rgba(8, 17, 23, 0.86);
  background-size: 34px 34px;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.34), inset 0 0 74px rgba(0, 217, 255, 0.06);
}

.page-hero-panel::before {
  content: "";
  position: absolute;
  inset: -28% -34% auto auto;
  width: 76%;
  height: 64%;
  background: linear-gradient(135deg, rgba(141, 242, 255, 0.15), rgba(0, 217, 255, 0));
  clip-path: polygon(36% 0, 100% 0, 66% 100%, 0 100%);
  opacity: 0.34;
  animation: panel-sweep 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.panel-header span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(141, 242, 255, 0.48);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.32);
}

.panel-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.signal-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(0, 217, 255, 0.16);
  border-radius: 6px;
  background: rgba(5, 8, 12, 0.58);
}

.signal-row span {
  color: var(--line-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
}

.signal-row strong {
  color: var(--ice);
  line-height: 1.2;
}

.signal-row small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.panel-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(141, 242, 255, 0.22);
  border-radius: 7px;
  background: #071016;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.panel-screen.contain {
  object-fit: contain;
  padding: 0.5rem;
}

.panel-screen-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.panel-screen + .signal-stack,
.panel-screen-grid + .signal-stack {
  margin-top: 0.75rem;
}

.hero-panel-seal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 250px;
}

.hero-panel-seal img {
  width: min(78%, 300px);
  filter: drop-shadow(0 0 38px rgba(0, 217, 255, 0.36));
  animation: seal-float 9s ease-in-out infinite;
}

.proof-line {
  margin-top: 1rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
}

.availability-note {
  max-width: 560px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 217, 255, 0.42);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: #041017;
  background: var(--line-strong);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.24);
}

.button.secondary {
  color: var(--ice);
  background: rgba(0, 217, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--carbon), #091016);
  border-top: 1px solid rgba(0, 217, 255, 0.16);
  border-bottom: 1px solid rgba(0, 217, 255, 0.16);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.034) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.38;
  pointer-events: none;
}

.band > .section-inner {
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--steel);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-content > *,
.page-hero-inner > *,
.section-inner > *,
.section-head > *,
.split > *,
.card-grid > *,
.showcase-grid > *,
.contact-panel > *,
.footer-grid > * {
  min-width: 0;
}

.service-card,
.work-card,
.showcase-card,
.principle,
.note-card {
  position: relative;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(18, 29, 37, 0.95), rgba(10, 17, 22, 0.96));
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before,
.work-card::before,
.showcase-card::before,
.principle::before,
.note-card::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.78), rgba(246, 169, 43, 0.56), transparent);
  opacity: 0.46;
}

.service-card:hover,
.work-card:hover,
.showcase-card:hover,
.principle:hover,
.note-card:hover {
  border-color: rgba(0, 217, 255, 0.36);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), 0 0 28px rgba(0, 217, 255, 0.08);
  transform: translateY(-3px);
}

.service-card h3,
.work-card h3,
.showcase-card h3,
.principle h3,
.note-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p,
.work-card p,
.showcase-card p,
.principle p,
.note-card p {
  color: var(--steel);
}

.screenshot-frame {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 210px;
  aspect-ratio: 16 / 9;
  margin: -0.2rem -0.2rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(141, 242, 255, 0.24);
  border-radius: 7px;
  background: #071016;
}

@supports (overflow: clip) {
  body.ecs-page,
  .media-ribbon {
    overflow-x: clip;
  }
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-frame.contain img {
  object-fit: contain;
  padding: 0.65rem;
}

.screenshot-frame.light {
  background: #f4fbff;
}

.screenshot-fallback {
  place-items: center;
  background:
    linear-gradient(rgba(0, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(0, 217, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #101b23, #071016 54%, #0e2029);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.screenshot-fallback::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244, 251, 255, 0.08);
  border-radius: 6px;
}

.screenshot-fallback::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 180px;
  aspect-ratio: 1;
  background: url("../img/ecs/ecs-eye-mark.png") center / contain no-repeat;
  opacity: 0.16;
  filter: drop-shadow(0 0 26px rgba(0, 217, 255, 0.28));
}

.screenshot-fallback span {
  position: relative;
  z-index: 1;
  max-width: 70%;
  color: var(--ice);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.scope-status {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 6px;
  color: var(--line-strong) !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.service-card ul,
.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0.42rem 0;
  color: var(--steel);
}

.service-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--line-strong);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.7);
}

.process-list {
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(174, 187, 197, 0.18);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  color: var(--amber);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.process-step p {
  color: var(--steel);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.sigil-panel {
  min-height: 410px;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 217, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.06) 1px, transparent 1px),
    #071016;
  background-size: 36px 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sigil-panel img {
  width: min(72%, 420px);
  filter: drop-shadow(0 0 42px rgba(0, 217, 255, 0.35));
}

.work-meta {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.work-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--line-strong);
  font-weight: 800;
  text-decoration: none;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.contact-form {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  background: var(--panel);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--steel);
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(174, 187, 197, 0.28);
  border-radius: 6px;
  background: #081016;
  color: var(--ice);
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--line-strong);
  outline-offset: 2px;
}

.success {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  color: #071016;
  background: #8df2ff;
  font-weight: 800;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(184, 213, 224, 0.94), rgba(111, 145, 159, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(0, 217, 255, 0.08));
  border-top: 1px solid rgba(141, 242, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(244, 251, 255, 0.38), 0 -16px 38px rgba(0, 0, 0, 0.18);
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.85fr;
  gap: 2rem;
}

.footer-logo {
  width: min(360px, 100%);
  margin-bottom: 1rem;
  padding: 0.25rem 0;
  filter: brightness(1.08) contrast(1.18) saturate(1.1) drop-shadow(0 0 14px rgba(0, 217, 255, 0.32)) drop-shadow(0 2px 3px rgba(3, 6, 8, 0.32));
}

.site-footer h2 {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #031016;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #244350;
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin: 0.35rem 0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #031016;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(5, 8, 12, 0.16);
  padding-top: 1rem;
}

@keyframes hero-grid-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 96px 48px, 48px 96px;
  }
}

@keyframes seal-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.025);
  }
}

@keyframes panel-sweep {
  from {
    transform: translateX(0);
    opacity: 0.26;
  }

  to {
    transform: translateX(-7%);
    opacity: 0.52;
  }
}

@keyframes reel-lift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.74;
  }

  50% {
    transform: translateY(-5px);
    opacity: 0.95;
  }
}

@keyframes media-ribbon-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    background: rgba(209, 232, 239, 0.98);
    border: 1px solid rgba(5, 8, 12, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: clamp(2.5rem, 8vw, 4.5rem) 0;
  }

  .hero-visual {
    min-height: 390px;
  }

  .page-hero {
    padding: clamp(56px, 8vw, 84px) 0;
    background-position: 108% center;
    background-size: 720px auto;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .section-head,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two,
  .showcase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .page-hero-panel {
    min-height: auto;
  }

  .hero-readout {
    grid-template-columns: 1fr;
    bottom: 6.4rem;
  }

  .hero-readout span {
    padding: 0.42rem 0.5rem;
  }

  .hero-reel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-reel img:nth-child(3) {
    display: none;
  }

  .media-ribbon-track img {
    width: 220px;
  }

  .signal-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .panel-screen-grid {
    grid-template-columns: 1fr;
  }

  .brand-lockup img {
    width: 230px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .media-ribbon-track {
    transform: none !important;
  }
}
