/* =============================================
   BASE — base.css
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

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

/* Shared section wrapper */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5%;
}

/* Shared typography helpers */
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag.accent-blue { color: var(--accent-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 560px;
  line-height: 1.8;
}
.section-sub.light   { color: rgba(255,255,255,0.6); }
.section-sub.centered{ margin: 0 auto; text-align: center; }

/* Shared buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--white); }

/* Fade-in animation (triggered by JS) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
