:root {
  --black: #161513;
  --charcoal: #211f1c;
  --gray: #5a5a5a;
  --orange: #ee6c1f;
  --orange-light: #f39237;
  --orange-dark: #c9511a;
  --cream: #f6f3ee;
  --white: #ffffff;
  --max-width: 1160px;
  --font: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-weight: 700; letter-spacing: 0.01em; }

a { color: inherit; }

.accent { color: var(--orange); font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22, 21, 19, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(238, 108, 31, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}

.brand-mark { height: 38px; width: auto; }

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--orange-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--orange-light); }

.nav-cta {
  border: 1px solid var(--orange);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  color: var(--orange-light) !important;
}
.nav-cta:hover {
  background: var(--orange);
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("assets/hero-bg.jpg") center 62% / cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,13,0.75) 0%, rgba(15,14,13,0.35) 45%, rgba(15,14,13,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 760px;
}

.eyebrow {
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  color: var(--white);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
  scroll-margin-top: 72px;
}

.section-alt { background: #ece7de; }

.section-dark {
  background: var(--black);
  color: var(--cream);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}
.section-dark h2 { color: var(--white); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 1.8rem;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.card h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--gray); }

.card-outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  border-left: 4px solid var(--orange);
  box-shadow: none;
}
.card-outline h3 { font-size: 1rem; margin: 0; }

/* References */
.references-inner { max-width: 820px; }
.lead { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.credentials { list-style: none; margin: 0; padding: 0; }
.credentials li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--gray);
}
.credentials li:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }

/* Contact */
.contact-simple {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin: 0 0 1.8rem;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--orange-light);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.3rem;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}
.contact-email:hover { color: var(--white); }

.contact-meta {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.8rem;
}
.contact-meta p { margin: 0 0 0.6rem; color: rgba(255,255,255,0.75); }
.contact-meta a { text-decoration: none; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-meta a:hover { border-color: var(--orange); }
.muted { color: rgba(255,255,255,0.55) !important; font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #100f0e;
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-mark { height: 26px; opacity: 0.85; }
.footer-text { flex: 1; min-width: 240px; }
.footer-copy { color: rgba(255,255,255,0.35); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #161513;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { border: none; padding: 0.8rem 0; }
}
