/* ============================================
   NOMOS STRATEGY CONSULTING
   Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --clay:       #C4A882;
  --sand:       #E8DDD0;
  --linen:      #F5F0E8;
  --bark:       #5C4A35;
  --ink:        #2C2419;
  --warm-white: #FAF7F2;
  --mid:        #7A6A58;
  --light:      #A89880;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 4rem;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,168,130,0.2);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(92,74,53,0.08); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--bark);
  text-decoration: none;
}
.nav-logo span { color: var(--clay); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bark);
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--clay);
  transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover,
.nav-links a.active { color: var(--clay); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--bark); transition: all 0.3s;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label::before {
  content: ''; display: block;
  width: 2rem; height: 1px; background: var(--clay);
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--bark); color: var(--linen);
  text-decoration: none; font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s;
  border: none; cursor: pointer; font-family: 'Jost', sans-serif;
}
.btn-primary:hover { background: var(--clay); transform: translateY(-1px); }

.btn-light {
  display: inline-block;
  padding: 1rem 2.8rem;
  border: 1px solid var(--clay); color: var(--linen);
  text-decoration: none; font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
  background: transparent; cursor: pointer; font-family: 'Jost', sans-serif;
}
.btn-light:hover { background: var(--clay); color: var(--bark); }

.btn-outline {
  display: inline-block;
  padding: 1rem 2.8rem;
  border: 1px solid var(--bark); color: var(--bark);
  text-decoration: none; font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  background: transparent; cursor: pointer; font-family: 'Jost', sans-serif;
}
.btn-outline:hover { background: var(--bark); color: var(--linen); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 10rem 6rem 5rem;
  background: var(--sand);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: attr(data-word);
  position: absolute; right: -1rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14rem; font-weight: 300;
  color: rgba(92,74,53,0.06);
  line-height: 1; pointer-events: none; white-space: nowrap;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300; color: var(--bark);
  line-height: 1.1; margin-bottom: 1.5rem;
  max-width: 700px;
}
.page-hero h1 em { font-style: italic; color: var(--clay); }
.page-hero p {
  font-size: 1rem; color: var(--mid);
  max-width: 560px; line-height: 1.8;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--bark);
  padding: 5rem 6rem;
  display: flex; justify-content: space-between;
  align-items: center; gap: 3rem;
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; color: var(--linen);
  line-height: 1.25; max-width: 580px;
}
.cta-banner h2 em { font-style: italic; color: var(--clay); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 3rem 6rem;
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--linen); font-weight: 600;
}
.footer-logo span { color: var(--clay); }
.footer-links {
  display: flex; gap: 2rem; list-style: none;
  justify-content: center;
}
.footer-links a {
  text-decoration: none; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light); transition: color 0.2s;
}
.footer-links a:hover { color: var(--clay); }
.footer-right {
  text-align: right; font-size: 0.75rem;
  color: var(--light); line-height: 1.8;
}
.footer-right a {
  color: var(--clay); text-decoration: none;
  transition: opacity 0.2s;
}
.footer-right a:hover { opacity: 0.7; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp 0.7s ease both; }
.anim-1 { animation-delay: 0.1s; }
.anim-2 { animation-delay: 0.25s; }
.anim-3 { animation-delay: 0.4s; }
.anim-4 { animation-delay: 0.55s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--warm-white);
    padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid rgba(196,168,130,0.2);
  }
  .page-hero { padding: 8rem 2rem 4rem; }
  .page-hero::after { display: none; }
  .cta-banner { flex-direction: column; padding: 4rem 2rem; text-align: center; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 3rem 2rem; }
  .footer-links { justify-content: center; }
  .footer-right { text-align: center; }
}
