/* NeilValentine.com Production Stylesheet */
/* Design System: #f7f5ef bg, #151412 text, #7a2e12 accent, #4a463d muted, #6f6a5f nav */

/* Fonts from Google Fonts CDN */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background: #f7f5ef;
  color: #151412;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

/* Links */
a {
  color: #151412;
  text-decoration: underline;
  transition: color 0.15s ease;
}

a:hover {
  color: #7a2e12;
}

/* Grid system */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 32px 72px 0;
}

nav .brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav .links {
  display: flex;
  gap: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a.cta {
  border-bottom: 2px solid #151412;
  padding-bottom: 2px;
}

/* Utility classes */
.text-accent {
  color: #7a2e12;
}

.text-muted {
  color: #4a463d;
}

.text-nav {
  color: #6f6a5f;
}

.border-top {
  border-top: 1px solid #151412;
}

.border-bottom {
  border-bottom: 1px solid #151412;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  nav {
    padding: 24px 24px 0;
  }
  
  body {
    font-size: 17px;
  }
}
