@font-face {
  font-family: 'Albert Sans';
  src: url('/img/fonts/AlbertSans-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-primary, #a56add);
  color: white;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}

.skip-to-content:focus {
  left: 0;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .logo-marquee-track {
    animation: none;
  }
}

.hero-section h1 {
  text-shadow: 0 2px 12px rgba(255, 255, 255, 1), 0 0 24px rgba(255, 255, 255, 0.9);
}

@media (min-width: 1024px) {
  .hero-section h1 {
    text-shadow: none;
  }
}

.hero-inner {
  min-height: 75vh;
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: 88vh;
  }
}

.section-spacing {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}


.section-title {
  font-weight: 400;
  letter-spacing: -0.025em;
}

h2.section-title {
  font-weight: 600;
}

.prose h2 {
  font-weight: 400;
  letter-spacing: -0.025em;
}

.prose h3 {
  font-weight: 400;
}

.prose a {
  color: #7C5CFC;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #6344e0;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Logo marquee */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* High contrast mode — via OS setting or manual toggle */
@media (prefers-contrast: more) {
  :root { --high-contrast: 1; }
}

html[data-contrast="high"],
:root:has([style*="--high-contrast:1"]) {
  --high-contrast: 1;
}

@media (prefers-contrast: more) {
  .text-base-content\/60,
  .text-base-content\/70,
  .text-base-content\/80 {
    color: var(--color-base-content, #0f172a) !important;
  }
  .bg-base-200 { background-color: #e2e8f0 !important; }
  .btn-outline { border-width: 2px; }
  .opacity-30, .opacity-40 { opacity: 0.7 !important; }
  .text-primary { color: #7b3aaf !important; }
}

html[data-contrast="high"] .text-base-content\/60,
html[data-contrast="high"] .text-base-content\/70,
html[data-contrast="high"] .text-base-content\/80 {
  color: var(--color-base-content, #0f172a) !important;
}

html[data-contrast="high"] .bg-base-200 {
  background-color: #e2e8f0 !important;
}

html[data-contrast="high"] .btn-outline {
  border-width: 2px;
}

html[data-contrast="high"] .opacity-30,
html[data-contrast="high"] .opacity-40 {
  opacity: 0.7 !important;
}

html[data-contrast="high"] .text-primary {
  color: #7b3aaf !important;
}
