.master-home {
  --home-accent: #f1d6b3;
  --home-header-height: 50px;
}
.master-home .site-header {
  color: #fff9ed;
  background-color: #080b10;
  background-image:
    radial-gradient(ellipse, #c5925754, transparent 70%),
    radial-gradient(ellipse, #5e99b548, transparent 70%);
  background-repeat: no-repeat;
  background-size: min(44rem, 75vw) 190%, min(36rem, 70vw) 180%;
  background-position: -12% 50%, 112% 50%;
  animation: home-header-lights 9s ease-in-out infinite alternate;
}
.master-home .site-header .menu-button { color: inherit; }
.master-home .site-header .header-inner {
  height: var(--home-header-height);
  min-height: var(--home-header-height);
}
.master-home .site-header nav { top: 100%; }

@keyframes home-header-lights {
  to { background-position: 112% 50%, -12% 50%; }
}

.master-home .welcome-hero {
  min-height: clamp(34rem, 83svh, 48rem);
  background: #101b23;
  color: #fcf8f2;
}
.welcome-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; visibility: hidden; }
.hero-media-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 8px; }
.hero-media-actions button { padding: 7px 10px; font: inherit; font-size: .78rem; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; }
.hero-media-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.master-home .welcome-hero :is(.welcome-image, .welcome-shade) { top: var(--home-header-height); }
.master-home .welcome-hero.is-video-visible :is(.welcome-image, .welcome-shade) { inset: 0; }
.is-video-visible .welcome-video { visibility: visible; }
.is-video-visible .welcome-image img, .is-video-visible .welcome-reflection, .is-video-visible .welcome-promise { visibility: hidden; }
.welcome-hero .welcome-shade {
  background: linear-gradient(90deg, #101b23fa 0%, #101b23e8 26%, #101b23c2 43%, #101b2359 64%, #101b2326 100%);
}

.master-home .welcome-content { padding-top: 7.25rem; text-align: left; }
.master-home .welcome-content h1 {
  max-width: min(68%, 22ch);
  color: #fcf8f2;
  font-size: clamp(2.4rem, 4.65vw, 4.6rem);
  font-style: italic;
  line-height: 1.02;
  text-wrap: balance;
}
.master-home .welcome-content h1 em { color: var(--home-accent); font-style: inherit; }
.master-home .welcome-content h1:after { content: none; }
.master-home .welcome-hero .welcome-description {
  max-width: min(56%, 58ch);
  margin-top: 1rem;
  color: #fcf8f2;
  font-family: Georgia, serif;
  font-size: clamp(1rem, 1.45vw, 1.26rem);
  font-style: italic;
  line-height: 1.5;
}
.master-home .welcome-hero .welcome-actions {
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: min(100%, 52rem);
  margin-top: clamp(1.25rem, calc(32svh - 8.75rem), calc(1.25rem + 5cm));
}
.master-home .welcome-hero .welcome-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 48px;
  padding: .65rem 1.15rem;
  border: 1px solid #f1d6b39c;
  border-radius: 999px;
  background: rgb(16 27 35 / 5%);
  color: #fff9ed;
  font: 700 clamp(.9rem, 1.25vw, 1.05rem)/1.2 Arial, sans-serif;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.master-home .welcome-hero .welcome-actions .welcome-primary {
  background: rgb(73 56 46 / 5%);
  border-color: #efd3a7;
}
.master-home .welcome-hero .welcome-actions a:is(:hover, :focus-visible, :active) {
  background: rgb(241 214 179 / 5%);
  color: #fff9ed;
  border-color: #f1d6b3;
  transform: none;
}
.master-home .welcome-hero .welcome-actions a:focus-visible { outline: 2px solid #e7cc97; outline-offset: 4px; }
.master-home .welcome-actions .hero-arrow { position: static; font-size: 1rem; flex: 0 0 auto; }
.is-video-visible .hero-media-actions button { border-color: #96b8be; background: #101e24dd; }
.master-home .welcome-hero .hero-media-actions { order: 2; padding-block: 9px 11px; }
.master-home nav.home-domain-strip {
  position: static;
  display: block;
  padding-block: clamp(22px, 3vw, 38px) 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.master-home .home-domain-strip h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 15px; }
.master-home .home-domain-strip .welcome-categories {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  background: transparent;
  border: 0;
}
.master-home .home-domain-strip .welcome-categories a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(2.4em, 1fr) auto;
  gap: .45rem .65rem;
  padding: 0 0 .75rem;
  border: 1px solid #dcd0c2;
  background: #f8f3ea;
  border-radius: 9px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.master-home .home-domain-strip .welcome-categories a:is(:hover, :focus-visible) { background: #eee6d8; border-color: #a87b45; }
.home-domain-strip .welcome-categories img {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter .2s;
}
.home-domain-strip .welcome-categories a:is(:hover, :focus-visible) img { filter: brightness(1.08); }
.master-home .home-domain-strip .welcome-categories span { grid-column: 1 / -1; margin: .2rem .8rem 0; color: #203334; font-size: .875rem; font-weight: 700; line-height: 1.25; }
.home-domain-strip a small { grid-column: 1; margin-left: .8rem; color: #665246; line-height: 1.2; }
.home-domain-strip a b { grid-column: 2; grid-row: 3; margin-right: .8rem; }
@media (prefers-reduced-motion: reduce) {
  .master-home .site-header { animation: none; }
  .home-domain-strip .welcome-categories :is(a, img) { transition: none; }
}
@media (max-width: 1040px) {
  .master-home .home-domain-strip .welcome-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .master-home .home-domain-strip .welcome-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .master-home .welcome-hero { min-height: clamp(29rem, 76svh, 42rem); }
  .master-home .welcome-hero .welcome-content { padding-block: clamp(6rem, 13.5svh, 7.75rem) 1.5rem; }
  .master-home .welcome-hero .welcome-content h1 { max-width: min(100%, 19ch); font-size: clamp(2.25rem, 6.3vw, 3.75rem); }
  .master-home .welcome-hero .welcome-description { max-width: min(100%, 48ch); }
  .master-home .welcome-hero .welcome-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(5px, 1.4vw, 10px);
    max-width: min(100%, 38rem);
  }
  .master-home .welcome-hero .welcome-actions a {
    min-width: 0;
    justify-content: center;
    padding-inline: clamp(.25rem, 1.4vw, .9rem);
    text-align: center;
  }
  .is-video-visible .welcome-video { object-position: 57% center; }
  .welcome-hero .welcome-shade {
    background: linear-gradient(90deg, #101b23ed, #101b23c2 36%, #101b237d 70%, #101b2333),
      linear-gradient(0deg, #101b23d9, transparent 30%);
  }
}

@media (max-width: 500px) {
  .master-home .welcome-hero .welcome-actions a { font-size: .8rem; }
  .master-home .welcome-actions .hero-arrow { display: none; }
  .master-home .welcome-hero .hero-media-actions { order: 0; }
  .welcome-hero .welcome-shade {
    background: linear-gradient(90deg, #101b23eb, #101b23b5 58%, #101b2373),
      linear-gradient(0deg, #101b23d9, transparent 32%);
  }
}
