:root {
  --bg: #07111f;
  --bg-deep: #040914;
  --surface: rgba(11, 23, 41, 0.82);
  --surface-strong: rgba(15, 30, 53, 0.94);
  --line: rgba(154, 180, 214, 0.18);
  --text: #edf3ff;
  --muted: #b4c2d9;
  --accent: #a9bfdc;
  --accent-strong: #d8e4f4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(36, 68, 112, 0.28), transparent 38%),
    linear-gradient(180deg, #081120 0%, #040914 52%, #07111f 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16) 0, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12) 0, transparent 1px),
    radial-gradient(circle at 60% 78%, rgba(255, 255, 255, 0.12) 0, transparent 1px),
    radial-gradient(circle at 35% 62%, rgba(255, 255, 255, 0.1) 0, transparent 1px);
  background-size: 240px 240px, 300px 300px, 280px 280px, 220px 220px;
  opacity: 0.3;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.narrow {
  width: min(780px, 100%);
}

.centered {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 20, 0.66);
  border-bottom: 1px solid rgba(169, 191, 220, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-mark {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-family: Cambria, Georgia, serif;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(168, 191, 220, 0.12);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 16, 30, 0.82);
  color: var(--text);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 6, 14, 0.12), rgba(4, 9, 20, 0.74)),
    linear-gradient(90deg, rgba(4, 9, 20, 0.85) 0%, rgba(4, 9, 20, 0.38) 55%, rgba(4, 9, 20, 0.7) 100%);
}

.hero-content,
.page-hero {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 6rem 0;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: Cambria, Georgia, serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.lead,
.hero-text,
.text-card p,
.feature-card p,
.video-card p,
.footer-note,
.footer-domain,
.contact-form span {
  color: var(--muted);
}

.lead {
  margin: 1rem 0 0;
  font-size: clamp(1.08rem, 2.3vw, 1.42rem);
  line-height: 1.7;
}

.hero-text {
  margin: 1.35rem 0 0;
  max-width: 62ch;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #d7e5f6 0%, #a9bfdc 100%);
  color: #07111f;
}

.button-secondary {
  border-color: rgba(216, 228, 244, 0.25);
  background: rgba(10, 20, 36, 0.34);
  color: var(--text);
}

.section,
.page-hero {
  padding: 5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(10, 19, 35, 0.22), rgba(10, 19, 35, 0.48));
}

.feature-grid,
.split-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.feature-card,
.text-card,
.video-card,
.contact-form,
.gallery-item,
.media-card,
.lightbox-figure {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card,
.text-card,
.video-card,
.contact-form {
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.calm-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.calm-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.calm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(169, 191, 220, 0.5);
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-card.tall img {
  min-height: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
}

.gallery-grid,
.video-grid {
  display: grid;
  gap: 1.4rem;
}

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

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  text-align: left;
}

.gallery-item:nth-child(1) {
  grid-column: span 7;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  grid-column: span 5;
}

.gallery-item:nth-child(n + 4) {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.1), rgba(4, 9, 20, 0.86));
}

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

.video-card video {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 1rem;
  background: #02050d;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(169, 191, 220, 0.18);
  border-radius: 16px;
  background: rgba(4, 9, 20, 0.66);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(216, 228, 244, 0.2);
  border-color: rgba(216, 228, 244, 0.34);
}

.not-found-main {
  display: flex;
  align-items: center;
}

.site-footer {
  padding: 1.4rem 0 2rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(169, 191, 220, 0.12);
}

.footer-title {
  margin: 0;
  font-family: Cambria, Georgia, serif;
  font-size: 1.1rem;
}

.footer-note,
.footer-domain {
  margin: 0.25rem 0 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 14, 0.84);
  z-index: 60;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  max-width: min(1000px, 100%);
  margin: 0;
  padding: 1rem;
  border-radius: 28px;
}

.lightbox-image {
  border-radius: 18px;
  max-height: 76vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 0.9rem 0.2rem 0;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.82);
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .feature-grid,
  .split-grid,
  .contact-layout,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(n + 4) {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(4, 9, 20, 0.95);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 5.5rem 0 4rem;
  }

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

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(n + 4) {
    grid-column: span 2;
  }

  .gallery-item img {
    min-height: 240px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .section,
  .page-hero {
    padding: 4rem 0;
  }

  .feature-card,
  .text-card,
  .video-card,
  .contact-form,
  .lightbox-figure {
    border-radius: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
