:root {
  --bg-ink: #f4f9ff;
  --bg-mid: #eaf4ff;
  --mist: #2b93cf;
  --mist-strong: #1479b8;
  --line: rgba(20, 108, 161, 0.22);
  --text: #12324d;
  --text-dim: #3d5f7b;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 44px rgba(14, 71, 108, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 6%, rgba(88, 170, 220, 0.18), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(78, 126, 255, 0.16), transparent 30%),
    linear-gradient(180deg, var(--bg-mid), var(--bg-ink));
  min-height: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-space {
  padding: clamp(2.8rem, 7vw, 5.2rem) 0;
}

.section-space-soft {
  padding: clamp(2rem, 5.5vw, 3.6rem) 0;
}

.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
  background: #dceeff;
}

.site-video-fallback-wrap {
  position: absolute;
  inset: 0;
}

.site-video-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.92) brightness(1.08);
}

.site-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 240ms ease;
}

.page-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.25);
}

.video-unavailable .site-video {
  opacity: 0;
}

.video-unavailable .site-video-fallback {
  opacity: 1;
  filter: saturate(0.95) brightness(1.04);
}

.mobile-static .site-video {
  display: none;
}

.media-fallback-message {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  max-width: 36ch;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(76, 150, 198, 0.34);
  background: rgba(255, 255, 255, 0.86);
  color: #23445f;
  font-size: 0.94rem;
  display: none;
}

.video-unavailable .media-fallback-message,
.mobile-static .media-fallback-message {
  display: block;
}

.mist-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.mist-bg span {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.18;
  background: radial-gradient(circle, var(--mist), transparent 70%);
  animation: drift 18s ease-in-out infinite;
}

.mist-bg span:nth-child(1) {
  left: -8%;
  top: -16%;
}

.mist-bg span:nth-child(2) {
  right: -12%;
  top: 10%;
  animation-delay: -6s;
}

.mist-bg span:nth-child(3) {
  left: 26%;
  bottom: -24%;
  animation-delay: -11s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.56));
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

.nav-wrap {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(0.9rem, 2vw, 2rem);
}

.nav-brand {
  justify-self: start;
}

.nav-links {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.brand img {
  height: clamp(50px, 6.5vw, 80px);
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 1.2vw, 1.15rem);
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: #2b5672;
  font-size: 1.01rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--mist);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(520px, 76vh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(2.2rem, 7vw, 5.2rem) 0;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  left: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(126, 219, 255, 0.16), rgba(126, 219, 255, 0));
  filter: blur(40px);
  animation: hazeDrift 18s ease-in-out infinite;
}

.hero::after {
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  right: 2%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(154, 193, 255, 0.1), rgba(154, 193, 255, 0));
  filter: blur(30px);
  animation: hazeDrift 22s ease-in-out infinite reverse;
}

.hero-content {
  max-width: 48rem;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border-radius: 20px;
  background: linear-gradient(105deg, rgba(6, 24, 44, 0.72), rgba(8, 28, 47, 0.38) 62%, rgba(8, 28, 47, 0.08));
  backdrop-filter: blur(2px);
}
.hero .eyebrow { color: #95dcff; background: none; -webkit-text-fill-color: initial; }

.eyebrow {
  font-family: 'Urbanist', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
  background: linear-gradient(120deg, #17b2ff, #79d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.hero h1 {
  font-family: 'Urbanist', 'Inter', sans-serif;
  font-weight: 700;
  color: #f4fbff;
  margin: 0.55rem 0 0.9rem;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-subhead {
  margin: 0;
  color: rgba(235, 247, 255, 0.95);
  max-width: 58ch;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
}

.hero-emotional {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  color: #eaf6ff;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-benefit {
  margin: 0.7rem 0 0;
  color: #d5ebfb;
  max-width: 54ch;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-area {
  margin: 1rem 0 0;
  color: #cde6f8;
  font-size: 0.95rem;
}

.alt-quote {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.alt-quote a {
  color: #d9f2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  letter-spacing: 0.01em;
  font-family: "Urbanist", "Inter", sans-serif;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(120deg, #17b2ff, #79d8ff);
  color: #04213b;
  padding: 0.96rem 1.58rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 113, 163, 0.28);
}

.btn-ghost {
  background: rgba(18, 52, 88, 0.38);
  border-color: rgba(126, 196, 238, 0.45);
  color: #e8f5ff;
}

.audio-toggle {
  position: fixed;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 45;
  border: 1px solid rgba(143, 212, 255, 0.32);
  border-radius: 12px;
  background: rgba(5, 24, 46, 0.64);
  backdrop-filter: blur(8px);
  color: #d7eeff;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.audio-toggle:hover {
  background: rgba(12, 43, 74, 0.78);
}

.trust-strip {
  padding: 0 0 clamp(1rem, 3vw, 1.6rem);
}

.hero-trust {
  margin-top: 0.9rem;
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.trust-grid p {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(8, 31, 58, 0.66);
  border-radius: 12px;
  padding: 0.72rem 0.95rem;
  text-align: center;
  color: #d4ecfb;
}

.trust-icon {
  display: inline-flex;
  vertical-align: text-bottom;
  margin-right: 0.4rem;
  color: #9cd9ff;
}

.trust-icon-svg {
  width: 1.04em;
  height: 1.04em;
}

.imagine-explainer {
  padding-top: clamp(1.2rem, 3.2vw, 2rem);
}

.explainer-grid {
  display: grid;
  gap: 1rem;
}

.explainer-left h2 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  line-height: 1.02;
}

.explainer-left p {
  margin: 0;
  color: var(--text-dim);
}

.before-after-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.before-after-list li {
  border: 1px solid rgba(148, 214, 255, 0.24);
  border-radius: 14px;
  background: rgba(8, 29, 54, 0.55);
  padding: 0.72rem 0.82rem;
  display: grid;
  gap: 0.22rem;
}

.before-after-list span {
  color: rgba(232, 242, 251, 0.86);
  font-size: 0.95rem;
}

.before-after-list strong {
  font-size: 0.95rem;
  color: #ebf6ff;
}

.explainer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(9, 35, 64, 0.76), rgba(6, 22, 43, 0.88));
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.explainer-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.explainer-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.explainer-card li {
  display: grid;
  gap: 0.1rem;
}

.explainer-card strong {
  font-size: 0.96rem;
  color: #edf7ff;
}

.explainer-card span {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.explainer-cta {
  margin-top: 0.95rem;
  border: 1px solid rgba(142, 212, 255, 0.24);
  border-radius: 14px;
  background: rgba(8, 30, 56, 0.6);
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.explainer-cta p {
  margin: 0;
  color: #d9eefe;
  font-weight: 500;
}

.explainer-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.section-head {
  max-width: 72ch;
}

.section-head h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--text-dim);
}

.section-head p + p {
  margin-top: 0.58rem;
}

.card-grid {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.1rem;
}

.glass-card h3,
.app-panel h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

.glass-card p,
.app-panel li,
.expect-line,
.quality-line,
.faq-item p {
  color: var(--text-dim);
}

.why-nexgen-grid {
  align-items: stretch;
}



.process-showcase .process-callout-card {
  border-color: rgba(118, 190, 228, 0.45);
  background: linear-gradient(150deg, rgba(247, 252, 255, 0.94), rgba(237, 247, 254, 0.95));
  box-shadow: 0 22px 48px rgba(16, 70, 96, 0.16);
}

.process-showcase .process-heading {
  max-width: 50rem;
}

.process-showcase .process-heading .eyebrow {
  margin-bottom: 0.6rem;
  color: #16486a;
}

.process-showcase .process-heading h2 {
  color: #0e3454;
  margin-bottom: 1rem;
  max-width: 19ch;
}

.process-showcase .process-heading p {
  color: #2b526f;
  font-weight: 500;
}

.process-showcase .process-heading .process-lede {
  max-width: 62ch;
}

.process-card-grid {
  margin-top: 1.35rem;
}

.process-step-card {
  display: grid;
  gap: 0.55rem;
  border-color: rgba(120, 192, 230, 0.45);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(21, 82, 115, 0.12);
}

.process-step-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(103, 176, 216, 0.45);
  background: rgba(242, 250, 255, 0.94);
  color: #2a5878;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.why-nexgen-grid .glass-card {
  text-align: center;
}

.point-icon {
  display: inline-block;
  margin-right: 0.35rem;
}

.why-edge {
  background: linear-gradient(180deg, rgba(5, 20, 38, 0.6), rgba(4, 16, 30, 0.32));
  border-top: 1px solid rgba(133, 203, 255, 0.2);
  border-bottom: 1px solid rgba(133, 203, 255, 0.2);
}

.confidence-band {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.65rem;
}

.confidence-item {
  border: 1px solid rgba(138, 209, 255, 0.24);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  background: rgba(8, 30, 57, 0.45);
  color: #d8eefc;
  font-size: 0.92rem;
  text-align: center;
}

.control-layout {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.9rem;
}

.control-list {
  display: grid;
  gap: 0.7rem;
}

.control-option {
  border: 1px solid rgba(139, 210, 255, 0.28);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(10, 36, 66, 0.72), rgba(6, 23, 44, 0.86));
  padding: 1rem;
  text-align: left;
  color: #e5f4ff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.control-option:hover,
.control-option:focus-visible,
.control-option.is-active {
  border-color: rgba(132, 224, 255, 0.62);
  background: linear-gradient(150deg, rgba(16, 52, 88, 0.88), rgba(8, 31, 57, 0.92));
  transform: translateY(-1px);
}

.control-option-title {
  display: block;
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.control-option-copy {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.control-preview {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(6, 24, 44, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-screen {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.preview-screen.is-active {
  opacity: 1;
}

.preview-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-panels {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.app-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(10, 36, 66, 0.7), rgba(6, 23, 44, 0.84));
  padding: 1.2rem 1.05rem;
}

.app-panel ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.imagine-wrap {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.95rem;
}

.imagine-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.imagine-tools input[type='file'] {
  display: none;
}

.app-control-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.7rem;
}

.control-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.42)),
    rgba(13, 18, 30, 0.9);
  padding: 1rem;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.control-label {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(245, 250, 255, 0.9);
}

.control-meta {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(232, 242, 255, 0.86);
}

.switch {
  position: relative;
  width: 56px;
  height: 32px;
  display: inline-block;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-pill {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  transition: background-color 180ms ease;
}

.slider-pill::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease;
}

.switch input:checked + .slider-pill::before {
  transform: translateX(24px);
}

.switch input:checked + .slider-pill {
  background: rgba(126, 215, 255, 0.36);
}

.mode-toggle {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.2rem;
  gap: 0.2rem;
}

.mode-btn {
  border: 0;
  border-radius: 12px;
  min-height: 38px;
  color: rgba(235, 245, 255, 0.68);
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.mode-btn.is-active {
  color: rgba(235, 245, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.slider-group {
  margin-top: 0.9rem;
}

.slider-group.is-disabled {
  opacity: 0.35;
}

.slider-group input[type='range'] {
  width: 100%;
  margin-top: 0.35rem;
  accent-color: #86dbff;
}

.app-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 34px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.app-slider::-webkit-slider-runnable-track {
  height: 34px;
  border-radius: 14px;
}

.app-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 5px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
}

.app-slider::-moz-range-track {
  height: 34px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
}

.app-slider-hue {
  background: linear-gradient(
    90deg,
    #ff6a5f 0%,
    #ff8a4b 10%,
    #ffd448 20%,
    #9af94f 35%,
    #4fe67f 45%,
    #48e8d8 58%,
    #4db7ff 72%,
    #6c87ff 82%,
    #a05eff 92%,
    #ff5bb5 100%
  );
}

.app-slider-white {
  background: linear-gradient(90deg, #f8c17a 0%, #f5e8d4 45%, #f0f2ef 62%, #b6e2ff 100%);
}

.app-slider-brightness {
  height: 12px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
}

.app-slider-brightness::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
}

.app-slider-brightness::-moz-range-track {
  height: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
}

.app-slider-brightness::-webkit-slider-thumb {
  margin-top: -6px;
}

.mist-menu {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(234, 245, 255, 0.9);
  font: inherit;
  font-size: 0.95rem;
  min-height: 32px;
  padding: 0 0.65rem;
}

.tool-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.upload-btn,
.tool-btn {
  border: 1px solid rgba(137, 214, 255, 0.32);
  border-radius: 12px;
  background: rgba(7, 30, 56, 0.72);
  color: #ddf1ff;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.upload-btn:hover,
.tool-btn:hover {
  background: rgba(16, 50, 85, 0.88);
}

.tool-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tool-btn-strong {
  background: linear-gradient(120deg, #17b2ff, #74d7ff);
  color: #062541;
  border-color: transparent;
  font-weight: 600;
}

.email-gate {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.34rem;
  border: 1px solid rgba(137, 214, 255, 0.28);
  border-radius: 12px;
  background: rgba(8, 31, 58, 0.7);
  padding: 0.75rem;
}

.email-gate label {
  font-size: 0.95rem;
  color: #d7eeff;
}

.email-gate input {
  width: 100%;
  border: 1px solid rgba(132, 203, 255, 0.32);
  border-radius: 10px;
  background: rgba(4, 19, 36, 0.72);
  color: #e8f5ff;
  font: inherit;
  min-height: 40px;
  padding: 0.52rem 0.62rem;
}

.gate-msg {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.92rem;
  color: #a7e6ff;
}

.canvas-shell {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(6, 24, 44, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#designCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  touch-action: none;
  background: #0b223c;
}

.center-cta {
  margin-top: 1.4rem;
  text-align: center;
}

.gallery-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  --gallery-columns: 4;
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));
}

.gallery-card {
  margin-top: 1rem;
  background: linear-gradient(145deg, rgba(252, 254, 255, 0.95), rgba(237, 247, 254, 0.92));
  border-color: rgba(97, 171, 209, 0.4);
}

.gallery-head {
  max-width: 72ch;
  margin-bottom: 0.2rem;
}

.gallery-head h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
}

.gallery-card-lede {
  margin: 0 0 1rem;
  color: #2f607b;
}

.gallery-controls { margin: 0 0 0.55rem; display:flex; justify-content:flex-end; }
.gallery-filter-toggle { min-height:44px;padding:.58rem .88rem;gap:.5rem;border-radius:12px;border:1px solid rgba(83,160,200,.28);background:rgba(255,255,255,.78);display:inline-flex;align-items:center;justify-content:center;cursor:pointer; }
.gallery-filter-toggle svg{width:20px;height:20px;stroke:#275b79;fill:none;stroke-width:2;stroke-linecap:round;}
.gallery-filter-toggle span{font-size:.92rem;font-weight:700;color:#1f5472;}
.gallery-filters {
  margin-bottom: 0.45rem;
}
.gallery-actions { margin-top: 1rem; display: flex; justify-content: center; }

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.8rem;
  border: 1px solid rgba(83, 160, 200, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.gallery-filter-field {
  display: grid;
  gap: 0.34rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a4a66;
  flex: 1 1 185px;
}

.gallery-filter-field select {
  appearance: none;
  border: 1px solid rgba(69, 144, 184, 0.4);
  border-radius: 12px;
  padding: 0.58rem 2.1rem 0.58rem 0.72rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.88));
  color: #1f4e69;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  background-image:
    linear-gradient(45deg, transparent 50%, #37779a 50%),
    linear-gradient(135deg, #37779a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 1px),
    calc(100% - 12px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.gallery-filter-field select:focus-visible {
  outline: 2px solid rgba(33, 130, 180, 0.85);
  outline-offset: 2px;
}

.gallery-results {
  margin: 0.85rem 0 0.2rem;
  color: #2b5a77;
  font-weight: 600;
}

.gallery-item {
  margin: 0;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-trigger {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
}

.gallery-trigger:focus-visible {
  outline: 2px solid rgba(39, 129, 173, 0.85);
  outline-offset: 4px;
}

.gallery-item figcaption {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 0.96rem;
}

.trusted-row {
  margin-top: 1.2rem;
  border: 1px dashed rgba(150, 216, 255, 0.34);
  border-radius: var(--radius-md);
  background: rgba(8, 28, 52, 0.45);
  padding: 0.95rem 1rem;
}

.trusted-row p,
.quality-line {
  margin: 0;
}

.quality-line {
  margin-top: 0.7rem;
  font-size: 0.96rem;
}

.faq-list {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 28, 52, 0.58);
  padding: 0.75rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.58rem 0 0;
}

.contact-card {
  border: 1px solid rgba(15, 79, 117, 0.14);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 43, 76, 0.12);
  padding: clamp(1.25rem, 4vw, 2.4rem);
}

.contact-card h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(1.7rem, 4.6vw, 2.8rem);
}

.contact-card p {
  margin-top: 0;
  color: #2c4a62;
}

.lead-form {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
  font-size: clamp(0.98rem, 0.93rem + 0.2vw, 1.05rem);
  font-weight: 650;
  color: #123450;
}

.lead-form label:has(input[required]),
.lead-form label:has(select[required]),
.lead-form label:has(textarea[required]) {
  position: relative;
}

.lead-form label:has(input[required])::after,
.lead-form label:has(select[required])::after,
.lead-form label:has(textarea[required])::after {
  content: 'Required';
  justify-self: start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #315c7d;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #8eb1cb;
  border-radius: 12px;
  background: #f8fcff;
  color: #0a2b4c;
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.05rem);
  line-height: 1.45;
  min-height: 2.9rem;
  padding: 0.8rem 0.82rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(18, 52, 80, 0.78);
}

.lead-form input:focus-visible,
.lead-form select:focus-visible,
.lead-form textarea:focus-visible {
  outline: 3px solid rgba(47, 165, 255, 0.35);
  outline-offset: 1px;
  border-color: #1e7fbc;
  box-shadow: 0 0 0 3px rgba(30, 127, 188, 0.15);
}

.lead-form input.field-invalid,
.lead-form select.field-invalid,
.lead-form textarea.field-invalid {
  border-color: #c33d4f;
  background: #fff7f8;
}

.lead-form input.field-valid,
.lead-form select.field-valid,
.lead-form textarea.field-valid {
  border-color: #238357;
  background: #f6fffa;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.form-privacy {
  margin: 0.18rem 0 0;
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.04rem);
  line-height: 1.45;
  color: #2c4a62;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.form-status {
  margin: 0.1rem 0 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(90, 198, 144, 0.5);
  background: rgba(34, 103, 66, 0.22);
  color: #d5ffe8;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status-error {
  border-color: rgba(255, 140, 140, 0.55);
  background: rgba(111, 24, 24, 0.3);
  color: #ffdede;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    transform 620ms cubic-bezier(0.2, 0.72, 0.2, 1),
    opacity 620ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 170ms;
}

.delay-3 {
  transition-delay: 240ms;
}

@media (min-width: 820px) {
  .container {
    width: min(1120px, calc(100% - 2.6rem));
  }

  .site-nav {
    gap: clamp(0.8rem, 1.3vw, 1.2rem);
  }

  .trust-grid,
  .confidence-band,
  .app-panels,
  .gallery-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-trust .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-primary {
    grid-column: span 2;
  }

  .explainer-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .control-layout {
    grid-template-columns: 360px 1fr;
    align-items: stretch;
  }

  .control-preview {
    min-height: 340px;
  }

  .three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.05rem;
  }

  .gallery-item img {
    height: 300px;
  }

  .imagine-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .confidence-band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .control-layout {
    grid-template-columns: 420px 1fr;
  }

  .app-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .imagine-wrap {
    grid-template-columns: 300px 1fr;
    align-items: start;
  }

  .imagine-tools {
    grid-template-columns: 1fr;
    position: sticky;
    top: 106px;
  }

  .tool-row {
    grid-template-columns: 1fr;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(26px, -20px, 0) scale(1.08);
  }
}

@keyframes hazeDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(14px, -12px, 0) scale(1.06);
  }
}



.home-page {
  --bg-ink: #f3fbff;
  --bg-mid: #f8fdff;
  --mist: #4abef0;
  --line: rgba(41, 118, 151, 0.22);
  --text: #0f2f44;
  --text-dim: #35586d;
  --panel: rgba(244, 252, 255, 0.82);
  --panel-strong: rgba(235, 247, 255, 0.92);
  --shadow: 0 22px 58px rgba(16, 70, 96, 0.15);
}

.home-page body,
body.home-page,
body.preview-page {
  background: transparent;
}

.home-page .site-header {
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home-page .site-header.is-sticky {
  border-bottom-color: transparent;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(246, 252, 255, 0.9), rgba(246, 252, 255, 0.55));
}

.home-page .site-nav a,
.home-page .service-card p,
.home-page .section-head p,
.home-page .glass-card p,
.home-page .service-area {
  color: var(--text-dim);
}

.home-page .btn-ghost {
  background: rgba(240, 249, 255, 0.78);
  color: var(--text);
}


@media (max-width: 820px) {
  .site-video-fallback {
    object-position: center;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-video {
    display: none;
  }

  body {
    background:
      linear-gradient(102deg, rgba(2, 11, 22, 0.92), rgba(2, 11, 22, 0.76)),
      url('assets/hero/hero-fallback.svg') center / cover no-repeat;
  }

  .mist-bg span,
  .hero::before,
  .hero::after,
  .reveal,
  .btn {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.services-overview {
  border-top: 1px solid rgba(138, 209, 255, 0.2);
  border-bottom: 1px solid rgba(138, 209, 255, 0.2);
  background: transparent;
}

.service-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.service-card {
  border: 1px solid rgba(138, 209, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(7, 28, 52, 0.68);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
}

.service-card-primary {
  background: linear-gradient(140deg, rgba(13, 56, 90, 0.84), rgba(7, 28, 52, 0.82));
  border-color: rgba(117, 214, 255, 0.52);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--text-dim);
}

.service-tag {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c6ecff;
}

.service-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.text-link {
  margin-top: 0.8rem;
  display: inline-flex;
  color: #d8f0ff;
  font-weight: 600;
}

.text-link:hover {
  color: #ffffff;
}

.service-subpage-hero {
  min-height: clamp(400px, 60vh, 560px);
}


.home-page .hero-content {
  background: rgba(244, 252, 255, 0.76);
  border: 1px solid rgba(117, 186, 217, 0.34);
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(16, 70, 96, 0.16);
  backdrop-filter: blur(8px);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.home-page .hero h1,
.home-page h2,
.home-page h3,
.preview-page h1 {
  color: #0d2b3d;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.28);
}

.home-page .section-head,
.home-page .glass-card,
.home-page .service-card,
.home-page .app-panel,
.home-page .faq-item,
.home-page .contact-card,
.home-page .preview-callout-card,
.preview-page .imagine-wrap,
.preview-page .imagine-tools,
.preview-page .canvas-shell,
.preview-page .preview-hero .container {
  background: rgba(244, 252, 255, 0.78);
  border: 1px solid rgba(117, 186, 217, 0.3);
  border-radius: 18px;
  backdrop-filter: blur(7px);
}

.home-page .section-head,
.preview-page .preview-hero .container,
.home-page .preview-callout-card {
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.home-page .service-card,
.home-page .glass-card,
.home-page .app-panel,
.home-page .faq-item {
  color: #1f4760;
}

.home-page .site-nav a {
  color: #2b536a;
  font-weight: 500;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible {
  color: #0d2f43;
}

.design-preview-callout .preview-callout-card p {
  color: #35586d;
}

.home-page .pre-footer-cta-card {
  background: linear-gradient(145deg, rgba(232, 247, 255, 0.92), rgba(216, 241, 255, 0.78));
  border-color: rgba(84, 168, 206, 0.44);
}

.home-page .final-cta-card {
  background: rgba(244, 252, 255, 0.86);
  border-color: rgba(117, 186, 217, 0.36);
}

.preview-page .preview-hero {
  padding-bottom: 0;
}

.preview-page .hero-subhead,
.preview-page .quality-line,
.preview-page .control-meta,
.preview-page .control-label {
  color: #365e74;
}

.preview-page .imagine-tools {
  align-content: start;
}

.preview-page .canvas-shell {
  background: rgba(236, 248, 255, 0.9);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(117, 186, 217, 0.45);
  background: rgba(247, 252, 255, 0.76);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-cta {
  white-space: nowrap;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.2rem 0 1.5rem;
  border-top: 1px solid rgba(117, 186, 217, 0.35);
  background: rgba(242, 251, 255, 0.82);
  backdrop-filter: blur(8px);
}

.site-footer-grid {
  display: grid;
  gap: 1.8rem 1.4rem;
  align-items: start;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(170px, 1fr));
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.footer-brand img {
  width: 120px;
  height: auto;
}

.site-footer h2 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  color: #244e66;
  font-size: 0.97rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #13384c;
}

.footer-cta {
  margin-top: 0.2rem;
  padding: 0.85rem 1.3rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 84, 125, 0.24);
}

.site-footer-legal {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(117, 186, 217, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-meta {
  margin: 0;
  color: #2f5b73;
  font-weight: 500;
}

.legal-links {
  display: flex;
  gap: 0.8rem;
}

@media (max-width: 820px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 0;
    width: min(92vw, 360px);
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid rgba(117, 186, 217, 0.32);
    border-radius: 16px 0 0 16px;
    background: rgba(244, 252, 255, 0.97);
    box-shadow: 0 16px 38px rgba(16, 70, 96, 0.18);
    transform: translateX(106%);
    transition: transform 220ms ease;
    pointer-events: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-nav[data-mobile-open='true'] {
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 0.35rem 0;
    font-size: 1rem;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-brand {
    gap: 0.75rem;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .site-footer h2 {
    margin-bottom: 0.4rem;
  }

  .site-footer-legal {
    justify-content: center;
    text-align: center;
  }

}

/* 2026 conversion polish */
.container { width: min(1200px, 80vw); }
.site-header {
  border-bottom-color: transparent;
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}
.site-header.is-sticky {
  border-bottom-color: transparent;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(246, 252, 255, 0.9), rgba(246, 252, 255, 0.55));
}
.nav-wrap { grid-template-columns: 1fr auto 1fr; min-height: 88px; }
.brand { justify-self: start; }
.brand img { height: clamp(54px, 7vw, 76px); }
.site-nav { justify-content: center; gap: clamp(1rem, 2vw, 2rem); padding: 0; overflow: visible; }
.site-nav a { font-size: 1rem; font-weight: 500; }
.nav-actions { justify-self: end; }
.nav-cta-mobile { display: none; }

.hero-wide { min-height: clamp(680px, 84vh, 920px); }
.home-page .hero {
  min-height: 80vh;
  padding-block: clamp(2.6rem, 8vw, 6rem);
}
.home-page .hero-content {
  max-width: 900px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}
.hero h1 {
  font-family: 'Urbanist', 'Inter', sans-serif;
  font-weight: 700;
  color: #f4fbff; font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: 0.92; max-width: 18ch; text-wrap: balance; }
.hero-subhead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 62ch; color: #d4e8f8; }
.hero-trust-points {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-trust-points::-webkit-scrollbar { display: none; }
.hero-trust-points p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  text-align: left;
  font-size: 1.04rem;
  background: linear-gradient(130deg, rgba(10, 34, 63, 0.58), rgba(9, 31, 57, 0.4));
  border-color: rgba(163, 223, 255, 0.34);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(236, 249, 255, 0.18);
}
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(90px, 16vh, 170px);
  pointer-events: none;
  background: transparent;
}

.statement-reset {
  padding-block: clamp(1.6rem, 4vw, 2.8rem);
  background: transparent;
}

.statement-reset-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.statement-reset-inner h2 {
  margin: 0;
  color: #083857;
  font-size: clamp(1.8rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.statement-reset-inner p {
  margin: 1rem auto 0;
  max-width: 70ch;
  color: #2d5d78;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.services-overview { background: transparent; }
.section-showcase-card {
  border: 1px solid rgba(100, 182, 220, 0.4);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(252, 254, 255, 0.95), rgba(236, 247, 253, 0.93));
  box-shadow: 0 22px 46px rgba(14, 74, 108, 0.14);
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.section-showcase-head {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
}

.section-showcase-head .eyebrow {
  margin-bottom: 0.55rem;
}

.section-showcase-card .service-grid {
  margin-top: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.section-showcase-card .service-card {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(94, 169, 207, 0.45);
}

.section-showcase-card .service-card-primary {
  background: linear-gradient(145deg, rgba(236, 248, 255, 0.98), rgba(225, 242, 253, 0.95));
}

@media (max-width: 1080px) {
  .section-showcase-card .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .section-showcase-card .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card p, .glass-card p, .section-head p { font-size: 1.03rem; line-height: 1.55; }
.text-link { margin-top: 0.7rem; color: #0f4f75; }

.preview-callout-card {
  border: 1px solid rgba(100, 182, 220, 0.35);
  border-radius: 22px;
  background: rgba(244, 252, 255, 0.86);
  box-shadow: 0 20px 52px rgba(16, 70, 96, 0.12);
  padding: clamp(1.2rem, 2.5vw, 2rem);
}


.nexgen-edge-highlight {
  background: transparent;
}

.nexgen-edge-highlight .preview-callout-card {
  position: relative;
  border-color: rgba(76, 151, 194, 0.5);
  background: linear-gradient(150deg, rgba(252, 254, 255, 0.96), rgba(236, 247, 253, 0.95));
  box-shadow: 0 22px 46px rgba(14, 74, 108, 0.16);
}

.nexgen-edge-highlight .preview-callout-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75) inset, 0 0 26px rgba(94, 192, 238, 0.22);
}

.nexgen-edge-highlight .section-head h2,
.nexgen-edge-highlight h2 {
  font-size: clamp(2rem, 5.7vw, 3.35rem);
}

.nexgen-edge-highlight .glass-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(94, 169, 207, 0.46);
}

.nexgen-edge-highlight .edge-cta-btn {
  padding: 0.95rem 1.55rem;
  font-size: 1.04rem;
  box-shadow: 0 12px 28px rgba(16, 97, 140, 0.32);
}

.gallery-item:hover img, .gallery-item:hover video { transform: translateY(-2px); }
.gallery-item figcaption { font-size: 1rem; }

.gallery-lightbox {
  width: min(900px, calc(100% - 2rem));
  border: 1px solid rgba(122, 196, 230, 0.45);
  border-radius: 20px;
  background: rgba(7, 24, 43, 0.96);
  color: #e7f5ff;
  padding: 1rem 1rem 1.15rem;
}

.gallery-lightbox::backdrop { background: rgba(3, 11, 22, 0.74); }

.lightbox-close {
  border: 0;
  background: transparent;
  color: #d5f0ff;
  font-size: 1.3rem;
  margin-left: auto;
  display: block;
  cursor: pointer;
}

.lightbox-media-wrap {
  margin-top: 0.4rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(3, 11, 24, 0.84);
}

.lightbox-image,
.lightbox-video {
  display: block;
  width: 100%;
  max-height: min(68vh, 580px);
  object-fit: contain;
  background: rgba(2, 12, 24, 0.92);
}


.lightbox-image[hidden],
.lightbox-video[hidden] {
  display: none !important;
}
.lightbox-caption {
  margin: 0.9rem 0 0;
  color: #b8deef;
}

.lightbox-controls {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

.site-footer { background: rgba(241, 250, 255, 0.9); }
.footer-positioning { color: #2b536a; margin: 0; line-height: 1.65; max-width: 44ch; font-size: 0.95rem; }

.site-footer.site-footer-dark {
  border-top-color: rgba(132, 171, 233, 0.28);
  background: linear-gradient(180deg, rgba(5, 11, 24, 0.94), rgba(4, 10, 22, 0.88));
}

.site-footer.site-footer-dark h2,
.site-footer.site-footer-dark .footer-positioning,
.site-footer.site-footer-dark .site-footer-legal p {
  color: #e7f1ff;
}

.site-footer.site-footer-dark a {
  color: #b8d6ff;
}

.site-footer.site-footer-dark a:hover,
.site-footer.site-footer-dark a:focus-visible {
  color: #eaf4ff;
}

.site-footer.site-footer-dark .site-footer-legal {
  border-top-color: rgba(129, 173, 241, 0.2);
}

.site-footer.site-footer-dark .footer-meta {
  color: #c9defe;
}

/* Homepage readability lock: keep copy dark except the four approved trust phrases. */
.home-page :is(
  h1, h2, h3, h4, h5, h6,
  p, li, a, span, strong, em, small, label, figcaption
) {
  color: #12324d !important;
}

.home-page .hero-trust-points p strong {
  color: #eaf6ff !important;
}

.home-page .hero-trust-points .trust-icon,
.home-page .hero-trust-points .trust-icon-svg {
  color: #b9e6ff !important;
}

@media (max-width: 820px) {
  .container { width: min(1200px, calc(100% - 1.6rem)); }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-actions .nav-cta { display: none; }
  .site-nav { top: 88px; width: min(92vw, 340px); gap: 0.45rem; padding: 1rem; }
  .nav-cta-mobile { display: inline-flex; margin-top: 0.6rem; width: 100%; }
  .hero { padding-top: 1.4rem; }
  .hero h1 {
  font-family: 'Urbanist', 'Inter', sans-serif;
  font-weight: 700;
  color: #f4fbff; font-size: clamp(2.2rem, 10vw, 3.1rem); max-width: 16ch; }
  .hero-subhead { font-size: 1.06rem; }
  .hero-emotional { font-size: 1rem; margin-bottom: 0.8rem; }
  .hero-trust-points { gap: 0.6rem; }
  .section-space, .section-space-soft { padding: 2.2rem 0; }
  .gallery-filter-bar { padding: 0.72rem; }
  .gallery-filter-field { flex-basis: calc(50% - 0.35rem); }
  .gallery-item img, .gallery-item video { height: 260px; }
}

@media (max-width: 620px) {
  .gallery-filter-field { flex-basis: 100%; }
}

/* Service landing pages */
.service-page {
  --text: #12324d;
  --text-dim: #3d5f7b;
}

.service-page .hero-content,
.service-page .section-head,
.service-page .glass-card,
.service-page .contact-card,
.service-page .preview-callout-card {
  background: rgba(244, 252, 255, 0.84);
  border: 1px solid rgba(117, 186, 217, 0.32);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 46px rgba(16, 70, 96, 0.12);
}

.service-page .service-subpage-hero .hero-content {
  max-width: 860px;
}

.service-page .service-intro-grid {
  display: grid;
  gap: 0.9rem;
}

.service-page .service-intro-grid .glass-card h3,
.service-page .service-process .glass-card h3 {
  margin-top: 0;
}

.service-page .service-form-card {
  max-width: 900px;
  margin: 0 auto;
}

.service-page .service-form-card .form-actions {
  margin-top: 0.35rem;
}

.edge-page {
  --bg-ink: #02050b;
  --bg-mid: #030711;
  --line: rgba(113, 176, 255, 0.2);
  --text: #eef6ff;
  --text-dim: #b0c2db;
  --panel: rgba(8, 14, 28, 0.74);
  --panel-strong: rgba(10, 17, 34, 0.88);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 110, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(113, 61, 255, 0.18), transparent 31%),
    linear-gradient(180deg, #02050b, #040a16 42%, #060f1d 100%);
  color: var(--text);
}

.edge-page .site-video-bg {
  background: #02050b;
}

.edge-page .page-overlay {
  background: linear-gradient(180deg, rgba(1, 4, 12, 0.72), rgba(2, 8, 18, 0.92));
}

.edge-page .site-header,
.edge-page .site-header.is-sticky {
  border-bottom-color: rgba(116, 149, 201, 0.25);
  background: linear-gradient(180deg, rgba(2, 8, 20, 0.92), rgba(2, 8, 20, 0.62));
}

.edge-page .site-nav a,
.edge-page .section-head p,
.edge-page .contact-card p,
.edge-page .form-privacy,
.edge-page .service-card p,
.edge-page .glass-card p {
  color: var(--text-dim);
}

.edge-page .hero-content,
.edge-page .section-head,
.edge-page .glass-card,
.edge-page .contact-card,
.edge-page .preview-callout-card {
  background: linear-gradient(160deg, rgba(9, 14, 26, 0.88), rgba(9, 18, 34, 0.74));
  border-color: rgba(126, 169, 235, 0.34);
  box-shadow: var(--shadow);
}

.edge-page h1,
.edge-page h2,
.edge-page h3,
.edge-page .eyebrow,
.edge-page .text-link,
.edge-page .section-head h2 {
  color: #f5fbff;
}

.edge-page .lead-form label {
  color: #e6efff;
}

.edge-page .lead-form label:has(input[required])::after,
.edge-page .lead-form label:has(select[required])::after,
.edge-page .lead-form label:has(textarea[required])::after {
  color: #9fc3ff;
}

.edge-page .lead-form input,
.edge-page .lead-form select,
.edge-page .lead-form textarea {
  border-color: rgba(154, 191, 247, 0.52);
  background: rgba(6, 15, 30, 0.92);
  color: #eef5ff;
}

.edge-page .lead-form input::placeholder,
.edge-page .lead-form textarea::placeholder {
  color: rgba(228, 239, 255, 0.75);
}

.edge-page .btn-ghost {
  background: rgba(10, 22, 42, 0.86);
  border-color: rgba(127, 183, 255, 0.5);
  color: #e8f2ff;
}

.edge-page .btn-solid {
  box-shadow: 0 14px 30px rgba(12, 94, 186, 0.34);
}

@media (min-width: 820px) {
  .service-page .service-intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.edge-feature{position:relative;overflow:hidden;border:1px solid rgba(140,205,248,.42);background:#07182a;color:#eaf6ff;}
.edge-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42;}
.edge-overlay{position:absolute;inset:0;background:linear-gradient(120deg, rgba(3,13,24,.9), rgba(6,25,41,.76));}
.edge-content-grid{position:relative;z-index:2;display:grid;gap:1.4rem;}
.edge-copy{display:grid;gap:1rem;align-content:start;}
.edge-copy .card-grid{margin-top:.4rem;}
.edge-copy .hero-actions{margin-top:.6rem;}
.edge-copy p{color:#edf7ff;font-size:1.03rem;line-height:1.62;}
.edge-copy h2{color:#fff;max-width:16ch;font-size:clamp(2rem,4.8vw,3.2rem);line-height:1.02;margin:0.35rem 0 0.8rem;}
.edge-feature .glass-card{background:linear-gradient(150deg, rgba(9,33,54,.78), rgba(5,20,35,.82));border-color:rgba(162,227,255,.45);backdrop-filter:blur(9px);}
.edge-feature .glass-card h3{color:#f6fbff;}
.edge-feature .glass-card p{color:#d9eeff;font-size:.96rem;line-height:1.55;}
.edge-visual video{width:100%;height:100%;min-height:280px;object-fit:cover;border-radius:16px;border:1px solid rgba(158,220,255,.4);}
@media (min-width: 900px){.edge-content-grid{grid-template-columns:1.2fr .85fr;align-items:center;}}

.home-page section{border-top:0!important;border-bottom:0!important;}

.home-page .edge-feature :is(h2,h3,p,a,span,strong,em,li) { color: #eaf6ff !important; }
.home-page .edge-feature .eyebrow { color: #bfe9ff !important; }


.home-page .gallery-actions .btn-ghost{background:rgba(255,255,255,.78);color:#245b7a;border-color:rgba(88,164,206,.36);}
.home-page .contact-card .btn-ghost{color:#eaf6ff;}
