/* One Morr Fizz brand page, after the reference film: a 3D product site in the dark. The cans live in one fixed 3D scene
   (js/site.js) behind the page; the sections scroll over it and the scroll moves the cans from scene to scene:
   1. the carousel under a ceiling lamp, 2. one can up close in its own colour, turning to its back, 3. the whole range in a
   diagonal row, 4. questions, 5. the close, with the can rising from below. */
:root {
  --flav: #1F7A34;     /* the picked flavour's colour, set by js/site.js */
  --flav-rim: #5BE36B;
  --ink: #FFFFFF;
  --dim: rgba(255, 255, 255, .64);
  --line: rgba(255, 255, 255, .16);
  --head: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --gut: max(clamp(16px, 3.2vw, 48px), (100vw - 1840px) / 2);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0E0B12; color: var(--ink); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: #fff; color: #0E0B12; text-decoration: none; }
.skip:focus { top: 12px; }
/* a faint film grain over everything, as in a studio shot */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Bar: tiny type, the wordmark in the middle, Menu and a pale pill on the right. */
/* The fixed layers are exactly the page's own width (--pw, measured by js/site.js, without any scrollbar, whichever kind
   the browser draws), so their middle is the page's middle. */
.bar { position: fixed; left: 0; top: 0; width: var(--pw, 100%); z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px var(--gut); font: 500 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.bar-back { justify-self: start; display: inline-flex; gap: 6px; padding: 6px 0; text-decoration: none; opacity: .85; }
.bar-back:hover { opacity: 1; }
.bar-logo img { width: clamp(58px, 5vw, 76px); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.bar-end { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.8vw, 22px); }
.bar-menu { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0; background: none; letter-spacing: inherit; text-transform: inherit; cursor: pointer; opacity: .85; }
.bar-menu:hover { opacity: 1; }
.bar-menu i { width: 9px; height: 9px; background: radial-gradient(circle, currentColor 1.4px, transparent 1.6px) 0 0 / 4.5px 4.5px; }
.bar-pill { padding: 8px 14px; border-radius: 6px; background: rgba(236, 233, 238, .92); color: #141117; text-decoration: none; text-shadow: none; transition: background-color .2s; }
.bar-pill:hover { background: #fff; }

/* The menu: the sections, big, over a dark blur. */
.menu { position: fixed; inset: 0; z-index: 25; display: grid; align-content: center; justify-items: center; gap: 6px; background: rgba(10, 8, 14, .82); backdrop-filter: blur(14px); }
.menu[hidden] { display: none; }
.menu a { font: 400 clamp(40px, 7vw, 92px)/1 var(--head); text-transform: uppercase; text-decoration: none; opacity: .75; transition: opacity .2s; }
.menu a:hover, .menu a:focus-visible { opacity: 1; }

/* The backgrounds, stacked; each later one fades in over the one before (opacity from js/site.js). */
.bg { position: fixed; left: 0; top: 0; bottom: 0; width: var(--pw, 100%); z-index: -2; }
.bg > div { position: absolute; inset: 0; }
.bg-hero { background:
  radial-gradient(22% 46% at 50% 4%, rgba(255, 255, 255, .13), transparent 72%),
  radial-gradient(58% 42% at 54% 104%, rgba(178, 174, 184, .78), transparent 72%),
  radial-gradient(70% 70% at 14% 10%, rgba(52, 34, 70, .55), transparent 70%),
  linear-gradient(180deg, #0B090F 0%, #17131C 42%, #2C2832 74%, #48444E 100%); }
.bg-story { opacity: 0; background:
  radial-gradient(48% 56% at 64% 52%, color-mix(in srgb, var(--flav-rim) 46%, transparent), transparent 72%),
  radial-gradient(120% 100% at 50% 50%, var(--flav) 0%, color-mix(in srgb, var(--flav) 38%, #050308) 100%); }
.bg-range { opacity: 0; background:
  radial-gradient(70% 50% at 50% 100%, #E4E2E6, transparent 75%),
  linear-gradient(180deg, #232127 0%, #4E4B53 30%, #9C99A1 66%, #C9C7CC 100%); }
.bg-brand { opacity: 0; background:
  radial-gradient(56% 46% at 50% 36%, #5F5D64, transparent 76%),
  linear-gradient(180deg, #1A191D 0%, #2E2D32 55%, #1C1B1F 100%); }
.stage { position: fixed; left: 0; top: 0; z-index: -1; width: var(--pw, 100%); height: 100%; display: block; pointer-events: none; }
main { position: relative; }

/* Without WebGL the page shows the photos instead of the 3D scene. */
.fallback { display: none; }
.no-gl .fallback { display: block; }

/* 1. Carousel: the name on the stand and the two arrows beside the front can are placed by js/site.js (--x, --y). */
.s-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; touch-action: pan-y; }
.hero-name { position: absolute; left: var(--x, 50%); top: var(--y, 82%); transform: translate(-50%, -50%); display: grid; justify-items: center; font: 400 clamp(30px, 3.5vw, 60px)/.88 var(--head); text-transform: uppercase; letter-spacing: .01em; text-align: center; white-space: nowrap; pointer-events: none; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.hero-name.swap span { animation: name-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.hero-name.swap span + span { animation-delay: .05s; }
@keyframes name-in { from { opacity: 0; transform: translateY(40%); filter: blur(4px); } }
.hero-arrow { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; transition: color .2s, background-color .2s; }
.hero-arrow:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hero-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font: 500 10px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.hero-fallback { position: absolute; left: 50%; top: 48%; height: min(56vh, 520px); width: auto; transform: translate(-50%, -50%) rotate(-17deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.s-hero [data-ui] { transition: opacity .25s; }

/* 2. The can up close: pinned while its notes go by, text on the left, the icon rail on the right. */
.s-story { position: relative; height: 600vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-copy { position: absolute; left: calc(var(--gut) + clamp(0px, 4vw, 70px)); top: 50%; width: min(34vw, 440px); transform: translateY(-50%); }
.story-step { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(calc(-50% + 18px)); opacity: 0; visibility: hidden; transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
.story-step.on { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity .45s .1s, transform .6s .1s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.story-title { font: 400 clamp(40px, 4.6vw, 76px)/.9 var(--head); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 18px; text-wrap: balance; }
.story-step p { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 40ch; }
.story-step .story-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 3px 12px 3px 3px; border-radius: 3px; background: rgba(255, 255, 255, .92); color: #141117; font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.story-tag i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 2px; background: var(--flav); color: #fff; font-style: normal; letter-spacing: 0; }
.story-rail { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.story-rail button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(255, 255, 255, .06); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s; }
.story-rail button:hover { border-color: #fff; }
.story-rail button[aria-current="step"] { background: #fff; border-color: #fff; color: var(--flav); transform: scale(1.08); }
.story-rail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.story-fallback { position: absolute; right: 14%; top: 50%; height: 78vh; width: auto; transform: translateY(-50%) rotate(-22deg); }

/* 3. The range: pinned while the row of cans holds; a small caption in the empty corner under the row's far end. */
.s-range { position: relative; height: 200vh; }
.range-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.range-copy { position: absolute; right: var(--gut); bottom: clamp(24px, 7vh, 72px); display: grid; justify-items: end; text-align: right; color: #1B1A1F; }
.range-title { font: 400 clamp(30px, 3.4vw, 54px)/.92 var(--head); text-transform: uppercase; margin-bottom: 16px; }
.range-list { display: grid; gap: 6px; font: 500 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.range-list { justify-items: end; }
.range-list li { display: flex; align-items: center; gap: 8px; }
.range-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.range-fallback { position: absolute; inset: auto 0 8vh; justify-content: center; gap: 2vw; }
.no-gl .range-fallback { display: flex; }
.range-fallback img { height: 46vh; width: auto; }

/* 4. The brand: a huge raised headline, then a row for each part of the identity, its words beside the work. */
.s-brand { position: relative; padding: 0 var(--gut) 16vh; }
.brand-head { display: grid; place-content: center; justify-items: center; gap: 18px; min-height: 100vh; min-height: 100svh; text-align: center; }
.brand-kicker { font: 600 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.brand-big { display: grid; justify-items: center; font: 400 clamp(56px, 10.5vw, 190px)/.86 var(--head); text-transform: uppercase; letter-spacing: .005em; color: #ECEAEE;
  text-shadow: 0 1px 0 #C9C6CD, 0 2px 0 #B6B3BA, 0 3px 0 #A3A0A8, 0 4px 0 #918E96, 0 5px 0 #7F7C84, 0 7px 2px rgba(0, 0, 0, .25), 0 14px 26px rgba(0, 0, 0, .5);
  transform: perspective(900px) rotateX(14deg); }
.brand-rows { max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--line); }
.brand-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.brand-row:nth-child(even) .brand-copy { order: 2; }
.brand-copy .story-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 3px 12px 3px 3px; border-radius: 3px; background: rgba(255, 255, 255, .92); color: #141117; font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.brand-copy .story-tag i { background: #B700BC; }
.brand-title { font: 400 clamp(36px, 4vw, 64px)/.92 var(--head); text-transform: uppercase; margin-bottom: 16px; }
.brand-copy p:not(.story-tag) { max-width: 46ch; color: rgba(255, 255, 255, .78); }
.brand-art { position: relative; display: grid; place-items: center; min-height: clamp(280px, 30vw, 420px); padding: clamp(24px, 3vw, 44px); border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 40%, rgba(255, 255, 255, .09), transparent 70%), linear-gradient(160deg, #2C2A31, #19181C); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.art-gorilla { background: radial-gradient(60% 70% at 50% 45%, rgba(183, 0, 188, .55), transparent 72%), linear-gradient(160deg, #2A0F33, #140A18); }
.art-gorilla img { width: min(78%, 400px); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.art-marks { gap: 22px; }
.mark-main { width: min(70%, 380px); }
.mark-chips { display: flex; justify-content: center; gap: 12px; }
.mark-chips img { width: clamp(70px, 8vw, 104px); height: clamp(56px, 6vw, 80px); object-fit: contain; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.mark-chips img.on-light { background: #ECEAEE; }
.art-voice { justify-items: start; align-content: center; gap: 18px; }
.art-voice blockquote { margin: 0; display: grid; gap: 10px; }
.art-voice blockquote p { font: 400 clamp(26px, 3vw, 46px)/1 var(--head); text-transform: uppercase; color: #ECEAEE; }
.art-voice blockquote p:nth-child(2) { color: #F59BC5; }
.art-voice figcaption { font: 500 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.art-worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); place-items: stretch; align-content: center; gap: clamp(8px, 1.6vw, 24px); }
.art-worlds span { display: grid; justify-items: center; align-content: end; gap: 14px; padding: clamp(18px, 2.4vw, 32px) 6px 16px; border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 18%, transparent)); }
.art-worlds img { width: 72%; max-width: 150px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .4)); }
.art-worlds b { font: 600 10px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; text-align: center; }

/* 5. The close: centred call to action, the credits in a row, room underneath for the can rising up. */
.s-join { position: relative; min-height: 100vh; min-height: 100svh; padding: 14vh var(--gut) 46vh; text-align: center; }
.join-box { display: grid; justify-items: center; gap: 18px; }
.join-title { font: 400 clamp(40px, 5.6vw, 96px)/.9 var(--head); text-transform: uppercase; color: #ECEAEE; }
.join-box p { max-width: 46ch; color: var(--dim); }
.join-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; background: rgba(236, 233, 238, .94); color: #141117; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; max-width: 980px; margin: 9vh auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.foot b { margin-right: 8px; color: #fff; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }

/* Phones: the carousel shows the front can and the edges of its neighbours; the can up close sits above its text. */
@media (max-width: 760px) {
  .bar-back { font-size: 0; gap: 0; }
  .bar-back span { font-size: 16px; }
  .bar-menu { font-size: 0; gap: 0; }
  .bar-menu i { width: 14px; height: 14px; background-size: 7px 7px; }
  .story-copy { left: var(--gut); right: var(--gut); top: auto; bottom: 7vh; width: auto; transform: none; min-height: 40vh; }
  .story-step { top: auto; bottom: 0; transform: translateY(18px); }
  .story-step.on { transform: none; }
  .story-pin::after { content: ""; position: absolute; inset: auto 0 0; height: 58vh; background: linear-gradient(transparent, color-mix(in srgb, var(--flav) 30%, #050308) 70%); z-index: -1; }
  .story-rail { right: var(--gut); top: calc(70px + 2vh); transform: none; gap: 8px; }
  .story-rail button { width: 32px; height: 32px; }
  .brand-row { grid-template-columns: minmax(0, 1fr); }
  .brand-row:nth-child(even) .brand-copy { order: 0; }
  /* the row runs up the screen on phones, so the caption moves to the empty top-left, light on the dark */
  .range-copy { left: var(--gut); right: auto; top: calc(70px + 2vh); bottom: auto; justify-items: start; text-align: left; color: #fff; }
  .range-list { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-name.swap span, .story-step, .story-step.on { animation: none; transition: none; }
}
