:root {
  --page-brightness: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

#site-shell {
  min-height: 100vh;
  filter: brightness(var(--page-brightness));
  transition: filter 0.2s ease;
}

@supports ((backdrop-filter: brightness(1)) or (-webkit-backdrop-filter: brightness(1))) {
  #site-shell {
    filter: none;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    pointer-events: none;
    backdrop-filter: brightness(var(--page-brightness));
    -webkit-backdrop-filter: brightness(var(--page-brightness));
  }
}

.bg-cyan-600 {
  background-color: #0f766e !important;
}

.text-cyan-600 {
  color: #0f766e !important;
}

.border-cyan-600 {
  border-color: #0f766e !important;
}

.hover\:bg-cyan-700:hover,
.hover\:bg-cyan-700:focus-visible {
  background-color: #115e59 !important;
}

.hover\:text-cyan-600:hover,
.hover\:text-cyan-600:focus-visible {
  color: #0f766e !important;
}

.text-blue-600 {
  color: #7dd3fc !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.2s ease;
}

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

main:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 0.5rem;
}

.hero-overlay {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.hero-overlay > * {
  position: relative;
  z-index: 1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop-submenu[hidden],
.mobile-submenu[hidden] {
  display: none !important;
}
