html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.skip-link {
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.glass-nav {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-visual {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.66), rgba(20, 184, 166, 0.26)),
    url("https://images.unsplash.com/photo-1518186285589-2f7649de83e0?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.data-mesh {
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(148, 163, 184, 0.22), transparent 22rem),
    linear-gradient(135deg, #f8fafc 0%, #eef6f4 48%, #f8fafc 100%);
}

.soft-grid {
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.nav-link {
  color: #334155;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0f766e;
}

.mint-card {
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}

.section-kicker {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-active {
  background: #0f766e;
  color: #ffffff;
}

.lang-inactive {
  color: #334155;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(15, 118, 110, 0.74)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.brand-mark {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.45rem;
  object-fit: cover;
}

.footer-mark {
  height: 3.25rem;
  width: 3.25rem;
  border-radius: 0.55rem;
  object-fit: cover;
}

.map-frame {
  min-height: 22rem;
  border: 0;
  width: 100%;
}

.social-link,
.social-icon {
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 0.35rem;
  color: #0f766e;
  display: inline-flex;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-link:hover,
.social-icon:hover {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-chevron {
  transition: transform 180ms ease;
}

.accordion-panel[hidden] {
  display: none;
}

.cookie-banner {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.5rem;
  bottom: 1rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
  color: #f8fafc;
  left: 1rem;
  max-width: 44rem;
  padding: 1.25rem;
  position: fixed;
  right: 1rem;
  z-index: 80;
}

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

.article-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.article-meta {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.share-button {
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 0.35rem;
  color: #0f766e;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.share-button:hover {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.article-prose h2 {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-top: 2.25rem;
}

.article-prose p,
.article-prose li {
  color: #334155;
  line-height: 1.85;
}
