/* ============================================================
   base.css — design tokens, reset, utilities, buttons, sections
   Load order: base -> layout -> components -> home -> responsive
   ============================================================ */

/* DESIGN TOKENS — LIGHT THEME */
:root {
  --vg:          #356d5b;
  --vg-light:    #3e8068;
  --vg-dark:     #1c3d30;
  --vg-tint:     rgba(53,109,91,0.07);
  --vg-glow:     rgba(53,109,91,0.18);
  --teal:        #006e6e;
  --gold:        #b8891e;        /* darkened for legibility on light bg */
  --gold-light:  #d4a632;
  --gold-tint:   rgba(184,137,30,0.1);
  --white:       #ffffff;
  --bg:          #f4f6f2;        /* warm off-white with green tint */
  --surface:     #ffffff;
  --surface-2:   #eef1ec;
  --border:      rgba(53,109,91,0.14);
  --border-mid:  rgba(53,109,91,0.25);
  --border-gold: rgba(184,137,30,0.35);
  --text:        #111a15;        /* near-black with green tint */
  --text-mid:    #2e4a3e;
  --text-dim:    #5a7a6a;
  --font-head:   'Bebas Neue', sans-serif;
  --font-ui:     'IBM Plex Mono', monospace;
  --font-body:   'Cormorant Garamond', Georgia, serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--vg-light); border-radius: 2px; }

/* SUBTLE GRID BACKGROUND */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: none;
   /* linear-gradient(rgba(53,109,91,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,109,91,0.06) 1px, transparent 1px); */
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* UTILITIES */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.tag {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vg-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tag::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--vg-light);
  flex-shrink: 0;
}
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
  position: relative;
  z-index: 1;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--vg);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--vg-dark);
  box-shadow: 0 4px 24px var(--vg-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--vg);
  color: var(--vg);
  background: var(--vg-tint);
}

/* SECTION SHARED */
section { position: relative; z-index: 1; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-mid);
  gap: 16px;
}
.section-overline {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--vg-dark);
}
.section-title em { color: var(--vg); font-style: normal; }

