/* wg:design-vars:start */
:root{--wg-surface:#0b0907;--wg-surface-alt:#1d1a17;--wg-surface-inverse:#f9f8f7;--wg-ink:#f9f8f7;--wg-ink-muted:#d8d3d0;--wg-ink-inverse:#1d1a17;--wg-primary:#c7993e;--wg-primary-hover:#efd098;--wg-primary-soft:#251800;--wg-accent:#7fb084;--wg-accent-soft:#05210a;--wg-link:#efd098;--wg-link-inverse:#573d00;--wg-line:#312d2a;--wg-line-inverse:#e7e4e2;--wg-primary-on:#0b0907;--wg-accent-on:#0b0907;--wg-font-display:'Literata', Georgia, 'Times New Roman', serif;--wg-font-body:'Commissioner', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--wg-radius-ui:12px;--wg-radius-card:18px;--wg-shadow-card:0 12px 32px -14px rgba(0,0,0,.22);--wg-section:8rem}
/* wg:design-vars:end */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.03);
  }
}

@keyframes softPulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

/* -------------------------------------------------- */
/* Header sticky + scrolled state                      */
/* -------------------------------------------------- */

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.35s ease, background-color 0.35s ease, padding 0.35s ease;
}

#site-header.is-scrolled {
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}

#site-header.is-scrolled .site-logo img,
#site-header.is-scrolled .site-logo svg {
  transform: scale(0.94);
  transition: transform 0.35s ease;
}

/* -------------------------------------------------- */
/* Cookie banner                                       */
/* -------------------------------------------------- */

#cookie-banner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#cookie-banner.cookie-visible {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------- */
/* Back to top                                         */
/* -------------------------------------------------- */

#back-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#back-to-top:hover {
  transform: translateY(-4px);
}

/* -------------------------------------------------- */
/* Form focus and error states                         */
/* -------------------------------------------------- */

input,
textarea,
select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--wg-primary);
  box-shadow: 0 0 0 3px var(--wg-primary-soft);
}

input.error,
textarea.error,
select.error {
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.25);
}

.form-error-message {
  color: #fca5a5;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  display: block;
}

.form-success-message {
  color: #86efac;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  display: block;
}

/* -------------------------------------------------- */
/* Decorative blobs                                    */
/* -------------------------------------------------- */

.blob-decor {
  position: absolute;
  z-index: -1;
  border-radius: 50% 45% 55% 50% / 50% 55% 45% 50%;
  background-color: var(--wg-primary-soft);
  filter: blur(2px);
  animation: gentleFloat 9s ease-in-out infinite;
  pointer-events: none;
}

.blob-decor.blob-accent {
  background-color: var(--wg-accent-soft);
  animation-duration: 11s;
}

.blob-decor.blob-pulse {
  animation: softPulse 6s ease-in-out infinite;
}

/* -------------------------------------------------- */
/* Wave section dividers                               */
/* -------------------------------------------------- */

.wave-divider {
  position: relative;
  width: 100%;
  height: 64px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-divider-top {
  transform: scaleY(-1);
}

/* -------------------------------------------------- */
/* Accordion polish                                    */
/* -------------------------------------------------- */

.accordion-header {
  transition: background-color 0.25s ease;
}

.accordion-content {
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

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

/* -------------------------------------------------- */
/* Misc hover polish fitting art direction             */
/* -------------------------------------------------- */

.img-frame img {
  transition: transform 0.5s ease;
}

.img-frame:hover img {
  transform: scale(1.03);
}

.spin-slow {
  animation: spinSlow 14s linear infinite;
}

/* -------------------------------------------------- */
/* Print rules                                         */
/* -------------------------------------------------- */

@media print {
  #site-header,
  #cookie-banner,
  #back-to-top,
  #mobile-menu,
  #mobile-menu-toggle,
  .blob-decor,
  .wave-divider {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}