/* EUROLUB landing page
   Brand rules: Markenstilhandbuch EUROLUB, Oktober 2022
   - IBM Plex Sans; headlines Bold Italic, second line Light Italic
   - EUROLUB blue #004a72, EUROLUB red #e53212, gradient blue 2/3 to red 1/3
   - "Crossing Area": surfaces with sides slanted at 12.1 degrees
   - Logo only on white */

@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
/* Arabic and Hebrew: IBM Plex Sans Arabic / Hebrew, loaded only when those scripts appear.
   They have no italic, so the italic slots point to the upright files. */
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Light.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Light.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Regular.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Medium.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSansHebrew-Bold.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-200F; }

:root {
  --el-blue: #004a72;
  --el-blue-70: #4d809c;
  --el-blue-40: #99b7c7;
  --el-blue-dark: #00334f;
  --el-blue-deep: #002a42;
  --el-red: #e53212;
  --el-cyan: #00aac8;
  --el-ice: #e8f4f8;
  --el-ice-2: #d4eaf2;
  --el-white: #ffffff;
  --el-ink: #004a72;
  --el-muted: #4f6b7c;
  --el-rule: #c9dae4;
  --el-gradient: linear-gradient(100deg, var(--el-blue) 32%, var(--el-red) 72%);
  --el-slant: -12.1deg;
  --tan: 0.2144;
  --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--el-blue) var(--el-ice);
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: var(--el-ice); }
html::-webkit-scrollbar-thumb { background: var(--el-gradient); border: 2px solid var(--el-ice); }
body {
  margin: 0;
  background: var(--el-white);
  color: var(--el-ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--el-cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.page { position: relative; overflow: hidden; }

/* ---------- Type ---------- */
.headline {
  font-weight: 700;
  font-style: italic;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  color: var(--el-blue);
}
.headline span { display: block; font-weight: 300; }
.headline--xl { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; }
.headline--inverse { color: var(--el-white); }
.lead { font-size: 19px; line-height: 1.55; }

/* ---------- Buttons in the shape of the EUROLUB logo (without claim) ----------
   A parallelogram with 12.1 degree sides. */
.btn {
  --fill: var(--el-gradient);
  --ink: var(--el-white);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 34px;
  color: var(--ink);
  font: 600 italic 17px/1.1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  background: none;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0 6px;
  z-index: -1;
  transform: skewX(var(--el-slant));
  background: var(--fill);
  background-size: 160% 100%;
  background-position: 0 0;
  transition: background-position .45s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover::before { background-position: 100% 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--arrow::after {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("../icons/icon-arrow-right.svg") center / contain no-repeat;
  mask: url("../icons/icon-arrow-right.svg") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn--arrow:hover::after { transform: translateX(4px); }
.btn--blue { --fill: var(--el-blue); }
.btn--blue:hover { --fill: var(--el-blue-dark); }
.btn--white { --fill: var(--el-white); --ink: var(--el-blue); }
.btn--white:hover { --fill: var(--el-ice); }
.btn--outline { --fill: transparent; --ink: var(--el-blue); }
.btn--outline::before { box-shadow: inset 0 0 0 2px var(--el-blue); }
.btn--outline:hover { --fill: var(--el-blue); --ink: var(--el-white); }
.btn--xl { min-height: 64px; padding: 14px 44px; font-size: 20px; }
.btn--small { min-height: 42px; padding: 9px 24px; font-size: 15px; }

/* ---------- Slanted image frame ---------- */
.slant-frame { position: relative; overflow: hidden; transform: skewX(var(--el-slant)); background: var(--el-blue); }
.slant-frame img { width: 100%; height: 100%; object-fit: cover; transform: skewX(calc(var(--el-slant) * -1)) scale(1.25); }
.slant-frame--light { background: var(--el-white); }

/* Decorative Crossing Area shapes */
.shape { position: absolute; display: block; transform: skewX(var(--el-slant)); will-change: transform; }
.shape--blue { background: var(--el-blue); }
.shape--gradient { background: var(--el-gradient); }
.shape--ice { background: var(--el-ice); }
.shape--line { background: rgba(255, 255, 255, .14); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 24px 0 64px; overflow: hidden; }
.hero__media .shape--blue { left: 14%; right: -10%; top: 38px; bottom: -38px; }
.hero__media .shape--gradient { left: 22%; right: 6%; top: -22px; height: 9px; z-index: 1; }
.hero__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__logo { width: 176px; }
.hero__bar-end { display: flex; align-items: center; gap: 18px 26px; }
/* Language menu: native select in a slanted outline, globe and chevron drawn with masks */
.lang { position: relative; display: inline-flex; align-items: center; isolation: isolate; color: var(--el-blue); }
.lang::before {
  content: "";
  position: absolute;
  inset: 0 4px;
  z-index: -1;
  transform: skewX(var(--el-slant));
  box-shadow: inset 0 0 0 1.5px var(--el-rule);
  transition: box-shadow .2s;
}
.lang:hover::before, .lang:focus-within::before { box-shadow: inset 0 0 0 1.5px var(--el-blue); }
.lang__icon, .lang::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: currentColor;
  pointer-events: none;
}
.lang__icon { left: 16px; -webkit-mask: url("../icons/icon-globe.svg") center / contain no-repeat; mask: url("../icons/icon-globe.svg") center / contain no-repeat; }
.lang::after { right: 16px; -webkit-mask: url("../icons/icon-chevron-down.svg") center / contain no-repeat; mask: url("../icons/icon-chevron-down.svg") center / contain no-repeat; }
.lang__select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 38px;
  padding: 6px 40px 6px 42px;
  border: 0;
  background: none;
  color: inherit;
  font: 600 14px/1.2 var(--font);
  cursor: pointer;
}
.lang__select option { color: #1a1a1a; }
.hero__origin { display: inline-flex; align-items: center; gap: 10px; font: 600 italic 15px/1 var(--font); color: var(--el-blue); }
.hero__origin::before {
  content: "";
  width: 30px;
  height: 14px;
  transform: skewX(var(--el-slant));
  background: linear-gradient(#111 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; margin-top: 40px; }
.hero__text .lead { margin-top: 24px; max-width: 32em; }
.headline .line { display: block; overflow: hidden; padding-bottom: .06em; }
.headline .line { font-weight: 700; }
.headline .line > span { display: block; font-weight: 700; }
.headline .line--light > span { font-weight: 300; font-size: .62em; line-height: 1.25; margin-top: .2em; }
.headline .buy__main { display: inline; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 34px; }
.hero__media { position: relative; margin-right: 12px; }
.hero__media .slant-frame { position: relative; aspect-ratio: 16 / 11; }
/* The image is cropped with the canister in the centre; the zoom only covers the slanted corners */
.hero__media .slant-frame img { object-position: 50% 58%; transform: skewX(12.1deg) scale(1.16); }
.hero__facts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 56px;
  font-size: 15px;
  color: var(--el-muted);
}
.hero__facts li { display: flex; align-items: baseline; gap: 8px; padding: 0 26px; border-left: 2px solid var(--el-rule); transform: skewX(var(--el-slant)); }
.hero__facts li > * , .hero__facts li { font-style: normal; }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { font: 700 italic 24px/1 var(--font); color: var(--el-blue); }
.hero__facts li { transform: none; }

/* Entrance animation of the hero, played once on load */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes slide-in { from { transform: translateX(30%) skewX(var(--el-slant)); opacity: 0; } to { transform: skewX(var(--el-slant)); opacity: 1; } }
@keyframes zoom-out { from { transform: skewX(12.1deg) scale(1.36); } to { transform: skewX(12.1deg) scale(1.16); } }
.js .hero .line > span { animation: rise .9s var(--ease) both; }
.js .hero .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero .line:nth-child(3) > span { animation-delay: .22s; }
.js .hero .lead { animation: fade-up .8s var(--ease) .35s both; }
.js .hero .actions { animation: fade-up .8s var(--ease) .48s both; }
.js .hero__facts { animation: fade-up .8s var(--ease) .7s both; }
.js .hero__media .slant-frame { animation: wipe 1.1s var(--ease) .15s both; }
.js .hero__media img { animation: zoom-out 2.4s var(--ease) .15s both; }
.js .hero__media .shape--blue { animation: slide-in 1.2s var(--ease) .2s both; }
.js .hero__media .shape--gradient { animation: slide-in 1.2s var(--ease) .4s both; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Oil finder ---------- */
.finder { position: relative; padding: 40px 0 72px; }
.finder__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  min-height: 460px;
  color: var(--el-white);
}
.finder__panel::before {
  content: "";
  position: absolute;
  inset: 0 -100vw 0 0;
  z-index: -2;
  transform: skewX(var(--el-slant));
  transform-origin: 0 100%;
  background:
    linear-gradient(100deg, transparent 55%, rgba(229, 50, 18, .9) 100%),
    var(--el-blue);
}
.finder__panel::after {
  content: "";
  position: absolute;
  left: 140px;
  right: -100vw;
  bottom: -20px;
  height: 10px;
  z-index: -1;
  transform: skewX(var(--el-slant));
  background: var(--el-gradient);
}
.finder__text { padding: 64px 24px 64px 132px; }
.finder__steps { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 26px 0 34px; font-size: 16px; color: #d7e7f0; }
.finder__steps li { display: block; }
.finder__steps li + li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 14px;
  margin: -2px 12px 0;
  background: var(--el-white);
  -webkit-mask: url("../icons/icon-arrow-right.svg") center / 18px no-repeat;
  mask: url("../icons/icon-arrow-right.svg") center / 18px no-repeat;
  opacity: .7;
}
.finder__steps b { color: var(--el-white); font-weight: 600; margin-right: 5px; }
.finder__visual { position: relative; height: 100%; min-height: 460px; }
.finder__bottle {
  position: absolute;
  left: 18%;
  bottom: -46px;
  width: 210px;
  filter: drop-shadow(0 22px 22px rgba(0, 20, 35, .45));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.finder__qr {
  position: absolute;
  right: 0;
  top: 44px;
  width: 210px;
  padding: 10px 10px 14px;
  background: var(--el-white);
  color: var(--el-blue);
  font: 600 italic 14px/1.35 var(--font);
  transform: rotate(3deg);
}
.finder__qr img { aspect-ratio: 699 / 250; object-fit: cover; object-position: 0 0; margin-bottom: 10px; }

/* ---------- Products ---------- */
.products { padding: 88px 0 104px; }
.section-head { max-width: 760px; }
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 48px; margin-top: 48px; }
.explorer__tabs { display: flex; flex-direction: column; border-left: 2px solid var(--el-rule); }
.explorer__tab {
  position: relative;
  padding: 16px 0 16px 26px;
  border: 0;
  background: none;
  text-align: left;
  font: 700 italic 22px/1.2 var(--font);
  color: var(--el-blue-40);
  cursor: pointer;
  transition: color .25s var(--ease);
}
.explorer__tab::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 10px;
  bottom: 10px;
  width: 6px;
  transform: skewX(var(--el-slant)) scaleY(0);
  transform-origin: 50% 0;
  background: var(--el-gradient);
  transition: transform .35s var(--ease);
}
.explorer__tab:hover { color: var(--el-blue-70); }
.explorer__tab[aria-selected="true"] { color: var(--el-blue); }
.explorer__tab[aria-selected="true"]::before { transform: skewX(var(--el-slant)) scaleY(1); }
.explorer__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.explorer__panel[hidden] { display: none; }
.explorer__stage { position: relative; height: 420px; }
.stage-shape {
  position: absolute;
  inset: 40px 10% 0 12%;
  transform: skewX(var(--el-slant));
  background: linear-gradient(160deg, var(--el-ice) 0%, var(--el-ice-2) 100%);
}
.stage-shape::after {
  content: "";
  position: absolute;
  left: 18%;
  right: -8%;
  top: -18px;
  height: 8px;
  background: var(--el-gradient);
}
.stage-img { position: absolute; bottom: 0; filter: drop-shadow(0 18px 16px rgba(0, 40, 70, .22)); }
.stage-img--single { left: 50%; height: 92%; width: auto; transform: translateX(-50%); }
.stage-img--wide { height: 80%; }
.stage-img--duo-back { left: 22%; height: 78%; width: auto; }
.stage-img--duo-front { left: 52%; height: 64%; width: auto; }
.explorer__panel.is-active .stage-img { animation: stage-in .7s var(--ease) both; }
.explorer__panel.is-active .stage-img--duo-front { animation-delay: .1s; }
.explorer__panel.is-active .explorer__info > * { animation: fade-up .6s var(--ease) both; }
.explorer__panel.is-active .explorer__info > :nth-child(2) { animation-delay: .06s; }
.explorer__panel.is-active .explorer__info > :nth-child(3) { animation-delay: .12s; }
.explorer__panel.is-active .explorer__info > :nth-child(4) { animation-delay: .18s; }
@keyframes stage-in { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }
.explorer__info h3 { font: 700 italic 32px/1.15 var(--font); }
.explorer__info p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid var(--el-rule);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.chips a::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("../icons/icon-arrow-right.svg") center / contain no-repeat;
  mask: url("../icons/icon-arrow-right.svg") center / contain no-repeat;
}
.chips a:hover { border-color: var(--el-blue); background: var(--el-blue); color: var(--el-white); }

/* Pack sizes */
.sizes { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: end; margin-top: 96px; }
.sizes__text h3 { font: 700 italic 30px/1.15 var(--font); }
.sizes__text p { margin-top: 12px; color: var(--el-muted); }
.sizes__row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  height: 300px;
  padding-bottom: 34px;
}
.sizes__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 3px;
  background: var(--el-gradient);
}
.pack { position: relative; display: flex; flex-direction: column; align-items: center; height: calc(var(--real) / 88 * 100%); }
.pack img { height: 100%; width: auto; filter: drop-shadow(0 10px 8px rgba(0, 40, 70, .2)); }
.pack span { position: absolute; bottom: -34px; font: 700 italic 17px/1 var(--font); }
.js .sizes .pack { opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.15s + var(--i) * 110ms); }
.js .sizes.is-in .pack { opacity: 1; transform: none; }
.pack:hover img { transform: translateY(-6px); transition: transform .25s var(--ease); }

/* ---------- Made in Bavaria ---------- */
.plant { position: relative; padding: 24px 0 96px; }
.plant__hero { position: relative; }
.plant__photo { margin: 0 -40px 0 -40px; }
.plant__photo .slant-frame { aspect-ratio: 1440 / 520; }
.plant__photo img { transition: transform .1s linear; }
.plant__title { margin-top: -86px; }
.plant__title .headline {
  position: relative;
  display: inline-block;
  padding: 26px 56px 22px 44px;
  isolation: isolate;
}
.plant__title .headline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(var(--el-slant));
  background: var(--el-white);
}
.counters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 24px;
  margin-top: 56px;
}
.counter { position: relative; padding-top: 18px; }
.counter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 54px;
  height: 6px;
  transform: skewX(var(--el-slant));
  background: var(--el-gradient);
}
.counter b { display: block; font: 700 italic clamp(32px, 3.6vw, 48px)/1 var(--font); color: var(--el-blue); font-variant-numeric: tabular-nums; }
.counter span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--el-muted); }
.plant__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; margin-top: 72px; align-items: start; }
.plant__text p + p { margin-top: 16px; }
.plant__note { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--el-rule); font-size: 15px; color: var(--el-muted); }
.plant__note img { flex: 0 0 40px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--el-rule); }
.timeline li { position: relative; padding-bottom: 18px; font-size: 15px; line-height: 1.5; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 14px;
  height: 12px;
  transform: skewX(var(--el-slant));
  background: var(--el-blue);
}
.timeline li:last-child::before { background: var(--el-red); }
.timeline b { display: block; font: 700 italic 19px/1.25 var(--font); }

/* ---------- Why EUROLUB ---------- */
.why { position: relative; padding: 96px 0 112px; background: var(--el-blue); color: var(--el-white); overflow: hidden; isolation: isolate; }
.why__shapes .shape--gradient { right: -6%; top: 0; width: 34%; height: 100%; opacity: .9; z-index: -1; }
.why__shapes .shape--line { left: 46%; top: 0; width: 10%; height: 100%; z-index: -1; }
.why::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--el-blue) 40%, rgba(0, 74, 114, .55) 70%, rgba(0, 74, 114, 0) 100%);
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.benefit {
  position: relative;
  padding: 30px 30px 34px 40px;
  color: var(--el-blue);
  isolation: isolate;
  transition: transform .3s var(--ease);
}
.benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--el-white);
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.benefit::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 0;
  height: 5px;
  background: var(--el-gradient);
  transition: width .4s var(--ease);
}
.benefit:hover { transform: translateY(-6px); }
.benefit:hover::after { width: calc(100% - 22px); }
.benefit img { width: 56px; height: 56px; }
.benefit h3 { margin-top: 18px; font: 700 italic 21px/1.25 var(--font); }
.benefit p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--el-muted); }

/* ---------- Buy ---------- */
.buy { padding: 104px 0 96px; }
.buy__panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 6fr 6fr; gap: 32px; align-items: center; padding: 56px 0 56px 80px; }
.buy__panel::before {
  content: "";
  position: absolute;
  inset: 0 -100vw 0 0;
  z-index: -1;
  transform: skewX(var(--el-slant));
  transform-origin: 0 100%;
  background: var(--el-ice);
}
.buy__text p { margin-top: 18px; max-width: 32em; }
.buy__img { width: 100%; max-width: 620px; margin-right: -40px; }

/* ---------- Footer ---------- */
.foot { padding: 36px 0 120px; border-top: 1px solid var(--el-rule); }
.foot__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; font-size: 14px; color: var(--el-muted); }
.foot__logo { width: 120px; }
.foot address { font-style: normal; flex: 1 1 320px; }
.foot__links { display: flex; gap: 24px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--el-red); text-decoration: underline; }

/* ---------- Journey dock (scroll progress, steps, oil finder) ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -1px 0 var(--el-rule);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.dock.is-visible { transform: none; }
.dock.is-embedded { position: absolute; top: 0; bottom: auto; transition: opacity .3s var(--ease); opacity: 0; pointer-events: none; }
.dock.is-embedded.is-visible { opacity: 1; pointer-events: auto; }
.dock__progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--el-ice); }
.dock__progress span { display: block; height: 100%; width: 100%; transform-origin: 0 0; transform: scaleX(var(--progress, 0)); background: var(--el-gradient); }
.dock__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 10px var(--gutter); }
.dock__steps { display: flex; gap: 4px; counter-reset: step; }
.dock__steps a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--el-muted);
  text-decoration: none;
  counter-increment: step;
  transition: color .2s;
}
.dock__steps a::before { content: counter(step) " "; font: 700 italic 14px/1 var(--font); color: var(--el-blue-40); margin-right: 4px; }
.dock__steps a:hover { color: var(--el-blue); }
.dock__steps a.is-current { color: var(--el-blue); font-weight: 600; }
.dock__steps a.is-current::before { color: var(--el-red); }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .dock__steps a { padding: 8px 8px; font-size: 13px; }
  .counters { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .hero__media { order: -1; margin: 0 16px 0 20px; }
  .hero__media .slant-frame { aspect-ratio: 16 / 10; }
  .hero__facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
  .hero__facts li { padding: 0; border: 0; }
  .finder__panel { grid-template-columns: 1fr; }
  .finder__panel::before { transform: none; clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%); }
  .finder__text { padding: 52px 24px 24px 64px; }
  .finder__visual { min-height: 300px; }
  .finder__bottle { left: 22%; width: 150px; bottom: -36px; }
  .finder__qr { right: 8%; top: 20px; width: 180px; }
  .explorer { grid-template-columns: 1fr; gap: 28px; }
  .explorer__tabs { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--el-rule); scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .explorer__tab { flex: 0 0 auto; padding: 12px 16px; font-size: 18px; }
  .explorer__tab::before { left: 10px; right: 10px; top: auto; bottom: -2px; width: auto; height: 5px; transform: skewX(var(--el-slant)) scaleX(0); transform-origin: 0 50%; }
  .explorer__tab[aria-selected="true"]::before { transform: skewX(var(--el-slant)) scaleX(1); }
  .explorer__panel { grid-template-columns: 1fr; gap: 24px; }
  .explorer__stage { height: 320px; }
  .sizes { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .plant__photo { margin: 0 -20px; }
  .plant__title { margin-top: -50px; }
  .plant__grid { grid-template-columns: 1fr; gap: 44px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .buy__panel { grid-template-columns: 1fr; padding: 48px 24px 40px 56px; }
  .buy__panel::before { transform: none; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%); }
  .buy__img { margin: 0; }
  .dock__steps { display: none; }
  .dock__inner { justify-content: flex-end; }
  .dock__inner::before { content: attr(data-current); font: 600 italic 15px/1.2 var(--font); color: var(--el-blue); margin-right: auto; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .hero__logo { width: 132px; }
  .hero__origin { display: none; }
  .hero__facts { margin-top: 36px; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .btn--xl { min-height: 58px; padding: 12px 34px; font-size: 18px; }
  .finder__panel::before { clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
  .finder__panel::after { left: 40px; }
  .finder__text { padding: 44px 8px 16px 36px; }
  .finder__steps { flex-direction: column; align-items: flex-start; }
  .finder__steps li + li::before { display: none; }
  .finder__qr { width: 150px; font-size: 12px; right: 4%; }
  .finder__bottle { left: 10%; width: 130px; }
  .explorer__stage { height: 260px; }
  .explorer__info h3 { font-size: 26px; }
  .sizes__row { height: 190px; gap: 6px; }
  .pack span { font-size: 14px; }
  .plant__title .headline { padding: 18px 30px 14px 26px; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .benefits { grid-template-columns: 1fr; }
  .buy__panel { padding: 40px 12px 32px 36px; }
  .buy__panel::before { clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
  .foot { padding-bottom: 100px; }
}

/* ---------- Right-to-left (Arabic, Hebrew) ----------
   Grid and flex follow dir="rtl" by themselves. Below: everything positioned or animated
   with physical left/right is mirrored. The 12.1 degree slant keeps its direction, like the logo.
   Arabic and Hebrew have no italic, so all text stands upright. */
[dir="rtl"] body, [dir="rtl"] .btn, [dir="rtl"] .headline, [dir="rtl"] h3,
[dir="rtl"] b, [dir="rtl"] .hero__origin, [dir="rtl"] .finder__qr,
[dir="rtl"] .explorer__tab, [dir="rtl"] .pack span, [dir="rtl"] .counter b,
[dir="rtl"] .timeline b, [dir="rtl"] .dock__steps a::before, [dir="rtl"] .dock__inner::before { font-style: normal; }
[dir="rtl"] body { line-height: 1.75; }
/* Numbers like 750+ and 18,000 keep their left-to-right order */
[dir="rtl"] .counter b, [dir="rtl"] .hero__facts b, [dir="rtl"] .timeline b { direction: ltr; unicode-bidi: isolate; text-align: right; }
[dir="rtl"] .headline { line-height: 1.3; }
[dir="rtl"] .headline--xl { line-height: 1.22; }
[dir="rtl"] .headline .line { padding-bottom: .14em; }
[dir="rtl"] .headline .line--light > span { line-height: 1.45; }
[dir="rtl"] .lead { line-height: 1.75; }

[dir="rtl"] .btn--arrow::after,
[dir="rtl"] .chips a::after,
[dir="rtl"] .finder__steps li + li::before { transform: scaleX(-1); }
[dir="rtl"] .btn--arrow:hover::after { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .lang__icon { left: auto; right: 16px; }
[dir="rtl"] .lang::after { right: auto; left: 16px; }
[dir="rtl"] .lang__select { padding: 6px 42px 6px 40px; }

[dir="rtl"] .hero__media { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .hero__media .shape--blue { left: -10%; right: 14%; }
[dir="rtl"] .hero__media .shape--gradient { left: 6%; right: 22%; }
[dir="rtl"] .hero__facts li { border-left: 0; border-right: 2px solid var(--el-rule); }
[dir="rtl"] .hero__facts li:first-child { padding-right: 0; border-right: 0; padding-left: 26px; }
@keyframes wipe-rtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes slide-in-rtl { from { transform: translateX(-30%) skewX(var(--el-slant)); opacity: 0; } to { transform: skewX(var(--el-slant)); opacity: 1; } }
@keyframes stage-in-rtl { from { opacity: 0; translate: -40px 0; } to { opacity: 1; translate: 0 0; } }
.js [dir="rtl"] .hero__media .slant-frame, [dir="rtl"].js .hero__media .slant-frame { animation-name: wipe-rtl; }
[dir="rtl"].js .hero__media .shape--blue, [dir="rtl"].js .hero__media .shape--gradient { animation-name: slide-in-rtl; }
[dir="rtl"] .explorer__panel.is-active .stage-img { animation-name: stage-in-rtl; }

[dir="rtl"] .finder__panel::before {
  inset: 0 0 0 -100vw;
  transform-origin: 100% 100%;
  background: linear-gradient(260deg, transparent 55%, rgba(229, 50, 18, .9) 100%), var(--el-blue);
}
[dir="rtl"] .finder__panel::after { left: -100vw; right: 140px; }
[dir="rtl"] .finder__text { padding: 64px 72px 64px 24px; }
[dir="rtl"] .finder__steps b { margin-right: 0; margin-left: 5px; }
[dir="rtl"] .finder__bottle { left: auto; right: 18%; }
[dir="rtl"] .finder__qr { right: auto; left: 0; transform: rotate(-3deg); }

[dir="rtl"] .explorer__tabs { border-left: 0; border-right: 2px solid var(--el-rule); }
[dir="rtl"] .explorer__tab { padding: 16px 26px 16px 0; text-align: right; }
[dir="rtl"] .explorer__tab::before { left: auto; right: -2px; }
[dir="rtl"] .stage-shape { inset: 40px 12% 0 10%; }
[dir="rtl"] .stage-shape::after { left: -8%; right: 18%; }
[dir="rtl"] .stage-img--duo-back { left: auto; right: 22%; }
[dir="rtl"] .stage-img--duo-front { left: auto; right: 52%; }

[dir="rtl"] .plant__title .headline { padding: 26px 44px 22px 56px; }
[dir="rtl"] .counter::before { left: auto; right: 0; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .timeline::before { left: auto; right: 6px; }
[dir="rtl"] .timeline li::before { left: auto; right: -30px; }

[dir="rtl"] .why__shapes .shape--gradient { right: auto; left: -6%; }
[dir="rtl"] .why__shapes .shape--line { left: auto; right: 46%; }
[dir="rtl"] .why::after { background: linear-gradient(260deg, var(--el-blue) 40%, rgba(0, 74, 114, .55) 70%, rgba(0, 74, 114, 0) 100%); }
[dir="rtl"] .benefit { padding: 30px 40px 34px 30px; }
[dir="rtl"] .benefit::after { left: auto; right: 0; }

[dir="rtl"] .buy__panel { padding: 56px 80px 56px 0; }
[dir="rtl"] .buy__panel::before { inset: 0 0 0 -100vw; transform-origin: 100% 100%; }
[dir="rtl"] .buy__img { margin-right: 0; margin-left: -40px; }

[dir="rtl"] .dock__progress span { transform-origin: 100% 0; }
[dir="rtl"] .dock__steps a::before { margin-right: 0; margin-left: 4px; }

@media (max-width: 960px) {
  [dir="rtl"] .hero__media { margin: 0 20px 0 16px; }
  [dir="rtl"] .hero__facts li, [dir="rtl"] .hero__facts li:first-child { padding: 0; border: 0; }
  [dir="rtl"] .finder__panel::before { inset: 0 0 0 -100vw; transform: none; clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 100%, 0 100%); }
  [dir="rtl"] .finder__text { padding: 52px 64px 24px 24px; }
  [dir="rtl"] .finder__bottle { right: 22%; }
  [dir="rtl"] .finder__qr { left: 8%; }
  [dir="rtl"] .explorer__tabs { border-right: 0; }
  [dir="rtl"] .explorer__tab { padding: 12px 16px; }
  [dir="rtl"] .explorer__tab::before { left: 10px; right: 10px; transform-origin: 100% 50%; }
  [dir="rtl"] .buy__panel { padding: 48px 56px 40px 24px; }
  [dir="rtl"] .buy__panel::before { inset: 0 0 0 -100vw; transform: none; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%); }
  [dir="rtl"] .buy__img { margin: 0; }
  [dir="rtl"] .dock__inner::before { margin-right: 0; margin-left: auto; }
}
@media (max-width: 600px) {
  [dir="rtl"] .finder__panel::before { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
  [dir="rtl"] .finder__panel::after { left: -100vw; right: 40px; }
  [dir="rtl"] .finder__text { padding: 44px 36px 16px 8px; }
  [dir="rtl"] .finder__qr { left: 4%; }
  [dir="rtl"] .finder__bottle { right: 10%; }
  [dir="rtl"] .plant__title .headline { padding: 18px 26px 14px 30px; }
  [dir="rtl"] .buy__panel { padding: 40px 36px 32px 12px; }
  [dir="rtl"] .buy__panel::before { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 100%, 0 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .sizes .pack { opacity: 1; transform: none; }
}
