/* Tantzers site-wide mobile polish: full-screen menu + home hero (phones) */

.tz-nav-extras { display: none; }

@media screen and (max-width: 991px) {
  /* Menu panel: circular reveal from the menu button instead of a plain fade */
  #main_navigation.div-block-3 {
    display: flex !important;
    visibility: hidden;
    background: #fffef4;
    clip-path: circle(0px at calc(100% - 38px) 38px);
    transition: clip-path .65s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .65s;
    box-shadow: none;
  }
  body.slip #main_navigation.div-block-3 {
    visibility: visible;
    clip-path: circle(160vmax at calc(100% - 38px) 38px);
    transition: clip-path .75s cubic-bezier(.77, 0, .18, 1), visibility 0s;
  }
  body.slip { overflow: hidden; }
  body.slip .main_header { background-color: #fffef4 !important; box-shadow: none !important; }

  #main_navigation .navigation {
    justify-content: center;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    padding: 96px 28px 40px;
  }
  #main_navigation .navigation li {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .25s ease, transform .25s ease;
  }
  body.slip #main_navigation .navigation li {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  }
  body.slip #main_navigation .navigation li:nth-child(1) { transition-delay: .18s; }
  body.slip #main_navigation .navigation li:nth-child(2) { transition-delay: .24s; }
  body.slip #main_navigation .navigation li:nth-child(3) { transition-delay: .30s; }
  body.slip #main_navigation .navigation li:nth-child(4) { transition-delay: .36s; }
  body.slip #main_navigation .navigation li:nth-child(5) { transition-delay: .42s; }
  body.slip #main_navigation .navigation li:nth-child(6) { transition-delay: .48s; }
  body.slip #main_navigation .navigation li:nth-child(7) { transition-delay: .56s; }
  body.slip #main_navigation .navigation li:nth-child(8) { transition-delay: .62s; }

  #main_navigation .menu_link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(46, 53, 15, .12) !important;
    color: #2e350f !important;
    font-family: Parkinsans, Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-align: left;
    text-transform: none;
  }
  #main_navigation .menu_link::after { display: none; }
  #main_navigation .menu_link::before {
    content: '';
    order: 2;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fdcd23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='%232e350f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
    transform: scale(.6);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  #main_navigation .menu_link:hover::before,
  #main_navigation .menu_link:active::before,
  #main_navigation .menu_link.w--current::before { transform: none; opacity: 1; }
  #main_navigation .menu_link.w--current { color: #5e9115 !important; }

  /* Extras appended by site.js: donate button + contact row */
  #main_navigation .tz-nav-extras { display: block; border: 0; padding-top: 22px; }
  #main_navigation .tz-nav-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 999px;
    background: #fdcd23;
    color: #2e350f;
    font: 700 16px/1 "Inter 28 Pt", Arial, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
  }
  #main_navigation .tz-nav-contact {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    font: 500 14px/1.2 "Inter 28 Pt", Arial, sans-serif;
  }
  #main_navigation .tz-nav-contact a { color: #4a531b; text-decoration: none; }
}

@media screen and (max-width: 991px) {
  /* Nothing may widen the page sideways (it shrinks the whole site and pushes the menu icon off-screen) */
  html, body { overflow-x: clip; }
}

@media screen and (max-width: 767px) {
  .image-2 { max-width: 100%; }
  /* Menu icon stays visible on the banner */
  body:not(.slip) .main_header[data-wf--main_header--variant="for-home"]:not(.fixed) .trigger span { background-color: #fdcd23 !important; }
  /* Header sits on the banner; once scrolled it fades into soft frosted white */
  #main_header.main_header {
    transition: background-color .45s ease, box-shadow .45s ease, -webkit-backdrop-filter .45s ease, backdrop-filter .45s ease;
  }
  #main_header.main_header.fixed {
    background-color: rgba(255, 255, 255, .78) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05) !important;
  }
  .main_header[data-wf--main_header--variant="for-home"].fixed img.dark_img {
    content: url("https://cdn.prod.website-files.com/69cb5ae00107ce49826232e9/6ac8c63b08b5ff402c3cadd1_dark%20logo.svg");
  }

  /* Home hero: tall phone crop with faces up top, headline below them */
  .home_banner {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, 0) 120px), url("https://cdn.prod.website-files.com/69cb5ae00107ce49826232e9/6ad8b3fe97bf65d2d97abfdd_tantzers-hero-mobile.webp") !important;
    background-color: #18150f !important;
    background-position: 0 0, 50% 0 !important;
    background-size: 100% 100%, cover !important;
    background-origin: border-box !important;
    min-height: 100svh !important;
    padding-top: 72px !important;
    padding-bottom: 40px !important;
    align-items: flex-end !important;
  }
}

/* Contact form SMS consent: policy links readable on the dark form */
.checkbox-label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.checkbox-label a:hover { color: #fdcd23; }
/* The label is a flex row in Webflow, which split the links into columns; flow it as one paragraph */
.checkbox-field .checkbox-label.w-form-label { display: block !important; }
.checkbox-field .checkbox-label a,
.checkbox-field .checkbox-label span { display: inline !important; }
