/* ══════════════════════════════════════════════════════
   utilities.css — i2C-Global
   Utility classes to replace repeated inline styles.
   ══════════════════════════════════════════════════════ */

/* ─── Footer logo: coin-spin lockup ─── */
.footer-lock {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .035em;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 1.2rem;
}

/* i2C stays orange */
.footer-lock .lb { color: #E8590C; }

/* Separator */
.footer-lock .ls {
  color: rgba(255,255,255,.5);
  padding: 0 .14em;
  font-weight: 400;
  font-size: .9em;
}

/* GLOBAL is always white in the footer */
.footer-lock .lw { color: #fff; }

/* Globe icon wrapper */
.footer-lock .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  position: relative;
  top: .02em;
  margin: 0 .05em;
  flex-shrink: 0;
  vertical-align: middle;
}
.footer-lock .go svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ─── Footer tagline ─── */
.footer-tagline {
  font-weight: 700;
  color: #fff;
  margin-top: -0.5rem;
}

/* ─── Footer bottom links row ─── */
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ─── Legal content body ─── */
.legal-content {
  line-height: 1.8;
  color: var(--text);
}

/* ─── Legal section spacing ─── */
.legal-content h2 {
  margin-top: 2rem;
}

/* ─── Legal list indent ─── */
.legal-list {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ─── Accent link (inline text links) ─── */
.link-accent {
  color: var(--accent);
  text-decoration: none;
}
.link-accent:hover {
  text-decoration: underline;
}

/* ─── Stat strip footnote ─── */
.stat-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1.1rem 6% 0;
}

/* ─── Contact info email link ─── */
.contact-email-link {
  color: var(--accent);
  text-decoration: none;
}
.contact-email-link:hover {
  text-decoration: underline;
}

/* ─── Google Maps iframe ─── */
.map-iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* ─── Projects row item — pointer cursor ─── */
.row-list-item--clickable {
  cursor: pointer;
}

/* ─── Projects row action muted color ─── */
.row-action--muted {
  color: var(--text-muted);
}

/* ─── Margin top spacing ─── */
.mt-4 {
  margin-top: var(--space-4);
}

/* ─── Tag wrap centered ─── */
.tag-wrap--centered {
  justify-content: center;
}

/* ─── Tag wrap with bottom spacing ─── */
.tag-wrap--spaced {
  margin-bottom: 1.4rem;
}

/* ─── Form validation states ─────────────────────────────────────────────── */
.form-error {
  display: block;
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.3rem;
  min-height: 1.1em; /* prevents layout shift when shown/hidden */
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #dc2626;
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* ─── Form submission banners ────────────────────────────────────────────── */
.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius, 12px);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.form-banner[hidden] {
  display: none;
}

.form-banner i {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.form-banner--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803d;
}

.form-banner--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #b91c1c;
}

/* Dark mode adjustments */
.dark-mode .form-banner--success {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.dark-mode .form-banner--error {
  background: rgba(220, 38, 38, 0.12);
  color: #f87171;
}

/* (GSAP character class removed — no longer used in the codebase) */

/* Reduced-motion: make all hero enter-* elements visible immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-home,
  .hero-title,
  .hero-lead,
  .hero-sublead,
  .cta-row,
  .hero-image-card,
  .hero-floating-badge {
    opacity: 1 !important;
    transform: none !important;
  }
}
