:root {
  --bg: #070c16;
  --bg-soft: #0f1728;
  --card: #131d32;
  --text: #e7edf9;
  --muted: #a6b3cc;
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --line: #223150;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #15223b 0%, var(--bg) 45%);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 7s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      120deg,
      rgba(7, 12, 22, 0.88) 15%,
      rgba(7, 12, 22, 0.62) 55%,
      rgba(7, 12, 22, 0.92) 100%
    ),
    radial-gradient(circle at 25% 10%, rgba(21, 34, 59, 0.55), rgba(7, 12, 22, 0.9));
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.hero-content {
  padding: 3rem 0 1rem;
}

.pill {
  display: inline-block;
  color: var(--accent);
  border: 1px solid #28566e;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
}

h1 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.lead {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
}

.hero-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.hero-stats article {
  background: rgba(19, 29, 50, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  color: #d8f5ff;
}

.hero-stats span {
  font-size: 0.86rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #04101f;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.section {
  padding: 3.2rem 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note {
  color: #fbcf88;
  border-left: 3px solid #fb923c;
  padding-left: 0.7rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.timeline {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.story-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.story-card h3 {
  margin-top: 0;
}

.story-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.story-list li + li {
  margin-top: 0.45rem;
}

.step {
  background: #111a2d;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0c1423;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  user-select: none;
}

.members {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.members-top,
.members-bottom {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.members-top .member-card {
  width: min(100%, 340px);
}

.members-bottom .member-card {
  width: min(100%, 300px);
}

.member-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid #304164;
  margin-bottom: 0.75rem;
}

.member-card h3 {
  margin: 0 0 0.4rem;
}

.role {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.footer {
  padding: 1.5rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.small {
  font-size: 0.84rem;
}

a {
  color: #93c5fd;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
    align-items: start;
  }

  .members-top .member-card,
  .members-bottom .member-card {
    width: 100%;
  }
}
