/* ── HRSS SHARED STYLESHEET ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --canvas: #F2EDE6;
  --forest: #2C4A3E;
  --terra: #C4674A;
  --ink: #1E1E1E;
  --stone: #8A8178;
  --sage: #A8B5A0;
  --cream: #FAF7F3;
  --forest-mid: #3D6355;
  --terra-light: #E8957A;
  --rule: #DDD5CC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--forest);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.1;
}

.nav-logo small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-cta {
  background: var(--terra) !important;
  color: var(--cream) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  font-weight: 600 !important;
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.8rem;
}

.eyebrow.light { color: var(--sage); }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.15; }

.display {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.08;
  color: var(--ink);
  font-weight: 400;
}

.display em { font-style: italic; color: var(--forest); }

h2.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  color: var(--ink);
  line-height: 1.15;
}

h2.section-title.on-dark { color: var(--cream); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  padding: 0.85rem 2rem;
  transition: all 0.2s;
}

.btn-terra {
  background: var(--terra);
  color: var(--cream);
}
.btn-terra:hover { background: var(--terra-light); }

.btn-forest {
  background: var(--forest);
  color: var(--cream);
}
.btn-forest:hover { background: var(--forest-mid); }

.btn-outline-forest {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline-forest:hover { background: var(--forest); color: var(--cream); }

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-cream:hover { background: rgba(255,255,255,0.1); }

/* ── GHOST NUMBER (signature) ── */
.ghost-num {
  font-family: 'Space Mono', monospace;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 700;
  color: var(--forest);
  opacity: 0.055;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  position: absolute;
}

/* ── SECTIONS ── */
.section { padding: 90px 5%; position: relative; overflow: hidden; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.bg-canvas { background: var(--canvas); }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest); }
.bg-ink { background: var(--ink); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 48px 5% 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { font-size: 1.1rem; }

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 220px;
}

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--forest);
  z-index: 199;
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { color: var(--cream); }
.nav-mobile-menu .nav-cta {
  margin-top: 0.75rem;
  background: var(--terra);
  color: var(--cream) !important;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  text-align: center;
  font-weight: 600;
  border-bottom: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 60px 5%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
