/* our-story.css */

/* =========================
   Desktop / Mobile switches
========================= */
.desktop-only{ display: block; }
.mobile-only{ display: none; }

@media (max-width: 1024px){
  .desktop-only{ display: none !important; }
  .mobile-only{ display: block !important; }
}

/* =========================================================
   HERO (better spacing + can positions)
========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  background-image: url("/assets/images/indexbgsky.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  display: grid;
  place-items: center;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.14) 55%,
    rgba(0,0,0,0.18) 100%);
  z-index: 0;
}

.hero__inner{
  position: relative;
  width: min(1200px, 92vw);
  height: min(680px, 84vh);
  z-index: 1;
}

.hero__title{
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  z-index: 2;

  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
}

.hero__t1{ font-size: clamp(34px, 5vw, 72px); opacity: 0.95; }
.hero__t2{ font-size: clamp(56px, 9vw, 140px); }
.hero__t3{ font-size: clamp(44px, 7.2vw, 118px); opacity: 0.95; }

.hero__cans{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__can{
  position: absolute;
  left: var(--x);
  top: var(--y);
  height: var(--h);
  width: auto;

  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 85%;

  filter: none !important;
  box-shadow: none !important;

  user-select: none;
  cursor: pointer;
  z-index: var(--z);
}

/* Desktop positions */
.hero__can--rc{ --x: 10%; --y: 40%; --h: clamp(140px, 14vw, 240px); --r: -18deg; --s: 0.95; --z: 1; }
.hero__can--rs{ --x: 22%; --y: 62%; --h: clamp(160px, 16vw, 270px); --r:  10deg; --s: 1.05; --z: 2; }
.hero__can--bt{ --x: 34%; --y: 42%; --h: clamp(140px, 14vw, 240px); --r:   8deg; --s: 0.95; --z: 1; }
.hero__can--ga{ --x: 47%; --y: 58%; --h: clamp(170px, 17vw, 290px); --r:  -6deg; --s: 1.08; --z: 3; }
.hero__can--te{ --x: 60%; --y: 42%; --h: clamp(140px, 14vw, 240px); --r:  10deg; --s: 0.96; --z: 1; }
.hero__can--ll{ --x: 72%; --y: 58%; --h: clamp(160px, 16vw, 270px); --r: -12deg; --s: 1.04; --z: 2; }
.hero__can--tc{ --x: 84%; --y: 44%; --h: clamp(140px, 14vw, 240px); --r:  14deg; --s: 0.96; --z: 1; }
.hero__can--rw{ --x: 90%; --y: 62%; --h: clamp(150px, 15vw, 255px); --r: -10deg; --s: 1.00; --z: 2; }

/* Mobile hero tuning */
@media (max-width: 560px){
  .hero__inner{
    width: min(420px, 92vw);
    height: min(720px, 88vh);
  }
  .hero__title{ padding: 18px 12px; line-height: 0.95; }

  .hero__can--rc{ --x: 14%; --y: 30%; --h: 130px; --r: -16deg; --s: 1.00; --z: 1; }
  .hero__can--rs{ --x: 30%; --y: 40%; --h: 145px; --r:  10deg; --s: 1.05; --z: 2; }
  .hero__can--bt{ --x: 50%; --y: 28%; --h: 125px; --r:   8deg; --s: 1.00; --z: 1; }
  .hero__can--ga{ --x: 50%; --y: 55%; --h: 160px; --r:  -6deg; --s: 1.08; --z: 3; }
  .hero__can--te{ --x: 70%; --y: 28%; --h: 125px; --r:  10deg; --s: 1.00; --z: 1; }
  .hero__can--ll{ --x: 72%; --y: 44%; --h: 145px; --r: -12deg; --s: 1.05; --z: 2; }
  .hero__can--tc{ --x: 86%; --y: 34%; --h: 130px; --r:  14deg; --s: 1.00; --z: 1; }
  .hero__can--rw{ --x: 86%; --y: 56%; --h: 140px; --r: -10deg; --s: 1.02; --z: 2; }
}

/* =========================================================
   MOBILE SLIDER STYLES (<=1024px)
========================================================= */
.ms{
  padding: 18px 0 26px;
  background: #0b0b0f;
}

.ms-stage{
  position: relative;
  width: 100%;
  height: min(72vh, 560px);
  overflow: hidden;
}

.ms-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;

  display: grid;
  place-items: center;
  padding: 18px 12px;
}

.ms-card{
  width: min(420px, 92vw);
  border-radius: 18px;

  background: rgba(18, 18, 20, 0.26);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 16px 14px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30);
}

.ms-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  opacity: 0.95;
}

.ms-meta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ms-dot{
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(0,255,120,0.65);
  display: inline-block;
}

.ms-type{ text-align: right; }

.ms-title{
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ms-title span{ display: inline; }

.ms-body{
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 0 8px;
}

.ms-can{
  width: 150px;
  height: auto;
  transform: rotate(-18deg) scale(1.12);
  filter: none !important;
  box-shadow: none !important;
  display: block;
}

.ms-blurb{
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.95;
  line-height: 1.25;
  max-width: 120px;
}

.ms-icons{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.ms-ico{
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
}

.ms-icoBox{
  width: 56px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.ms-icoLbl{
  font-size: 11px;
  opacity: 0.92;
  line-height: 1.1;
}

/* Simple icon variants (pure CSS) */
.ms-icoPaw{
  background:
    radial-gradient(circle at 18px 16px, rgba(255,255,255,0.9) 2px, transparent 3px),
    radial-gradient(circle at 28px 14px, rgba(255,255,255,0.9) 2px, transparent 3px),
    radial-gradient(circle at 38px 16px, rgba(255,255,255,0.9) 2px, transparent 3px),
    radial-gradient(circle at 28px 24px, rgba(255,255,255,0.9) 6px, transparent 7px);
  background-repeat: no-repeat;
}
.ms-icoDrop{
  background:
    radial-gradient(circle at 28px 18px, rgba(255,255,255,0.9) 7px, transparent 8px);
}
.ms-icoLeaf{ background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06)); }
.ms-icoFizz{ background: radial-gradient(circle at 22px 18px, rgba(255,255,255,0.8) 2px, transparent 3px); }
.ms-icoChill{ background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); }
.ms-icoTea{ background: radial-gradient(circle at 28px 22px, rgba(255,255,255,0.75) 4px, transparent 5px); }
.ms-icoSun{ background: radial-gradient(circle at 28px 18px, rgba(255,255,255,0.75) 6px, transparent 7px); }
.ms-icoWave{ background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)); }
.ms-icoGlass{ background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)); }
.ms-icoFlower{ background: radial-gradient(circle at 28px 20px, rgba(255,255,255,0.65) 6px, transparent 7px); }
.ms-icoSpice{ background: radial-gradient(circle at 28px 20px, rgba(255,255,255,0.7) 5px, transparent 6px); }
.ms-icoCitrus{ background: radial-gradient(circle at 28px 20px, rgba(255,255,255,0.7) 6px, transparent 7px); }

/* Thumb bar */
.ms-thumbbar{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  background: rgba(10,10,14,0.88);
}

.ms-navBtn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ms-thumbs{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}

.ms-thumb{
  height: 44px;
  width: auto;
  cursor: pointer;
  transform: scale(1);
  opacity: 0.72;
  transition: transform 0.25s ease, opacity 0.25s ease;
  filter: none !important;
  box-shadow: none !important;
}
.ms-thumb.active{
  transform: scale(1.35);
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ms-slide, .ms-thumb{ transition: none !important; }
}

/* ======= imported from html file ======= */

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  position: relative;
  color: #fff;
  background: #000;
}

/* ---- FORCE PAGE SCROLL (override headfoot.css if it locks scroll) ---- */
html, body{
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body{
  position: relative;
}

:root{
  --subtitle-opacity: 0.78;

  --title-top: -7%;
  --subtitle-bottom: 70px;
  --stage-width: min(1450px, 96vw);
  --stage-height: min(520px, 70vh);

  --glass-w: min(1240px, 84vw);
  --glass-h: min(560px, 74vh);
  --glass-radius: 26px;
  --glass-pad: clamp(22px, 3vw, 48px);
}

/* =========================================================
  LEFT NAV MENU (VISIBLE ONLY BETWEEN SNAP2 & SNAP9)
========================================================= */
.scrollmenu{
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.scrollmenu.menu-visible{
  opacity: 1;
  pointer-events: auto;
}

.nav-can{
  width: 24px;
  height: auto;
  cursor: pointer;
  user-select: none;
}

@media (min-width: 769px) {
  .thumb-img{
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(40%) brightness(90%);
  }
  .thumb-img.active{
    transform: scale(1.5);
    z-index: 2;
    filter: none;
  }
}

@media (max-width: 768px){
  .scrollmenu{ display:none; }
}

/* =========================================================
  SNAP SECTIONS BASE
========================================================= */
.product-section{
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
  GLASS CARD
========================================================= */
.glass{
  width: 75%;
  height: 60vh;
  border-radius: var(--glass-radius);

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.3)
  );

  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  overflow: visible;
}

.glass-inner{
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  width: 100%;
  height: 100%;
  padding: var(--glass-pad);
}

.glass-left .product-can{ margin-left: 2px; }
.glass-right .product-can{ margin-right: 2px; }

/* =========================================================
  BIG CAN
========================================================= */
.product-can{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bigcan{
  height: min(66vh, 640px);
  width: auto;
  display: block;
  transform: scale(1.15);
  filter: none !important;
  box-shadow: none !important;
  margin-left: 30px;
  margin-right: 30px;
}

/* =========================================================
  COPY
========================================================= */
.product-copy{
  flex: 1 1 auto;
  min-width: 0;
}

.left-space{
  margin-left: -4%;
}
.right-space{
  margin-right: -4%;
}

.product-title{
  margin: 0;
  font-size: clamp(30px, 5.1vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-sub{
  font-size: clamp(18px, 2.2vw, 22px);
}

.product-desc{
  margin-top: 60px;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.2;
  max-width: 70ch;
  text-align: justify;
}

.product-bullets{
  margin-top: 40px;
  font-weight: 200;
  padding-left: 18px;
  font-size: 18px;
  line-height: 1;
}
.product-bullets li{ margin: 6px 0; }

.product-tagline{
  margin-top: 60px;
  font-size: 18px;
  font-weight: 400;
}

.align-right{ text-align: right; }
.align-center{ text-align: center; }
.align-left{ text-align: left; }

/* =========================================================
  ✅ FORCE THESE SECTIONS TO BE LEFT-ALIGNED:
  snap3, snap5, snap7, snap9 (titles + subtitles + bullets)
========================================================= */
.snap3 .product-header,
.snap5 .product-header,
.snap7 .product-header,
.snap9 .product-header{
  text-align: left !important;
}

.snap3 .product-bullets,
.snap5 .product-bullets,
.snap7 .product-bullets,
.snap9 .product-bullets{
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* =========================================================
  HERO (snap1)
========================================================= */
.os-hero{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  margin-top: -4.5%;
  background-image: url("/assets/images/indexbgsky.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.os-title{
  position: absolute;
  left: 50%;
  top: var(--title-top);
  transform: translateX(-50%);
  margin-top: 100px;

  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;

  font-size: clamp(54px, 10vw, 140px);
  line-height: 0.9;

  color: #fff;
  z-index: 5;
  user-select: none;
}

.os-subtitle{
  position: absolute;
  width: 40%;
  left: 50%;
  bottom: -30%;
  text-align: center;
  transform: translateX(-50%);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(26px, 5vw, 86px);
  color: rgba(255,255,255);
  z-index: 2;
  user-select: none;
  line-height: 1;
}

.os-stage{
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -45%);
  width: var(--stage-width);
  height: var(--stage-height);
  z-index: 1;
}

.os-can{
  position: absolute;
  left: var(--x);
  top: var(--y);
  height: var(--h);
  z-index: var(--z);
  transform-origin: 50% 85%;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--s));

  filter: none !important;

  transition: transform 800ms cubic-bezier(.2, .8, .2, 1);
  cursor: pointer;
}

.os-can:hover{
  transform: translate(-50%, -50%) rotate(var(--rh));
  filter: none !important;
}

.os-can--roar-classic{ --x: 5%;  --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: 10deg;  --rh: -2deg; --z: 1; }
.os-can--roar-watermelon{ --x: 19%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: -7deg; --rh: 1deg; --z: 6; }
.os-can--roar-sugarfree{ --x: 32%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: -12deg; --rh: -18deg; --z: 1; }
.os-can--lime{ --x: 41%; --y: 57%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: 10deg; --rh: -1deg; --z: 3; }
.os-can--bootea{ --x: 58%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: -12deg; --rh: -18deg; --z: 6; }
.os-can--titonic-classic{ --x: 67%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: 10deg; --rh: 1deg; --z: 3; }
.os-can--titonic-elderflower{ --x: 82%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: -12deg; --rh: -18deg; --z: 6; }
.os-can--ginger{ --x: 93%; --y: 58%; --h: clamp(220px, 28vw, 360px); --s: 1; --r: 10deg; --rh: 1deg; --z: 1; }

@media (max-width: 900px){
  :root{ --stage-height: min(620px, 72vh); }
  .os-stage{ transform: translate(-50%, -42%); }
}

@media (max-width: 768px){
  .glass-inner{
    flex-direction: column;
    text-align: center;
  }
  .glass-left .product-can,
  .glass-right .product-can{
    margin: 0;
  }
  .bigcan{
    height: auto;
    width: min(320px, 70vw);
  }
  .product-desc{ margin-left:auto; margin-right:auto; }
  .product-bullets{ text-align:left; }
}

@media (prefers-reduced-motion: reduce){
  .os-can, .thumb-img{ transition: none !important; }
}

.product-can{
  position: relative;
  overflow: visible;
}

/* Panel behind the badge */
.product-can::before{
  content:"";
  position:absolute;

  bottom: -12%;
  top: auto;
  transform: none;

  width: 110px;
  height: 78%;
  border-radius: 18px;
  z-index: 0;
  opacity: 0.55;
}

/* pill sits left or right depending on can side */
.glass-left  .product-can::before{ left: -34px; }
.glass-right .product-can::before{ right: -34px; }

.product-can > .bigcan{
  position: relative;
  z-index: 2;
}

/* ===== Badge base ===== */
.can-badge{
  position: absolute;
  z-index: 3;
  bottom: -15%;
  top: auto;
  width: 52px;
  height: 72%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* left can = badge on left */
.glass-left .product-can .can-badge{
  left: -24px;
  right: auto;
}

/* right can = badge on right */
.glass-right .product-can .can-badge{
  right: -24px;
  left: auto;
}

/* inner content rotated (same direction both sides) */
.can-badge__inner{
  display: flex;
  align-items: center;
  gap: 10px;
  transform-origin: center;
  transform: rotate(-90deg);
}

/* veg dot */
.can-badge__veg{
  width: 8px;
  height: 8px;
  border-radius: 30%;
  background: #48B42F;
  box-shadow: 0 0 0 3px #D9D9D9;
  flex: 0 0 auto;
}

/* text */
.can-badge__text{
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.95;
  white-space: nowrap;
}