/* Home page sections */
.story { background: var(--amber); color: var(--ink); padding: 76px 0 84px; position: relative; }
.story .eyebrow { opacity: .8; }
.story .big { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.025em; margin: 26px 0 0; max-width: 1120px; }
.story .sw { transition: opacity .2s linear; }
.story .facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.story .fact { display: inline-flex; align-items: center; gap: 12px; background: #FBF3DF; border-radius: 999px; padding: 7px 22px 7px 7px; font-weight: 600; box-shadow: 0 10px 22px -14px rgba(90, 50, 0, .55), inset 0 -2px 0 rgba(160, 100, 20, .12); transition: transform .45s var(--ease), box-shadow .45s; }
.story .fact:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 16px 26px -14px rgba(90, 50, 0, .6), inset 0 -2px 0 rgba(160, 100, 20, .12); }
.story .fruit { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFFFFF, #F5E6C2 70%); box-shadow: inset 0 0 0 1px rgba(160, 100, 20, .14); flex-shrink: 0; }
.story .fruit svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.story .fact:hover .fruit svg { transform: rotate(-14deg) scale(1.12); }
.story .fact:nth-child(2) .fruit { background: radial-gradient(circle at 35% 30%, #FFFFFF, #F3EBC6 70%); }
.story .fact:nth-child(3) .fruit { background: radial-gradient(circle at 35% 30%, #FFFFFF, #EEF0C8 70%); }

.partners { background: var(--g900); color: var(--cream); padding: 20px 0 22px; overflow: hidden; }
.partners .head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 14px; }
.partners .head b { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1; }
.partners .head span { color: var(--mutedD); font-size: 14px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ptrack { list-style: none; margin: 0; padding: 0 20px 0 0; display: flex; gap: 20px; flex-shrink: 0; animation: marq 48s linear infinite; }
.marquee:hover .ptrack { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.partner { display: flex; align-items: center; gap: 12px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(247, 245, 239, .05); border: 1px solid rgba(247, 245, 239, .1); white-space: nowrap; }
.partner .cap { flex-shrink: 0; transition: transform 1s var(--ease); }
.partner:hover .cap:not(.has-logo) { transform: rotate(200deg); }
.partner .cap.has-logo .ring { transform-box: view-box; transform-origin: 50% 50%; transition: transform 1s var(--ease); }
.partner:hover .cap.has-logo .ring { transform: rotate(200deg); }
.partner b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.partner .cap { width: 44px; height: 44px; }
.partner small { color: var(--mutedD); font-size: 12px; }

.shelf-sec { background: var(--cream); padding: 80px 0 90px; overflow: hidden; }
.shelf-sec .display { font-size: clamp(2.6rem, 6vw, 5.6rem); color: var(--g800); }
.shelf { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: 6px; padding: 0 12px; margin-top: 80px; }
.shelf::after { content: ""; position: absolute; left: -40px; right: -40px; bottom: -16px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, #2B5E42, #12301F); box-shadow: 0 24px 34px -20px rgba(14, 36, 24, .7); }
.shelf-bottle { position: relative; display: flex; justify-content: center; text-decoration: none; transform: translateY(70px); opacity: 0; transition: transform 1.1s var(--ease), opacity .7s; transition-delay: calc(var(--i) * 70ms); }
.shelf.in .shelf-bottle { transform: none; opacity: 1; }
.shelf-bottle svg { width: 100%; max-width: 64px; height: auto; transition: transform .5s var(--ease); transform-origin: 50% 100%; }
.shelf-bottle:hover svg, .shelf-bottle:focus-visible svg { transform: translateY(-16px) rotate(-5deg); }
.shelf-bottle .tag { position: absolute; bottom: -46px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.shelf-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; }
.shelf-cta p { margin: 0; color: var(--muted); max-width: 520px; font-size: 17px; }
@media (max-width: 760px) {
  .shelf { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 76px; }
  .shelf::after { display: none; }
}

.factory { background: var(--g900); color: var(--cream); padding: 88px 0; overflow: hidden; position: relative; }
.factory .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 70px; align-items: center; }
.factory .display { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.factory .eyebrow { color: #F2B8A8; margin-bottom: 18px; }
.factory p { color: var(--mutedD); font-size: 18px; max-width: 470px; }
.steps-mini { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 38px; padding: 0; list-style: none; }
.steps-mini li { border: 1px solid rgba(247, 245, 239, .2); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.stack { position: relative; height: 480px; }
.photo { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); transition: transform 1s var(--ease); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.a { width: 60%; height: 68%; left: 2%; top: 12%; transform: rotate(-7deg); }
.photo.b { width: 56%; height: 64%; right: 0; top: 0; transform: rotate(6deg); }
.photo.c { width: 54%; height: 58%; left: 25%; bottom: 0; transform: rotate(-1.5deg); }
.stack:hover .photo.a { transform: rotate(-11deg) translate(-24px, 8px); }
.stack:hover .photo.b { transform: rotate(10deg) translate(22px, -10px); }
.stack:hover .photo.c { transform: rotate(0deg) translateY(12px) scale(1.03); }
.ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; color: var(--leaf); font-size: 13px; font-weight: 600; background: radial-gradient(90% 70% at 30% 20%, rgba(240, 184, 78, .22), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px), linear-gradient(140deg, #2B5E42, #1F4A33 60%, #163a27); }
.ph .ico { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); opacity: .55; }
.ph.light { color: var(--g800); background: radial-gradient(90% 70% at 30% 20%, rgba(227, 163, 60, .25), transparent 60%), repeating-linear-gradient(135deg, rgba(31, 74, 51, .04) 0 12px, transparent 12px 24px), linear-gradient(140deg, #EFEADB, #DDE8D5); }

.cta { background: var(--cream); padding: 88px 0; }
.cta .display { font-size: clamp(3rem, 8.4vw, 7.6rem); color: var(--g800); }
.cta .display em { font-style: normal; color: var(--red); }
.cta-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.cta-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), box-shadow .5s; }
.cta-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 36, 24, .35); }
.cta-card h3 { margin: 0; font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.cta-card p { margin: 0; color: var(--muted); }
.cta-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Produse: the recipe columns (each juice poured in layers, as its label says) ---------- */
.lab-sec { padding: 76px 0 84px; }
.lab-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; }
.lab-head .display em { font-style: normal; color: var(--red); }
.lab-head p { margin: 0 0 12px; max-width: 380px; color: var(--muted); font-size: 17px; }
.lab { display: flex; gap: 14px; height: clamp(540px, 76vh, 680px); margin-top: 44px; }
.tube { position: relative; flex: 1 1 0; min-width: 0; border-radius: 32px; overflow: hidden; text-decoration: none; color: var(--ink); isolation: isolate;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F0E7 100%); box-shadow: inset 0 0 0 1px rgba(23, 36, 28, .08), 0 34px 50px -42px rgba(14, 36, 24, .55);
  transition: flex-grow .85s var(--ease), box-shadow .4s; }
.tube.on { flex-grow: 2.5; box-shadow: inset 0 0 0 1px rgba(23, 36, 28, .1), 0 40px 70px -44px rgba(14, 36, 24, .7); }
.tube:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
/* glass: a gloss down the left edge and a softer one on the right */
.tube::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.5) 5%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 88%, rgba(255,255,255,.28) 94%, rgba(255,255,255,0) 100%); }
.tube .liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 0; display: flex; flex-direction: column-reverse; z-index: 1;
  transition: height 1.7s var(--ease); transition-delay: calc(var(--i) * 130ms); }
.lab.filled .liquid { height: 54%; }
.lab.filled .tube.on .liquid { height: 40%; transition-delay: 0s; }
.tube .layer { flex: 0 0 var(--h); min-height: 0; background: var(--c); position: relative; display: flex; align-items: center; padding: 0 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.tube .layer b { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(23, 36, 28, .78); white-space: nowrap; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.tube .layer[data-dark] b { color: rgba(247, 245, 239, .9); }
.tube .layer b i { font-style: normal; font-family: var(--display); font-size: 15px; letter-spacing: 0; margin-left: 4px; }
.tube.on .layer b { opacity: 1; transform: none; transition-delay: calc(.35s + var(--k) * .08s); }
.tube .wave { position: absolute; left: 0; top: -13px; width: 200%; height: 14px; animation: lab-wave 4.5s linear infinite; animation-delay: calc(var(--i) * -.9s); }
@keyframes lab-wave { to { transform: translateX(-50%); } }
.tube .bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tube .bubbles i { position: absolute; bottom: -12px; left: var(--x); width: var(--w); height: var(--w); border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); opacity: 0;
  animation: lab-bub var(--d) ease-in infinite; animation-delay: var(--t); }
@keyframes lab-bub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .85; } 100% { transform: translateY(-360px); opacity: 0; } }
.tube .t-head { position: absolute; top: 26px; left: 24px; right: 20px; z-index: 3; }
.tube .num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 60px); line-height: .9; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.4px var(--g800); transition: color .5s; }
.tube.on .num { color: var(--g800); }
.tube .nm { display: block; margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: -.01em; color: var(--g800); transition: font-size .6s var(--ease); }
.tube.on .nm { font-size: clamp(22px, 2.3vw, 32px); }
.tube .t-more { display: block; position: absolute; margin-top: 18px; width: min(400px, 100%); min-width: 300px; z-index: 3; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.tube.on .t-more { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.tube .legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink); }
.tube .legend li { display: flex; align-items: center; gap: 7px; }
.tube .legend i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23,36,28,.15); }
.tube .legend b { font-weight: 700; }
.tube .fm { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.tube .pr { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.tube .pr b { font-family: var(--display); font-size: 22px; color: var(--ink); letter-spacing: -.01em; }
.tube .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: var(--g900); color: var(--cream); font-weight: 600; font-size: 14px; }
.tube .go .arrow { transition: transform .35s var(--ease); }
.tube:hover .go .arrow { transform: translateX(4px); }
.tube .btl { position: absolute; right: 26px; bottom: 24px; z-index: 3; opacity: 0; transform: translateY(50px) rotate(7deg); transition: opacity .4s, transform .8s var(--ease); filter: drop-shadow(0 18px 16px rgba(14, 36, 24, .3)); pointer-events: none; }
.tube.on .btl { opacity: 1; transform: rotate(-4deg); transition-delay: .32s; }
@media (max-width: 1000px) {
  .tube .btl svg { width: 60px; height: auto; }
}
@media (max-width: 760px) {
  .lab-sec { padding: 60px 0 64px; }
  .lab { flex-direction: column; height: auto; gap: 10px; margin-top: 40px; }
  .tube { flex: none; height: 96px; border-radius: 24px; transition: height .75s var(--ease); }
  .tube.on { height: 470px; }
  .lab.filled .liquid { height: 40%; }
  .tube .t-head { top: 18px; left: 20px; display: flex; align-items: baseline; gap: 12px; }
  .tube .num { font-size: 34px; }
  .tube .nm { margin-top: 0; font-size: 17px; }
  .tube.on .nm { font-size: 22px; }
  .tube .t-head { flex-wrap: wrap; right: 20px; }
  .tube .t-more { position: static; flex-basis: 100%; min-width: 0; width: 100%; margin-top: 8px; display: none; }
  .tube.on .t-more { display: block; }
  .lab.filled .tube.on .liquid { height: 36%; }
  .tube .btl svg { width: 56px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tube .wave, .tube .bubbles i { animation: none; }
  .tube .liquid, .tube { transition: none; }
}

/* ---------- phone: the 3D hero ---------- */
@media (max-width: 760px) {
  /* text at the top, the apple below it — they never overlap */
  #stage div:has(> #textA) { align-items: flex-start !important; }
  #textA { padding: 104px 24px 0 !important; }
  #textA > div { gap: 16px !important; }
  #textA .fu:first-child { font-size: 11px !important; letter-spacing: .16em !important; white-space: nowrap; }
  #textA h1 { font-size: clamp(2.5rem, 11.5vw, 3.1rem) !important; }
  #textA p { font-size: 1rem !important; }
  #textA .fu:last-child { flex-wrap: nowrap !important; gap: 10px !important; }
  #textA .btn { padding: 13px 18px; min-height: 46px; font-size: 15px; white-space: nowrap; }
  #bgword { opacity: .5; }
  #textB { top: 92px !important; }
  #textB h2 { font-size: 2.3rem !important; }
  #textB p { font-size: 16px !important; }
  /* the last words float in the middle of the juice, not at the bottom */
  #textC { bottom: 22% !important; top: auto !important; }
  #textC h2 { font-size: 2.5rem !important; }
}
@media (max-width: 360px) { #textA .btn { padding: 12px 14px; font-size: 14px; } }

@media (max-width: 760px) { .story { padding-top: 34px; } }

/* ---------- phone polish: home ---------- */
@media (max-width: 760px) {
  .story .big { font-size: 1.62rem; line-height: 1.16; letter-spacing: -.015em; margin-top: 16px; }
  .story .facts { margin-top: 26px; gap: 10px; }
  .story .fact { font-size: 15px; }
  .partners .head span { display: none; }
  .stack { height: 340px; margin-top: 8px; }
  .factory .grid2 { gap: 36px; }
  .factory .display, .cta .display, .shelf-sec .display { font-size: 2.3rem; }
  .cta .cta-card h3 { font-size: 1.5rem; }
  .lab-head p { font-size: 15.5px; }
}

/* ---------- phone: smaller fruit pills ---------- */
@media (max-width: 760px) {
  .story .facts { gap: 8px; margin-top: 22px; }
  .story .fact { gap: 9px; padding: 4px 15px 4px 4px; font-size: 13.5px; box-shadow: 0 6px 14px -10px rgba(90, 50, 0, .5), inset 0 -2px 0 rgba(160, 100, 20, .1); }
  .story .fruit { width: 30px; height: 30px; }
  .story .fruit svg { width: 21px; height: 21px; }
}
/* on touch screens a tap must not leave the pill tilted */
@media (hover: none) {
  .story .fact:hover { transform: none; }
  .story .fact:hover .fruit svg { transform: none; }
}
