/* BASE & VARIABLES */
:root {
  --bg-canvas: #13261d;
  --bg-surface: #1a3327;
  --bg-surface-hover: #1f3d2e;
  --text-primary: #efe6d2;
  --text-muted: rgba(239, 230, 210, 0.7);
  --accent-primary: #b8923a;
  --accent-hover: #d1a845;
  --accent-gradient: linear-gradient(135deg, #b8923a 0%, #13261d 100%);
  --border-delicate: 1px solid #b8923a;
  
  --font-serif: Georgia, "Times New Roman", serif;
  --font-specs: system-ui, -apple-system, sans-serif;
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.25);
  --glow-accent: 0 0 24px -4px rgba(184, 146, 58, 0.4);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

p {
  margin-bottom: 1.5rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  margin-bottom: 1rem;
}

.massive-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-secondary {
  font-size: clamp(2rem, 4vw, 3rem);
  border-bottom: var(--border-delicate);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.specs-text {
  font-family: var(--font-specs);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* TOP BAR & HEADER */
.top-bar {
  background-color: #0b1711;
  border-bottom: var(--border-delicate);
  padding: 0.4rem 5%;
  text-align: right;
  font-family: var(--font-specs);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

header {
  position: static;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-delicate);
}

.brand-container {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.nav-links li a {
  text-transform: uppercase;
  font-family: var(--font-specs);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.nav-links li a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-primary);
  text-underline-offset: 4px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
  background: var(--accent-gradient);
  overflow: hidden;
  border-bottom: var(--border-delicate);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--bg-canvas) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  font-family: var(--font-specs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-kinetic);
  border-radius: 0;
  font-weight: bold;
}

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

.link-secondary {
  text-decoration: underline;
  text-decoration-color: var(--accent-primary);
  text-underline-offset: 4px;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.link-secondary:hover {
  color: var(--text-primary);
  text-decoration-color: var(--text-primary);
}

/* LAYOUT & SECTIONS */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

/* Split Sections */
.split-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 5%;
  border-bottom: var(--border-delicate);
}

.split-section:nth-of-type(even) {
  flex-direction: row-reverse;
  background-color: var(--bg-surface);
}

.split-text {
  flex: 1;
}

.split-image {
  flex: 1;
  position: relative;
}

.split-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: var(--border-delicate);
  filter: grayscale(20%) contrast(1.1);
}

/* Masonry Feed */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Ultra-flat Cards */
.card {
  background-color: var(--bg-surface);
  border: var(--border-delicate);
  padding: 2rem;
  border-radius: 0;
  transition: all 0.4s var(--ease-kinetic);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(184, 146, 58, 0.3);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-canvas);
  border: var(--border-delicate);
  color: var(--accent-primary);
  font-family: var(--font-specs);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* Timelines */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 20px;
  width: 1px;
  background-color: var(--accent-primary);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--bg-canvas);
}

/* Form Styles */
.inquiry-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  padding: 3rem;
  border: var(--border-delicate);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-specs);
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid rgba(184, 146, 58, 0.5);
  color: var(--text-primary);
  padding: 0.8rem;
  font-family: var(--font-specs);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 8px rgba(184, 146, 58, 0.2);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--accent-primary);
  border: var(--border-delicate);
  padding: 1rem 2rem;
  font-family: var(--font-specs);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(184, 146, 58, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 5%;
  border-top: var(--border-delicate);
  background-color: #0b1711;
  font-family: var(--font-specs);
  font-size: 0.85rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-legal {
  color: rgba(239, 230, 210, 0.5);
  margin-top: 2rem;
}

/* Animations & Interactivity */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-kinetic), transform 0.8s var(--ease-kinetic);
}

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

.dot-matrix-bg {
  position: relative;
}
.dot-matrix-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(184, 146, 58, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .split-section, .split-section:nth-of-type(even) {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: var(--border-delicate);
    z-index: 99;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  header {
    position: relative;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .timeline::before {
    left: 10px;
  }
  .timeline-item {
    padding-left: 2rem;
  }
  .timeline-item::before {
    left: 6px;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

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