:root {
  --text: #111;
  --bar: #f7f7f7;
  --line: rgba(0, 0, 0, 0.08);
  --font-script: "AlexBrush", cursive;
}

@font-face {
  font-family: "AlexBrush";
  src: url("../../fonts/brand/AlexBrush-Regular.ttf") format("truetype");
  font-display: swap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  min-height: 58px;
}

.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 18px;
}

.topbar__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 72vw);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background-color: #fafafa;
}

#withoutScroll,
#withScroll {
  grid-area: 1 / 1;
  width: 100%;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.topbar__link {
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .04em;
}

.topbar__link span {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  line-height: 1.2;
  letter-spacing: 0;
  font-size: 16px;
}
/*
.topbar__link span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .6;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .35s ease, opacity .35s ease;
}
*/
.topbar__link:hover span::after {
  transform-origin: right;
  transform: scaleX(0);
  opacity: 0;
}

.heroHeader__findus {
  display: flex;
  align-items: center;
}

.findUsLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.findUsIcon {
  height: 30px;
  width: auto;
  display: block;
}

.findUsTextTop {
  color: #000;
}

.heroHeader__logoTop {
  color: #000;
  text-decoration: none;
  font-family: var(--font-script);
  font-size: 26px;
  line-height: 1;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.heroHeader__icon {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
}

.heroHeader__icon svg {
  width: 22px;
  height: 22px;
}

.heroHeader__menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 6px 8px;
}

.heroHeader__menuTextTop {
  color: #000;
  font-size: 12px;
  letter-spacing: .10em;
}

.burger {
  width: 18px;
  height: 12px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, .92);
  border-radius: 2px;
}

/* HOME morph only */
body.home-page:not(.is-scrolled) .topbar {
  background: transparent;
  border-bottom: 0;
}

body.home-page:not(.is-scrolled) .topbar__inner > *:not(.topbar__center) {
  opacity: 0;
  transform: translateY(-4px);
}

body.home-page #withoutScroll {
  opacity: calc(1 - var(--morph, 0));
  transform: translateY(calc(-8px * var(--morph, 0)));
}

body.home-page #withScroll {
  opacity: var(--morph, 0);
  transform: translateY(calc(8px * (1 - var(--morph, 0))));
}

body:not(.home-page) #withoutScroll {
  display: none;
}

body:not(.home-page) #withScroll {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

/* ==========================
   CLICK CONTROL
   ========================== */

#withoutScroll,
#withScroll {
  grid-area: 1 / 1;
  position: relative;
  pointer-events: none;
}

html[data-morph="0"] body.home-page #withoutScroll {
  pointer-events: auto;
  z-index: 3;
}

html[data-morph="0"] body.home-page #withScroll {
  pointer-events: none;
  z-index: 1;
}

html[data-morph="1"] body.home-page #withoutScroll {
  pointer-events: none;
  z-index: 1;
}

html[data-morph="1"] body.home-page #withScroll {
  pointer-events: auto;
  z-index: 3;
}