:root {
  --base: #eef7f2;
  --surface: #ffffff;
  --text: #1f2937;
  --accent: #14532d;
  --border: #d1dfd6;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--base);
  color: var(--text);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1.1;
}

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

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.editorial-text {
  max-width: 72ch;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Header */
.site-header {
  background-color: var(--surface);
  border-bottom: 2px solid var(--text);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--surface);
  border: 2px solid var(--accent);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--text);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--text);
  color: var(--surface);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--text);
}

.btn-outline:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--text);
  padding: 4rem 0;
  background-color: var(--base);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 15ch;
}

/* Timeline Architecture */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding-left: 3rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text);
}

.timeline-section {
  position: relative;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease);
}

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

.timeline-section::before {
  content: attr(data-step);
  position: absolute;
  left: -3rem;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid var(--text);
  color: var(--text);
  font-weight: 800;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 10;
}

/* Cards & Overlays */
.deep-panel {
  background-color: var(--accent);
  padding: 4rem 2rem;
  border-radius: 4px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2rem;
  color: var(--surface);
}

.glass-card h2, .glass-card h3 {
  color: var(--surface);
}

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

.editorial-card {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 4px 4px 0 var(--text);
  transition: transform 0.2s var(--ease);
}

.editorial-card:hover {
  transform: translateY(-4px);
}

.editorial-card img {
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  border: 2px solid var(--text);
}

/* Forms & Tools */
.manifest-tool {
  background: var(--surface);
  border: 2px solid var(--text);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--text);
  margin: 3rem auto;
  max-width: 800px;
}

textarea, input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--text);
  border-radius: 4px;
  background: var(--base);
  color: var(--text);
  font-family: inherit;
  margin-bottom: 1.5rem;
  resize: vertical;
}

/* Accordion FAQ */
.accordion {
  border-top: 2px solid var(--text);
}

.accordion-item {
  border-bottom: 2px solid var(--text);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-content-inner {
  padding-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--text);
  color: var(--surface);
  padding: 4rem 2rem;
  margin-top: 6rem;
}

.site-footer a {
  color: var(--base);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-branding h3 {
  color: var(--surface);
  margin-bottom: 1rem;
}

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

.footer-nav li {
  margin-bottom: 0.5rem;
}

.legal-disclaimer {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Utilities */
.mb-2 { margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }
.text-center { text-align: center; }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 2px solid var(--text);
    gap: 1.5rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .timeline-wrapper {
    padding-left: 2.5rem;
  }
  
  .timeline-section::before {
    left: -2.5rem;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

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