@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --donker: #1A1512;
  --eik: #2C2420;
  --accent: #D97757;
  --ivoor: #F8F7F3;
  --creme: #FFFBF7;
  --zand: #F0EBE5;
  --rand: rgba(44, 36, 32, 0.10);

  --serif: 'Instrument Serif', serif;
  --sans: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --pad: clamp(64px, 10vw, 120px) clamp(24px, 7vw, 88px);
  --pad-small: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  background: var(--ivoor);
  color: var(--eik);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAFIE ─────────────────────────────────────────── */

h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 10vw, 88px);
  color: var(--donker);
  line-height: 0.95;
  font-weight: 400;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  color: var(--donker);
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--donker);
  line-height: 1.2;
  font-weight: 400;
}

h4, h5, h6 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--donker);
  font-weight: 400;
}

p, li {
  font-size: 15.5px;
  color: var(--eik);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--donker);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* ─── EYEBROW & LABELS ───────────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(44, 36, 32, 0.5);
}

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

section {
  padding: var(--pad);
}

section.compact {
  padding: var(--pad-small);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container.wide {
  max-width: 1400px;
}

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

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
}

.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  min-width: 30px;
}

.section-divider {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: var(--rand);
}

/* ─── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--donker);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--ivoor);
  border: 1.5px solid var(--ivoor);
}

.btn-secondary:hover {
  background: var(--ivoor);
  color: var(--donker);
}

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

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

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ─── CARDS ──────────────────────────────────────────────── */

.card {
  background: var(--creme);
  border: 1px solid var(--rand);
  border-radius: 0;
  padding: 36px;
  transition: all 0.3s ease;
}

.card:hover {
  border-top-color: var(--accent);
  border-top-width: 2px;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(44, 36, 32, 0.08);
}

/* ─── GRID ───────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 1px;
  background: var(--rand);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ─── IMAGES ─────────────────────────────────────────────── */

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

/* ─── UTILITIES ──────────────────────────────────────────── */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 12px;
}

.mt-2 {
  margin-top: 24px;
}

.mt-3 {
  margin-top: 36px;
}

.mt-4 {
  margin-top: 48px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 12px;
}

.mb-2 {
  margin-bottom: 24px;
}

.mb-3 {
  margin-bottom: 36px;
}

.mb-4 {
  margin-bottom: 48px;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-70 {
  opacity: 0.7;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────– */

body.cursor-ready {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

body.cursor-ready .custom-cursor {
  display: block;
}

.custom-cursor.active {
  width: 40px;
  height: 40px;
  background: var(--accent);
  opacity: 0.2;
}


/* ─── PREFERS REDUCED MOTION ────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
