/* Twisted Lemon launch chrome (subpages + overlays) */
:root {
  --tl-cream: #ffefd9;
  --tl-ink: #2a1810;
  --tl-green: #1f6b45;
  --tl-pink: #e85a9b;
  --tl-wa: #25d366;
}

.tl-subpage {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 90, 155, 0.18), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(255, 220, 80, 0.25), transparent 55%),
    var(--tl-cream);
  color: var(--tl-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

.tl-subpage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(16px, 4vw, 40px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 239, 217, 0.88);
  border-bottom: 1px solid rgba(42, 24, 16, 0.08);
}

.tl-subpage__brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--tl-ink);
  text-decoration: none;
  font-size: 1.1rem;
}

.tl-subpage__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.tl-subpage__nav a {
  color: var(--tl-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
}

.tl-subpage__nav a:hover { opacity: 1; color: var(--tl-green); }

.tl-subpage__main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.tl-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tl-green);
  margin: 0 0 10px;
}

.tl-subpage h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.tl-lede {
  font-size: 1.05rem;
  opacity: 0.85;
  margin: 0 0 28px;
}

.tl-faq__item {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(42, 24, 16, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 12px;
}

.tl-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.tl-faq__item summary::-webkit-details-marker { display: none; }
.tl-faq__item p { margin: 10px 0 4px; }
.tl-faq__item a, .tl-subpage a { color: var(--tl-green); }

.tl-journal { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tl-journal a {
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(42, 24, 16, 0.08);
}
.tl-journal a:hover { border-color: rgba(31, 107, 69, 0.35); }
.tl-journal span { opacity: 0.8; font-size: 0.95rem; }

.tl-article p { font-size: 1.05rem; margin: 0 0 1rem; }
.tl-subpage__cta { margin-top: 36px; font-weight: 600; }

.tl-subpage__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 24px 16px 40px;
  font-size: 0.9rem;
}
.tl-subpage__foot a { color: var(--tl-ink); opacity: 0.7; text-decoration: none; }
.tl-subpage__foot a:hover { opacity: 1; }

/* Sticky WhatsApp + intent composer */
.tl-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: system-ui, sans-serif;
}
.tl-wa__fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--tl-wa);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.tl-wa__fab svg { width: 28px; height: 28px; display: block; }
.tl-wa__panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(300px, calc(100vw - 28px));
  background: #fff;
  color: var(--tl-ink);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: none;
}
.tl-wa.is-open .tl-wa__panel { display: block; }
.tl-wa__panel h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.tl-wa__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.tl-wa__chips button {
  border: 1px solid rgba(42, 24, 16, 0.12);
  background: #ffefd9;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.tl-wa__draft {
  width: 100%;
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(42, 24, 16, 0.15);
  padding: 10px;
  font: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.tl-wa__send {
  margin-top: 10px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--tl-wa);
  color: #fff;
  font-weight: 700;
  padding: 11px 14px;
  cursor: pointer;
}
.tl-wa__ig {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--tl-green);
}

.tl-zach-credit {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
  padding: 14px clamp(20px, 4vw, 40px) 22px;
  margin: 0;
  border-top: 1px solid rgba(255, 239, 217, 0.14);
}

.tl-subpage__foot .zach-credit {
  margin-left: auto;
}

.tl-made-by {
  display: none !important;
}

/* Footer extras: cream on dark purple (never inherit black) */
.tl-footer-extras {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: center !important;
  margin: 10px 0 4px !important;
  font-size: 13px !important;
  width: 100% !important;
  color: #ffefd9 !important;
}
.tl-footer-extras a {
  color: #ffefd9 !important;
  opacity: 0.9 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}
.tl-footer-extras a:hover,
.tl-footer-extras a:focus-visible {
  opacity: 1 !important;
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  .tl-wa { bottom: 22px; right: 14px; }
}

/* ===== Desktop: post-hero Menu button + green card tabs ===== */
.tl-pc-menu-btn {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 9500;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #ffefd9;
  color: #1a100c;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.tl-pc-menu-btn.is-visible { display: inline-flex; }
.tl-pc-menu-btn:hover { background: #fff8ec; }
.tl-pc-menu-btn__bar {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #1a100c;
}

.tl-pc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 10, 6, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tl-pc-overlay.is-open { display: flex; flex-direction: column; gap: 16px; }

.tl-pc-stage {
  position: relative;
  width: min(720px, 92vw);
  min-height: 420px;
  background: #ffefd9;
  border-radius: 28px;
  border: 5px solid #004225;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 48px 36px 40px;
  overflow: hidden;
}

.tl-pc-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  min-height: 320px;
  align-content: center;
}

.tl-pc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 16px;
  text-decoration: none;
  color: #2a1810;
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.02em;
  background: #fff8ec;
  border: 5px solid #004225;
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(0, 66, 37, 0.12);
  transition: transform .18s ease, background .15s ease;
  font-family: system-ui, sans-serif;
}
.tl-pc-tab:nth-child(odd) { transform: rotate(-2.5deg); }
.tl-pc-tab:nth-child(even) { transform: rotate(2.2deg); margin-top: 18px; }
.tl-pc-tab:hover {
  background: #ffe7c2;
  transform: rotate(0deg) scale(1.03);
}

.tl-pc-close {
  align-self: center;
  width: 56px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(20, 10, 6, 0.82);
  color: #ffefd9;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.tl-pc-close:hover { background: #000; }

@media (max-width: 899.98px) {
  .tl-pc-menu-btn,
  .tl-pc-overlay { display: none !important; }

  /* No running top info bar on phone / tablet */
  [data-framer-name="Menu Message"],
  [data-framer-name="Menu Message Content"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ===== Mobile header: template sticky (no color plate) ===== */
.tl-mobile-plate,
svg.tl-mobile-plate {
  display: none !important;
}

@media (max-width: 899.98px) {
  html.tl-mobile-nav [data-framer-name="Menu"].tl-mobile-menu-lock {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
  }
  /* Logo mark beside wordmark */
  [data-framer-name="Menu"] .framer-1f9b2id {
    background-image: url("/assets/images/tl-logo-mark.png?v=5") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* Hamburger bars stay cream on dark heroes */
  [data-framer-name="Menu"] [data-framer-name="Closed"] [data-framer-name="Line"],
  [data-framer-name="Menu"] [data-framer-name="Open"] [data-framer-name="Line"] {
    background: #fff8ec !important;
    background-color: #fff8ec !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  [data-framer-name="Logo & Button"] {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
  /* Mobile chrome is Logo & Button only — hide desktop Multicolor pill / menu list */
  [data-framer-name="Menu"] [data-framer-name="Multicolor"],
  [data-framer-name="Menu"] [data-framer-name="Menu Items"] {
    display: none !important;
  }
}

@media (min-width: 900px) {
  [data-framer-name="Menu"].tl-mobile-menu-lock,
  .tl-mobile-chrome {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    z-index: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 0 !important;
  }
}

/* Mobile hero: every color uses the same flow layout as yellow (Slide 1) */
@media (max-width: 767.98px) {
  [data-framer-name^="Mobile, Slide"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    overflow: hidden !important;
  }
  /* Active cup is forced relative via JS (.tl-cup-active) so title stays below it */
  [data-framer-name^="Mobile, Slide"] > [data-framer-name="Pizza"].tl-cup-active {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 240px !important;
    height: 240px !important;
    margin: 0 auto !important;
    transform: none !important;
    translate: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2 !important;
  }
  [data-framer-name^="Mobile, Slide"] > [data-framer-name="Pizza"]:not(.tl-cup-active) {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    translate: none !important;
  }
  [data-framer-name^="Mobile, Slide"] [data-framer-name="Hero Content"] {
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }
}

/* PC: Contact Us pill must stay readable on every color mode */
@media (min-width: 900px) {
  [data-framer-name="Multicolor"] [data-framer-name="Contact Us"],
  [data-framer-name="Multicolor"] [data-framer-name="Contact Us"] p,
  [data-framer-name="Multicolor"] [data-framer-name="Contact Us"] span,
  [data-framer-name="Multicolor"] [data-framer-name="Contact Us"] .framer-text {
    color: #fff8ec !important;
    -webkit-text-fill-color: #fff8ec !important;
    opacity: 1 !important;
  }
  /* Only bump CTA stacking — never force position on Hero children (breaks Framer absolutes) */
  [data-framer-name="Buttons"] {
    position: relative;
    z-index: 5;
  }
  /* Clip neighbor cups so the strip never shows two drinks at once */
  [data-framer-name="Hero"] {
    overflow: hidden !important;
  }
  /* Tiny menu thumbs that leak above the nav */
  [data-framer-name="Menu Message"] img,
  [data-framer-name="Menu Message Content"] img {
    display: none !important;
  }
}

/* ===== Why we twist different: Framer title + compact pills ===== */
[data-framer-name="Benefits"] {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding-top: clamp(20px, 3vw, 36px) !important;
  padding-bottom: clamp(20px, 3vw, 36px) !important;
  overflow: visible !important;
}
[data-framer-name="Benefits Content"].tl-why-host,
.tl-why-host {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(20px, 4vw, 48px) !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
[data-framer-name="Why We Twist Different"] {
  flex: 0 1 auto !important;
  max-width: min(520px, 52%) !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  transform: scale(0.62) !important;
  transform-origin: left center !important;
}
[data-framer-name="Why We Twist Different"] h2,
[data-framer-name="Why We Twist Different"] .framer-text,
[data-framer-name="Why We Twist Different"] p {
  margin: 0 !important;
}
.tl-why-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
  width: min(420px, 46%);
  position: relative;
  z-index: 2;
}
.tl-why-pills li {
  margin: 0;
  padding: 10px 16px;
  border: 2px solid rgba(255, 239, 217, 0.55);
  border-radius: 999px;
  background: rgba(255, 239, 217, 0.12);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 600;
  line-height: 1.3;
  color: #ffefd9;
}
@media (max-width: 767.98px) {
  [data-framer-name="Benefits Content"].tl-why-host,
  .tl-why-host {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }
  [data-framer-name="Why We Twist Different"] {
    max-width: 100% !important;
  }
  .tl-why-pills {
    width: 100%;
    max-width: none;
  }
}
