/* layout.css */
/* =========================================================
   LAYOUT & PAGE GEOMETRY
   ========================================================= */

/* Content width limiter */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Document slab */
.site-frame {
  background: white;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100vh;
  box-shadow: 0 0 0 1px #e5e5e5;
}

/* Section rhythm */
section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid #e5e5e5;
}

/* Hero */
header.hero {
  padding: calc(var(--space-xl) + 20px) 0 calc(var(--space-xl) + 24px);
  border-bottom: 1px solid #e5e5e5;
  scroll-margin-top: 90px;
}

/* Footer */
footer {
  padding: 60px 0;
  text-align: center;
}

/* Fixed navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250,250,250,0.95);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}

/* Nav layout */
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
}

/* Mobile nav */
@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-xs);
  }

  .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }

  .nav-links a {
    margin-left: 0;
  }
}

/* EOF layout.css */