html.home-top.home-welcome-artwork #site-header {
  position: sticky;
  top: 0;
}

html.home-top.home-welcome-artwork #site-header:not(.header-solid) {
  background: #142e3e;
}

html.home-top.home-welcome-artwork #site-header::before {
  display: none;
}

.home-top .oase-welcome .oase-greeting {
  position: relative;
  width: 100%;
  background: #f7e8d3;
  color: #432710;
}

.oase-greeting__copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.oase-greeting__picture {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--greeting-desktop-ratio);
}

.oase-greeting__picture img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--greeting-desktop-position);
}

@media (min-width: 1025px) {
  .oase-greeting__picture {
    aspect-ratio: var(--greeting-wide-ratio);
    overflow: hidden;
  }

  .oase-greeting__picture img {
    inset: var(--greeting-wide-top) auto auto var(--greeting-wide-left);
    width: var(--greeting-wide-image-width);
    height: auto;
  }
}

@media (max-width: 700px), (max-width: 1024px) and (orientation: portrait) {
  .oase-greeting__picture {
    aspect-ratio: var(--greeting-mobile-ratio);
  }

  .oase-greeting__picture img {
    object-position: var(--greeting-mobile-position);
  }

  .oase-greeting__copy {
    --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 1 41 11H53V23L63 32 53 41V53H41L32 63 23 53H11V41L1 32 11 23V11H23Z M32 13 51 32 32 51 13 32Z M32 23 41 32 32 41 23 32Z' fill='none' stroke='%23ad7838' stroke-opacity='.26' stroke-width='.8'/%3E%3C/svg%3E");
    position: relative;
    isolation: isolate;
    width: auto;
    height: auto;
    clip-path: none;
    white-space: normal;
    text-align: center;
    padding: clamp(32px, 7vw, 52px) clamp(24px, 5vw, 56px) clamp(26px, 6vw, 42px);
    background: radial-gradient(ellipse at 50% 20%, #fff5e7, #f5e4ca 100%);
    border-bottom: 2px solid #bd8b41;
  }

  .oase-greeting__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: var(--ornament) center top / 54px 54px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 20%, transparent 80%, #000 100%);
  }

  .home-top .oase-greeting__copy h1#welcome-title {
    margin: 0 auto;
    max-width: 16ch;
    color: #42250e;
    font: 600 clamp(33px, 6vw, 57px)/1.06 Georgia, "Times New Roman", serif;
    letter-spacing: -.028em;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .oase-greeting__ornament {
    display: flex;
    align-items: center;
    gap: 11px;
    width: min(172px, 52%);
    margin: 19px auto 15px;
    color: #a9742f;
  }

  .oase-greeting__ornament::before,
  .oase-greeting__ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
  }

  .oase-greeting__ornament span {
    position: relative;
    width: 11px;
    height: 11px;
    border: 1px solid currentColor;
  }

  .oase-greeting__ornament span::before {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .home-top .oase-greeting__copy p {
    color: #4d2f15;
    margin-inline: auto;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .oase-greeting__community {
    max-width: 26ch;
    margin-block: 0 10px;
    font: 600 clamp(17px, 3vw, 25px)/1.25 Georgia, "Times New Roman", serif;
  }

  .oase-greeting__caption {
    max-width: 38ch;
    margin-block: 0;
    font: italic clamp(16px, 2.5vw, 20px)/1.45 Georgia, "Times New Roman", serif;
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .oase-greeting__copy {
    padding: clamp(20px, 5vw, 32px) clamp(15px, 5vw, 34px) clamp(16px, 4vw, 26px);
    background: linear-gradient(180deg, #fcf3e5, #f6e6d0);
    border-bottom: 1px solid #bc955c;
  }

  .oase-greeting__copy::before {
    background-size: 44px 44px;
    opacity: .5;
    mask-image: linear-gradient(90deg, #000 0%, transparent 14%, transparent 86%, #000 100%);
  }

  .home-top .oase-greeting__copy h1#welcome-title {
    max-width: none;
    color: #42250e;
    font-size: clamp(24px, 7.05vw, 40px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.037em;
  }

  .oase-greeting__ornament {
    width: min(126px, 36%);
    gap: 10px;
    margin: 12px auto 11px;
    color: #a9742f;
  }

  .oase-greeting__ornament span {
    width: 9px;
    height: 9px;
  }

  .oase-greeting__ornament span::after {
    content: "";
    position: absolute;
    inset: 2px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .home-top .oase-greeting__copy .oase-greeting__community {
    max-width: none;
    margin-block: 0 4px;
    color: #442710;
    font: 600 clamp(15px, 3.65vw, 19px)/1.3 Georgia, "Times New Roman", serif;
  }

  .home-top .oase-greeting__copy .oase-greeting__caption {
    max-width: 41ch;
    color: #51341e;
    font: italic 400 clamp(15px, 3.8vw, 19px)/1.38 Georgia, "Times New Roman", serif;
  }

  .oase-greeting__picture {
    aspect-ratio: var(--greeting-phone-ratio);
  }
}

@media (max-width: 700px) {
  .oase-greeting--desktop-on-phone .oase-greeting__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .oase-greeting--desktop-on-phone .oase-greeting__picture {
    aspect-ratio: var(--greeting-desktop-ratio);
  }

  .oase-greeting--desktop-on-phone .oase-greeting__picture img {
    object-position: var(--greeting-desktop-position);
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .oase-greeting--desktop-on-phone .oase-greeting__picture {
    aspect-ratio: var(--greeting-crop-ratio);
    overflow: hidden;
  }

  .oase-greeting--desktop-on-phone .oase-greeting__picture img {
    inset: 0 auto auto var(--greeting-crop-left);
    width: var(--greeting-crop-image-width);
    height: auto;
  }
}
