:root {
  /* Dynamic Palette (Strictly No Blue) - Emerald Grid Guides */
  --bg-canvas: #1c1f24;
  --bg-surface: #272a30;
  --bg-surface-hover: #32363e;
  --text-primary: #e5e7eb;
  --text-muted: #9ca3af;
  --accent-primary: #10b981;
  --accent-secondary: #059669;
  --border-subtle: #374151;
  --shadow-dark: 0 10px 25px -5px rgba(0,0,0,0.5);
  
  /* Advanced UI Micro-Interactions & Depth */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  --glow-accent: 0 0 24px -4px var(--accent-primary);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  lang: "en";
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: 1.5rem; color: var(--text-muted); font-weight: 400; }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-primary); }

/* Layout Grid Engine */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-body {
  max-width: 72ch;
  margin: 0 auto;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (min-width: 769px) {
  .two-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Background Patterns */
.bg-grid {
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Header - Inset Floating Pill */
.site-header {
  position: relative; 
  margin: 1.5rem auto;
  max-width: 1160px;
  background-color: var(--bg-surface);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-elevation);
  z-index: 100;
  border: 1px solid var(--border-subtle);
}

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--accent-primary);
}

/* Navigation Desktop */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Mobile Nav - 3 Dots */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 1rem;
  width: 250px;
  box-shadow: var(--shadow-elevation);
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
}

/* Buttons - Square Outlined */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-kinetic);
  text-align: center;
}

.btn-outline {
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: var(--bg-canvas);
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--accent-primary);
  color: var(--bg-canvas);
  border: 2px solid var(--accent-primary);
}

.btn-solid:hover {
  background: transparent;
  color: var(--accent-primary);
  box-shadow: var(--glow-accent);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 769px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  filter: contrast(1.15) brightness(0.85);
  box-shadow: var(--shadow-elevation);
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
}

.card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-elevation), 0 0 15px -5px var(--accent-primary);
  border-color: var(--accent-primary);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: contrast(1.1) brightness(0.9);
}

/* Round Label Badges */
.badge {
  position: absolute;
  bottom: 0;
  right: 1.5rem;
  transform: translateY(50%);
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  color: var(--bg-canvas);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border: 3px solid var(--bg-surface);
}

.card-body {
  padding: 2rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-body p {
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: left;
  border-left: 4px solid var(--accent-primary);
  padding-left: 1rem;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic);
  color: var(--text-muted);
}

.faq-answer p {
  padding-top: 1rem;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-question {
  color: var(--accent-primary);
}

/* Avatars */
.avatar {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  margin-bottom: 1rem;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Contact Tool / Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 0;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: var(--bg-surface);
}

/* Footer - Floating Pills */
.site-footer {
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.footer-pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-pill-list li a {
  display: inline-block;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-kinetic);
}

.footer-pill-list li a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

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

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
