/* Site shell — single horizontal overflow gate for the whole Sigma site */

html,
body.sigma-site {
  overflow-x: clip;
}

/* DTK carousel: overflow-x:hidden on ancestors breaks vertical scroll — only where carousel exists */
body.sigma-site :has(.uc-carousel-container) :is(
  .sigma-main,
  .sigma-page,
  .sigma-page .sigma-section,
  .sigma-page .sigma-section-alt,
  .sigma-page .sigma-project-block
) {
  overflow: visible !important;
}

body.sigma-site {
  --sigma-inline-pad: max(var(--sigma-gutter), calc((100% - var(--sigma-container)) / 2));
  --sigma-blue: #045cb4;
  --sigma-blue-light: #4f89c3;
  --sigma-blue-dark: #003d7a;
  --sigma-cyan: #38bdf8;
  --sigma-ink: #0f172a;
  --sigma-muted: #475569;
  --sigma-white: #ffffff;
  --sigma-dark: #0a0f1a;
  --sigma-container: 1180px;
  --sigma-gutter: 24px;
  --sigma-radius-lg: 28px;
  --sigma-radius-md: 18px;
  --sigma-radius-sm: 12px;
  --sigma-glass-blur: 20px;
  --sigma-glass-bg: rgba(255, 255, 255, 0.62);
  --sigma-glass-border: rgba(255, 255, 255, 0.75);
  --sigma-glass-shadow: 0 8px 32px rgba(4, 92, 180, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85);

  margin: 0;
  color: var(--sigma-ink);
  background:
    radial-gradient(ellipse 90% 60% at 10% -5%, rgba(79, 137, 195, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 15%, rgba(4, 92, 180, 0.14), transparent 50%),
    radial-gradient(ellipse 80% 40% at 50% 105%, rgba(4, 92, 180, 0.1), transparent 55%),
    linear-gradient(180deg, #eef4fb 0%, #f8fafc 40%, #edf2f8 100%);
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.sigma-site .wp-site-blocks {
  max-width: 100%;
}

body.sigma-site .sigma-main {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

body.sigma-site .sigma-main > .sigma-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.sigma-site .sigma-legal-content {
  max-width: min(calc(100% - var(--sigma-gutter) * 2), 820px);
  margin-inline: auto;
}

.sigma-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.sigma-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--sigma-blue);
  color: var(--sigma-white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

body.sigma-site a.skip-link:not(.sigma-skip-link) {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
