/* Shared Mnomis site styles (header + base) */

:root{
  --navy:#0f2341;
  --navy-mid:#1a3459;
  --green:#3d7a36;
  --green-lt:#5a9e52;
  --slate:#3d4f63;
  --fog:#f2f4f7;
  --fog-dark:#e6eaef;
  --white:#ffffff;
  --text:#1e2d3d;
  --muted:#5a6a7a;
  --rule:#d0d8e4;
  --serif:"Libre Baskerville", Georgia, serif;
  --sans:"DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mono:"DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* ───────────────── HEADER ───────────────── */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eef1f4;
  padding: 0 2.5rem;
}

.header-inner{
  max-width: 1180px;
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo{
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img{
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  display: block;
  transform: translateY(1px);
}

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

.nav-link{
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
  transition: color .2s;
}

.nav-link:hover{ color:#111827; }

.nav-link.active{
  position: relative;
  color: #111827;
  padding-bottom: 12px;
}

.nav-link.active::after{
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 4px;
  height: 2px;
  background: var(--green);
}

/* Hamburger button — hidden on desktop */
.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.2s;
}

/* Mobile nav drawer */
@media (max-width: 680px){
  .nav-toggle{
    display: block;
  }

  .main-nav{
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #eef1f4;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 2.5rem 1.25rem;
    z-index: 99;
  }

  .main-nav.open{
    display: flex;
  }

  .nav-link{
    font-size: 13px;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--fog-dark);
  }

  .nav-link:last-child{
    border-bottom: none;
  }

  .site-header{
    position: sticky;
  }
}


/* ───────────────── LAYOUT RHYTHM ───────────────── */

.container{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ───────────────── TYPOGRAPHY POLISH ───────────────── */

body{
  font-size: 16px;
  line-height: 1.7;
}

p{
  color: var(--slate);
}

h1, h2{
  letter-spacing: -0.01em;
}

section{
  padding: 4.75rem 0;
}

@media (max-width: 820px){
  section{ padding: 3.5rem 0; }
}

.hero{ padding-top: 80px; }
