/* =========================================================================
   AQUVA — main stylesheet
   Palette: White · AQUVA Blue (navy, from the logo) · Light Blue.
   Bright blue is a shade of AQUVA Blue taken from the logo's droplet.
   ========================================================================= */

/* ---------- Fonts (self-hosted Jost; Instrument Serif in fonts-serif.css) ---------- */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --navy: #0A2A6B;            /* AQUVA Blue */
  --navy-deep: #071F52;
  --blue: #0B72E0;            /* bright shade of AQUVA Blue (logo droplet) */
  --blue-text: #0A68D0;       /* text blue ≥ 4.5:1 on white and --sky */
  --sky: #EAF3FD;             /* Light Blue */
  --sky-2: #D6E8FB;
  --sky-3: #B9D7F7;

  --ink: var(--navy);
  --ink-soft: rgba(10, 42, 107, .66);   /* ≥ 4.5:1 on white (WCAG AA) */
  --ink-faint: rgba(10, 42, 107, .64);  /* ≥ 4.5:1 on white (WCAG AA) */
  --line: rgba(10, 42, 107, .12);

  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1320px;
  --header-h: 80px;
  --section-y: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --radius: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 860px) { :root { --header-h: 66px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: clamp(16px, 1.1vw, 18px); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--sky-2); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

html.i18n-pending body { visibility: hidden; }
html.intro-playing:not(.intro-done) body { overflow: hidden; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wordmark { font-family: var(--font); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--sky-3); }

.title {
  font-weight: 400; font-size: clamp(42px, 6.4vw, 96px); line-height: .98; letter-spacing: -.025em; margin-top: 22px;
}
.title > span { display: block; }
.title .serif { color: var(--blue); font-size: 1.08em; line-height: .9; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 28px 0 30px;
  border-radius: 999px; font-size: 13.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary::before { background: var(--blue); }
.btn--ghost { border: 1px solid var(--line); color: var(--navy); }
.btn--ghost::before { background: var(--sky); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__icon { transform: translateX(4px); }
  .btn--ghost:hover { border-color: var(--sky-2); }
}
.btn:active { transform: scale(.98); }

/* =========================================================================
   LOADER — a drop falls from a tilted can, ripples, and the logo appears
   ========================================================================= */
.loader {
  --lipY: 25vh; --waterY: 64vh;
  position: fixed; inset: 0; z-index: 150; display: none; overflow: hidden; touch-action: none; overscroll-behavior: contain;
  background: radial-gradient(120% 70% at 50% 72%, var(--sky) 0%, var(--white) 62%);
  /* Failsafe: never block the site, even if JS fails */
  animation: loaderOut .9s 6s var(--ease-io) forwards;
}
html.js.intro-playing .loader { display: block; }
html.intro-done .loader { animation: loaderOut .95s var(--ease-io) forwards; }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.loader__pour {
  position: absolute; left: calc(50% + 23px); top: var(--lipY); width: 116px; margin-left: -58px;
  transform-origin: 50% 2%; opacity: 0;
  animation: pour .8s .05s var(--ease) forwards, fadeOut .5s 1.4s ease forwards;
  filter: drop-shadow(0 18px 24px rgba(10, 42, 107, .14));
}
.loader__pour img { width: 100%; }
@keyframes pour {
  from { opacity: 0; transform: translate(-60px, -50px) rotate(60deg); }
  to   { opacity: 1; transform: rotate(116deg); }
}
@keyframes fadeOut { to { opacity: 0; } }

.loader__drop {
  --dropY: calc(var(--lipY) + 44px);
  position: absolute; left: 50%; top: var(--dropY); width: 15px; height: 21px; margin-left: -7.5px;
  transform-origin: 50% 0; opacity: 0;
  animation: dropForm .38s .62s ease-out forwards, dropFall .46s 1s cubic-bezier(.55, 0, .95, .45) forwards;
}
@keyframes dropForm {
  from { opacity: 0; transform: scale(.2, .1); }
  to   { opacity: 1; transform: scale(.86, 1.08); }
}
@keyframes dropFall {
  0%   { opacity: 1; transform: translateY(0) scale(.86, 1.08); }
  88%  { opacity: 1; transform: translateY(calc(var(--waterY) - var(--dropY) - 34px)) scale(.78, 1.28); }
  100% { opacity: 0; transform: translateY(calc(var(--waterY) - var(--dropY) - 10px)) scale(1.4, .35); }
}

.loader__surface {
  position: absolute; left: 50%; top: var(--waterY); width: min(560px, 82vw); height: 1px; margin-left: calc(min(560px, 82vw) / -2);
  background: linear-gradient(90deg, transparent, rgba(11, 114, 224, .38), transparent);
  transform: scaleX(0); animation: surface 1s .4s var(--ease) forwards;
}
@keyframes surface { to { transform: scaleX(1); } }

.loader__ripple {
  position: absolute; left: 50%; top: var(--waterY); width: 240px; height: 46px; margin: -23px 0 0 -120px;
  border-radius: 50%; border: 1.5px solid rgba(11, 114, 224, .6); opacity: 0; transform: scale(.04);
  animation: ripple 1.3s calc(1.44s + var(--i) * .15s) cubic-bezier(.15, .6, .3, 1) forwards;
}
@keyframes ripple { 0% { opacity: .95; transform: scale(.04); } 100% { opacity: 0; transform: scale(1.3); } }

.loader__splash { position: absolute; left: 50%; top: var(--waterY); }
.loader__splash i {
  position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: 0;
  animation: splash .7s 1.44s cubic-bezier(.2, .7, .4, 1) forwards;
}
.loader__splash i:nth-child(odd) { width: 4px; height: 4px; }
@keyframes splash {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  55%  { opacity: 1; transform: translate(var(--x), var(--y)) scale(.9); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.35), 4px) scale(.4); }
}

/* Centred across the full viewport width (no left:50% + translateX, no shrink-to-fit),
   so the logo stays centred in every engine, including iOS Safari during font swap. */
.loader__brand {
  position: absolute; left: 0; right: 0; top: 44vh; display: flex; flex-direction: column; align-items: center; gap: 18px;
  transform: translateY(-50%); opacity: 0; pointer-events: none;
  animation: brandIn 1s 1.58s var(--ease) forwards;
}
.loader__brand img { width: 86px; flex: none; }
/* Symmetric padding balances the trailing letter-spacing, so the glyphs sit on the true centre */
.loader__brand .wordmark {
  font-size: 20px; color: var(--navy); margin: 0; padding-left: .32em; white-space: nowrap;
  animation: track 1.3s 1.58s var(--ease) both;
}
@keyframes brandIn {
  from { opacity: 0; filter: blur(10px); transform: translateY(-38%); }
  to   { opacity: 1; filter: blur(0); transform: translateY(-50%); }
}
@keyframes track { from { letter-spacing: .9em; padding-left: .9em; } to { letter-spacing: .32em; padding-left: .32em; } }

/* =========================================================================
   HEADER & NAV
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h);
  transition: transform .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line); transition: opacity .5s var(--ease);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header.is-hidden::before { box-shadow: none; }
.header.is-hidden:focus-within { transform: none; } /* keyboard users never tab into a hidden header */
main:focus { outline: none; }
html.menu-open .header { transform: none; }
html.menu-open .header::before { opacity: 0; }

.header__inner {
  /* Logo pinned left, actions pinned right, links centred between them */
  height: 100%; width: calc(100% - 2 * var(--header-x, var(--gutter))); margin-inline: auto;
  display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; column-gap: 28px;
}
.header__inner > .brand { justify-self: start; }
.header__inner > .nav { justify-self: center; }
.header__inner > .header__actions { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); position: relative; z-index: 2; }
.brand__mark { width: 56px; height: auto; transition: transform .6s var(--ease); }
.brand .wordmark { font-size: 18px; }
@media (hover: hover) { .brand:hover .brand__mark { transform: translateY(-2px); } }

.nav { display: flex; gap: clamp(18px, 2.2vw, 38px); }
.nav__link {
  position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  padding: 8px 0; transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }


.burger { display: none; position: relative; z-index: 2; width: 46px; height: 46px; margin-left: auto; margin-right: -10px; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--navy);
  transition: transform .55s var(--ease), top .55s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
html.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
html.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1199px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 5vh) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), visibility 0s .7s; visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
html.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: block; overflow: hidden; padding: 6px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 9vw, 54px); font-weight: 400; letter-spacing: -.02em; line-height: 1.25;
}
.menu__link span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); }
html.menu-open .menu__link span { transform: none; transition-delay: calc(.18s + var(--i) * .06s); }
.menu__link:active span { color: var(--blue); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px;
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .5s; }
.menu__mail { font-size: 16px; color: var(--blue-text); }
html.menu-open body { overflow: hidden; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) 0 96px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--white) 0%, var(--sky) 100%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85; will-change: transform; }
.hero__glow--a { width: 52vw; height: 52vw; right: -8vw; top: 4vh; background: radial-gradient(circle, var(--sky-2), transparent 68%); animation: drift 18s ease-in-out infinite alternate; }
.hero__glow--b { width: 36vw; height: 36vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(185, 215, 247, .7), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-4vw, 3vh) scale(1.08); } }
.hero__word {
  position: absolute; left: 50%; bottom: -3vw; transform: translateX(-50%);
  font-size: 30vw; font-weight: 500; letter-spacing: .04em; line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(11, 114, 224, .1); user-select: none;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 72px); }

.hero__eyebrow { margin-bottom: 26px; }
.hero__title {
  font-size: clamp(46px, 7.4vw, 124px); font-weight: 500; line-height: .94; letter-spacing: -.035em; text-transform: uppercase;
}
/* Reveal mask for the hero lines. The top padding holds accents on capitals (Č, Ć, Š, Ž, Đ):
   in Jost they reach ~0.98em above the baseline, more than the tight .94 line-height leaves,
   so without it overflow:hidden cut the caron off. */
.line { display: block; overflow: hidden; padding: .2em 0 .06em; margin-bottom: -.06em; }
.line__in { display: block; }
.hero__title-accent { color: var(--blue); font-weight: 300; }
.hero__sub { margin-top: 28px; max-width: 36ch; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-soft); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 42px; }
.hero__meta { display: flex; gap: 18px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.hero__meta li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 18px 2px 0; border-radius: 50%; background: var(--sky-3); vertical-align: middle; }

.hero__visual { position: relative; height: clamp(420px, 74vh, 720px); display: flex; align-items: flex-end; justify-content: center; }
.hero__halo { position: absolute; left: 50%; top: 48%; width: min(40vw, 600px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--white) 0%, var(--sky) 55%, var(--sky-2) 100%); box-shadow: inset 0 -30px 80px rgba(11, 114, 224, .08); }
.hero__halo span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(11, 114, 224, .16); animation: halo 7s var(--ease) infinite; opacity: 0; }
.hero__halo span:nth-child(2) { animation-delay: 2.3s; }
.hero__halo span:nth-child(3) { animation-delay: 4.6s; }
@keyframes halo { 0% { transform: scale(.9); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }

.hero__can { position: absolute; bottom: 4%; will-change: transform; }
.hero__can img { width: 100%; filter: drop-shadow(0 30px 40px rgba(10, 42, 107, .18)) drop-shadow(0 8px 12px rgba(10, 42, 107, .1)); }
.hero__can::after { /* contact shadow */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -3%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 42, 107, .3), transparent); filter: blur(4px); z-index: -1;
}
/* Widths are also capped by viewport height so the cans never outgrow their box on short windows */
.hero__can--front { width: min(clamp(150px, 15.5vw, 300px), 34vh); left: 50%; margin-left: -2%; z-index: 2; }
.hero__can--back  { width: min(clamp(126px, 13vw, 252px), 28.5vh); right: 50%; margin-right: 4%; bottom: 10%; z-index: 1; }
.hero__can--front .hero__can-float { transform: rotate(4deg); }
.hero__can--back .hero__can-float { transform: rotate(-7deg); }
.hero__can-float { animation: float 7s ease-in-out infinite; animation-delay: var(--float-d, 0s); }
@keyframes float { 50% { translate: 0 -12px; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint);
}
.scroll-cue__line { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(-100%); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Hero entrance (after loader) */
/* initial state */
html.js .hero [data-hero] { opacity: 0; }
html.js .hero .line__in[data-hero] { opacity: 1; transform: translateY(110%); }
html.js .hero .hero__visual[data-hero] { transform: translateY(60px); filter: blur(8px); }
html.js .hero .hero__sub[data-hero], html.js .hero .hero__actions[data-hero], html.js .hero .hero__eyebrow[data-hero] { transform: translateY(18px); }
html.js .hero .scroll-cue[data-hero] { transform: translateX(-50%); }
/* revealed state (higher specificity) */
html.js.ready .hero [data-hero][data-hero] { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
html.js.ready .hero [data-hero="1"][data-hero] { transition-delay: .05s; }
html.js.ready .hero [data-hero="2"][data-hero] { transition-delay: .14s; }
html.js.ready .hero [data-hero="3"][data-hero] { transition-delay: .3s; }
html.js.ready .hero [data-hero="4"][data-hero] { transition-delay: .4s; }
html.js.ready .hero [data-hero="5"][data-hero] { transition-delay: .1s; transition-duration: 1.4s; }
html.js.ready .hero [data-hero="6"][data-hero] { transition-delay: .9s; transform: translateX(-50%); }

@media (max-width: 860px) {
  .hero { align-items: flex-start; padding-bottom: 84px; }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__copy { text-align: left; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__sub { margin-top: 18px; }
  .hero__actions { margin-top: 28px; gap: 18px; }
  .hero__visual { height: clamp(340px, 54svh, 500px); }
  .hero__halo { width: min(86vw, 440px); }
  .hero__can--front { width: min(clamp(124px, 34vw, 200px), calc(clamp(340px, 54svh, 500px) * .44)); }
  .hero__can--back  { width: min(clamp(104px, 28.5vw, 168px), calc(clamp(340px, 54svh, 500px) * .37)); }
  .hero__word { font-size: 38vw; bottom: auto; top: 46%; }
  .scroll-cue { display: none; }
}
@media (max-width: 400px) { .hero__meta { display: none; } }
@media (min-width: 861px) and (max-height: 760px) { .hero__title { font-size: clamp(44px, 6vw, 96px); } .hero__visual { height: 76vh; } }

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { padding: 0 clamp(20px, 3vw, 44px); font-size: clamp(15px, 1.4vw, 19px); font-weight: 400; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; color: var(--navy); }
.marquee i { width: 7px; height: 9px; background: var(--blue); clip-path: path("M3.5 0C3.5 0 0 4.6 0 6a3.5 3.5 0 0 0 7 0C7 4.6 3.5 0 3.5 0Z"); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* =========================================================================
   SECTION HEAD
   ========================================================================= */
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px 64px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head__lead { color: var(--ink-soft); font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; max-width: 38ch; justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head__lead { justify-self: start; } }

/* =========================================================================
   PRODUCTS
   ========================================================================= */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 40px); }
.product { display: flex; flex-direction: column; gap: 32px; }
.product__stage {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: grid; place-items: center; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.product--still .product__stage { background: radial-gradient(90% 70% at 50% 85%, var(--white) 0%, var(--sky) 45%, var(--sky-2) 100%); }
.product--sparkling .product__stage { background: radial-gradient(90% 70% at 50% 90%, #14408F 0%, var(--navy) 45%, var(--navy-deep) 100%); }
.product__word {
  position: absolute; left: clamp(18px, 2.4vw, 34px); top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: clamp(56px, 8.6vw, 132px); font-weight: 500; letter-spacing: .02em; line-height: .8; z-index: -1;
  color: transparent; -webkit-text-stroke: 1px rgba(11, 114, 224, .22); transition: letter-spacing 1s var(--ease);
}
.product--sparkling .product__word { -webkit-text-stroke-color: rgba(214, 232, 251, .2); font-size: clamp(44px, 6.4vw, 100px); }
.product__can {
  width: clamp(120px, 15.5vw, 236px); position: relative; z-index: 2; margin-top: 2%;
  filter: drop-shadow(0 26px 30px rgba(7, 31, 82, .2)); transform: rotate(-2deg);
  transition: transform 1s var(--ease), filter 1s var(--ease);
}
.product--sparkling .product__can { filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .35)); transform: rotate(2deg); }
.product__shadow {
  position: absolute; left: 50%; bottom: 7.5%; width: clamp(90px, 12vw, 180px); height: 18px; margin-left: calc(clamp(90px, 12vw, 180px) / -2);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(7, 31, 82, .32), transparent); filter: blur(3px); z-index: 1;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.product--sparkling .product__shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.product__rings { position: absolute; left: 50%; bottom: 8%; width: 70%; aspect-ratio: 4 / 1; transform: translateX(-50%); z-index: 0; }
.product__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(11, 114, 224, .28); opacity: 0; animation: ring 5s var(--ease) infinite; }
.product__rings span:nth-child(2) { animation-delay: 1.65s; }
.product__rings span:nth-child(3) { animation-delay: 3.3s; }
@keyframes ring { 0% { transform: scale(.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }

@media (hover: hover) {
  .product:hover .product__can { transform: translateY(-18px) rotate(-5deg) scale(1.03); }
  .product--sparkling:hover .product__can { transform: translateY(-18px) rotate(5deg) scale(1.03); }
  .product:hover .product__shadow { transform: scale(.78); opacity: .7; }
  .product:hover .product__word { letter-spacing: .1em; }
  .product:hover .product__stage { box-shadow: 0 40px 80px -40px rgba(10, 42, 107, .35); }
  .product--sparkling:hover .bubble { animation-duration: calc(var(--t) * .55); }
}

/* Card content below the image (home product cards + shop cards): centred column.
   flex:1 lets the last row (tags / button + price) sit at the same height in both cards. */
.product__info { padding-inline: 4px; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.product__info .product__index { justify-content: center; }
.product__info .product__desc { margin-inline: auto; }
.product__info .tags { justify-content: center; margin-top: auto; padding-top: 22px; }
.product__index { display: flex; gap: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-text); }
.product__index span:first-child { color: var(--ink-faint); }
.product__name { margin-top: 14px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 300; letter-spacing: .02em; line-height: 1.05; }
.product__name strong { font-weight: 500; }
.product__tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--blue-text); line-height: 1.2; }
.product__desc { margin-top: 14px; color: var(--ink-soft); font-weight: 300; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; gap: 52px; }
  .product__stage { aspect-ratio: 4 / 4.4; }
  .product__can { width: clamp(130px, 38vw, 220px); }
  .product__shadow { width: clamp(100px, 30vw, 170px); margin-left: calc(clamp(100px, 30vw, 170px) / -2); }
  .product__word { font-size: clamp(56px, 17vw, 120px); }
  .product--sparkling .product__word { font-size: clamp(44px, 12.5vw, 96px); }
}

/* Bubbles (generated by JS) */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute; bottom: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 55%, transparent 72%);
  border: 1px solid rgba(255, 255, 255, .5);
  animation: rise var(--t) var(--dl) linear infinite;
}
.bubbles--hero .bubble, .bubbles--light .bubble { border-color: rgba(11, 114, 224, .28); background: radial-gradient(circle at 32% 30%, #fff, rgba(234, 243, 253, .4) 60%, transparent 72%); }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: .9; }
  100% { transform: translate(var(--dx), var(--rise, -620px)); opacity: 0; }
}

/* =========================================================================
   SUSTAINABILITY
   ========================================================================= */
.sustain { position: relative; background: var(--navy); color: var(--white); padding-top: clamp(56px, 8vw, 112px); margin-top: 40px; }
/* Wave strip: the wrapper clips, the 200%-wide SVG slides by exactly half (two wave periods) for a seamless loop */
.wave { position: absolute; left: 0; right: 0; height: clamp(36px, 5vw, 72px); overflow: hidden; pointer-events: none; }
.wave svg { display: block; width: 200%; max-width: none; height: 100%; fill: var(--navy); animation: wave 16s linear infinite; }
.wave--top { top: 1px; transform: translateY(-100%); }
.wave--bottom { bottom: 1px; transform: translateY(100%) scaleY(-1); }
.wave--bottom svg { animation-direction: reverse; animation-duration: 20s; }
@keyframes wave { from { translate: 0 0; } to { translate: -50% 0; } }

.sustain__intro { position: relative; }
.sustain__title {
  margin-top: 26px; font-size: clamp(48px, 9.6vw, 168px); font-weight: 500; line-height: .96; letter-spacing: -.04em; text-transform: uppercase;
}
.sustain__title > span { display: block; }
.strike { position: relative; display: inline-block !important; width: fit-content; color: var(--sky-3); transition: color 1s .9s var(--ease); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: .075em; margin-top: -.0375em; background: var(--white); border-radius: 99px;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s .6s var(--ease-io);
}
.is-in .strike, html:not(.js) .strike { color: rgba(185, 215, 247, .35); }
.is-in .strike::after, html:not(.js) .strike::after { transform: scaleX(1); }
.sustain__lead { margin-top: clamp(32px, 4vw, 52px); margin-left: auto; max-width: 46ch; font-size: clamp(18px, 1.6vw, 23px); font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, .78); }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: clamp(44px, 6vw, 88px); counter-reset: p; }
/* Centred info columns: shared rules for the four sustainability points and the three pillars */
.point, .pillar { position: relative; text-align: center; }
.point::before, .pillar::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; transform-origin: center; }
.point__text, .pillar p { max-width: 30ch; margin-inline: auto; }
.point { padding-top: 28px; }
.point::before { background: rgba(255, 255, 255, .22); }
html.js .point[data-reveal]::before { transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
html.js .point.is-in::before { transform: scaleX(1); }
.point__num { font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--sky-3); }
.point__title { margin-top: 28px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.point__text { margin-top: 14px; color: rgba(255, 255, 255, .68); font-weight: 300; font-size: clamp(15px, 1.05vw, 17px); }
@media (max-width: 1000px) { .points { grid-template-columns: 1fr 1fr; row-gap: 56px; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; row-gap: 44px; } }

/* Pinned scroll scene */
.pin { position: relative; height: 220vh; margin-top: clamp(16px, 3vw, 48px); --p: 0; }
.pin__sticky {
  --a: clamp(0, calc((var(--p) - .04) * 3.2), 1);
  --b: clamp(0, calc((var(--p) - .36) * 3.2), 1);
  --c: clamp(0, calc((var(--p) - .7) * 4), 1);
  /* Stacked composition (headline / can / headline / note) with guaranteed gaps,
     sized by both viewport width and height so nothing collides at any size. */
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(22px, 5.6vh, 76px); padding: calc(var(--header-h) + clamp(8px, 2vh, 24px)) var(--gutter) clamp(20px, 4vh, 56px);
}
.pin__can {
  position: relative; z-index: 2; flex: none; align-self: center; width: clamp(84px, min(12vw, 18vh), 220px);
  transform: translateY(calc((1 - var(--a)) * 22vh)) rotate(calc(var(--p) * 16deg - 8deg)) scale(calc(.86 + var(--p) * .18));
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .35));
}
.pin__can::before { /* glow */
  content: ""; position: absolute; inset: -40% -90%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 114, 224, .55), transparent); opacity: calc(.4 + var(--p) * .6);
}
.pin__word {
  position: relative; z-index: 1; flex: none; margin: 0; max-width: min(100%, 18ch);
  font-size: clamp(34px, min(7.2vw, 9.2vh), 132px); font-weight: 500; line-height: .92; letter-spacing: -.04em; text-transform: uppercase;
  overflow-wrap: anywhere; hyphens: auto;
}
.pin__word--a { align-self: flex-start; opacity: var(--a); transform: translateX(calc((1 - var(--a)) * -10vw)); }
.pin__word--b { align-self: flex-end; text-align: right; color: var(--sky-3); opacity: var(--b); transform: translateX(calc((1 - var(--b)) * 10vw)); }
.pin__note {
  position: relative; z-index: 3; flex: none; align-self: center; margin: 0; text-align: center; max-width: 100%;
  transform: translateY(calc((1 - var(--c)) * 20px)); opacity: var(--c);
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, min(2.2vw, 3.6vh), 32px); color: var(--white);
}
.bubbles--pin { --rise: -110vh; }
@media (max-width: 1100px) {
  .pin__word { font-size: clamp(32px, min(6.4vw, 8vh), 96px); max-width: min(100%, 16ch); }
}
@media (max-width: 860px) {
  .pin { height: 170vh; }
  .pin__sticky { gap: clamp(20px, 4.6vh, 44px); }
  .pin__word { font-size: clamp(30px, min(11vw, 7.2vh), 88px); max-width: 100%; }
  .pin__can { width: clamp(76px, min(24vw, 17vh), 170px); }
}

/* =========================================================================
   PHILOSOPHY
   ========================================================================= */
.philosophy { padding-top: calc(var(--section-y) + 16px); }
.philosophy__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.philosophy__head { position: sticky; top: calc(var(--header-h) + 40px); }
.philosophy__text { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.32; font-weight: 300; letter-spacing: -.01em; }
/* Unlit words use solid ink-soft (≥ 4.5:1) instead of low opacity — preserves reveal without failing contrast */
.philosophy__text .w { color: var(--ink-soft); transition: color .5s var(--ease); }
.philosophy__text .w.on { color: var(--navy); }
html:not(.js) .philosophy__text .w { color: var(--navy); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(36px, 5vw, 72px); }
.pillar { padding-top: 22px; }
.pillar::before { background: var(--line); }
.pillar svg { display: block; margin-inline: auto; width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 18px; font-size: 20px; font-weight: 500; letter-spacing: .02em; }
.pillar p { margin-top: 8px; font-size: 15.5px; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 1100px) and (min-width: 861px) {
  .pillars { gap: 20px; }
  .pillar h3 { font-size: 18px; }
  .pillar p { font-size: 14.5px; }
}
@media (max-width: 860px) {
  .philosophy__grid { grid-template-columns: 1fr; }
  .philosophy__head { position: static; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 26px 0; }
  .pillar h3 { margin-top: 14px; }
}

/* =========================================================================
   BRAND MOMENT
   ========================================================================= */
.moment { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--sky) 38%, var(--sky-2) 100%); padding: clamp(56px, 8vw, 104px) 0 0; }
.moment__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.moment__quote { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.moment__quote .wordmark { font-size: 14px; color: var(--blue-text); }
.moment__quote .serif { font-size: clamp(38px, 6vw, 92px); line-height: 1.02; color: var(--navy); }
.moment__stage { display: flex; justify-content: center; align-items: flex-end; gap: clamp(28px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); position: relative; }
.moment__stage::after { /* water surface */
  content: ""; position: absolute; left: -50vw; right: -50vw; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(11, 114, 224, .35), transparent);
}
.moment__can { position: relative; width: clamp(110px, 16vw, 220px); }
.moment__can > img:first-child { position: relative; z-index: 1; filter: drop-shadow(0 20px 26px rgba(10, 42, 107, .16)); }
.moment__reflection {
  position: absolute; left: 0; top: 100%; width: 100%; transform: scaleY(-1); opacity: .2; filter: blur(2px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 24%); mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 24%);
}
.moment__can figcaption { position: absolute; left: 50%; top: calc(126% + 10px); transform: translateX(-50%); z-index: 2; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.moment__stage { padding-bottom: 0; margin-bottom: clamp(110px, 15vw, 210px); }
@media (max-width: 560px) {
  .moment__stage { gap: 44px; }
  .moment__can figcaption { font-size: 10px; letter-spacing: .14em; }
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .title { margin-top: 22px; }
.contact__text { margin-top: 22px; color: var(--ink-soft); font-weight: 300; font-size: clamp(17px, 1.4vw, 21px); }
.contact__email {
  position: relative; margin-top: clamp(28px, 4vw, 52px); font-size: clamp(34px, 7.4vw, 116px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em;
  color: var(--navy); overflow-wrap: anywhere; transition: color .5s var(--ease);
}
.contact__email::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: max(1px, .02em); background: currentColor;
  transform: scaleX(.18); transition: transform .9s var(--ease);
}
.contact__email:hover { color: var(--blue); }
.contact__email:hover::after, .contact__email:focus-visible::after { transform: scaleX(1); }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: clamp(32px, 4vw, 52px); position: relative; }
.copy-status { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); white-space: nowrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--white), var(--sky)); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__tagline { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--blue-text); }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a, .footer__contact a { position: relative; width: fit-content; color: var(--ink-soft); transition: color .3s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--navy); }
.footer__label { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; }
.footer__giant {
  margin-top: clamp(32px, 5vw, 72px); font-size: 23.5vw; font-weight: 500; line-height: .74; letter-spacing: .02em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(11, 114, 224, .2); user-select: none; margin-inline: calc(var(--gutter) * -1);
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); position: relative; background: transparent; }
.footer__links { display: flex; gap: 24px; }
.link-btn { font-size: inherit; color: inherit; text-decoration: none; }
.footer__links a:hover, .link-btn:hover { color: var(--navy); }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* =========================================================================
   PRIVACY DIALOG
   ========================================================================= */
.dialog { width: min(640px, calc(100% - 32px)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: var(--radius); color: var(--navy); background: var(--white); box-shadow: 0 50px 120px -30px rgba(7, 31, 82, .45); }
.dialog::backdrop { background: rgba(7, 31, 82, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog[open] { animation: dialogIn .5s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.dialog__inner { position: relative; padding: clamp(28px, 5vw, 52px); }
.dialog h2 { margin: 16px 0 18px; font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.dialog p:not(.eyebrow) { color: var(--ink-soft); font-weight: 300; }
.dialog p + p { margin-top: 14px; }
.dialog__close { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s var(--ease); }
.dialog__close:hover { background: var(--sky); }
.dialog__close svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; }

/* =========================================================================
   SCROLL REVEALS
   ========================================================================= */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .loader { display: none !important; }
  .bubbles, .hero__halo span, .product__rings { display: none; }
  .marquee__track { animation: none; }
  .wave svg { animation: none; }
  .pin { height: auto; }
  .pin__sticky { position: relative; height: auto; min-height: 80vh; padding: 80px var(--gutter); --a: 1; --b: 1; --c: 1; }
  .pin__can { transform: none; }
  .pin__word--a, .pin__word--b { transform: none; }
  .philosophy__text .w { color: var(--navy); }
  html.js [data-reveal], html.js [data-hero] { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js .scroll-cue[data-hero] { transform: translateX(-50%) !important; }
}


/* =========================================================================
   Site chrome: globe, cart button, cart drawer
   ========================================================================= */

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
[data-focus]:focus { outline: none; }

/* ---------- Header actions ---------- */
.header__actions { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
@media (max-width: 1199px) {
  .header__inner { grid-template-columns: 1fr auto auto; column-gap: 10px; }
  .burger { margin-left: 2px; }
}
@media (max-width: 860px) {
  .brand__mark { width: 52px; }
  .brand .wordmark { font-size: 18px; }
}
@media (max-width: 400px) {
  .brand__mark { width: 50px; }
  .brand .wordmark { font-size: 17.5px; }
}
@media (max-width: 360px) {
  .brand__mark { width: 44px; }
  .brand .wordmark { font-size: 16px; }
}
/* Desktop: pull logo and controls towards the screen edges */
@media (min-width: 1200px) {
  .header { --header-x: clamp(20px, 2.2vw, 44px); }
}
@media (max-width: 560px) {
  .header__inner { gap: 8px; }
  .header__actions { gap: 4px; }
}

/* ---------- Globe language selector ---------- */
.globe { position: relative; }
.globe__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 11px; border-radius: 999px;
  background: var(--navy); color: var(--white); transition: background-color .4s var(--ease), transform .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.globe__btn:hover, .globe.is-open .globe__btn { background: var(--blue); }
.globe__btn:active { transform: scale(.96); }
.globe__icon { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: transform .9s var(--ease); }
.globe__btn:hover .globe__icon, .globe.is-open .globe__icon { transform: rotate(-24deg); }
.globe__code { font-size: 12px; font-weight: 500; letter-spacing: .16em; margin-right: -.16em; }

.globe__menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 236px; padding: 8px; border-radius: 20px; z-index: 5;
  background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 34px 70px -24px rgba(7, 31, 82, .38);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.globe:not(.is-open) .globe__opt { visibility: hidden; }
.globe.is-open .globe__menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.globe.is-open .globe__opt { visibility: visible; }
.globe__title { padding: 10px 12px 8px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-text); }
.globe__list li { opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.globe.is-open .globe__list li { opacity: 1; transform: none; }
.globe.is-open .globe__list li:nth-child(2) { transition-delay: .03s; }
.globe.is-open .globe__list li:nth-child(3) { transition-delay: .06s; }
.globe.is-open .globe__list li:nth-child(4) { transition-delay: .09s; }
.globe__opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 12px; text-align: left;
  color: var(--navy); transition: background-color .3s var(--ease);
}
.globe__opt:hover { background: var(--sky); }
.globe__opt-code { width: 26px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-faint); }
.globe__opt-name { flex: 1; font-size: 15.5px; }
.globe__tick { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.globe__opt[aria-pressed="true"] { background: var(--sky); }
.globe__opt[aria-pressed="true"] .globe__opt-code { color: var(--navy); }
.globe__opt[aria-pressed="true"] .globe__opt-name { font-weight: 500; }
.globe__opt[aria-pressed="true"] .globe__tick { opacity: 1; transform: none; }
@media (max-width: 1199px) {
  .globe__btn { width: 40px; padding: 0; justify-content: center; }
  .globe__code { display: none; }
}
@media (max-width: 560px) {
  .globe__menu { right: -52px; }
}

/* ---------- Cart button ---------- */
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--navy);
  transition: background-color .3s var(--ease); -webkit-tap-highlight-color: transparent;
}
.cart-btn:hover { background: var(--sky); }
.cart-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn__count {
  position: absolute; top: 3px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-size: 10.5px; font-weight: 600; line-height: 1; box-shadow: 0 0 0 2px var(--white);
}
.cart-btn__count[hidden] { display: none; }
.cart-btn.is-bumped svg { animation: bagBump .7s var(--ease); }
.cart-btn.is-bumped .cart-btn__count { animation: countPop .6s var(--ease); }
@keyframes bagBump { 35% { transform: translateY(-3px) scale(1.08); } }
@keyframes countPop { 0% { transform: scale(.4); } 60% { transform: scale(1.18); } }

/* ---------- Shared bits ---------- */
.btn--block { width: 100%; justify-content: center; }
.stepper { display: inline-flex; align-items: center; height: 50px; border: 1px solid rgba(10, 42, 107, .16); border-radius: 999px; background: var(--white); }
.stepper__btn { width: 46px; height: 100%; display: grid; place-items: center; border-radius: 999px; color: var(--navy); transition: background-color .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.stepper__btn:hover:not(:disabled) { background: var(--sky); }
.stepper__btn:disabled { opacity: .3; cursor: not-allowed; }
.stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.stepper__input, .stepper__val { width: 46px; text-align: center; font: inherit; font-size: 17px; font-weight: 500; color: var(--navy); }
.stepper__input { border: 0; background: transparent; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.stepper--sm { height: 40px; }
.stepper--sm .stepper__btn { width: 38px; }
.stepper--sm .stepper__val { width: 30px; font-size: 15px; }

.sum { display: grid; gap: 11px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--ink-soft); }
.sum-row strong { color: var(--navy); font-weight: 500; text-align: right; }
.sum-row--sep { margin-top: 4px; padding-top: 13px; border-top: 1px solid var(--line); }
.sum-row--total { margin-top: 4px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--navy); font-size: 17px; }
.sum-row--total strong { font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.sum-row small { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 300; }
.sum-muted { color: var(--blue-text) !important; font-size: 14px; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(7, 31, 82, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column;
  background: var(--white); transform: translateX(100%); transition: transform .65s var(--ease-io);
  box-shadow: -40px 0 90px -40px rgba(7, 31, 82, .4);
}
html.drawer-open .drawer__overlay { opacity: 1; }
html.drawer-open .drawer__panel { transform: none; }
html.drawer-open body { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: calc(24px + env(safe-area-inset-top)) 28px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { margin-top: 12px; font-size: 34px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.drawer__close { width: 44px; height: 44px; margin: -6px -10px 0 0; border-radius: 50%; display: grid; place-items: center; transition: background-color .3s var(--ease); }
.drawer__close:hover { background: var(--sky); }
.drawer__close svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 28px; }
.drawer__foot { padding: 20px 28px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--sky)); }
.drawer__note { margin: 14px 0 18px; font-size: 13px; color: var(--ink-soft); }
.drawer__actions { display: grid; gap: 10px; }
.drawer .btn { height: 54px; }

.cart-line { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 34px 22px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 54px; filter: drop-shadow(0 10px 12px rgba(10, 42, 107, .16)); }
.cart-line__name { font-size: 17px; font-weight: 500; }
.cart-line__pack { margin-top: 2px; font-size: 13.5px; color: var(--ink-soft); }
.cart-line__unit { margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cart-line__total { font-size: 16px; font-weight: 500; }
.cart-line__remove { position: absolute; top: 16px; right: -8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); transition: background-color .3s var(--ease), color .3s var(--ease); }
.cart-line__remove:hover { background: var(--sky); color: var(--navy); }
.cart-line__remove svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.cart-empty { padding: 64px 8px; text-align: center; }
.cart-empty__icon { width: 56px; height: 56px; margin: 0 auto 22px; fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.cart-empty__title { font-size: 22px; font-weight: 400; }
.cart-empty__text { margin-top: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 300; }
@media (max-width: 480px) {
  .drawer__head, .drawer__body, .drawer__foot { padding-left: 20px; padding-right: 20px; }
}


/* Focus returned by script after a mouse/touch action: no keyboard ring */
.no-ring:focus-visible { outline: none; }

/* =========================================================================
   SHARED CHECKBOX (checkout + newsletter opt-in)
   ========================================================================= */
.check { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 7px; border: 1px solid rgba(10, 42, 107, .3); display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.check__box svg { width: 15px; height: 15px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s var(--ease); }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Section number in front of an eyebrow label, e.g. "01  Proizvodi" */
.eyebrow__num { color: var(--ink-faint); }
.eyebrow--light .eyebrow__num { color: rgba(255, 255, 255, .6); }

/* First visit: hold the page for the short country check (failsafe reveal after 1.6s) */
html.geo-pending body { visibility: hidden; animation: geoReveal 0s 1.6s forwards; }
@keyframes geoReveal { to { visibility: visible; } }

/* =========================================================================
   COOKIE CONSENT
   ========================================================================= */
.consent {
  position: fixed; z-index: 110; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(1000px, calc(100% - 32px));
  opacity: 0; transform: translate(-50%, 24px); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
.consent__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 24px; padding: 22px 24px;
  border-radius: 24px; background: var(--white); border: 1px solid var(--sky-2); box-shadow: 0 30px 70px -28px rgba(7, 31, 82, .42);
}
.consent__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.consent__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.consent__title { font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--navy); }
.consent__text { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-weight: 300; }
.consent__more, .nl-form__note .link-btn { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; font-weight: 400; }
.consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent .btn, .prefs__actions .btn { height: auto; min-height: 46px; padding: 10px 20px; font-size: 12px; letter-spacing: .14em; line-height: 1.25; white-space: nowrap; }
@media (max-width: 960px) {
  .consent__inner { grid-template-columns: auto 1fr; }
  .consent__actions { grid-column: 1 / -1; }
  .consent__actions .btn { flex: 1 1 0; justify-content: center; }
}
@media (max-width: 560px) {
  .consent { bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 16px); }
  .consent__inner { grid-template-columns: 1fr; gap: 14px; padding: 18px; border-radius: 20px; }
  .consent__icon { display: none; }
  .consent__actions { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "nec all" "set set"; }
  .consent__actions [data-consent-action="necessary"] { grid-area: nec; }
  .consent__actions [data-consent-action="all"] { grid-area: all; }
  .consent__actions [data-consent-action="settings"] { grid-area: set; }
  .consent .btn { white-space: normal; padding: 10px 12px; letter-spacing: .08em; text-align: center; }
}

/* Preferences panel (reuses .dialog) */
.prefs__list { display: grid; gap: 10px; margin-top: 22px; }
.prefs__item { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); }
.prefs__name { font-size: 16px; font-weight: 500; color: var(--navy); }
.dialog .prefs__desc { margin-top: 4px; font-size: 14px; }
.prefs__always { flex: none; padding-top: 3px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); white-space: nowrap; }
.switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 1px; cursor: pointer; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(10, 42, 107, .18); transition: background-color .3s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(7, 31, 82, .25); transition: transform .35s var(--ease); }
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--blue); outline-offset: 3px; }
.prefs__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
@media (max-width: 560px) {
  .prefs__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .prefs__actions [data-consent-action="save"] { grid-column: 1 / -1; }
  .prefs__actions .btn { justify-content: center; padding: 10px 12px; letter-spacing: .08em; white-space: normal; text-align: center; }
}

/* =========================================================================
   NEWSLETTER (footer band and timed popup share the same form)
   ========================================================================= */
.nl-form { width: 100%; text-align: left; }
.nl-form__row {
  display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--white);
  border: 1px solid rgba(10, 42, 107, .16); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nl-form__row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 114, 224, .12); }
.nl-form__row:has([aria-invalid="true"]) { border-color: var(--blue); }
.nl-form__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--navy); outline: none; }
.nl-form__input::placeholder { color: var(--ink-soft); opacity: .85; }
.nl-form__btn { flex: none; height: 48px; padding: 0 22px; font-size: 12px; letter-spacing: .16em; }
.nl-form__btn:disabled { opacity: .65; cursor: progress; }
.nl-form__consent { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); font-weight: 300; }
.nl-form__consent .check__box { width: 20px; height: 20px; border-radius: 6px; margin-top: 1px; }
.nl-form__consent input { width: 20px; height: 20px; }
.nl-form__consent .check__box svg { width: 13px; height: 13px; }
.nl-form__msg { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--navy); }
.nl-form__msg:empty { display: none; }
.nl-form__msg.is-error { color: var(--blue-text); }
.nl-form__msg.is-error::before, .nl-form__msg.is-ok::before {
  flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-size: 11px; font-weight: 600; line-height: 1;
}
.nl-form__msg.is-error::before { content: "!"; }
.nl-form__msg.is-ok::before { content: "\2713"; background: var(--navy); }
.nl-form__msg.is-info { padding: 12px 14px; border-radius: 12px; background: var(--sky); font-weight: 400; }
.nl-form__note { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); font-weight: 300; }
.dialog .nl-form__note, .dialog .nl-form__msg { margin-top: 10px; }
@media (max-width: 480px) {
  .nl-form__row { flex-direction: column; border-radius: 20px; }
  .nl-form__btn { width: 100%; justify-content: center; }
}

.footer__nl {
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px 56px; margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--sky-2);
  box-shadow: 0 30px 60px -40px rgba(10, 42, 107, .3);
}
.footer__nl-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.footer__nl-text { margin-top: 8px; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 860px) {
  .footer__nl { grid-template-columns: 1fr; text-align: center; }
}

.nl-pop { width: min(520px, calc(100% - 32px)); text-align: center; }
.nl-pop .dialog__inner { padding: clamp(30px, 5vw, 48px) clamp(20px, 5vw, 44px) clamp(24px, 4vw, 36px); }
.nl-pop__mark { width: 60px; height: auto; margin: 0 auto 16px; }
.dialog h2.nl-pop__title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); }
.dialog p.nl-pop__text { margin-bottom: 22px; }
.nl-pop.is-closing { animation: dialogOut .22s var(--ease) forwards; }
.nl-pop.is-closing::backdrop { animation: backdropOut .22s forwards; }
@keyframes dialogOut { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes backdropOut { to { opacity: 0; } }

/* =========================================================================
   BACK TO TOP
   ========================================================================= */
.to-top {
  position: fixed; z-index: 70; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(7, 31, 82, .55), 0 0 0 1px rgba(255, 255, 255, .45);
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .35s var(--ease), transform .45s var(--ease), background-color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 861px) { .to-top { right: 28px; bottom: 28px; width: 52px; height: 52px; } }
.nl-form__hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
