/* ═══════════════════════════════════════════
   BASE.CSS — Design tokens, reset, typography
   Edit this file to change the site's look globally
═══════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Backgrounds */
  --bg:           #f2f1ed;
  --bg-alt:       #ebe9e3;
  --surface:      #ffffff;
  --surface-2:    #f7f6f2;

  /* Borders */
  --border:       rgba(0, 0, 0, 0.07);
  --border-mid:   rgba(0, 0, 0, 0.13);

  /* Text */
  --text-1:       #0f0f0e;
  --text-2:       #5a5750;
  --text-3:       #a09c96;

  /* Accent — brand yellow */
  --accent:       #f0b400;
  --accent-dim:   rgba(240, 180, 0, 0.10);
  --accent-dark:  #c89400;

  /* Nav */
  --nav-bg:       rgba(242, 241, 237, 0.88);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:    0 2px 8px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:    0 4px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.08);

  /* Misc */
  --radius:       10px;
  --t:            0.22s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w:        1180px;
  --page-px:      48px;
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg:           #111110;
  --bg-alt:       #161614;
  --surface:      #1c1b19;
  --surface-2:    #232220;
  --border:       rgba(255, 255, 255, 0.06);
  --border-mid:   rgba(255, 255, 255, 0.11);
  --text-1:       #f0ede6;
  --text-2:       #8a8680;
  --text-3:       #4a4742;
  --accent:       #f0b400;
  --accent-dim:   rgba(240, 180, 0, 0.09);
  --accent-dark:  #c89400;
  --nav-bg:       rgba(17, 17, 16, 0.92);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.3),  0 2px 8px rgba(0,0,0,0.2);
  --shadow-md:    0 2px 8px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.25);
  --shadow-lg:    0 4px 16px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  transition: background var(--t), color var(--t);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0f0f0e;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 7px;
  border: none;
  transition: all var(--t);
  box-shadow: 0 2px 12px rgba(240, 180, 0, 0.25);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 20px rgba(240, 180, 0, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-1);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 7px;
  border: 1px solid var(--border-mid);
  transition: all var(--t);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--text-2);
}

/* ── SECTION UTILITIES ── */
.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--text-1);
  line-height: 1.2;
}
.section-title strong { font-weight: 500; }

/* ── PAGE WRAPPER ── */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px var(--page-px) 80px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
