/* ========================================
   Ellihan LLC — Brand Variables
   ======================================== */
:root {
  --mission-green: #1F3A2E;
  --gunmetal: #374151;
  --mission-gold: #D6A94A;
  --warm-stone: #A8A29E;
  --warm-off-white: #FAFAF9;

  --font-primary: "IBM Plex Sans", system-ui, sans-serif;
  --font-heading: "Space Grotesk", system-ui, sans-serif;

  --max-width: 1120px;
  --header-height: 72px;
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gunmetal);
  background-color: var(--warm-off-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--mission-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--mission-gold);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--mission-green);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--warm-stone);
  font-size: 1.125rem;
  max-width: 600px;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168, 162, 158, 0.25);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mission-green);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--mission-gold);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gunmetal);
}

.nav a:hover {
  color: var(--mission-gold);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--mission-gold);
  color: var(--mission-green);
  border-color: var(--mission-gold);
}

.btn-primary:hover {
  background: #c49a3f;
  border-color: #c49a3f;
  color: var(--mission-green);
}

.btn-secondary {
  background: transparent;
  color: var(--warm-off-white);
  border-color: rgba(250, 250, 249, 0.5);
}

.btn-secondary:hover {
  background: rgba(250, 250, 249, 0.1);
  border-color: var(--warm-off-white);
  color: var(--warm-off-white);
}

.btn-full {
  width: 100%;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  background: var(--mission-green);
  color: var(--warm-off-white);
  padding: 6rem 0 5.5rem;
}

.hero-inner {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mission-gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--warm-off-white);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(250, 250, 249, 0.85);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
   Competency Cards
   ======================================== */
.competencies {
  background: var(--warm-off-white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(168, 162, 158, 0.3);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--mission-gold);
  box-shadow: 0 4px 24px rgba(31, 58, 46, 0.08);
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card > p {
  font-size: 0.9375rem;
  color: var(--gunmetal);
  margin-bottom: 1rem;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card li {
  font-size: 0.875rem;
  color: var(--warm-stone);
  padding-left: 1rem;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mission-gold);
}

/* ========================================
   Differentiators
   ======================================== */
.differentiators {
  background: #fff;
  border-top: 1px solid rgba(168, 162, 158, 0.2);
  border-bottom: 1px solid rgba(168, 162, 158, 0.2);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.diff-item {
  padding: 0.5rem 0;
}

.diff-icon {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mission-gold);
  margin-bottom: 0.75rem;
}

.diff-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.diff-item p {
  font-size: 0.9375rem;
  color: var(--warm-stone);
}

/* ========================================
   Contact
   ======================================== */
.contact {
  background: var(--warm-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-stone);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  font-size: 1rem;
  color: var(--gunmetal);
}

.contact-details a {
  font-weight: 500;
}

.contact-form {
  background: #fff;
  border: 1px solid rgba(168, 162, 158, 0.3);
  border-radius: 8px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gunmetal);
  margin-bottom: 0.375rem;
}

.required {
  color: var(--mission-gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--gunmetal);
  background: var(--warm-off-white);
  border: 1px solid rgba(168, 162, 158, 0.4);
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mission-green);
  box-shadow: 0 0 0 3px rgba(31, 58, 46, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #b91c1c;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
}

.form-status--success {
  color: var(--mission-green);
}

.form-status--error {
  color: #b91c1c;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ========================================
   About
   ======================================== */
.about {
  background: var(--mission-green);
  color: rgba(250, 250, 249, 0.85);
}

.about .section-header h2 {
  color: var(--warm-off-white);
}

.about-inner {
  max-width: 720px;
}

.about-inner p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-inner p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #152921;
  color: rgba(250, 250, 249, 0.6);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-tag {
  color: var(--mission-gold);
  font-weight: 500;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .nav a {
    font-size: 0.875rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
