/* MyCheese.nl – premium editorial design */
:root {
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --color-bg: #fafaf9;
  --color-surface: #ffffff;
  --color-ink: #1c1917;
  --color-ink-muted: #44403c;
  --color-ink-light: #78716c;
  --color-nav: #1c1917;
  --color-nav-text: #e7e5e4;
  --color-nav-text-muted: #a8a29e;
  --color-accent: #b45309;
  --color-accent-hover: #92400e;
  --color-border: #e7e5e4;
  --color-footer: #0c0a09;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --container: min(1280px, 100% - 3rem);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.max-w-7xl { max-width: 80rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.min-h-screen { min-height: 100vh; }
.text-center { text-align: center; }
.block { display: block; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.ml-6 { margin-left: 1.5rem; }
.mr-2 { margin-right: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border: 1px solid var(--color-border); }
.border-2 { border-width: 2px; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.hidden { display: none; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }

/* —— Nav (dark, minimal) —— */
.nav-bar {
  background: var(--color-nav);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-nav-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}
.nav-logo:hover { color: #fff; }
.nav-logo-icon { display: none; }
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: var(--color-nav-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--color-nav-text); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-actions .nav-link { color: var(--color-nav-text-muted); }
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--color-nav-text);
  color: var(--color-nav) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-nav-cta:hover { background: #fff; color: var(--color-nav) !important; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* —— Hero (editorial, one message) —— */
.hero {
  padding: var(--space-4xl) 1.5rem;
  text-align: center;
  background: var(--color-bg);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  max-width: 16ch;
  margin: 0 auto 1.25rem;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--color-ink-muted);
  max-width: 28rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: var(--color-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--color-accent); color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 0;
  background: transparent;
  color: var(--color-ink-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-ink-light);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-secondary:hover { color: var(--color-ink); border-color: var(--color-ink); }

/* —— Features (minimal, no icons) —— */
.section-features {
  background: var(--color-surface);
  padding: var(--space-4xl) 1.5rem;
  border-top: 1px solid var(--color-border);
}
.section-features .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
}
.feature-card {
  display: block;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s var(--ease);
}
.feature-card:first-child { padding-top: 0; }
.feature-card:last-child { border-bottom: none; }
.feature-card:hover { background: var(--color-bg); }
.feature-card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}
.feature-card-arrow {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.feature-card:hover .feature-card-arrow { transform: translateX(4px); }
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
  .feature-card { border-bottom: none; border-right: 1px solid var(--color-border); padding: 1.5rem 2rem 1.5rem 0; }
  .feature-grid .feature-card:nth-child(2n) { border-right: none; padding-right: 0; padding-left: 2rem; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .feature-card { border-right: 1px solid var(--color-border); padding: 0 1.5rem; }
  .feature-card:last-child { border-right: none; }
}

/* —— Footer —— */
.site-footer {
  background: var(--color-footer);
  color: #e7e5e4;
  margin-top: 0;
  padding: 3rem 1.5rem;
}
.site-footer a {
  color: #a8a29e;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s var(--ease);
}
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer p { color: #a8a29e; font-size: 0.8125rem; margin: 0; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.375rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* —— Utilities (other pages) —— */
.text-gray-400 { color: #a8a29e; }
.text-gray-600 { color: var(--color-ink-muted); }
.text-gray-700 { color: var(--color-ink); }
.text-gray-900 { color: var(--color-ink); }
.text-red-600 { color: #dc2626; }
.text-white { color: #fff; }
.text-amber-600 { color: var(--color-accent); }
.bg-white { background: var(--color-surface); }
.bg-gray-50 { background: var(--color-bg); }
.bg-gray-900 { background: var(--color-footer); }
.bg-amber-50 { background: #fffbeb; }
.bg-amber-600 { background: var(--color-accent); }
.bg-gradient-to-br { background: linear-gradient(135deg, #fafaf9, #f5f5f4); }
.hover\:bg-amber-50:hover { background: #fffbeb; }
.hover\:bg-amber-700:hover { background: var(--color-accent-hover); }
.hover\:text-amber-600:hover { color: var(--color-accent); }
.hover\:text-white:hover { color: #fff; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08); }
.hover\:underline:hover { text-decoration: underline; }
.border-amber-100 { border-color: #fef3c7; }
.border-gray-300 { border-color: var(--color-border); }
.border-amber-600 { border-color: var(--color-accent); }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.aspect-video { aspect-ratio: 16/10; }
.bg-green-100 { background: #dcfce7; }
.text-green-800 { color: #166534; }
.bg-red-100 { background: #fee2e2; }
.text-red-800 { color: #991b1b; }
.mt-1 { margin-top: 0.25rem; }
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:text-6xl { font-size: 3.75rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
