@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --white: #ffffff;
  --off-white: #f7f5f1;
  --warm-gray-50: #f2efe9;
  --warm-gray-100: #e4e0d8;
  --warm-gray-200: #c8c3b8;
  --warm-gray-400: #928d83;
  --warm-gray-600: #5c5850;
  --warm-gray-800: #2e2c28;
  --ink: #1a1916;
  --sage: #5a7057;
  --sage-light: #e8efe7;
  --sage-mid: #8faa8c;
  --terracotta: #c4694a;
  --terracotta-light: #f5ebe7;
  --gold: #b89a5a;
  --gold-light: #f5f0e4;
  --nav-height: 68px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--warm-gray-100);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--warm-gray-600);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--sage);
  color: var(--white);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* PAGES */
.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.page.active { display: block; }

/* HOME HERO */
#page-home {
  display: none;
  background: var(--white);
}

#page-home.active { display: block; }

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-left {
  padding: 5rem 4rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--warm-gray-100);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--sage);
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: normal;
  color: var(--sage);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--warm-gray-600);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover { background: var(--sage); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--warm-gray-200);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--warm-gray-50);
}

.hero-right {
  background: var(--off-white);
  padding: 5rem 3rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-stat {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  animation: statFadeIn 0.8s ease forwards;
  opacity: 0;
}

.hero-stat:nth-child(1) { animation-delay: 0.2s; }
.hero-stat:nth-child(2) { animation-delay: 0.4s; }
.hero-stat:nth-child(3) { animation-delay: 0.6s; }

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

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-stat-sub {
  font-size: 0.85rem;
  color: var(--warm-gray-400);
  font-weight: 300;
  margin-top: 0.2rem;
}

/* SECTIONS */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-inner-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--sage);
}

.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--warm-gray-600);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
}

/* SERVICES */
#page-services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--warm-gray-100);
  border: 1px solid var(--warm-gray-100);
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  transition: background 0.2s;
}

.service-card:hover { background: var(--off-white); }

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-body {
  font-size: 0.92rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  font-weight: 300;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--warm-gray-50);
  color: var(--warm-gray-600);
  font-weight: 500;
  border: 1px solid var(--warm-gray-100);
}

/* WHO WE SERVE */
.serve-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.serve-item {
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--warm-gray-100);
  transition: border-color 0.2s;
}

.serve-item:hover { border-color: var(--sage); }

.serve-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--warm-gray-200);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.serve-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.serve-body {
  font-size: 0.85rem;
  color: var(--warm-gray-400);
  line-height: 1.6;
  font-weight: 300;
}

/* MISSION BAND */
.mission-band {
  background: var(--ink);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.mission-band-inner {
  max-width: 680px;
  margin: 0 auto;
}

.mission-band .section-label { color: var(--sage-mid); justify-content: center; }
.mission-band .section-label::before { background: var(--sage-mid); }

.mission-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 1.5rem 0 2rem;
}

.mission-quote em {
  font-style: normal;
  color: var(--sage-mid);
}

.mission-sub {
  font-size: 0.95rem;
  color: var(--warm-gray-400);
  line-height: 1.75;
  font-weight: 300;
}

/* ABOUT */
#page-about { background: var(--off-white); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: var(--warm-gray-600);
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: 1rem;
}

.about-text p:first-child {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 400;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  padding: 1.75rem;
}

.team-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.team-card-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-card-bio {
  font-size: 0.9rem;
  color: var(--warm-gray-600);
  line-height: 1.65;
  font-weight: 300;
}

.values-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--warm-gray-100);
  align-items: baseline;
}

.value-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  font-weight: 500;
  padding-top: 0.15rem;
}

.value-text {
  font-size: 0.95rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* CONTACT */
#page-contact { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--off-white);
  border: 1.5px solid var(--warm-gray-100);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info { padding-top: 0.5rem; }

.contact-info h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--warm-gray-600);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  font-weight: 500;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 400;
}

.contact-detail-value a {
  color: var(--sage);
  text-decoration: none;
}

.contact-location {
  padding: 1.5rem;
  background: var(--off-white);
  border-left: 3px solid var(--sage);
}

.contact-location p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--warm-gray-600);
  font-weight: 300;
}

.contact-location strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

/* FOOTER */
footer {
  background: var(--ink);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-sub {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray-400);
  margin-top: 0.2rem;
}

footer p {
  font-size: 0.78rem;
  color: var(--warm-gray-600);
  font-weight: 300;
}

/* PHASE 2 BAND */
.phase2-band {
  background: var(--sage-light);
  border-top: 1px solid var(--warm-gray-100);
  border-bottom: 1px solid var(--warm-gray-100);
  padding: 4rem 2rem;
  text-align: center;
}

.phase2-inner {
  max-width: 600px;
  margin: 0 auto;
}

.phase2-band h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.phase2-band p {
  font-size: 0.92rem;
  color: var(--warm-gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 2rem; border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .serve-list { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  nav { padding: 0 1.5rem; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 560px) {
  .serve-list { grid-template-columns: 1fr; }
  .section-inner { padding: 4rem 1.5rem; }
  .value-item { grid-template-columns: 1fr; gap: 0.5rem; }
}
