/* ====================================
   CSS Variables & Global Styles
   ==================================== */

:root {
  --bg-page: #FBF9EF;
  --bg-card: #EEECE3;
  --bg-card-hover: #F2F0E7;
  --bg-inset: #F5F3E9;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #DDD9CF;
  --border-light: #E5E2D8;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --tag-border: #C8C4BA;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Topographic Background */
.topo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
}

.topo-bg svg {
  width: 100%;
  height: 100%;
}

/* Section Styles */
.section-header {
  margin-bottom: 48px;
}

.section-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}

.btn-primary:hover {
  background: #333;
  gap: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: var(--bg-card);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
}
