.global-site-header {
  position: fixed;
  top: 6px;
  left: 6px;
  z-index: 2400;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 7px;
  width: calc(100vw - 12px);
  color: var(--global-nav-color, var(--type, #000));
  font-family: "ABC Monument Grotesk Trial", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: color 140ms linear, opacity 180ms ease, transform 180ms ease;
}

.global-site-header * {
  box-sizing: border-box;
}

.global-site-header__cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: auto;
}

.global-site-header__nav {
  display: flex;
  gap: 7px;
}

.global-site-header__contact,
.global-site-header__nav {
  overflow: visible;
}

.global-site-header__data {
  position: relative;
  overflow: visible;
  font-variant-numeric: tabular-nums;
  padding-right: 24px;
}

.global-weather-line {
  position: relative;
  display: inline-flex;
  gap: 4px;
  isolation: isolate;
  outline: none;
  cursor: default;
}

body.weather-effects-enabled .global-weather-line {
  cursor: crosshair;
}

.global-weather {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 3px;
}

.global-weather-line > .global-location-full,
.global-weather-line > .global-location-short,
.global-weather-line > .global-clock {
  position: relative;
  z-index: 1;
}

.global-weather-canvas {
  position: absolute;
  left: -30px;
  top: -30px;
  width: calc(100% + 60px);
  height: 76px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.global-weather-canvas.is-active {
  opacity: 1;
}

.global-weather-clouds {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}

.global-weather-clouds > span {
  position: absolute;
  left: var(--cloud-x);
  top: var(--cloud-y);
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--cloud-size);
  line-height: 1;
  opacity: 0;
  transition: opacity 260ms ease;
  animation: weatherCloudParticle var(--cloud-duration) ease-in-out var(--cloud-delay) infinite alternate;
}

.global-weather-clouds.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 0s linear 0s;
}

.global-weather-clouds.is-active > span {
  opacity: var(--cloud-opacity);
  transition-delay: var(--cloud-enter-delay);
}

@keyframes weatherCloudParticle {
  from { transform: translate(-50%, 2px) scale(.9); }
  to { transform: translate(calc(-50% + var(--cloud-drift)), -3px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .global-weather-canvas,
  .global-weather-clouds {
    display: none;
  }
}

.global-title-toggle {
  --info-arrow-x: 0px;
  --info-arrow-y: 2px;
  flex: 0 0 auto;
  display: none;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  width: auto;
  height: 16px;
  padding: 0;
  position: absolute;
  top: -2px;
  right: 0;
  color: inherit;
  font: inherit;
  line-height: 1.1;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.global-title-toggle svg {
  position: relative;
  left: var(--info-arrow-x);
  top: var(--info-arrow-y);
  display: block;
  width: 10px;
  height: 10px;
  overflow: visible;
}

.global-title-toggle:not([aria-pressed="true"]) svg {
  top: calc(var(--info-arrow-y) - 0.5px);
}

.global-title-toggle .toggle-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms cubic-bezier(.16, 1.6, .34, 1);
}

.global-title-toggle:hover .toggle-arrow,
.global-title-toggle:focus-visible .toggle-arrow {
  transform: translate(1px, 1px);
}

.global-title-toggle[aria-pressed="true"] .toggle-arrow {
  transform: rotate(180deg);
}

.global-title-toggle[aria-pressed="true"]:hover .toggle-arrow,
.global-title-toggle[aria-pressed="true"]:focus-visible .toggle-arrow {
  transform: rotate(180deg) translate(1px, 1px);
}

.global-title-toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

body.home-page .global-title-toggle {
  display: inline-flex;
}

.global-location-short {
  display: none;
}

.global-site-header a {
  color: inherit;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  transform: translateY(0) rotate(0deg);
  transition: color 140ms linear, transform 180ms cubic-bezier(.2, 1.4, .34, 1);
}

.global-site-header a::before {
  content: "";
  position: absolute;
  inset: -2px -4px -3px;
  z-index: -1;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: var(--global-nav-hover-bg, var(--paper, #fbfbfb));
  box-shadow: 3px 3px 0 currentColor;
  opacity: 0;
  pointer-events: none;
  transform: translate(-1px, 2px) rotate(-2deg) scale(.86, .72);
  transition:
    opacity 120ms ease,
    transform 190ms cubic-bezier(.16, 1.6, .34, 1),
    background 140ms linear,
    box-shadow 140ms linear;
}

.global-site-header a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.global-site-header__contact a::after {
  content: none;
}

.contact-hover-icon {
  --contact-icon-fill: var(--global-nav-hover-bg, var(--paper, #fbfbfb));
  position: absolute;
  right: -14px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
  stroke: currentColor;
  transform-origin: center center;
  transition:
    opacity 120ms ease,
    transform 190ms cubic-bezier(.16, 1.6, .34, 1);
}

.contact-hover-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.contact-hover-icon .icon-fill {
  fill: var(--contact-icon-fill);
}

.contact-hover-icon .icon-line {
  fill: none;
}

.contact-hover-icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.global-instagram-link .contact-hover-icon {
  transform: translate(-3px, 4px) rotate(-10deg) scale(.55);
}

.global-email-link .contact-hover-icon {
  right: -15px;
  transform: translate(-4px, 4px) rotate(10deg) scale(.55);
}

.global-site-header a:hover,
.global-site-header a:focus-visible {
  outline: none;
  transform: translateY(0) rotate(0deg);
}

.global-site-header a:hover::before,
.global-site-header a:focus-visible::before {
  opacity: 1;
  transform: translate(0, 0) rotate(-2deg) scale(1.04, .96);
}

.global-instagram-link:hover::before,
.global-instagram-link:focus-visible::before {
  transform: translate(0, 0) rotate(2deg) scale(1.04, .96);
}

.global-instagram-link:hover .contact-hover-icon,
.global-instagram-link:focus-visible .contact-hover-icon {
  opacity: 1;
  transform: translate(0, 0) rotate(-10deg) scale(1);
}

.global-email-link:hover .contact-hover-icon,
.global-email-link:focus-visible .contact-hover-icon {
  opacity: 1;
  transform: translate(0, 0) rotate(10deg) scale(1);
}

.global-site-header a:not(.global-instagram-link):not(.global-email-link):hover::after,
.global-site-header a:not(.global-instagram-link):not(.global-email-link):focus-visible::after,
.global-site-header a:not(.global-instagram-link):not(.global-email-link).is-active::after {
  transform: scaleX(1);
}

.global-site-header a:focus-visible {
  outline: none;
}

body.global-nav-ready .site-meta,
body.global-nav-ready .site-nav,
body.global-nav-ready .left,
body.global-nav-ready .back-button {
  display: none !important;
}

body.nav-hidden .global-site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (max-width: 720px) {
  .global-site-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 2px;
  }

  .global-site-header__contact {
    grid-column: 1 / 3;
    grid-row: 1;
    overflow: visible;
    text-overflow: clip;
    padding-right: 48px;
  }

  .global-site-header__nav {
    grid-column: 2;
    grid-row: 2;
    gap: 6px;
    justify-self: end;
  }

  .global-site-header__data {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    display: flex;
    gap: 6px;
    overflow: visible;
    text-align: left;
    padding-right: 0;
  }

  .global-title-toggle {
    position: fixed;
    top: 4px;
    right: 6px;
  }

  .global-location-full,
  .global-weather-condition {
    display: none;
  }

  .global-location-short {
    display: inline;
  }
}
