/* BASE STYLES & RESET */
:root {
  --bg-base: #13261d;
  --accent: #b8923a;
  --text-primary: #efe6d2;
  --text-muted: rgba(239, 230, 210, 0.7);
  --font-body: system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, Consolas, "Courier New", monospace;
  --max-width: 1200px;
}

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: normal;
  text-transform: uppercase;
  color: var(--accent);
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--accent); padding-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text-primary); }

p { margin-bottom: 1.5rem; max-width: 72ch; }

.mono-text, .label, .number {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* LINKS & BUTTONS */
a {
  color: var(--accent);
  text-decoration: none;
}

a.text-link {
  color: var(--text-primary);
  position: relative;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

a.text-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

a.text-link:hover::after, a.text-link.active::after {
  width: 100%;
}

.btn-main {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-base);
  font-family: var(--font-mono);
  text-transform: uppercase;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 0;
  font-weight: bold;
  transition: background-color 0.2s;
}

.btn-main:hover {
  background-color: var(--text-primary);
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.header-transparent { background-color: transparent; }
.header-solid { background-color: var(--bg-base); border-bottom: 1px solid var(--accent); }
.header-hidden { transform: translateY(-100%); }

.brand {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
}

/* LAYOUT GRIDS */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 6rem 0; }

.lead-block {
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 80ch;
}

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

/* HERO SECTION */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.hero-images {
  position: relative;
  height: 500px;
  width: 100%;
}

.hero-images img {
  position: absolute;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--accent);
  filter: grayscale(100%) sepia(100%) hue-rotate(60deg) saturate(300%) brightness(0.7) contrast(1.5); /* Faux duotone matching palette */
}

.img-1 { top: 0; left: 0; width: 65%; height: 60%; z-index: 1; }
.img-2 { top: 20%; right: 0; width: 55%; height: 50%; z-index: 2; }
.img-3 { bottom: 0; left: 15%; width: 70%; height: 45%; z-index: 3; }

/* LIST ROWS (NO CARDS) */
.list-row {
  display: flex;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--accent);
}

.list-row:first-of-type { border-top: 1px solid var(--accent); }

.list-row .icon {
  flex: 0 0 60px;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.list-row .content { flex: 1; }
.list-row h3 { margin-bottom: 0.5rem; font-family: var(--font-mono); text-transform: uppercase; color: var(--accent); }

/* DENSE GRIDS */
.dense-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dense-grid > div { border-top: 1px solid var(--accent); padding-top: 1rem; }
.dense-grid h4 { color: var(--text-primary); margin-bottom: 0.5rem; font-size: 1rem; }

/* PULL QUOTES */
.pull-quote {
  font-size: 2.5rem;
  line-height: 1.2;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--accent);
  margin: 4rem 0;
  padding-left: 2rem;
  border-left: 4px solid var(--accent);
}

/* FORMS & TOOLS */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); }
input, select, textarea {
  width: 100%;
  padding: 1rem;
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--text-primary);
  font-family: var(--font-mono);
  border-radius: 0;
  outline: none;
}
input:focus, select:focus, textarea:focus { background-color: rgba(184, 146, 58, 0.05); }
.tool-step { display: none; }
.tool-step.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* FOOTER */
footer {
  border-top: 1px solid var(--accent);
  padding: 4rem 2rem;
  margin-top: 6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

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

.footer-col h4 { margin-bottom: 1.5rem; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 146, 58, 0.3);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 8rem; gap: 2rem; min-height: auto; }
  .hero-images { height: 400px; margin-top: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-base);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--accent);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  h1 { font-size: 2.2rem; }
  .pull-quote { font-size: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* UTILITIES */
.table-wrapper { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--accent); }
table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.9rem; min-width: 600px; }
th, td { padding: 1rem; border-bottom: 1px solid rgba(184, 146, 58, 0.3); text-align: left; }
th { background-color: rgba(184, 146, 58, 0.1); color: var(--accent); text-transform: uppercase; }

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