.public-site,
.admin-app,
.login-page {
  --visual-dots: url("./decor-dots-soft.svg?v=8bd4ae4d0905");
  --visual-halo:
    radial-gradient(
      ellipse at 95% 8%,
      rgba(106, 187, 152, 0.12),
      transparent 48%
    ),
    radial-gradient(ellipse at 3% 92%, rgba(224, 190, 90, 0.1), transparent 42%);
  --visual-education: url("./decor-education.svg?v=0ff726615c84");
  --visual-grain: url("./decor-grain.svg");
}

/* Quiet backgrounds keep the centre of each section clear for content. */
.public-site main :where(section:not(.home-hero):not(.page-header)),
.public-site
  main
  > :where(
    div:not(.page-header):not(.public-sticky-filter):not(.fixed):not(
        [role="dialog"]
      )
  ) {
  background-image: var(--visual-halo);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.public-site main > section[data-decoration="dots"],
.public-site[data-page^="public.news"] main > section,
.public-site[data-page^="public.gallery"] main > section {
  background-image:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.72) 30%,
      rgba(255, 255, 255, 0.72) 70%,
      transparent
    ),
    var(--visual-dots);
  background-size:
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
}

.public-site main > section[data-decoration="grid"],
.public-site[data-page^="public.programs"] main > section:not(.page-header),
.public-site[data-page="public.ppdb"] main > section {
  background-image:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(126, 192, 157, 0.12),
      transparent 45%
    ),
    linear-gradient(135deg, #f8faf7, #faf8f3),
    linear-gradient(
      90deg,
      transparent,
      rgba(250, 248, 243, 0.88) 30%,
      rgba(250, 248, 243, 0.88) 70%,
      transparent
    );
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.public-site main > section[data-decoration="education"],
.public-site[data-page^="public.activities"] main > section,
.public-site[data-page="public.schoolActivities"] main > section,
.public-site[data-page="public.contact"] main > section {
  background-image:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.72) 30%,
      rgba(255, 255, 255, 0.72) 70%,
      transparent
    ),
    var(--visual-education);
  background-size:
    100% 100%,
    360px 300px;
  background-repeat: no-repeat, repeat;
}

.public-site main > section[data-decoration="aurora"],
.public-site[data-page^="public.achievements"] main > section {
  background-image:
    radial-gradient(ellipse at 0 0, rgba(130, 201, 175, 0.13), transparent 48%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(160, 191, 226, 0.13),
      transparent 48%
    ),
    var(--visual-grain);
  background-size:
    100% 100%,
    100% 100%,
    160px 160px;
  background-repeat: no-repeat, no-repeat, repeat;
}

.public-site main > section[data-decoration="grid-dark"] {
  background-image:
    url("./decor-grid-public-light.svg?v=normal"),
    url("./decor-dots-public-light.svg?v=normal"),
    radial-gradient(
      ellipse at 85% 12%,
      rgba(115, 207, 168, 0.16),
      transparent 50%
    ),
    linear-gradient(90deg, rgba(13, 42, 25, 0.25), transparent),
    var(--visual-grain);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    160px 160px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-blend-mode: soft-light, soft-light, normal, normal, normal;
}

.public-site .page-header,
.public-site .page-header.program-khusus-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    radial-gradient(
      ellipse at 88% 18%,
      rgba(125, 217, 177, 0.14),
      transparent 48%
    ),
    var(--header-base);
}

.public-site .page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("./decor-grid-public-light.svg?v=normal"),
    url("./decor-dots-public-light.svg?v=normal");
  background-size:
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.58;
  mix-blend-mode: screen;
}

.public-site[data-page^="public.news"] .page-header,
.public-site[data-page^="public.gallery"] .page-header {
  background-image: var(--header-base);
}

.public-site .page-header > div {
  position: relative;
  z-index: 1;
}

.public-site .header-default-background {
  background-image:
    url("./decor-grid-public-light.svg?v=normal"),
    url("./decor-dots-public-light.svg?v=normal"),
    radial-gradient(
      ellipse at 80% 10%,
      rgba(142, 211, 186, 0.17),
      transparent 45%
    ),
    var(--visual-grain), var(--header-base);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    160px 160px,
    100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
}

.public-site .hero-texture {
  background-image: none;
}

.public-site .header-default-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 75% 30%,
      rgba(113, 226, 184, 0.17),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 25% 75%,
      rgba(239, 203, 115, 0.1),
      transparent 40%
    ),
    radial-gradient(
      ellipse at 90% 88%,
      rgba(118, 161, 231, 0.17),
      transparent 40%
    );
  pointer-events: none;
  animation: visual-aurora 36s ease-in-out infinite alternate;
}

.public-site .section-label,
.public-site .section-label-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.public-site .section-label::before,
.public-site .section-label-gold::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: 0.65;
}

.public-site .content-card,
.public-site .gallery-card {
  border-radius: 1.5rem;
}

.public-site .profile-glass-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
  min-height: 3.125rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 9999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(222, 244, 233, 0.1)),
    rgba(10, 52, 31, 0.34);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(5, 29, 17, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.public-site .profile-glass-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.public-site .profile-glass-cta:hover {
  border-color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(222, 244, 233, 0.18)),
    rgba(10, 52, 31, 0.45);
  transform: translateY(-1px);
}

.public-site .profile-glass-cta:hover svg { transform: translateX(2px); }

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .public-site .profile-glass-cta {
    background: rgba(79, 110, 91, 0.92);
  }
}

.public-site .home-glass-card,
.public-site .home-glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(244, 250, 246, 0.48)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 36px rgba(20, 55, 39, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.public-site .home-glass-card {
  position: relative;
  isolation: isolate;
}

.public-site .home-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.38),
    transparent 42%
  );
}

.public-site .home-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 22px 44px rgba(20, 55, 39, 0.15);
}

.public-site .home-glass-panel {
  border-radius: 1.75rem;
  padding: 1.25rem;
}

.public-site .home-contact-card {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(20, 55, 39, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

/* Shared editorial card surface: homepage, news, blog, and achievements. */
.public-site .public-glass-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.68);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(239, 248, 242, 0.56));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 34px rgba(20, 55, 39, 0.11);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.public-site .public-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.48), transparent 42%);
}

.public-site .public-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 201, 72, 0.58);
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 22px 44px rgba(20, 55, 39, 0.16);
}

.public-site .public-glass-card > :is(a, div) {
  position: relative;
}

.public-site .achievement-glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.68);
  background-image: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(239, 248, 242, 0.56)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 14px 34px rgba(20, 55, 39, 0.11);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.public-site .achievement-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.48), transparent 42%);
}

.public-site .achievement-glass-card > * {
  position: relative;
}

.public-site .achievement-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 201, 72, 0.58);
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 22px 44px rgba(20, 55, 39, 0.16);
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .public-site .home-glass-card,
  .public-site .home-glass-panel,
  .public-site .achievement-glass-card,
  .public-site .public-glass-card {
    background: rgba(250, 253, 251, 0.96);
  }
}

.public-site .site-footer {
  border-radius: 2.5rem 2.5rem 0 0;
  background-image:
    radial-gradient(ellipse at 5% 0, rgba(81, 146, 113, 0.12), transparent 45%),
    linear-gradient(
      90deg,
      transparent,
      rgba(13, 31, 13, 0.9) 30%,
      rgba(13, 31, 13, 0.9) 70%,
      transparent
    ),
    var(--visual-grain);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    160px 160px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
}

.public-site
  :where(
    .content-card,
    .gallery-card,
    article.bg-white,
    .bg-white.rounded-xl,
    .bg-white.rounded-lg
  ) {
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(224, 190, 90, 0.06),
    transparent 60%
  );
}

.admin-app {
  background-color: #f6f8f7;
  background-image: none;
}

.admin-app main {
  background-color: #f8faf9;
  background-image:
    url("./decor-dots-admin.svg?v=8bd4ae4d0905"),
    radial-gradient(ellipse at 0 0, rgba(126, 192, 157, 0.1), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(148, 185, 222, 0.08),
      transparent 55%
    );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  scrollbar-color: rgba(26, 77, 46, 0.3) transparent;
}

.admin-app > .flex > aside {
  background-image:
    url("./decor-grid-soft-light.svg?v=58cdcd3f8192"),
    url("./decor-dots-soft-light.svg?v=b8faefe438a2"),
    linear-gradient(180deg, rgba(21, 59, 36, 0.65), rgba(15, 31, 15, 0.85));
  background-size:
    100% 100%,
    100% 100%,
    100% 100%;
  border-right: 1px solid rgba(201, 162, 39, 0.15);
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.admin-app[data-page^="admin.news"] main,
.admin-app[data-page^="admin.media"] main {
  background-image:
    linear-gradient(
      90deg,
      transparent,
      rgba(247, 248, 246, 0.72) 25%,
      rgba(247, 248, 246, 0.72) 75%,
      transparent
    ),
    var(--visual-dots);
  background-size:
    100% 100%,
    100% 100%;
}

.admin-app[data-page^="admin.teachers"] main,
.admin-app[data-page^="admin.schoolActivities"] main {
  background-image: var(--visual-halo), var(--visual-education);
  background-size:
    100% 100%,
    360px 300px;
}

.admin-app .admin-topbar {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: rgba(26, 77, 46, 0.07);
}

.admin-app .admin-page-intro {
  padding: 1.1rem 1.25rem;
  border-radius: 0.4rem 1.25rem 1.25rem 0.4rem;
  border-left-color: #c9a227;
  background-image: linear-gradient(
    105deg,
    rgba(236, 246, 239, 0.95),
    rgba(255, 255, 255, 0.75)
  );
  background-size: 100% 100%;
  box-shadow: 0 6px 24px rgba(20, 55, 39, 0.035);
  background-repeat: no-repeat;
}

.admin-app
  main
  :where(
    .admin-panel,
    .admin-surface,
    .bg-white.rounded-xl,
    .bg-white.rounded-lg
  ) {
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(128, 192, 159, 0.09),
    transparent 55%
  );
  border-radius: 1.25rem;
  border-color: rgba(26, 77, 46, 0.05);
  box-shadow: 0 8px 26px rgba(20, 55, 39, 0.045);
}

.admin-app .admin-stat-card {
  border-top: 2px solid rgba(26, 77, 46, 0.35);
  border-radius: 1.15rem;
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(126, 192, 157, 0.17),
    transparent 65%
  );
}
.admin-app .admin-stat-card:nth-child(3n + 2) {
  border-top-color: rgba(201, 162, 39, 0.5);
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(224, 190, 90, 0.17),
    transparent 65%
  );
}
.admin-app .admin-stat-card:nth-child(3n) {
  border-top-color: rgba(50, 105, 166, 0.35);
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(148, 185, 222, 0.17),
    transparent 65%
  );
}
.admin-app .admin-stat-card.border-red-200 {
  border-top-color: rgba(220, 38, 38, 0.45);
  background-image: radial-gradient(
    ellipse at 100% 0,
    rgba(248, 113, 113, 0.07),
    transparent 65%
  );
}

.admin-app table thead {
  background-image: linear-gradient(
    100deg,
    rgba(233, 244, 236, 0.75),
    rgba(249, 247, 238, 0.75)
  );
}
.admin-app table tbody tr {
  transition: background-color 0.18s ease;
}
.admin-app table tbody tr:hover {
  background-color: rgba(235, 245, 237, 0.6);
}
.admin-app
  :where(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    select,
    textarea
  ):focus-visible {
  outline: 2px solid rgba(26, 77, 46, 0.28);
  outline-offset: 2px;
}

.login-page {
  background-color: #f7f8f6;
  background-image:
    url("./decor-grid-soft.svg?v=0242984ed620"),
    url("./decor-dots-soft.svg?v=8bd4ae4d0905"),
    radial-gradient(
      circle at 85% 18%,
      rgba(132, 189, 163, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 62% 88%,
      rgba(217, 186, 110, 0.1),
      transparent 28%
    ),
    var(--visual-grain), var(--visual-education),
    linear-gradient(135deg, #f5f8f6, #f9f9f5 55%, #f2f5f7);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    160px 160px,
    300px 250px,
    100% 100%;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat, no-repeat;
  background-position: center;
}
.login-page .login-visual {
  background-color: #164a2d;
  background-image:
    url("./decor-grid-soft-light.svg?v=58cdcd3f8192"),
    url("./decor-dots-soft-light.svg?v=b8faefe438a2"),
    radial-gradient(
      circle at 76% 22%,
      rgba(145, 218, 181, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 18% 80%,
      rgba(230, 196, 112, 0.09),
      transparent 30%
    ),
    var(--visual-grain), linear-gradient(145deg, #15442f, #174b36 55%, #1a4549);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    160px 160px,
    100% 100%;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-position: center;
}
.login-page .login-visual-pattern {
  z-index: 2;
  background-image: url("./decor-grid-public-light.svg?v=normal");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
}
.login-page .login-visual-shade {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 35, 21, 0.88) 0%,
    rgba(8, 35, 21, 0.54) 48%,
    rgba(8, 35, 21, 0.16) 100%
  );
  pointer-events: none;
}
.login-page .login-visual-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(150deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 96px;
  mask-image: linear-gradient(100deg, black, transparent 72%);
  opacity: 0.13;
}
.login-page .login-visual-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 11% 24%,
      rgba(247, 201, 72, 0.68) 0 1.5px,
      transparent 2.5px
    ),
    radial-gradient(
      circle at 23% 72%,
      rgba(255, 255, 255, 0.38) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 68%,
      rgba(247, 201, 72, 0.36) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 88% 32%,
      rgba(255, 255, 255, 0.34) 0 1px,
      transparent 2px
    );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 45%,
    black 15%,
    transparent 85%
  );
  mask-image: radial-gradient(ellipse at 50% 45%, black 15%, transparent 85%);
  opacity: 0.38;
}
.login-page .login-mobile-gradient {
  background: none;
}
.login-page .login-mobile-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./decor-grid-public-light.svg?v=normal");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
}
.login-page .login-hero-media {
  will-change: transform;
}
.login-page .login-hero-zoom {
  animation: login-hero-slow-zoom 8s ease-out both;
}
@keyframes login-hero-slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.065);
  }
}
.login-page .login-card {
  border: 1px solid rgba(26, 77, 46, 0.07);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 16px 45px rgba(20, 55, 39, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .admin-app .admin-topbar,
  .login-page .login-card {
    background: rgba(255, 255, 255, 0.97);
  }
}

.public-site .header-default-background::after {
  animation-duration: 16s;
}

@keyframes header-particle-drift {
  from {
    transform: translateY(-4px);
    opacity: 0.25;
  }
  to {
    transform: translateY(4px);
    opacity: 0.45;
  }
}

@keyframes visual-aurora {
  from {
    transform: translate3d(-1%, 0.5%, 0) scale(1.02);
    opacity: 0.45;
  }
  to {
    transform: translate3d(1%, -0.5%, 0) scale(1.05);
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .public-site .page-header::after {
    height: 16px;
  }
  .public-site .site-footer {
    border-radius: 1.75rem 1.75rem 0 0;
  }
  .public-site .header-default-background::before {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .header-default-background::before {
    animation: none;
  }
  .login-page .login-hero-zoom {
    animation: none;
  }
}

.admin-app[data-page] main {
  background-color: #f8faf9;
  background-image:
    linear-gradient(
      90deg,
      rgba(248, 250, 249, 0.55),
      transparent 30%,
      transparent 70%,
      rgba(248, 250, 249, 0.55)
    ),
    radial-gradient(circle, rgba(26, 77, 46, 0.1) 1px, transparent 1.25px),
    radial-gradient(ellipse at 0 0, rgba(126, 192, 157, 0.1), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(148, 185, 222, 0.08),
      transparent 55%
    );
  background-size:
    100% 100%,
    22px 22px,
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat;
}

/* The page owns one continuous background; content sections remain transparent. */
.public-site[data-page^="public."] {
  background-color: #f9fcfa;
  background-image:
    var(--visual-grain), url("./decor-grid-soft.svg?v=0242984ed620"),
    var(--visual-dots),
    radial-gradient(
      circle at 12% 22%,
      rgba(111, 190, 151, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 76%,
      rgba(124, 169, 220, 0.11),
      transparent 34%
    ),
    linear-gradient(135deg, #ffffff 0%, #f3faf6 52%, #f4f8fc 100%);
  background-size:
    160px 160px,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  background-repeat:
    repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
}
.public-site[data-page^="public."] main {
  background-color: transparent;
  background-image: none;
}
.public-site[data-page^="public."]
  main
  > :where(
    section:not(.home-hero):not([data-decoration="grid-dark"]):not(
        [class*="bg-[#1a4d2e]"]
      ),
    div:not(.fixed):not([role="dialog"])
  ):not(.page-header) {
  background-color: transparent;
  background-image: none;
}
.public-site[data-page^="public."]
  main
  :where(
    .content-card,
    .gallery-card,
    article.bg-white,
    .bg-white.rounded-xl,
    .bg-white.rounded-lg
  ) {
  background-image: none;
}
.public-site .site-footer {
  margin-top: 0;
  background-image:
    radial-gradient(ellipse at 5% 0, rgba(81, 146, 113, 0.12), transparent 45%),
    linear-gradient(135deg, #102b1b, #0d1f0d 65%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  isolation: isolate;
  position: relative;
}
.public-site .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    url("./decor-grid-public-light.svg?v=normal"),
    url("./decor-dots-public-light.svg?v=normal");
  background-size:
    100% 100%,
    100% 100%;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.public-site .site-footer > * {
  position: relative;
  z-index: 1;
}

.public-site .btn-outline-white {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 28px rgba(5, 29, 17, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.public-site .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.75);
}

.public-site .public-sticky-filter {
  width: calc(100% - 2rem) !important;
  max-width: 80rem !important;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94) !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 18px rgba(15, 42, 25, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.public-site .public-filter-group {
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.public-site[data-page="public.profile"] .public-sticky-filter {
  margin-block: 2rem !important;
}
.public-site[data-page="public.profile"] .public-filter-group {
  margin-block: 0.75rem !important;
}

@media print {
  .public-site main section,
  .public-site main > div,
  .public-site main > .page-header,
  .public-site[data-page] main > section,
  .public-site[data-page="public.profile"] main > .public-sticky-filter {
    background-image: none !important;
  }
  .public-site .page-header::after,
  .public-site .header-default-background::before {
    display: none;
  }
}

.login-page :is(.login-visual, main)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24px;
  background: url("./decor-waves.svg") center bottom / 100% 100% no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.public-site .hero-particles,
.public-site .header-default-background::after {
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 45%,
    black 15%,
    transparent 85%
  );
  mask-image: radial-gradient(ellipse at 50% 45%, black 15%, transparent 85%);
}

.public-site .hero-pattern-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
  background-image: url("./decor-grid-public-light.svg?v=normal");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.public-site .hero-slideshow-image {
  will-change: opacity;
}

.public-site .hero-ken-burns-active {
  animation: hero-slow-zoom 8s ease-out both;
  will-change: opacity, transform;
}

@keyframes hero-slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.065);
  }
}

.public-site .hero-background {
  z-index: 0;
}

.public-site .hero-lighting,
.public-site .hero-texture,
.public-site .hero-particles {
  z-index: 20;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .public-site .mobile-nav-panel {
    margin: 0.5rem 1rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 16px 36px rgba(13, 42, 25, 0.14);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .hero-ken-burns-active {
    animation: none;
    transform: none;
  }
}

.public-site .scroll-reveal-ready {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.992);
  will-change: opacity, transform;
}

.public-site .scroll-reveal-ready.scroll-reveal-entering {
  animation: public-scroll-reveal 0.68s cubic-bezier(0.22, 0.75, 0.25, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes public-scroll-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .scroll-reveal-ready,
  .public-site .scroll-reveal-ready.scroll-reveal-entering {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* A restrained gradient and a single sheen pass keep action buttons tactile. */
:is(
  :is(.public-site, .admin-app, .login-page)
    :is(
      .btn-primary,
      .btn-secondary,
      .btn-gold,
      .btn-outline,
      .btn-outline-white,
      button[class*="rounded"][class*="px-"],
      a[class*="rounded"][class*="px-"][class*="bg-"],
      a[class*="rounded"][class*="px-"][class*="border"]
    ),
  .admin-app
    :is(
      button,
      input[type="submit"],
      input[type="button"],
      a[role="button"],
      a[class*="rounded"][class*="hover:bg-"],
      a[title][class*="p-"],
      nav[role="navigation"] a
    )
) {
  background-image:
    linear-gradient(
      110deg,
      transparent 42%,
      var(--button-shine, rgba(255, 255, 255, 0.28)) 49%,
      transparent 56%
    ),
    var(
      --button-gradient,
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.03)
      )
    );
  background-size:
    280% 100%,
    100% 100%;
  background-position:
    100% 0,
    center;
  background-repeat: no-repeat;
  transition:
    scale 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}
:is(.public-site, .admin-app, .login-page)
  :is(.btn-primary, button[class*="bg-[#1a4d2e]"], a[class*="bg-[#1a4d2e]"]) {
  --button-gradient: linear-gradient(135deg, #28673f, #1a4d2e 58%, #143d2c);
}
:is(.public-site, .admin-app, .login-page) .btn-gold {
  --button-gradient: linear-gradient(135deg, #d8b447, #bd9425 60%, #a98120);
}
:is(.public-site, .admin-app, .login-page)
  :is(.btn-secondary, button[class*="bg-blue-"], a[class*="bg-blue-"]) {
  --button-gradient: linear-gradient(135deg, #325f8d, #1e3a5f);
}
:is(.public-site, .admin-app, .login-page)
  :is(button[class*="bg-red-600"], a[class*="bg-red-600"]) {
  --button-gradient: linear-gradient(135deg, #e74848, #be2525);
}
:is(.public-site, .admin-app, .login-page)
  :is(button[class*="bg-gray-700"], a[class*="bg-gray-700"]) {
  --button-gradient: linear-gradient(135deg, #526071, #374151);
}
.admin-app
  :is(
    button,
    input[type="submit"],
    input[type="button"],
    a[role="button"],
    a[class*="rounded"],
    nav[role="navigation"] a
  ) {
  --button-shine: rgba(102, 163, 126, 0.2);
}
.admin-app :is(button, input, a)[class*="text-white"],
.admin-app :is(.btn-primary, .btn-secondary, .btn-gold, .btn-outline-white) {
  --button-shine: rgba(255, 255, 255, 0.32);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(
      :is(.public-site, .admin-app, .login-page)
        :is(
          .btn-primary,
          .btn-secondary,
          .btn-gold,
          .btn-outline,
          .btn-outline-white,
          button[class*="rounded"][class*="px-"],
          a[class*="rounded"][class*="px-"][class*="bg-"],
          a[class*="rounded"][class*="px-"][class*="border"]
        ),
      .admin-app
        :is(
          button,
          input[type="submit"],
          input[type="button"],
          a[role="button"],
          a[class*="rounded"][class*="hover:bg-"],
          a[title][class*="p-"],
          nav[role="navigation"] a
        )
    ):not(:disabled):not([aria-disabled="true"]):hover {
    scale: 1.025;
    animation: button-sheen 0.65s ease-out;
  }
}
:is(
    :is(.public-site, .admin-app, .login-page)
      :is(
        .btn-primary,
        .btn-secondary,
        .btn-gold,
        .btn-outline,
        .btn-outline-white,
        button[class*="rounded"][class*="px-"],
        a[class*="rounded"][class*="px-"][class*="bg-"],
        a[class*="rounded"][class*="px-"][class*="border"]
      ),
    .admin-app
      :is(
        button,
        input[type="submit"],
        input[type="button"],
        a[role="button"],
        a[class*="rounded"][class*="hover:bg-"],
        a[title][class*="p-"],
        nav[role="navigation"] a
      )
  ):not(:disabled):not([aria-disabled="true"]):active {
  scale: 0.99;
}
@keyframes button-sheen {
  from {
    background-position:
      100% 0,
      center;
  }
  to {
    background-position:
      0% 0,
      center;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(
    :is(.public-site, .admin-app, .login-page)
      :is(
        .btn-primary,
        .btn-secondary,
        .btn-gold,
        .btn-outline,
        .btn-outline-white,
        button[class*="rounded"][class*="px-"],
        a[class*="rounded"][class*="px-"][class*="bg-"],
        a[class*="rounded"][class*="px-"][class*="border"]
      ),
    .admin-app
      :is(
        button,
        input[type="submit"],
        input[type="button"],
        a[role="button"],
        a[class*="rounded"][class*="hover:bg-"],
        a[title][class*="p-"],
        nav[role="navigation"] a
      )
  ) {
    transition: none;
  }
  :is(
    :is(.public-site, .admin-app, .login-page)
      :is(
        .btn-primary,
        .btn-secondary,
        .btn-gold,
        .btn-outline,
        .btn-outline-white,
        button[class*="rounded"][class*="px-"],
        a[class*="rounded"][class*="px-"][class*="bg-"],
        a[class*="rounded"][class*="px-"][class*="border"]
      ),
    .admin-app
      :is(
        button,
        input[type="submit"],
        input[type="button"],
        a[role="button"],
        a[class*="rounded"][class*="hover:bg-"],
        a[title][class*="p-"],
        nav[role="navigation"] a
      )
  ):active {
    scale: 1;
  }
}
