/* CRECER CO. — Base Styles */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap');
@import './tokens.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section {
  padding-block: var(--section-py);
}

/* ── Typography Utilities ── */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.font-label   { font-family: var(--font-label); }

.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-label-light);
}

.text-forest    { color: var(--color-forest); }
.text-emerald   { color: var(--color-forest); }
.text-gold      { color: var(--color-forest-light); }
.text-pale      { color: var(--color-gray); }
.text-white     { color: var(--color-white); }
.text-navy      { color: var(--color-navy); }
.text-deep-space { color: var(--color-navy); }
.text-center    { text-align: center; }

/* ── Accent Line Divider ── */
.emerald-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-forest);
  border-radius: 2px;
  margin-block: var(--space-4);
}
.emerald-line--full   { width: 100%; }
.emerald-line--center { margin-inline: auto; }

/* ── Accessibility ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Gradient Text ── */
.text-gradient {
  background: var(--grad-growth);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease),
              transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
