/* ============================================================
   WAYPOINT DEVELOPMENT — Main Stylesheet
   Brand Guidelines: waypointdev.com
   
   Color Palette:
     Forest Green:  #1B4332  (primary — 70% dominance)
     Cream:         #E8DFC4  (logo lines, text on dark)
     Gold:          #DAA520  (accents, dividers — 20%)
     Mid Green:     #2D6A4F  (sub-headers, secondary fills)
     Dark Gold:     #B8860B  (accents on light backgrounds)
     Charcoal:      #2C2C2C  (body text)
     Warm Gray:     #6B6B6B  (captions, labels, secondary)
     Off-White:     #FAFAF8  (subtle bg alternative)

   Typography:
     Display/Headlines: 'Helvetica Neue', Arial → Inter (web)
     Body:              Georgia → 'Source Serif 4' (web)
   ============================================================ */

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

:root {
  /* Brand colors */
  --green:       #1B4332;
  --green-dark:  #112B22;
  --green-mid:   #2D6A4F;
  --cream:       #E8DFC4;
  --cream-dim:   #D4C9A8;
  --gold:        #DAA520;
  --gold-light:  #F0C040;
  --gold-dark:   #B8860B;
  --charcoal:    #2C2C2C;
  --warm-gray:   #6B6B6B;
  --off-white:   #FAFAF8;
  --text-body:   #C5BCA4;   /* cream dimmed — for text on dark bg */
  --text-muted:  #8A8068;

  /* Type */
  --font-display: 'Helvetica Neue', 'Arial', 'Inter', sans-serif;
  --font-body:    'Source Serif 4', 'Georgia', 'Times New Roman', serif;
  --font-web-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-width: 1140px;
  --header-h:  108px;
  --radius:    2px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--green);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITY ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }

.section-header { margin-bottom: 3rem; }

.section-header h2,
h2 {
  font-family: var(--font-web-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
}

.section-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-web-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream-dim);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── HEADER / NAV ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(17, 43, 34, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(218, 165, 32, 0.2);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo-svg { height: 84px; width: auto; }
.logo-svg-small { height: 60px; width: auto; }

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

.main-nav a {
  font-family: var(--font-web-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-body);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(45, 106, 79, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-dark) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 223, 196, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 223, 196, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 4rem;
}

.hero-eyebrow {
  font-family: var(--font-web-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-web-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 300;  /* Light — brand spec */
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--green-dark);
  border-top: 1px solid rgba(218, 165, 32, 0.25);
  border-bottom: 1px solid rgba(218, 165, 32, 0.25);
  padding: 2.5rem 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-family: var(--font-web-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.stat-label {
  font-family: var(--font-web-display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(218, 165, 32, 0.2);
}

/* ── PROJECTS ────────────────────────────────────────────── */
.projects-section { background: var(--green); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--green-dark);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232, 223, 196, 0.08);
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(218, 165, 32, 0.35);
}

.project-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green-mid);
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.04);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-web-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 1px;
  background: rgba(17, 43, 34, 0.92);
  color: var(--text-muted);
  border: 1px solid rgba(232, 223, 196, 0.15);
}

.project-badge.active {
  color: var(--gold);
  border-color: rgba(218, 165, 32, 0.45);
}

.project-info {
  padding: 1.25rem 1.5rem;
}

.project-info h3 {
  font-family: var(--font-web-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.project-location {
  font-family: var(--font-web-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.project-units {
  font-family: var(--font-web-display);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  opacity: 0.85;
}

/* ── ABOUT STRIP ─────────────────────────────────────────── */
.about-strip {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(218, 165, 32, 0.12);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-web-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.about-text .section-rule { margin-bottom: 1.5rem; }

.about-text p {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-visual { display: flex; justify-content: center; }

.about-box {
  border: 1px solid rgba(218, 165, 32, 0.35);
  padding: 3px;
  border-radius: var(--radius);
}

.about-box-inner {
  background: rgba(17, 43, 34, 0.6);
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(232, 223, 196, 0.08);
}

.about-tagline {
  font-family: var(--font-web-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-detail {
  font-family: var(--font-web-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-body);
  line-height: 2;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  border-top: 1px solid rgba(218, 165, 32, 0.18);
  padding: 3rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-family: var(--font-web-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact p {
  font-family: var(--font-web-display);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(232, 223, 196, 0.07);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-web-display);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-bottom: 1px solid rgba(218,165,32,0.18);
}

.page-hero h1 {
  font-family: var(--font-web-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-family: var(--font-body);
  color: var(--text-body);
  font-size: 1rem;
  max-width: 500px;
}

/* ── PORTFOLIO PAGE ──────────────────────────────────────── */
.portfolio-section { padding: 5rem 0; }
.portfolio-label {
  font-family: var(--font-web-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.portfolio-section h2 {
  font-family: var(--font-web-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.portfolio-section .section-rule { margin-bottom: 2.5rem; }
.all-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.portfolio-section + .portfolio-section {
  border-top: 1px solid rgba(232,223,196,0.07);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--green-dark);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .main-nav.open a { font-size: 1.1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { padding-top: 2rem; }
}
