/* ═══════════════════════════════════════
   TERRYS — Typography & Buttons
═══════════════════════════════════════ */

/* ─── TYPOGRAPHY ─── */
.serif { font-family: var(--font-serif); }
.mono  { font-family: var(--font-mono); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: var(--lime);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.section-tag--light {
  background: rgba(255,112,64,0.18);
  color: var(--orange2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--forest);
  margin-bottom: 18px;
}

.section-title em {
  font-style: italic;
  color: var(--forest3);
}

.section-title--light { color: var(--white); }
.section-title--light em { color: rgba(255,255,255,0.7); }

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

.section-sub--center {
  margin: 0 auto;
  text-align: center;
}

.section-sub--light { color: rgba(255,255,255,0.5); }

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: var(--tr-base);
  white-space: nowrap;
  line-height: 1;
}

.btn--sm  { font-size: 14px; padding: 9px 18px;  border-radius: var(--r-sm); }
.btn--md  { font-size: 15px; padding: 11px 24px; border-radius: var(--r-md); }
.btn--lg  { font-size: 16px; padding: 14px 30px; border-radius: var(--r-md); }

.btn--forest {
  background: var(--forest);
  color: var(--white);
}
.btn--forest:hover {
  background: var(--forest2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn--lime {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
}
.btn--lime:hover {
  background: var(--orange2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,78,27,0.38);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.btn--outline:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: rgba(0,0,0,0.04);
}

.btn--ghost-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ─── STATUS BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
}

.badge--ok   { background: var(--green-bg); color: var(--green-ok); }
.badge--warn { background: var(--warn-bg);  color: var(--warn); }
.badge--info { background: var(--blue-bg);  color: var(--blue); }

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* Hero initial animations */
.anim-0  { animation: fadeUp 0.55s 0.00s ease both; }
.anim-1  { animation: fadeUp 0.55s 0.10s ease both; }
.anim-2  { animation: fadeUp 0.55s 0.20s ease both; }
.anim-3  { animation: fadeUp 0.55s 0.30s ease both; }
.anim-4  { animation: fadeUp 0.55s 0.45s ease both; }
.anim-5  { animation: fadeUp 0.80s 0.55s ease both; }
