/* =========================================================
   BLACKBOX — Base (variables, reset, typography, buttons, utility)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f5f5f4;
  --c-dark: #0b1512;
  --c-dark-2: #0e1b17;
  --c-nav: rgba(5, 6, 6, 0.6);
  --c-text: #1b1e18;
  --c-text-soft: #55584f;
  --c-text-mute: #8b8d82;
  --c-line: #e1e0dc;
  --c-line-dark: rgba(255, 255, 255, 0.14);
  --c-white: #ffffff;

  --font-display: 'EB Garamond', Georgia, serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;

  --container: 1240px;
  --header-h: 92px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--c-text); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  display: block;
  margin-bottom: 18px;
}
.italic-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  margin-bottom: 18px;
}
.lead {
  color: var(--c-text-soft);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-dark { color: var(--c-text); border-color: var(--c-text); }
.btn-dark:hover { background: var(--c-text); color: var(--c-white); }
.btn-light { color: var(--c-white); border-color: rgba(255,255,255,0.65); }
.btn-light:hover { background: var(--c-white); color: var(--c-dark); }
.btn-block { width: 100%; }

/* ---------- Section helpers ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-dark); color: rgba(255,255,255,0.85); }
.section-dark .eyebrow { color: rgba(255,255,255,0.6); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.hidden { display: none !important; }
