@import url("https://fontsapi.zeoseven.com/281/main/result.css");

@view-transition {
  navigation: auto;
}

:root {
  --font-cute: "Comic Sans MS", "Bradley Hand", "Xiaolai", "STKaiti", "KaiTi", cursive;
  --font-display: var(--font-cute);
  --font-body: var(--font-cute);
  --font-mono: var(--font-cute);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  color: var(--fg-primary);
  background: var(--oi-cream-0);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(71, 159, 107, .42) 0, transparent 40%),
    radial-gradient(circle at 88% 62%, rgba(255, 228, 62, .38) 0, transparent 42%),
    linear-gradient(150deg, #e3eee0 0%, #f8eeac 55%, #fcefc4 100%);
  background-attachment: fixed;
  font: var(--body);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(46px);
  pointer-events: none;
}

body::before {
  top: 8%;
  left: 18%;
  width: 34vw;
  height: 34vw;
  background: color-mix(in srgb, var(--oi-teal-1) 28%, transparent);
}

body::after {
  right: 8%;
  bottom: 2%;
  width: 30vw;
  height: 30vw;
  background: color-mix(in srgb, var(--oi-yellow-1) 42%, transparent);
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--accent-primary) 48%, white);
  outline-offset: 4px;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 253, 245, 0.67);
  box-shadow: var(--shadow-paper), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(112%);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
}

.site-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--fg-secondary);
  text-align: center;
}

.loading-orb {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--oi-mint-1), var(--oi-yellow-1));
  box-shadow: var(--shadow-node);
  animation: breathe 900ms ease-in-out infinite alternate;
}

@keyframes breathe {
  to {
    transform: scale(1.08);
  }
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.custom-cursor-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.custom-cursor-layer.is-visible {
  opacity: 1;
}

.cursor-dot,
.cursor-ring-anchor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.cursor-dot {
  z-index: 3;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 50%;
  background: var(--oi-yellow-1);
  box-shadow: 0 3px 10px rgba(143, 109, 29, .28);
}

.cursor-ring-anchor {
  z-index: 2;
  width: 0;
  height: 0;
}

.cursor-ring-anchor i {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: rgba(252, 239, 196, .12);
  box-shadow: 0 0 0 1px rgba(71, 159, 107, .34), 0 7px 20px rgba(47, 111, 76, .16), inset 0 0 14px rgba(255,255,255,.38);
  transform: translate(-50%,-50%) scale(1);
  transition: width 220ms var(--ease-bounce-soft), height 220ms var(--ease-bounce-soft), border-color 180ms ease, background 180ms ease, transform 150ms var(--ease-bounce-soft);
}

.custom-cursor-layer.is-interactive .cursor-ring-anchor i {
  width: 46px;
  height: 46px;
  border-color: rgba(71, 159, 107, .88);
  background: rgba(255, 228, 62, .14);
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 9px 24px rgba(47, 111, 76, .2), inset 0 0 16px rgba(255,255,255,.48);
}

.custom-cursor-layer.is-interactive .cursor-dot {
  background: var(--oi-teal-1);
}

.custom-cursor-layer.is-pressed .cursor-ring-anchor i {
  transform: translate(-50%,-50%) scale(.78);
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.cursor-ready,
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready summary,
  body.cursor-ready input,
  body.cursor-ready [role="button"] {
    cursor: none !important;
  }
}

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