:root {
  --navy: #0a1628;
  --ink: #122033;
  --slate: #4a5d73;
  --mist: #d7e2ef;
  --paper: #f3f6fa;
  --white: #ffffff;
  --blue: #0088ff;
  --blue-bright: #33a8ff;
  --blue-deep: #005bb5;
  --frame: linear-gradient(135deg, #0a4a8a 0%, #0088ff 55%, #5eb8ff 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Source Sans 3", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(0, 136, 255, 0.14), transparent 60%),
    radial-gradient(700px 420px at 100% 12%, rgba(10, 74, 138, 0.1), transparent 55%),
    linear-gradient(180deg, #eef3f8 0%, var(--paper) 40%, #e8eef6 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: transparent;
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 16, 28, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 136, 255, 0.25));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white) !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 39;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(8, 16, 28, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 136, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-bright);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #163254;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(10, 22, 40, 0.22);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--blue);
  color: var(--blue-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 22, 0.35) 0%, rgba(5, 12, 22, 0.2) 35%, rgba(5, 12, 22, 0.78) 100%),
    radial-gradient(80% 60% at 50% 20%, rgba(0, 136, 255, 0.18), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3.5rem) clamp(1.25rem, 4vw, 2rem) 4.5rem;
}

.hero-logo {
  width: min(100%, 320px);
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) 0.1s forwards;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) 0.22s forwards;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) 0.34s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease) 0.46s forwards;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--navy);
}

.section-lede {
  margin: 0;
  max-width: 52ch;
  color: var(--slate);
  font-size: 1.1rem;
}

.services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(243, 246, 250, 0.2)),
    var(--paper);
}

.service-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
}

.service-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding-top: 0.2rem;
}

.service-list h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.service-list p {
  margin: 0;
  max-width: 54ch;
  color: var(--slate);
}

/* WhisperSpace showcase */
.product {
  position: relative;
  padding: 0;
  color: var(--white);
  overflow: hidden;
}

.product-media {
  position: absolute;
  inset: 0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 18, 30, 0.88) 0%, rgba(8, 18, 30, 0.62) 48%, rgba(8, 18, 30, 0.28) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8, 18, 30, 0.45) 100%);
}

.product-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 2rem);
}

.product-logo {
  width: min(100%, 280px);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.product h2 {
  color: var(--white);
  max-width: 22ch;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .product h2 {
    white-space: normal;
    max-width: 14ch;
  }
}

.product .section-lede {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.75rem;
}

.product-meta {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact {
  padding-bottom: 5rem;
}

.contact-panel {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--navy);
  color: var(--white);
  border-radius: 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
}

.contact-panel h2 {
  margin: 0 0 0.65rem;
  color: var(--white);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
}

.contact-panel a.btn {
  justify-self: end;
}

/* Footer */
.site-footer {
  padding: 1.75rem clamp(1.25rem, 4vw, 2rem) 2.5rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
  padding-top: 1.5rem;
}

.site-footer a {
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--blue);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1.5%, 0);
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel a.btn {
    justify-self: start;
  }

  .service-list li {
    grid-template-columns: auto 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-logo,
  .hero h1,
  .hero-lede,
  .hero-actions,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
