/* BASE VARIABLES & SETUP */
:root {
  /* Strictly No Blue - Using Slate and Lime as mandated */
  --bg-canvas: #1e2530;
  --bg-surface: #2a3441;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --accent-primary: #a3e635;
  --border-subtle: #4b5563;
  --error-red: #ef4444;

  /* Typography & Structure */
  --font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  lang: "en";
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; text-transform: uppercase; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.8; }

/* HEADER & NAVIGATION */
.site-header {
  position: relative;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 2rem;
  z-index: 100;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.menu-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  display: none;
}

.main-nav {
  margin-top: 1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

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

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

/* LAYOUT & CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-narrow {
  max-width: 72ch;
  margin: 0 auto;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 6rem 2rem;
  background: var(--bg-canvas);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.floating-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  width: 250px;
  z-index: 10;
}

.floating-card ul {
  list-style: none;
}

.floating-card li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}
.floating-card li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* SPLIT SECTIONS WITH DIAGONALS */
.split-section {
  position: relative;
  padding: 6rem 2rem;
  background: var(--bg-surface);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  margin: 2rem 0;
}

.split-section.alt-bg {
  background: var(--bg-canvas);
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split-grid.reverse .split-content {
  order: 2;
}
.split-grid.reverse .split-visual {
  order: 1;
}

.split-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* FLAT CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.flat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: none;
  transition: transform 0.3s var(--ease-kinetic);
}

.flat-card:hover {
  transform: translateY(-5px);
}

.flat-card h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

/* BUTTONS */
.pill-btn {
  display: inline-block;
  background: var(--accent-primary);
  color: #000000;
  border-radius: 999px;
  padding: 0.75rem 2rem;
  border: none;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pill-btn:hover {
  background: #b5f050;
  transform: scale(1.02);
}

.massive-btn {
  width: 100%;
  font-size: 1.25rem;
  padding: 1.25rem 2rem;
  margin-top: 1rem;
}

.text-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: underline;
}

/* FORMS & TOOLS */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.input-field {
  width: 100%;
  padding: 1rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-primary);
}

textarea.input-field {
  min-height: 150px;
  resize: vertical;
}

/* Playful Toggles */
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  background: var(--bg-canvas);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  transition: border-color 0.2s;
}

.toggle-label input {
  display: none;
}

.toggle-label.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* FOOTER */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* SCROLL REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-kinetic);
}

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

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .split-section { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    width: 100%;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-grid, .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .split-grid.reverse .split-content,
  .split-grid.reverse .split-visual {
    order: unset; /* Stack naturally on mobile */
  }
  
  .floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 1rem;
  }
  
  .split-section, .split-section.alt-bg {
    clip-path: none;
    margin: 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1rem; }
}

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