/* ── Design Tokens ── */
:root {
  --bg: #FAF8F5;
  --bg-card: #F4F1EC;
  --navy: #1B2B4B;
  --text: #2C2C2C;
  --text-muted: #7A7570;
  --border: #E0DAD3;
  --white: #FFFFFF;
  --max-width: 1100px;
  --section-pad: 100px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-muted);
}

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ── Layout ── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

/* ── Section dividers ── */
.section-divider {
  position: relative;
  z-index: 1;
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.02em;
}

.btn--filled {
  background: var(--navy);
  color: var(--white);
}

.btn--filled:hover {
  background: #152340;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Section label ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ── Selection ── */
::selection {
  background: rgba(27, 43, 75, 0.15);
  color: var(--navy);
}

/* ── Responsive section padding ── */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }
}
