/* Loaded only by the Home template. Keep the document pages unchanged. */
.home-page { scroll-behavior: smooth; }
.home-page .md-header {
  position: fixed; top: 0; left: 0; right: 0;
  color: #fff; background: transparent; box-shadow: none;
  transition: background-color .25s, color .25s;
}
.home-page.home-scrolled .md-header {
  background: var(--md-default-bg-color); color: var(--md-default-fg-color);
  box-shadow: 0 1px 0 var(--md-default-fg-color--lightest);
}
.home-page .md-tabs {
  position: absolute; top: 2.4rem; left: 0; width: 100%; z-index: 3;
  color: #fff; background: transparent; border: 0;
}
.home-page .md-tabs__link { opacity: .85; }
/* Prevent the scrolling menu from passing behind the transparent wordmark. */
.home-page.home-nav-scrolled .md-tabs { visibility: hidden; pointer-events: none; }
.home-page .md-tabs__item--active .md-tabs__link { opacity: 1; }
.home-page .md-tabs__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  background: #152d40; color: #fff;
}
.home-hero__visual { position: absolute; inset: 0; z-index: -1; will-change: opacity; }
.home-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* Keep daylight underneath to avoid a dark dip during the dissolve. */
.home-hero__visual .home-hero__night {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .55s ease-in-out;
}
[data-md-color-scheme="slate"] .home-hero__visual .home-hero__night { opacity: 1; }
.home-hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,35,.6), rgba(8,22,35,.18) 18%, transparent 40%);
}
.home-hero__inner { height: 100%; display: flex; align-items: flex-end; padding: 7rem .8rem 8rem; }
.home-hero__copy {
  max-width: 35rem;
  padding: .9rem 1.25rem;
  background: rgba(12, 20, 23, .49);
  border-radius: .8rem;
  color: #fff;
  text-shadow: none;
}
[data-md-color-scheme="slate"] .home-hero__copy {
  background: transparent;
}
.home-hero__eyebrow { font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 500; }
.home-hero h1 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; margin: 0 0 .75rem; text-wrap: balance; }
.home-hero__description { font-size: .8rem; line-height: 1.55; margin: 0; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.05rem; }
.home-hero__button { display: inline-flex; align-items: center; min-height: 2.35rem; padding: .45rem .85rem; border: 1px solid rgba(255,255,255,.8); border-radius: .3rem; color: #fff; font-size: .72rem; font-weight: 600; text-decoration: none; }
.home-hero__button--primary { background: #fff; color: #18242a; border-color: #fff; }
.home-hero__button:hover { background: rgba(255,255,255,.16); color: #fff; }
.home-hero__button--primary:hover { background: #e7ebed; color: #18242a; }
.home-hero a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.home-scroll { position: absolute; bottom: 1.25rem; left: calc(50% - 24px); display: grid; place-items: center; width: 48px; height: 48px; }
.home-scroll svg { animation: home-arrow 2s ease-in-out infinite; }
.home-hero__credit {
  position: absolute;
  right: 1.2rem;
  bottom: .55rem;
  max-width: calc(100% - 2.4rem);
  margin: 0;
  color: #c7cbcf;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
@keyframes home-arrow { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
.home-page .md-main__inner { margin-top: 0; }
.home-page .md-sidebar--secondary { display: none; }
.home-introduction { width: 100%; min-width: 0; margin: 0 auto; padding: 3rem .8rem 0; scroll-margin-top: 4rem; }
.home-introduction .md-content__inner { margin: 0; }
.home-introduction .md-content__inner > h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; font-weight: 400; margin: 3.6rem 0 1.5rem; }
.home-introduction .md-content__inner > h2:first-of-type { color: var(--md-default-fg-color--light); margin: 0 0 2.4rem; }
.home-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin: 0 0 4rem; }
.home-feature + .home-feature { margin-top: 5rem; }
.home-feature__text { min-width: 0; }
.home-introduction .home-feature__text h3 { font-size: 1.25em; line-height: 1.3; font-weight: 700; margin: 0 0 1.1rem; }
.home-feature__text p { line-height: 1.7; }
.home-feature__text p:last-child { margin-bottom: 0; }
.home-feature__image { margin: 0; min-width: 0; }
.home-feature__image img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 44%; border-radius: .2rem; }
.home-feature--reverse .home-feature__image img { object-position: center 35%; }
.home-feature__image figcaption { margin-top: .4rem; color: var(--md-default-fg-color--light); font-size: .65rem; text-align: right; }
[data-md-color-scheme="slate"] .home-feature__image img { filter: brightness(.8); }
.home-feature--reverse { grid-template-columns: 1fr 1.1fr; }
.home-feature--reverse .home-feature__image { grid-column: 1; grid-row: 1; }
.home-feature--reverse .home-feature__text { grid-column: 2; grid-row: 1; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0 0 1.5rem; }
.home-service-grid section { min-width: 0; border-top: 1px solid var(--md-default-fg-color--lightest); padding-top: 1rem; }
.home-introduction .home-service-grid h3, .home-introduction .home-scope h3 { font-size: .95rem; line-height: 1.35; margin: 0 0 .55rem; }
.home-service-grid p, .home-scope p { font-size: .78rem; line-height: 1.65; margin: 0; }
.home-scope { border-left: 2px solid var(--md-default-fg-color--lighter); padding: .3rem 0 .3rem 1rem; margin: 2rem 0; }
.home-contact { margin: 4rem 0 3rem; padding: 2rem 0 0; border-top: 1px solid var(--md-default-fg-color--lightest); }
.home-introduction .home-contact h2 { font-size: 1.3rem; line-height: 1.35; margin: 0 0 .8rem; font-weight: 600; }
.home-contact p { max-width: 36rem; font-size: .8rem; line-height: 1.65; }
.home-contact a { display: inline-flex; margin-top: .5rem; padding: .55rem .9rem; border: 1px solid currentColor; border-radius: .3rem; font-size: .75rem; font-weight: 600; }
@media (max-width: 44.984375em) {
  .home-introduction { padding: 2.2rem 1.2rem 0; }
  .home-feature, .home-feature--reverse { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .home-feature__image img { aspect-ratio: 3 / 2; }
  .home-feature + .home-feature { margin-top: 3.5rem; }
  .home-feature--reverse .home-feature__text, .home-feature--reverse .home-feature__image { grid-column: auto; grid-row: auto; }
  .home-service-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (min-width: 76.25em) { .home-page .md-sidebar--primary { display: none; } }
@media (max-width: 76.234375em) {
  /* Keep Safari's mobile drawer above the fixed home header and hero. */
  .home-page .md-overlay { z-index: 8; }
  .home-page .md-header { z-index: 9; }
  .home-page .md-sidebar--primary { z-index: 10; }
}
@media (max-width: 59.984375em) {
  .home-hero { min-height: 620px; }
  .home-hero__inner { padding: 5rem 1.2rem 4.5rem; }
  .home-hero__visual img { object-position: 60% center; }
  .home-hero__eyebrow { max-width: 23em; line-height: 1.6; font-size: .58rem; }
  .home-hero h1 { font-size: clamp(1.2rem, 4.1vw, 1.45rem); }
  .home-hero__credit { display: none; }
}
@media (max-width: 35em) {
  .home-hero { height: auto; min-height: 100svh; }
  .home-hero__inner { min-height: 100svh; align-items: flex-end; padding-top: 8rem; padding-bottom: 5.5rem; }
  .home-hero__copy { width: min(100%, 20rem); margin-inline: auto; padding: .7rem .85rem; }
  .home-hero h1 { font-size: 1.1rem; margin-bottom: .65rem; }
  .home-hero__description { font-size: .7rem; }
  .home-hero__actions { gap: .4rem; margin-top: .85rem; }
  .home-hero__button { min-height: 2.1rem; padding: .4rem .7rem; font-size: .68rem; }
  .home-scroll { bottom: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page { scroll-behavior: auto; }
  .home-scroll svg { animation: none; }
  .home-page .md-header { transition: none; }
  .home-hero__visual .home-hero__night { transition: none; }
}
