/* SNI Minimal — compiled from assets/scss/main.scss. */

:root {
  --sni-page-bg: #fef8ef;
  --sni-scroll-offset: 90px;
}

html {
  overflow-x: clip;
  background-color: var(--sni-page-bg);
  scroll-behavior: smooth;
  font-size: 108%;
}

body {
  font-family: "Lexend", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: clip;
  background-color: var(--sni-page-bg);
  font-size: 1rem;
}

.sni-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sni-site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
  width: 100%;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.sni-site-header.sni-header-scrolled {
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.06);
  border-bottom-color: #ececec;
}

.sni-container > main > .sni-hero-surface {
  width: 100dvw;
  max-width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);
  box-sizing: border-box;
  background-color: #fff;
  padding-left: 0;
  padding-right: 0;
  display: flow-root;
}

.sni-container > main > .sni-hero-surface .sni-hero-inner {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.sni-site-nav {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.menu-toggle {
  display: none !important;
}

.main-navigation {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.main-navigation .desktop-primary-menu {
  display: flex;
}

.sni-full-bleed-gutter {
  width: calc(100dvw - 40px);
  margin-left: calc(50% - 50dvw + 20px);
  margin-right: calc(50% - 50dvw + 20px);
  max-width: none;
  display: block;
}

.sni-section + .sni-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 56px;
}

.sni-hero-surface.sni-section + .sni-section {
  border-top: none;
  padding-top: 0;
}

.sni-card-block {
  padding: 40px;
}

.sni-card-content {
  padding: 20px;
}

.sni-section-title {
  font-size: 36px;
  line-height: 1.2;
}

[id] {
  scroll-margin-top: var(--sni-scroll-offset);
}

.sni-hero-heading {
  text-decoration: underline;
  text-decoration-color: #1877f2;
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.sni-about-quote {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sni-input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #fff;
  font: inherit;
}
.sni-input:focus {
  outline: 2px solid #1877f2;
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex !important;
  }
  .sni-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sni-container > main > .sni-hero-surface .sni-hero-inner {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .sni-site-nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sni-full-bleed-gutter {
    width: calc(100dvw - 32px);
    margin-left: calc(50% - 50dvw + 16px);
    margin-right: calc(50% - 50dvw + 16px);
  }
  .sni-section + .sni-section {
    padding-top: 36px;
  }
  .sni-hero-surface.sni-section + .sni-section {
    padding-top: 0;
  }
  .sni-card-block {
    padding: 20px;
  }
  .sni-card-content {
    padding: 14px;
  }
  .sni-section-title {
    font-size: 31px;
  }
  body.menu-open {
    overflow: hidden;
  }
  .hamburger-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  .hamburger-icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1d1d1d;
    border-radius: 2px;
  }
  .desktop-primary-menu {
    display: none !important;
  }
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    margin: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    z-index: 900;
    cursor: pointer;
  }
  .mobile-menu-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none !important;
    margin: 0 !important;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100svh;
    max-height: 100dvh;
    background: #fff !important;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    padding: 18px 18px 24px;
    padding-top: max(18px, env(safe-area-inset-top, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    z-index: 950;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.menu-open .mobile-menu-overlay {
    display: block;
  }
  body.menu-open .mobile-menu-drawer {
    display: flex;
  }
  body.admin-bar .mobile-menu-overlay,
  body.admin-bar .mobile-menu-drawer {
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  @media (min-width: 783px) {
    body.admin-bar .mobile-menu-overlay,
    body.admin-bar .mobile-menu-drawer {
      top: 32px;
    }
  }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .mobile-menu-brand {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d1d1d;
    font-weight: 500;
  }
  .menu-close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #f1f1f1;
    color: #969696;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  .mobile-menu-rule {
    border-top: 1px solid #bcbcbc;
    margin: 8px 0 12px;
  }
  .mobile-primary-menu {
    display: flex !important;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
    gap: 0;
    min-height: 0;
  }
  .mobile-primary-menu li a {
    display: block !important;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.15;
    font-weight: 400;
    color: #232323;
    text-decoration: none;
    padding: 6px 0;
  }
  .mobile-socials-title {
    margin: 0 0 8px;
    font-size: 8px;
    text-transform: uppercase;
    color: #8f8f8f;
    letter-spacing: 0.06em;
  }
  .mobile-socials ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mobile-socials li {
    margin-bottom: 3px;
  }
  .mobile-socials a {
    color: #2f2f2f;
    text-decoration: none;
    font-size: 11px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-overlay,
  .mobile-menu-drawer {
    display: none !important;
  }
}
@media (min-width: 1440px) {
  .sni-container {
    max-width: 1440px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .sni-site-nav {
    max-width: 1440px;
    padding-left: 32px;
    padding-right: 32px;
  }
  body {
    font-size: 1.0625rem;
  }
  .sni-section-title {
    font-size: 52px;
    line-height: 1.15;
  }
  .sni-hero-heading {
    font-size: 64px !important;
  }
  .sni-container > main > .sni-hero-surface .sni-hero-inner {
    max-width: 1440px;
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

@keyframes sni-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.sni-home-landing #home .hero-content h2 {
  animation: sni-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sni-home-landing #home .hero-content h1 {
  animation: sni-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.sni-home-landing #home .hero-logo-large {
  animation: sni-fade-up 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.sni-home-landing #home > img.sni-full-bleed-gutter {
  animation: sni-fade-up 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.sni-home-landing #home > p {
  animation: sni-fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.sni-home-landing #main-content .sni-section.sni-reveal-pending:not(.sni-reveal-in) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.sni-home-landing #main-content .sni-section.sni-reveal-pending {
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.sni-home-landing #main-content .sni-section.sni-reveal-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (hover: hover) {
  .sni-home-landing .logo a img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sni-home-landing .logo a:hover img,
  .sni-home-landing .logo a:focus-visible img {
    transform: scale(1.03);
  }

  .sni-home-landing #main-content article.sni-card-block {
    transition:
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s ease;
  }

  .sni-home-landing #main-content article.sni-card-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(10, 25, 47, 0.1);
  }

  .sni-home-landing .desktop-primary-menu a {
    position: relative;
    transition: color 0.4s ease;
  }

  .sni-home-landing .desktop-primary-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.85;
  }

  .sni-home-landing .desktop-primary-menu a:hover::after,
  .sni-home-landing .desktop-primary-menu a:focus-visible::after {
    transform: scaleX(1);
  }
}

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