/*!
 * SST Site Styles (sst.css)
 * © 2025 Mauro Marson. All rights reserved.
 * https://superspacetheory.org
 */
.glass {
  background: rgba(10,12,18,0.10);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  backdrop-filter: blur(2px) saturate(1.05);
  -webkit-backdrop-filter: blur(2px) saturate(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 24px;
}
/* Teal glow under the hero logo */
.glass .wp-block-image img {
  display:block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 2px 10px rgba(94,234,212,0.65));
}
/* ANIMATION EFFECTS */
/* Fixed layers */
#rippleGrid, #equationsCanvas, .backdrop, #equationsLayer { position: fixed; inset: 0; display: block; pointer-events: none; }
#rippleGrid{ z-index:0; }        /* grid ripple */
#equationsCanvas{ z-index:1; }   /* faint lattice prerender */
.backdrop{ z-index:2; }          /* soft gradients */
#equationsLayer{ z-index:3; }    /* floating DOM equations */
.site { position: relative; z-index:4; } /* Kadence page content */

.eq { position:absolute; will-change: transform, opacity; color:#E6E8EE; text-shadow:0 0 10px rgba(96,165,250,.28); font-family:'Cambria Math', Cambria, 'Times New Roman', serif; }
.eq sub, .eq sup { font-size:.7em; line-height:0; position:relative; }
.eq sub{ vertical-align:-.3em; } .eq sup{ vertical-align:.3em; }

.floating-controls{ position:fixed; right:16px; bottom:16px; z-index:5; display:flex; gap:10px; align-items:center; background:rgba(15,18,26,.6); border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:8px 12px; backdrop-filter:blur(6px); color:#7B8193; font-size:.9rem; pointer-events:auto; }
.floating-controls button{ all:unset; cursor:pointer; padding:6px 10px; border-radius:999px; background:linear-gradient(135deg,#5EEAD4,#60A5FA); color:#0b0e14; font-weight:700; }
.floating-controls { display: none !important; }

/* SST dev settings panel -------------------------------------------------- */

.sst-settings {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.sst-settings-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 12, 18, 0.65);          /* neutral */
  backdrop-filter: blur(4px) saturate(1.1);
  cursor: pointer;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  color: #e4ecff;
  padding: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.sst-settings-toggle.sst-settings-toggle--open {
  background: var(--global-palette1, #4c6fff);
  border-color: var(--global-palette1, #4c6fff);
  color: var(--global-palette9, #ffffff);
}

/* .sst-settings-toggle:focus,
.sst-settings-toggle:focus-visible,
.sst-settings-toggle:active {
  outline: none;
  background: inherit;
  border-color: inherit;
} */
.sst-settings-toggle:focus,
.sst-settings-toggle:focus-visible {
  outline: 2px solid var(--global-palette1, #4c6fff);
  outline-offset: 2px;
}

.sst-settings-panel {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  min-width: 220px;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(6px) saturate(1.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
  color: #dde5ff;
  /* display: none; */
}

/* .sst-settings-panel.sst-settings-open {
  display: block;
} */

.sst-settings-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sst-settings-row label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.sst-settings-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.sst-settings-toggle-row input[type="checkbox"] {
  cursor: pointer;
}

#sst-spacing-value {
  font-variant-numeric: tabular-nums;
  color: #8aa0c2;
}

#sst-spacing-slider {
  width: 100%;
}

.sst-settings-row + .sst-settings-row {
  margin-top: 0.5rem;
}

.sst-settings-reset {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: rgba(10, 12, 18, 0.9);
  color: #dde5ff;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.05s ease;
}

.sst-settings-reset:hover {
  border-color: rgba(248, 250, 252, 0.9);
  background: rgba(30, 41, 59, 0.95);
  color: #f9fafb;
}

.sst-settings-reset:active {
  transform: translateY(1px);
}

.sst-settings-row--spacer {
  height: 0.5rem;
  margin: 0.35rem 0 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.sst-settings-row--actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
