:root {
  --header-space: 100px;
}

html {
  scroll-padding-top: var(--header-space);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding-block: 16px;
  background: #f4f3ee;
  transition: box-shadow .2s, border-color .2s;
}

.site-header.is-scrolled {
  border-bottom-color: #cfd4d2;
  box-shadow: 0 5px 20px rgba(23, 32, 43, .04);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header {
    background: rgba(244, 243, 238, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.skip-link {
  z-index: 10;
}

.booking-section,
.about {
  scroll-margin-top: 0;
}

.wordmark {
  align-items: center;
  gap: 9px;
}

.brand-symbol {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.is-revealing {
  animation: kyaf-enter .55s cubic-bezier(.16, 1, .3, 1) both;
}

[data-motion="line"].is-revealing {
  animation-name: kyaf-rule;
  animation-duration: .8s;
}

[data-motion="image"].is-revealing {
  animation: kyaf-material .85s cubic-bezier(.16, 1, .3, 1) both;
}

[data-motion="image"].is-revealing img {
  animation: kyaf-image-settle .85s cubic-bezier(.16, 1, .3, 1) both;
}

[data-motion="surface"].is-revealing {
  animation-name: kyaf-surface;
  animation-duration: .65s;
}

[data-motion="quiet"].is-revealing {
  animation: kyaf-material .4s ease-out both;
}

.is-revealing:focus-within,
.is-revealing:focus-within img {
  animation: none;
}

@keyframes kyaf-enter {
  from { opacity: .88; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kyaf-rule {
  from { border-color: var(--blue); }
  to { border-color: var(--line); }
}

@keyframes kyaf-material {
  from { opacity: .94; }
  to { opacity: 1; }
}

@keyframes kyaf-image-settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@keyframes kyaf-surface {
  from { opacity: .9; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* The direction of each arrow describes the action, including for keyboard users. */
:is(.text-link, .button, .nav-contact, .footer-back-top) .ui-arrow {
  transition: translate .22s cubic-bezier(.16, 1, .3, 1);
}
:is(.text-link, .button, .nav-contact):focus-visible .ui-arrow { translate: 2px -2px; }
.hero-explore:focus-visible .ui-arrow { translate: 0 3px; }
.info-back:focus-visible .ui-arrow { translate: -3px 0; }
.footer-back-top:focus-visible .ui-arrow { translate: 0 -3px; }
.contact-person-card { transition: border-color .22s; }
.contact-person-card:focus-within,
html[data-theme="dark"] .contact-person-card:focus-within { border-color: var(--blue); }
.logo-art img, .process-visual img { transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.logo-tile:focus-visible .logo-art img { transform: scale(1.04); }
footer.site-footer :is(.site-footer-group, .site-footer-bottom) a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color .18s, text-decoration-color .18s;
}
footer.site-footer :is(.site-footer-group, .site-footer-bottom) a:focus-visible {
  text-decoration-color: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  :is(.text-link, .button, .nav-contact):hover .ui-arrow { translate: 2px -2px; }
  .hero-explore:hover .ui-arrow { translate: 0 3px; }
  .info-back:hover .ui-arrow { translate: -3px 0; }
  .footer-back-top:hover .ui-arrow { translate: 0 -3px; }
  .logo-tile:hover .logo-art img { transform: scale(1.04); }
  .process-visual:hover img { transform: scale(1.025); }
  .contact-person-card:hover,
  html[data-theme="dark"] .contact-person-card:hover { border-color: var(--blue); }
  footer.site-footer :is(.site-footer-group, .site-footer-bottom) a:hover { text-decoration-color: currentColor; }
}

@media (max-width: 760px) {
  :root {
    --header-space: 84px;
  }

  .site-header {
    padding-block: 10px;
  }

  .site-header .wordmark {
    align-items: center;
    gap: 7px;
    font-size: 24px;
    letter-spacing: -.06em;
  }

  .site-header .brand-symbol {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 400px) {
  .site-header {
    gap: 8px;
  }

  .site-header nav {
    gap: 6px;
  }

  .site-header .wordmark {
    gap: 6px;
    font-size: 23px;
  }

  .site-header .brand-symbol {
    width: 22px;
    height: 22px;
  }

  .site-header .nav-contact {
    gap: 6px !important;
    padding-inline: 10px;
  }
}

@media (max-width: 360px) {
  .site-header .nav-contact {
    padding: 0;
    gap: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-motion].is-revealing,
  [data-motion].is-revealing img {
    animation: none;
  }

  :is(.text-link, .button, .nav-contact, .footer-back-top) .ui-arrow { translate: none !important; transition: none; }
  .logo-tile .logo-art img, .process-visual img { transform: none !important; transition: none; }

  .site-header {
    transition: none;
  }
}
