/* ============================================================
   Prismi — MT Listing Hero
   Everything scoped under .mt-* so nothing leaks into the theme.
   No :has(), no @container, no @layer.

   TYPE SYSTEM
     Headings : "Lexend Deca", sans-serif · 600 · 42px / 55px · #FFF
     Body     : Poppins, sans-serif · 400 · 16px / 28px · #FFF
   ============================================================ */

.mt-scope{
  --mt-ink:        #08181F;
  --mt-surf:       #2FA3A5;
  --mt-crimson:    #E4194F;
  --mt-crimson-lo: #B50F3B;
  --mt-sand:       #E9DFCD;
  --mt-white:      #FFFFFF;

  --mt-line: rgba(255,255,255,.18);
  --mt-glass: rgba(8,24,31,.46);

  --mt-head: "Lexend Deca", sans-serif;
  --mt-body: Poppins, sans-serif;

  --mt-h1-size: 42px;
  --mt-h1-line: 55px;
  --mt-text-size: 16px;
  --mt-text-line: 28px;

  --mt-pad: clamp(20px, 4.6vw, 72px);
  --mt-ease: cubic-bezier(.22,.61,.36,1);
  --mt-header: 92px;
  --mt-max: 1200px;

  position: relative;
  font-family: var(--mt-body);
  font-weight: 400;
  font-size: var(--mt-text-size);
  line-height: var(--mt-text-line);
  color: var(--mt-white);
  -webkit-font-smoothing: antialiased;
}
.mt-scope *,
.mt-scope *::before,
.mt-scope *::after{ box-sizing: border-box; }

.mt-scope :focus-visible{
  outline: 2px solid var(--mt-surf);
  outline-offset: 3px;
  border-radius: 4px;
}
.mt-scope [hidden]{ display: none !important; }

.mt-label{
  font-family: var(--mt-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* ---------------- shell ---------------- */
.mt-hero{
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--mt-ink);
  isolation: isolate;
}

.mt-hero__stage{ position: absolute; inset: 0; z-index: 0; }
.mt-slide{
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.5s var(--mt-ease);
  will-change: opacity, transform;
}
.mt-slide.is-live{
  opacity: 1;
  animation: mt-drift 13s linear forwards;
}
@keyframes mt-drift{
  from{ transform: scale(1.04) translate3d(0,0,0); }
  to  { transform: scale(1.14) translate3d(-1.6%, -1.3%, 0); }
}

.mt-hero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,24,31,.95) 0%, rgba(8,24,31,.82) 32%, rgba(8,24,31,.34) 60%, rgba(8,24,31,.60) 100%),
    linear-gradient(to top, rgba(8,24,31,.88) 0%, rgba(8,24,31,0) 44%);
}
.mt-hero__glow{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(58% 48% at 76% 26%, rgba(47,163,165,.20), rgba(47,163,165,0) 70%);
  animation: mt-breathe 16s ease-in-out infinite;
}
@keyframes mt-breathe{
  0%,100%{ opacity: .55; transform: translate3d(0,0,0) scale(1); }
  50%    { opacity: 1;   transform: translate3d(-2%,1.5%,0) scale(1.08); }
}
.mt-hero__grain{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='.35'/></svg>");
}

.mt-hero__inner{
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--mt-max, 1200px);
  margin: 0 auto;
  padding: calc(var(--mt-header) + clamp(30px, 4.5vh, 64px)) var(--mt-pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(30px, 4.6vw, 80px);
  align-items: center;
}

/* ---------------- copy ---------------- */
.mt-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1;
  color: var(--mt-sand);
  margin: 0 0 24px;
}
.mt-eyebrow::before{
  content: "";
  width: 42px; height: 1px;
  background: var(--mt-crimson);
}

.mt-title{
  margin: 0;
  max-width: 15ch;
  font-family: var(--mt-head);
  font-style: normal;
  font-weight: 600;
  font-size: var(--mt-h1-size);
  line-height: var(--mt-h1-line);
  color: var(--mt-white);
  letter-spacing: 0;
}

.mt-lede{
  max-width: 56ch;
  margin: 22px 0 0;
  font-family: var(--mt-body);
  font-weight: 400;
  font-size: var(--mt-text-size);
  line-height: var(--mt-text-line);
  color: var(--mt-white);
}

.mt-actions{
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  flex-wrap: wrap;
  margin-top: 34px;
}

.mt-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mt-crimson) 0%, var(--mt-crimson-lo) 100%);
  color: var(--mt-white);
  font-family: var(--mt-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 16px 44px -14px rgba(228,25,79,.9);
  transition: box-shadow .45s var(--mt-ease);
}
.mt-btn:hover, .mt-btn:focus{ color: var(--mt-white); }
.mt-btn span{ position: relative; z-index: 1; }
.mt-btn svg{ position: relative; z-index: 1; transition: transform .4s var(--mt-ease); }
.mt-btn::after{
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.36), transparent);
  transform: skewX(-18deg);
  transition: left .8s var(--mt-ease);
}
.mt-btn:hover{ box-shadow: 0 22px 54px -14px rgba(228,25,79,1); }
.mt-btn:hover::after{ left: 130%; }
.mt-btn:hover svg{ transform: translateX(5px); }

.mt-support{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.mt-support__avatar{
  position: relative;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  overflow: hidden;
  background: linear-gradient(140deg, #1B4552, #0F2C38);
}
.mt-support__avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-support__avatar::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(47,163,165,.55);
  animation: mt-pulse 3.4s ease-out infinite;
}
@keyframes mt-pulse{
  0%   { transform: scale(.86); opacity: .9; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.mt-support__label{
  display: block;
  font-size: 9.5px;
  line-height: 1;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.mt-support__tel{
  display: block;
  font-family: var(--mt-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  color: var(--mt-white);
}
.mt-support:hover .mt-support__tel{ color: var(--mt-sand); }

.mt-trust{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.mt-trust li{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255,255,255,.78);
  margin: 0;
}
.mt-trust li + li{
  padding-left: 24px;
  border-left: 1px solid var(--mt-line);
}
.mt-trust b{
  font-family: var(--mt-head);
  font-weight: 600;
  color: var(--mt-white);
}
.mt-trust svg{ flex: none; color: var(--mt-sand); }

/* ---------------- unit card ---------------- */
.mt-show{
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(228,25,79,.55), rgba(255,255,255,.12) 38%, rgba(47,163,165,.5));
  box-shadow: 0 48px 100px -44px rgba(0,0,0,.95);
  will-change: transform;
}
.mt-show__inner{
  border-radius: 23px;
  padding: 16px;
  background: var(--mt-glass);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
}

.mt-show__media{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.mt-show__media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity .3s var(--mt-ease);
}
.mt-show.is-swapping .mt-show__media img{ opacity: 0; }
.mt-show__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,24,31,.75), rgba(8,24,31,0) 55%);
  pointer-events: none;
}
.mt-show__flag{
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mt-crimson);
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mt-show__flag.is-on{ display: block; }
.mt-show__count{
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 2;
  font-size: 10.5px;
  line-height: 1;
  color: rgba(255,255,255,.85);
  font-variant-numeric: tabular-nums;
}

.mt-show__body{ padding: 18px 8px 0; }

.mt-show__now{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  line-height: 1;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.mt-show__now i{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mt-surf);
  animation: mt-blip 2.4s ease-out infinite;
}
@keyframes mt-blip{
  0%  { box-shadow: 0 0 0 0 rgba(47,163,165,.55); }
  70% { box-shadow: 0 0 0 8px rgba(47,163,165,0); }
  100%{ box-shadow: 0 0 0 0 rgba(47,163,165,0); }
}

.mt-show__name{
  margin: 0;
  font-family: var(--mt-head);
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  color: var(--mt-white);
  transition: opacity .3s var(--mt-ease), transform .3s var(--mt-ease);
}
.mt-show.is-swapping .mt-show__name,
.mt-show.is-swapping .mt-specs{
  opacity: 0;
  transform: translateY(7px);
}

.mt-specs{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  transition: opacity .3s var(--mt-ease), transform .3s var(--mt-ease);
}
.mt-specs li{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.mt-specs svg{ flex: none; color: var(--mt-sand); }
.mt-specs b{
  font-family: var(--mt-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--mt-white);
}

.mt-show__go{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  color: var(--mt-white);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .35s var(--mt-ease), color .35s var(--mt-ease), border-color .35s var(--mt-ease);
}
.mt-show__go:hover{
  background: var(--mt-white);
  border-color: var(--mt-white);
  color: var(--mt-ink);
}

/* ---------------- beach ribbon ---------------- */
.mt-ribbon{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--mt-line);
}
.mt-ribbon > div{ min-width: 0; }
.mt-ribbon dt{
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: .14em;
  color: rgba(255,255,255,.55);
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-ribbon dd{
  margin: 0;
  font-family: var(--mt-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--mt-white);
  font-variant-numeric: tabular-nums;
  min-height: 16px;
  white-space: nowrap;
}
.mt-ribbon dd small{
  font-family: var(--mt-body);
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  margin-left: 3px;
}
.mt-skel{
  display: inline-block;
  width: 40px; height: 13px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.2) 50%, rgba(255,255,255,.08) 100%);
  background-size: 220% 100%;
  animation: mt-shimmer 1.5s linear infinite;
}
@keyframes mt-shimmer{
  from{ background-position: 120% 0; }
  to  { background-position: -120% 0; }
}
.mt-note{
  margin: 12px 0 0;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .1em;
  color: rgba(255,255,255,.42);
  text-align: right;
}
.mt-note.is-stale{ color: rgba(255,122,156,.75); }

/* ---------------- filmstrip ---------------- */
.mt-foot{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--mt-max, 1200px);
  margin: 0 auto;
  padding: clamp(22px, 3.6vh, 44px) var(--mt-pad) clamp(24px, 3.4vh, 40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.mt-film{
  display: none;
  gap: 12px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mt-film::-webkit-scrollbar{ display: none; }
.mt-scope.mt-js .mt-film{ display: flex; }
.mt-film li{ margin: 0; list-style: none; }

.mt-film button{
  position: relative;
  display: block;
  width: 100px;
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: var(--mt-body);
}
.mt-film__thumb{
  display: block;
  height: 58px;
  border-radius: 11px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--mt-line);
  opacity: .45;
  transition: opacity .45s var(--mt-ease), transform .45s var(--mt-ease), border-color .45s var(--mt-ease);
}
.mt-film button:hover .mt-film__thumb{ opacity: .82; transform: translateY(-3px); }
.mt-film button.is-live .mt-film__thumb{
  opacity: 1;
  border-color: rgba(255,255,255,.55);
}
.mt-film__label{
  display: block;
  margin-top: 8px;
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-film button.is-live .mt-film__label{ color: var(--mt-white); }
.mt-film__bar{
  display: block;
  height: 2px;
  margin-top: 7px;
  border-radius: 2px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}
.mt-film__bar i{
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: var(--mt-white);
  transform: scaleX(0);
  transform-origin: left;
}
.mt-film button.is-live .mt-film__bar i{
  animation: mt-fill var(--mt-hold, 7000ms) linear forwards;
}
@keyframes mt-fill{
  from{ transform: scaleX(0); }
  to  { transform: scaleX(1); }
}

.mt-cue{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}
.mt-cue__line{
  position: relative;
  width: 1px; height: 38px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}
.mt-cue__line::after{
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 1px; height: 60%;
  background: var(--mt-white);
  animation: mt-fall 2.6s var(--mt-ease) infinite;
}
@keyframes mt-fall{
  0%  { top: -60%; }
  60% { top: 100%; }
  100%{ top: 100%; }
}
.mt-cue:hover{ color: var(--mt-white); }

/* ---------------- entrance ---------------- */
.mt-rise{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--mt-ease), transform 1.05s var(--mt-ease);
  transition-delay: var(--mt-d, 0ms);
}
.mt-scope.is-ready .mt-rise{ opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1240px){
  .mt-hero__inner{
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: calc(var(--mt-header) + 34px);
  }
  .mt-show{ justify-self: start; margin-top: 32px; }
  .mt-title{ max-width: 20ch; }
}
@media (max-width: 900px){
  .mt-hero__scrim{
    background: linear-gradient(180deg, rgba(8,24,31,.88) 0%, rgba(8,24,31,.56) 38%, rgba(8,24,31,.96) 100%);
  }
  .mt-cue{ display: none; }
  .mt-foot{ justify-content: flex-start; }
  .mt-trust li + li{ padding-left: 0; border-left: 0; }
}
@media (max-width: 640px){
  /* everything tightens: a phone screen is the whole hero */
  .mt-hero{ min-height: auto; padding-bottom: 8px; }
  .mt-hero__inner{
    align-items: start;
    gap: 0;
    padding-top: calc(var(--mt-header) + 20px);
    padding-bottom: 2px;
  }

  .mt-eyebrow{ margin-bottom: 15px; font-size: 10px; letter-spacing: .2em; }
  .mt-eyebrow::before{ width: 30px; }
  .mt-title{ max-width: none; }
  .mt-title .mt-title__at{ margin-top: 11px; font-size: 11.5px; letter-spacing: .15em; }
  .mt-lede{ margin-top: 14px; font-size: 15px; line-height: 25px; }

  .mt-actions{ gap: 14px; margin-top: 22px; }
  .mt-btn{ width: 100%; justify-content: center; padding: 17px 24px; }
  .mt-support{ width: 100%; gap: 12px; }
  .mt-support__avatar{ width: 42px; height: 42px; }
  .mt-support__tel{ font-size: 15px; }

  .mt-trust{ margin-top: 20px; gap: 8px 16px; }
  .mt-trust li{ font-size: 12px; line-height: 18px; gap: 7px; }

  /* the unit card loses its slack */
  .mt-show{ width: 100%; margin-top: 24px; }
  .mt-show__inner{ padding: 11px; }
  .mt-show__media img{ aspect-ratio: 16 / 9; }
  .mt-show__flag{ top: 9px; left: 9px; padding: 6px 10px; font-size: 8.5px; }
  .mt-show__count{ right: 9px; bottom: 9px; font-size: 9.5px; }
  .mt-show__body{ padding: 14px 6px 2px; }
  .mt-show__now{ margin-bottom: 9px; font-size: 9px; }
  .mt-show__name{ font-size: 19px; line-height: 26px; }
  .mt-specs{ gap: 9px 16px; margin-top: 11px; }
  .mt-specs li{ font-size: 12px; gap: 7px; }
  .mt-specs b{ font-size: 14px; }
  .mt-specs svg{ width: 15px; height: 15px; }
  .mt-show__go{ margin-top: 13px; padding: 14px 18px; font-size: 11.5px; }

  /* the beach report stays four across but shrinks */
  .mt-ribbon{
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
  }
  .mt-ribbon dt{ font-size: 7.5px; letter-spacing: .08em; margin-bottom: 6px; }
  .mt-ribbon dd{ font-size: 13.5px; min-height: 13px; }
  .mt-ribbon dd small{ font-size: 8px; margin-left: 2px; }
  .mt-note{ display: none; }

  .mt-foot{ padding-top: 16px; padding-bottom: 18px; }
  .mt-film{ gap: 9px; }
  .mt-film button{ width: 74px; }
  .mt-film__thumb{ height: 44px; border-radius: 9px; }
  .mt-film__label{ margin-top: 6px; font-size: 8px; letter-spacing: .08em; }
  .mt-film__bar{ margin-top: 5px; }

  /* optional trims, switched on in the widget */
  .mt-scope.mt-nocard-sm .mt-show{ display: none; }
  .mt-scope.mt-noreport-sm .mt-ribbon,
  .mt-scope.mt-noreport-sm .mt-note{ display: none; }
  .mt-scope.mt-nofilm-sm .mt-foot{ display: none; }
  .mt-scope.mt-nofilm-sm .mt-hero{ padding-bottom: 26px; }
}

@media (max-width: 380px){
  .mt-ribbon{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 8px; }
  .mt-trust li:nth-child(3){ display: none; }
}

/* ---------------- reduced motion ---------------- */
@media (prefers-reduced-motion: reduce){
  .mt-scope *,
  .mt-scope *::before,
  .mt-scope *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .mt-rise{ opacity: 1; transform: none; }
  .mt-slide.is-live{ animation: none; transform: scale(1.04); }
  .mt-film button.is-live .mt-film__bar i{ animation: none; transform: scaleX(1); }
}

/* ============================================================
   STICKY SITE HEADER
   Applied to your theme header by the hero widget when the
   sticky option is on. Class names are mth-* so they can't be
   confused with the hero's own mt-* styles.
   ============================================================ */
.mth-sticky{
  transition: transform .55s cubic-bezier(.22,.72,.24,1),
              background-color .45s ease,
              box-shadow .45s ease,
              padding .45s ease;
  will-change: transform;
}

.mth-sticky.is-fixed{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 999;
  /* the flat colour first, then a faint brand wash over it, so the
     pinned bar looks composed rather than like a grey panel */
  background-color: var(--mth-sticky-bg, rgba(255,255,255,.92)) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--mth-sticky-wash, rgba(47,163,165,.14)) 100%) !important;
  box-shadow: 0 10px 30px -22px rgba(11,31,41,.4);
  animation: mth-drop .55s cubic-bezier(.22,.72,.24,1);
}
.mth-sticky.is-fixed.has-blur{
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}
@keyframes mth-drop{
  from{ transform: translateY(-100%); }
  to  { transform: translateY(0); }
}

/* hairline along the bottom edge */
.mth-sticky.is-fixed{
  border-bottom: 1px solid var(--mth-sticky-wash, rgba(47,163,165,.14));
}

/* pulled out of sight while scrolling down, back on the way up */
.mth-sticky.is-fixed.is-up{
  transform: translateY(-100%);
  box-shadow: none;
}

/* the shrink: Homey's own header row and logo */
.mth-sticky.is-fixed .header-inner{
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  transition: padding .45s ease;
}
.mth-sticky.is-fixed .homey_logo{ display: inline-flex; align-items: center; }
.mth-sticky.is-fixed .homey_logo img,
.mth-sticky.is-fixed .mobile-logo img{
  height: var(--mth-sticky-logo, 40px);
  width: auto;
  max-height: none;
  object-fit: contain;
  transition: height .45s ease;
}

.mth-sticky-spacer{ display: none; }

@media (prefers-reduced-motion: reduce){
  .mth-sticky,
  .mth-sticky.is-fixed{ animation: none !important; transition: none !important; }
  .mth-sticky.is-fixed.is-up{ transform: none; }
}
