/* Additions on top of site.css (the stylesheet carried over from Airo). */

/* Scroll-in animations. Only hidden when JavaScript is running, so the
   content is always visible to search engines and no-JS visitors. */
.js [data-reveal] {
  opacity: 0;
  transform: var(--reveal-from, none);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* The logo is square but sits in slots sized for a wide logo; Airo enlarged
   it 1.4x at runtime. Same sizes, done in CSS. */
img[src*="/logo/horizontal"].h-14 { height: 78.4px; }
img[src*="/logo/horizontal"].h-12 { height: 67.2px; }
@media (min-width: 768px) {
  img[src*="/logo/horizontal"].md\:h-16 { height: 89.6px; }
}

[hidden] { display: none !important; }

/* Contact form error message (this color isn't in the Airo stylesheet). */
.text-red-400 { color: #f87171; }
