@font-face {
  font-family: "Solan Serif";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/solan-serif-site.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Solan Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/solan-sans-site.woff2") format("woff2");
}

:root {
  --solan-serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --solan-sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-home,
.solan-space-page,
.solan-about,
.solan-pending-page {
  --font-serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --font-sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-contact,
.solan-articles {
  --serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-case {
  --case-serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --case-sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-door {
  --door-serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --door-sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-home,
.solan-space-page,
.solan-about,
.solan-contact,
.solan-case,
.solan-door,
.solan-articles,
.solan-pending-page,
.solan-shell-header-host,
.solan-footer,
.solan-ai-panel,
body.single-post {
  font-synthesis: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body.single-post {
  --solan-serif: "Solan Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif !important;
  --solan-sans: "Solan Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

.solan-home h1,
.solan-home h2,
.solan-home h3,
.solan-space-page h1,
.solan-space-page h2,
.solan-space-page h3,
.solan-about h1,
.solan-about h2,
.solan-about h3,
.solan-contact h1,
.solan-contact h2,
.solan-contact h3,
.solan-case h1,
.solan-case h2,
.solan-case h3,
.solan-door h1,
.solan-door h2,
.solan-door h3,
.solan-pending-page h1,
.solan-pending-page h2,
.solan-pending-page h3 {
  overflow-wrap: break-word;
  word-break: normal;
}

.solan-hero h1,
.solan-space-hero h1,
.about-hero .about-title,
.solan-case__hero h1,
.door-hero h1,
.solan-contact h1 {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .98),
    1px 0 2px rgba(0, 0, 0, .72),
    -1px 0 2px rgba(0, 0, 0, .72),
    0 10px 30px rgba(0, 0, 0, .82),
    0 28px 64px rgba(0, 0, 0, .48) !important;
}

@supports (-webkit-text-stroke: .25px transparent) {
  .solan-hero h1,
  .solan-space-hero h1,
  .about-hero .about-title,
  .solan-case__hero h1,
  .door-hero h1 {
    -webkit-text-stroke: .25px rgba(0, 0, 0, .34);
    paint-order: stroke fill;
  }
}

.solan-hero__lead,
.solan-space-hero p,
.about-hero p,
.door-hero p {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .96),
    0 5px 18px rgba(0, 0, 0, .82) !important;
}

/* A multi-second scale transition on the initially visible banner delayed its
   first stable paint even though the optimized image had already downloaded. */
.solan-home .solan-hero__slide {
  transform: none !important;
  transition: opacity .7s ease !important;
}

#solan-services .solan-section__head {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

/* Stable page-ID fallbacks keep the full-width layouts working in older
   Windows WebViews that do not understand :has(). */
body.page-id-5037 #page,
body.page-id-5037 .site,
body.page-id-5037 #content,
body.page-id-5037 .site-content,
body.page-id-5037 .ast-container,
body.page-id-5037 #primary,
body.page-id-5037 #main,
body.page-id-5037 article,
body.page-id-5037 .entry-content,
body.page-id-5037 .wp-block-html,
body.page-id-6122 #page,
body.page-id-6122 .site,
body.page-id-6122 #content,
body.page-id-6122 .site-content,
body.page-id-6122 .ast-container,
body.page-id-6122 #primary,
body.page-id-6122 #main,
body.page-id-6122 article,
body.page-id-6122 .entry-content,
body.page-id-6122 .wp-block-html,
body.page-id-6375 #page,
body.page-id-6375 .site,
body.page-id-6375 #content,
body.page-id-6375 .site-content,
body.page-id-6375 .ast-container,
body.page-id-6375 #primary,
body.page-id-6375 #main,
body.page-id-6375 article,
body.page-id-6375 .entry-content,
body.page-id-6375 .wp-block-html {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  overflow-x: hidden !important;
}

body.page-id-6122 .entry-header,
body.page-id-6122 .post-navigation,
body.page-id-6122 .comments-area,
body.page-id-6375 .entry-header,
body.page-id-6375 .post-navigation,
body.page-id-6375 .comments-area {
  display: none !important;
}

.solan-btn--primary,
.solan-space-btn--primary {
  color: #17130a !important;
  font-weight: 600;
  text-shadow: none !important;
}

.solan-hero__arrow:focus-visible,
.solan-space-hero__arrow:focus-visible,
.solan-case button:focus-visible,
.solan-door button:focus-visible {
  outline: 2px solid #f6f1e2 !important;
  outline-offset: 3px;
}

.solan-home :is(.solan-section__head, .solan-process, .solan-news-grid) > *,
.solan-space-page :is(.solan-space-intro, .solan-space-head, .solan-space-philosophy__inner, .solan-space-case-grid) > *,
.solan-case :is(.solan-case__head, .solan-case__featured, .solan-case-grid) > *,
.solan-door :is(.door-split, .door-capability-grid, .door-model-grid) > * {
  min-width: 0;
}

.solan-space-philosophy {
  background-image:
    linear-gradient(90deg, rgba(13, 13, 20, .96), rgba(13, 13, 20, .82)),
    url("assets/services-philosophy.webp") !important;
}

.solan-space-contact {
  background-image:
    linear-gradient(90deg, rgba(13, 13, 20, .94), rgba(13, 13, 20, .78)),
    url("assets/services-contact.webp") !important;
}

.solan-report-card img[data-solan-src] {
  background: linear-gradient(135deg, #efeadd, #d9d1bc);
}

body.single-post .site-main .post-navigation a {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-post .site-main .post-navigation :is(.solan-post-nav-label, .solan-post-nav-arrow, .ast-left-arrow, .ast-right-arrow) {
  white-space: nowrap !important;
}

@media (max-width: 1080px) {
  #page { padding-top: 64px; }

  #masthead.solan-shell-header-host,
  .solan-header {
    height: 64px;
  }

  .solan-header__inner {
    grid-template-columns: 1fr auto;
    padding-inline: 22px;
  }

  .solan-main-nav,
  .solan-consult {
    display: none !important;
  }

  .solan-menu-toggle {
    width: 48px;
    height: 44px;
    border-color: rgba(246, 241, 226, .72);
  }
}

@media (min-width: 1920px) {
  #solan-services .solan-section__head {
    padding-right: max(48px, calc((100vw - 1280px) / 2)) !important;
    padding-left: max(48px, calc((100vw - 1280px) / 2)) !important;
  }

  .solan-hero__inner,
  .solan-case__hero-inner,
  .door-hero__inner,
  .about-hero__inner {
    max-width: 1320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solan-hero__slide,
  .solan-space-hero__slide,
  .solan-home *,
  .solan-space-page * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
