/* ==========================================================================
   Aquagloria — one-page presentation mock. Loaded after the kit.
   One bold element: the carton in the hero. Everything else stays quiet.
   ========================================================================== */

:root {
  --glacier: #EAF4FA;
  --paper: #fff;
  --ink: #0E2C47;
  --brand: #1BB0EC;
  --current: #0B6FA5;
  --current-deep: #085A86;
  --fog: #4F6B82;
  --line: #D3E2EC;
  --line-strong: #B9CFDD;

  --tbd-bg: #FFF6D6;
  --tbd-ink: #7A5B00;
  --tbd-line: #E8C766;

  --font: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Sofia Sans", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 24px;
  --header-h: 76px;
  --radius-xl: 28px;
  --shadow-soft: 0 1px 0 rgba(14, 44, 71, .04), 0 22px 48px -18px rgba(14, 44, 71, .24);
  --collar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 57' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100C92 0 88 8 85.5 20C82 37 70 55 50 55S18 37 14.5 20C12 8 8 0 0 0Z'/%3E%3C/svg%3E");
  --collar-lip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 57' preserveAspectRatio='none'%3E%3Cpath d='M100 0C92 0 88 8 85.5 20C82 37 70 55 50 55S18 37 14.5 20C12 8 8 0 0 0' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  --grain: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .45 0 0 0 0 .45 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");

  /* kit */
  --mk-accent: var(--current);
  --mk-accent-ink: #fff;
  --mk-ink: var(--ink);
  --mk-muted: var(--fog);
  --mk-line: var(--line);
  --mk-font: var(--font);
  --mk-radius: 12px;
  --mk-shadow: 0 16px 40px rgba(14, 44, 71, .16), 0 2px 6px rgba(14, 44, 71, .08);
}
@media (max-width: 760px) { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (max-width: 760px) { body { font-size: 1rem; } }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--current); text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }
::selection { background: #BFE6F8; color: var(--ink); }

.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s9); }
.band { background: var(--glacier); }
@media (max-width: 760px) { .section { padding-block: var(--s8); } }

.skip { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff;
  font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ?still: every section shown at once, without the entrance */
.is-still [data-reveal], .is-still [data-reveal]:not(.is-in) { opacity: 1; transform: none; transition: none; }

.only-touch { display: none; }
@media (hover: none), (pointer: coarse) { .only-fine { display: none; } .only-touch { display: inline; } }

/* headings: tall, light and narrow, like the carton */
main h2 { font: 300 clamp(2.5rem, 1.6rem + 2.4vw, 3.75rem)/.98 var(--display); letter-spacing: -.005em; }
main h3 { font: 600 1.25rem/1.3 var(--font); }
.sec-head { max-width: 760px; margin-bottom: var(--s7); }
.sec-head p { margin-top: var(--s4); max-width: 58ch; font-size: 1.125rem; color: var(--fog); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center p { margin-inline: auto; text-wrap: balance; }
@media (max-width: 760px) { .sec-head { margin-bottom: var(--s6); } .sec-head p { font-size: 1.0625rem; } }

/* missing facts stay visible until the client fills them in */
.tbd { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px dashed var(--tbd-line); border-radius: 999px;
  background: var(--tbd-bg); color: var(--tbd-ink); font: 600 .8125rem/1.2 var(--font); white-space: nowrap; vertical-align: middle; }

/* ---------- buttons (kit buttons, pill shaped here) ---------- */
.mk-btn { border-radius: 999px; padding: 0 24px; font-size: 1rem; }
@media (hover: hover) {
  .mk-btn-primary:hover { background: var(--current-deep); border-color: var(--current-deep); }
  .mk-btn-ghost:hover { background: #E6F2F9; }
}
.link-btn { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--current); cursor: pointer;
  font: 600 .9375rem/1 var(--font); text-decoration: underline; text-underline-offset: .2em; }

/* the uploaded logo in its toast: whole, not cropped */
.mk-toast img { object-fit: contain; padding: 5px; background: #EEF5FA; }
/* on narrow screens a toast with only the close button keeps it on the same row */
@media (max-width: 420px) {
  .mk-toast:not(:has(.mk-toast-actions > :not(.mk-toast-close))) { grid-template-columns: auto minmax(0, 1fr) auto; }
  .mk-toast:not(:has(.mk-toast-actions > :not(.mk-toast-close))) .mk-toast-actions { grid-column: auto; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); }
.header-in { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
/* inside the design canvas the page scrolls without a scrollbar, so it keeps its full width */
html.is-embedded { scrollbar-width: none; }
html.is-embedded::-webkit-scrollbar { display: none; }

.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { display: block; width: 136px; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; padding: 12px 0; color: var(--ink); font: 500 .9375rem/1 var(--font); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--mk-ease-out); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 600; font-size: .9375rem;
  text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--current); stroke-width: 1.8; stroke-linejoin: round; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.burger { display: none; }
.burger svg, .mk-drawer-head svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1100px) { .nav { display: none; } .burger { display: grid; } }
@media (max-width: 760px) {
  .header-in { gap: var(--s2); }
  .brand img { width: 112px; }
  .header-actions { gap: 4px; }
  .header-phone { width: 44px; justify-content: center; }
  .header-phone span { display: none; }
  .header-cta { padding: 0 14px; font-size: .875rem; }
}

/* mobile menu */
.menu-drawer { width: min(360px, 100vw); }
.menu-nav { display: grid; align-content: start; }
.menu-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font: 300 2rem/1.1 var(--display); }

/* ==========================================================================
   Hero: the studio — copy, carton on its turntable, the panel
   ========================================================================== */
.hero { padding-top: var(--s4); }
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) 360px; grid-template-areas: "copy stage cfg";
  gap: var(--s5); min-height: min(calc(100svh - var(--header-h) - 16px), 800px); padding: 44px 32px 32px 48px; border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 55% at 52% 42%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #EFF7FC 0%, #E5F1F9 58%, #D8EAF5 100%); }

.hero-copy { grid-area: copy; display: flex; flex-direction: column; min-width: 0; }
.hero-copy h1 { font: 300 clamp(3rem, 1.2rem + 4vw, 5.25rem)/.9 var(--display); letter-spacing: -.01em; }
.hero-copy .lede { margin-top: var(--s5); max-width: 34ch; color: var(--fog); font-size: 1.1875rem; line-height: 1.5; }
.hero-contact { margin-top: var(--s4); max-width: 34ch; color: var(--fog); font-size: .9375rem; }
.hero-contact a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line-strong); white-space: nowrap; }

/* three real editions, small, at the foot of the copy: a quiet way in to the editions further down */
.hero-eds { display: flex; align-items: flex-end; gap: 16px; width: fit-content; margin-top: auto; padding-top: var(--s6); color: var(--fog);
  text-decoration: none; }
.hero-eds-row { display: flex; align-items: flex-end; flex: none; padding: 0 2px 2px; }
.hero-eds-row img { display: block; width: auto; height: 92px; filter: drop-shadow(0 6px 6px rgba(14, 44, 71, .16));
  transition: transform 240ms var(--mk-ease-out); }
.hero-eds-row img + img { margin-left: -4px; }
.hero-eds-text { display: grid; gap: 2px; max-width: 21ch; padding-bottom: 4px; font-size: .9375rem; line-height: 1.4; }
.hero-eds-text b { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) {
  .hero-eds:hover b { text-decoration-color: currentColor; }
  .hero-eds:hover img { transform: translateY(-4px); }
  .hero-eds:hover img:nth-child(2) { transition-delay: 40ms; }
  .hero-eds:hover img:nth-child(3) { transition-delay: 80ms; }
}

.stage { grid-area: stage; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.stage-3d { --k: 1; position: relative; width: 100%; height: calc(610px * var(--k)); border-radius: 24px;
  perspective: calc(1800px * var(--k)); perspective-origin: 50% 30%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.stage-3d.is-dragging { cursor: grabbing; }
.stage-3d:focus-visible { outline-offset: -2px; }
.stage-3d.is-over { outline: 2px dashed var(--current); outline-offset: -2px; background: rgba(255, 255, 255, .45); }
.stage-3d.is-over::after { content: "Lasă logo-ul pe cutie"; position: absolute; left: 50%; top: 16px; transform: translateX(-50%); padding: 8px 14px;
  border-radius: 999px; background: var(--ink); color: #fff; font: 600 .875rem/1 var(--font); white-space: nowrap; pointer-events: none; }

.views { display: inline-flex; gap: 2px; margin-top: var(--s2); padding: 3px; border-radius: 999px; background: rgba(14, 44, 71, .07); }
.view-btn { min-width: 80px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--fog);
  font: 600 .9375rem/1 var(--font); cursor: pointer; transition: background-color 160ms var(--mk-ease-std), color 160ms, box-shadow 160ms; }
.view-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 44, 71, .14); }
@media (hover: hover) { .view-btn[aria-pressed="false"]:hover { color: var(--ink); } }
.stage-help { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); color: var(--fog); font-size: .875rem; }
.stage-help svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* the panel */
.cfg { grid-area: cfg; align-self: center; display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px; border-radius: 22px;
  background: #fff; box-shadow: 0 1px 0 rgba(14, 44, 71, .04), 0 24px 56px -22px rgba(14, 44, 71, .32); }
.cfg-title { font: 300 2.25rem/1 var(--display); }
.cfg-group { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cfg-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 0;
  font: 600 .9375rem/1.3 var(--font); }
.cfg-label label { cursor: pointer; }
.cfg-sub { font-weight: 400; font-size: .875rem; color: var(--fog); text-align: right; }
.count { font-variant-numeric: tabular-nums; }
legend.cfg-label { margin-bottom: 8px; }
.cfg-hint, .cfg-note { color: var(--fog); font-size: .8125rem; line-height: 1.45; }
.cfg-error { color: var(--mk-danger); font-size: .875rem; line-height: 1.4; }
.cfg-error:empty { display: none; }
.nowrap { white-space: nowrap; }
.cfg-note[data-logo-note] { padding: 10px 12px; border-radius: 10px; background: var(--tbd-bg); color: #5E4600; }
.cfg-foot { display: grid; gap: 10px; padding-top: 4px; }
.cfg-cta { width: 100%; min-height: 52px; font-size: 1.0625rem; }

.drop { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 2px; min-height: 76px;
  padding: 14px 16px; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: #F6FAFD; cursor: pointer;
  transition: border-color 140ms, background-color 140ms; }
.drop svg { grid-row: span 2; width: 26px; height: 26px; fill: none; stroke: var(--current); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drop-main { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.drop-link { color: var(--current); text-decoration: underline; text-underline-offset: .2em; }
.drop-hint { color: var(--fog); font-size: .8125rem; line-height: 1.4; }
@media (hover: hover) { .drop:hover { border-color: var(--current); background: #EFF7FC; } }
.drop.is-over, .logo-file.is-over { border-color: var(--current); background: #E4F2FA; }
.drop:has(:focus-visible) { outline: 2px solid var(--current); outline-offset: 2px; }

.logo-file { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 8px 4px 8px 8px;
  border: 1px solid var(--line); border-radius: 14px; background: #F6FAFD; }
.logo-thumb { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 10px;
  background: repeating-conic-gradient(#E1EAF0 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.logo-thumb img { width: 40px; height: 40px; object-fit: contain; }
.logo-name { display: grid; min-width: 0; line-height: 1.3; }
.logo-name b { overflow: hidden; font-weight: 600; font-size: .9375rem; text-overflow: ellipsis; white-space: nowrap; }
.logo-name span { color: var(--fog); font-size: .8125rem; }
.logo-actions { display: flex; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; line-height: 1.3; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--current); cursor: pointer; }

.swatches { display: flex; flex-wrap: wrap; }
.sw { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.sw-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 44, 71, .2);
  transition: box-shadow 160ms var(--mk-ease-std), transform 160ms var(--mk-ease-out); }
.sw:has(input:checked) .sw-dot, .sw.is-on .sw-dot { box-shadow: inset 0 0 0 1px rgba(14, 44, 71, .2), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
@media (hover: hover) { .sw:hover .sw-dot { transform: scale(1.08); } }
.sw:has(:focus-visible) { outline: 2px solid var(--current); outline-offset: 0; }
.sw-custom .sw-dot { background: conic-gradient(from 20deg, #F2545B, #F7C548, #7BD389, #3FA7D6, #8E6CEF, #F2545B); }
.sw-custom.is-on .sw-dot { background: var(--c); }

.input, .mk-field input, .mk-field select, .mk-field textarea { width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font);
  transition: border-color 120ms; }
.input::placeholder, .mk-field textarea::placeholder { color: #7D93A5; }
@media (hover: hover) { .input:hover, .mk-field input:hover, .mk-field select:hover, .mk-field textarea:hover { border-color: #93B1C4; } }
.input:focus, .mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus { border-color: var(--current); }
.input[aria-invalid="true"] { border-color: var(--mk-danger); }

/* hero layout as the screen narrows */
@media (max-width: 1300px) and (min-width: 1101px) { .stage-3d { --k: .9; } .studio { padding-left: 40px; } }
@media (max-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "copy copy" "stage cfg"; row-gap: var(--s4); padding: 40px 32px 32px; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-copy .lede { max-width: 52ch; }
  .hero-contact { margin-top: var(--s3); max-width: none; }
  .hero-eds { display: none; }
  .stage-3d { --k: .86; }
}
@media (max-width: 760px) {
  .hero { padding-top: 0; }
  .hero > .wrap { padding-inline: 0; }
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "cfg"; gap: 0; min-height: 0;
    padding: 20px var(--gutter) var(--gutter); border-radius: 0; }
  .hero-copy h1 { max-width: none; font-size: clamp(2.5rem, 1rem + 8vw, 3.25rem); font-weight: 400; }
  .hero-copy .lede { margin-top: var(--s3); font-size: 1.0625rem; }
  /* on the phone the controls start right under the carton; the contact line moves below them */
  .hero-copy { display: contents; }
  .studio { grid-template-areas: "title" "lede" "stage" "cfg" "contact"; }
  .hero-copy h1 { grid-area: title; }
  .hero-copy .lede { grid-area: lede; }
  .hero-contact { grid-area: contact; margin-top: var(--s5); padding-inline: 4px; }
  .stage-3d { --k: .58; height: calc(603px * var(--k)); }
  .stage-3d .carton { top: 48%; }
  .stage-help { display: none; }
  .cfg { padding: 16px 16px 20px; border-radius: 18px; margin-top: var(--s3); }
  .cfg-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* ==========================================================================
   The carton: 3D in the hero and segments, flat in the print sheet and summary
   Real proportions of the 500 ml carton, chamfered edges, flat top, screw cap.
   ========================================================================== */
.carton, .uf-sheet, .sum-face {
  --w: calc(184px * var(--k, 1));
  --d: calc(146px * var(--k, 1));
  --h: calc(430px * var(--k, 1));
  --c: calc(10px * var(--k, 1));
  --bv: calc(14.14px * var(--k, 1));
  --carton: #1BB0EC;
  --print: #fff;
}
.carton { --rx: -12deg; --ry: -22deg; position: absolute; left: 50%; top: 56%; width: 0; height: 0;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); pointer-events: none; }
.cx-face, .cx-floor, .cx-rim, .cx-cap { position: absolute; left: 0; top: 0; }
.cx-face { height: var(--h); margin-top: calc(var(--h) / -2); overflow: hidden; background-color: var(--carton);
  -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: background-color 320ms var(--mk-ease-std); }
.cx-front, .cx-back { width: calc(var(--w) - 2 * var(--c)); margin-left: calc(var(--w) / -2 + var(--c)); }
.cx-right, .cx-left { width: calc(var(--d) - 2 * var(--c)); margin-left: calc(var(--d) / -2 + var(--c)); }
.cx-bevel { width: calc(var(--bv) + 1px); margin-left: calc(var(--bv) / -2 - .5px); }
.cx-front { transform: translateZ(calc(var(--d) / 2)); }
.cx-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.cx-right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.cx-left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.cx-b-fr { transform: translate3d(calc(var(--w) / 2 - var(--c) / 2), 0, calc(var(--d) / 2 - var(--c) / 2)) rotateY(45deg); }
.cx-b-br { transform: translate3d(calc(var(--w) / 2 - var(--c) / 2), 0, calc(var(--d) / -2 + var(--c) / 2)) rotateY(135deg); }
.cx-b-bl { transform: translate3d(calc(var(--w) / -2 + var(--c) / 2), 0, calc(var(--d) / -2 + var(--c) / 2)) rotateY(-135deg); }
.cx-b-fl { transform: translate3d(calc(var(--w) / -2 + var(--c) / 2), 0, calc(var(--d) / 2 - var(--c) / 2)) rotateY(-45deg); }
.cx-top { --sh: 0; --hl: .16; --hl-x: 50%; width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2);
  transform: translateY(calc(var(--h) / -2)) rotateX(90deg);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.cx-seam { position: absolute; left: 7%; right: 7%; top: 17%; height: calc(3px * var(--k)); border-radius: 2px;
  background: rgba(9, 28, 46, .16); box-shadow: 0 calc(1px * var(--k)) 0 rgba(255, 255, 255, .3); }
/* the cap's plastic base on the top, running into the collar on the front */
.cx-plate { position: absolute; left: 23.4%; right: 23.4%; top: 34%; bottom: -2%; border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  background: radial-gradient(70% 60% at 50% 70%, #F1F3F5, #C9D0D6); }

/* light: JS sets --sh (shade), --hl (sheen strength) and --hl-x (where the sheen sits) per face from its angle */
.cx-face::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(85% 65% at var(--hl-x, 50%) 30%, rgba(255, 255, 255, var(--hl, 0)) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(0deg, rgba(9, 28, 46, .14) 0%, rgba(9, 28, 46, 0) 16%),
    rgba(9, 28, 46, var(--sh, .12)); }
.cx-face::before, .uf-face::before, .sum-face::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: var(--grain); background-size: calc(160px * var(--k, 1)); opacity: .1; mix-blend-mode: multiply; }

/* the turntable: rotates with the carton */
.cx-floor, .cx-rim { width: calc(var(--w) * 1.92); height: calc(var(--w) * 1.92); margin: calc(var(--w) * -.96) 0 0 calc(var(--w) * -.96); border-radius: 50%; }
.cx-floor { transform: translateY(calc(var(--h) / 2 + 1px)) rotateX(90deg);
  background: radial-gradient(circle, #FFFFFF 0 52%, #F3F8FC 72%, #E4EFF7 100%); box-shadow: inset 0 0 0 1px rgba(14, 44, 71, .07); }
.cx-rim { transform: translateY(calc(var(--h) / 2 + 10px * var(--k))) rotateX(90deg); background: #C9DCE9;
  box-shadow: 0 0 calc(34px * var(--k)) rgba(14, 44, 71, .22); }
.cx-ticks { position: absolute; inset: 3.5%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(14, 44, 71, .3) 0deg .5deg, transparent .5deg 15deg);
  -webkit-mask: radial-gradient(closest-side, transparent 90%, #000 90.5%, #000 97%, transparent 97.5%);
  mask: radial-gradient(closest-side, transparent 90%, #000 90.5%, #000 97%, transparent 97.5%); }
.cx-contact { position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--d); transform: translate(-50%, -50%); border-radius: 16%;
  background: rgba(14, 44, 71, .55); filter: blur(calc(9px * var(--k))); }

/* the screw cap: drawn facing the viewer, anchored at the front of its flange, which sits at the front edge of the top */
.cx-cap { width: calc(var(--w) * .56); height: calc(var(--w) * .4368); margin: calc(var(--w) * -.4254) 0 0 calc(var(--w) * -.28);
  transform-origin: 50% 97.4%;
  transform: translate3d(0, calc(var(--h) / -2), calc(var(--d) / 2 - var(--w) * .235)) rotateY(calc(-1 * var(--ry))) translateZ(calc(var(--w) * .252)) rotateX(calc(-1 * var(--rx))); }
.cx-cap svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- print: what is on each face (shared by every view of the carton) ----------
   Mirrors the real cartons: logo on the front with a short message under it,
   the water data on the side, QR code and an ad space on the back. */
.pr { position: absolute; inset: 0; overflow: hidden; color: var(--print); font-family: var(--font); line-height: 1; transition: color 320ms; }
.pr p, .pr span { margin: 0; }

/* the brand waves along the edges belong to the Aquagloria design only */
.pr-waves { position: absolute; top: 20%; bottom: 4%; width: 12%; display: none; }
.pr-waves svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pr-waves path { fill: none; stroke: currentColor; stroke-width: calc(1.6px * var(--k, 1)); stroke-linecap: round; }
.pr-waves-l { left: 1%; }
.pr-waves-r { right: 1%; transform: scaleX(-1); }
.is-sample-design .pr-waves { display: block; }

/* the plastic collar of the cap, over the top of the front */
.pr-collar { position: absolute; z-index: 1; left: 20%; top: 0; width: 60%; aspect-ratio: 100 / 57;
  filter: drop-shadow(0 calc(1.5px * var(--k, 1)) calc(1.5px * var(--k, 1)) rgba(9, 28, 46, .32)); }
.pr-collar::before, .pr-collar::after { content: ""; position: absolute; inset: 0; -webkit-mask: var(--collar) center / 100% 100% no-repeat; mask: var(--collar) center / 100% 100% no-repeat; }
.pr-collar::before { background: linear-gradient(180deg, #CDD4DA 0%, #F4F6F8 26%, #E3E8EC 64%, #B9C2CA 100%); }
.pr-collar::after { --collar: var(--collar-lip); background: rgba(31, 49, 66, .32); }
.pr-logo { position: absolute; left: 12%; right: 12%; top: 17%; height: 50%; display: grid; place-items: center; }
.pr-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* a vertical logo runs the height of the face, as the wordmark does on the real carton */
.pr-logo.is-vertical { height: 58%; }
.pr-logo.is-vertical img { position: absolute; left: 50%; top: 50%; width: calc(var(--h) * .5); height: calc((var(--w) - 2 * var(--c)) * .76);
  max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
.pr-logo.is-multiply img { mix-blend-mode: multiply; }
.pr-logo.is-new img { animation: logo-in 520ms var(--mk-ease-out) both; }
.pr-logo.is-vertical.is-new img { animation-name: logo-in-vertical; }
@keyframes logo-in { from { opacity: 0; transform: scale(1.06); } }
@keyframes logo-in-vertical { from { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(1.06); } }

.pr-foot { position: absolute; left: 12%; right: 12%; bottom: 5.5%; display: grid; justify-items: center; gap: calc(6px * var(--k, 1)); text-align: center; }
.pr-msg { display: grid; justify-items: center; gap: .06em; max-width: 100%; font-weight: 600; font-size: calc(var(--msg-fs, 15) * var(--k, 1) * 1px);
  letter-spacing: .16em; line-height: 1.26; text-transform: uppercase; }
/* the line box is tall enough for the breve and circumflex on capitals (Ă, Â, Î), which overflow: hidden would cut */
.pr-msg span { max-width: 100%; overflow: hidden; padding-left: .16em; text-overflow: ellipsis; white-space: nowrap; }
.pr-made { padding-left: .32em; font-weight: 500; font-size: calc(6.5px * var(--k, 1)); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }

/* side flaps folded at the top of both sides */
.pr-right::before, .pr-left::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--d) * .3);
  clip-path: polygon(0 0, 100% 0, 50% 100%); background: rgba(9, 28, 46, .1); }

.pr-data { position: absolute; inset: 0; display: grid; align-content: start; gap: calc(4px * var(--k, 1)); padding: 40% 12% 0; }
.pd-name { font-weight: 600; font-size: calc(7.5px * var(--k, 1)); letter-spacing: .2em; text-transform: uppercase; }
.pd-vol { font-family: var(--display); font-weight: 500; font-size: calc(30px * var(--k, 1)); line-height: .9; }
.pd-lines { display: grid; gap: calc(3.5px * var(--k, 1)); margin-top: calc(8px * var(--k, 1)); opacity: .7; }
.pd-lines i { display: block; height: calc(2px * var(--k, 1)); border-radius: 1px; background: currentColor; }
.pd-table { display: grid; gap: calc(4px * var(--k, 1)); margin-top: calc(10px * var(--k, 1)); padding-top: calc(6px * var(--k, 1));
  border-top: calc(1px * var(--k, 1)) solid currentColor; font-size: calc(6.5px * var(--k, 1)); }
.pd-table > span { display: flex; justify-content: space-between; gap: 4px; }
.pd-table b { font-weight: 700; }
.pd-bar { position: absolute; left: 18%; right: 18%; bottom: 6%; height: calc(34px * var(--k, 1)); padding: calc(4px * var(--k, 1)); background: #fff; }
.pd-bar i { display: block; height: 100%;
  background: repeating-linear-gradient(90deg, #0E2C47 0 1px, transparent 1px 3px, #0E2C47 3px 5px, transparent 5px 6px, #0E2C47 6px 7px, transparent 7px 10px); }

.pr-back { display: grid; justify-items: center; align-content: start; padding-top: 22%; }
.pr-qr { width: 58%; aspect-ratio: 1; padding: 5%; border-radius: calc(2px * var(--k, 1)); background: #fff; }
.pr-qr svg { display: block; width: 100%; height: 100%; }
.pr-qr.is-empty { border: calc(1.5px * var(--k, 1)) dashed currentColor; background: transparent; opacity: .6; }
.pr-url { max-width: 80%; margin-top: calc(7px * var(--k, 1)); overflow: hidden; font-weight: 600; font-size: calc(8.5px * var(--k, 1));
  text-overflow: ellipsis; white-space: nowrap; }
.pr-ad { display: grid; place-items: center; width: 58%; aspect-ratio: 3 / 4; margin-top: calc(14px * var(--k, 1)); padding: 0 8%;
  border-radius: calc(2px * var(--k, 1)); background: #fff; color: var(--ink); text-align: center;
  font-weight: 600; font-size: calc(7.5px * var(--k, 1)); letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
.pr-ad span { padding: 14% 0; border-block: calc(1px * var(--k, 1)) solid currentColor; }
.pr-mark { position: absolute; left: 0; right: 0; bottom: 5%; display: grid; justify-items: center; gap: calc(2px * var(--k, 1));
  font-weight: 700; font-size: calc(6px * var(--k, 1)); letter-spacing: .04em; }
.pr-mark svg { width: calc(22px * var(--k, 1)); height: calc(20px * var(--k, 1)); overflow: visible; }
.pr-mark path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.pr-mark text { fill: currentColor; font: 700 7px var(--font); }

/* ==========================================================================
   Segments
   ========================================================================== */
.seg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.seg-tab { min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 .9375rem/1 var(--font); cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms; white-space: nowrap; }
.seg-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (hover: hover) { .seg-tab[aria-selected="false"]:hover { border-color: var(--ink); } }
.seg-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
.seg-visual { --tint: #F1ECE6; position: relative; height: 540px; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(70% 60% at 50% 34%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 72%), var(--tint);
  transition: background-color 420ms var(--mk-ease-std); }
.seg-3d { --k: .78; position: absolute; inset: 0; perspective: calc(1800px * var(--k)); perspective-origin: 50% 30%; }
.seg-3d .carton { top: 54%; }
.seg-panel { max-width: 34rem; border-radius: 8px; }
.seg-panel:focus-visible { outline-offset: 8px; }
.seg-panel h3 { margin-bottom: var(--s4); font: 300 clamp(2rem, 1.4rem + 1.5vw, 2.75rem)/1.02 var(--display); }
.seg-panel > p { color: var(--fog); }
.seg-panel .seg-proposal { margin-top: var(--s5); padding-left: 14px; border-left: 3px solid var(--brand); color: var(--ink); font-size: .9375rem; }
.seg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--s5); }
.seg-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (max-width: 900px) {
  .seg-body { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .seg-visual { height: 400px; }
  .seg-3d { --k: .54; }
}
@media (max-width: 760px) {
  .seg-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .seg-tabs::-webkit-scrollbar { display: none; }
  .seg-visual { height: 360px; border-radius: 20px; }
  .seg-3d { --k: .5; }
}

/* ==========================================================================
   Print sheet: the visitor's design, unfolded
   ========================================================================== */
.unfold { display: grid; justify-items: center; }
.uf-sheet { --k: 1.12; display: grid; gap: var(--s5); padding: 36px 44px 32px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.uf-faces { display: flex; }
.uf-face { position: relative; height: var(--h); overflow: hidden; background: var(--carton); transition: background-color 320ms var(--mk-ease-std); }
.uf-front, .uf-back { width: calc(var(--w) - 2 * var(--c)); }
.uf-side { width: calc(var(--d) - 2 * var(--c)); }
.uf-bevel { position: relative; width: var(--bv); background: var(--carton); transition: background-color 320ms var(--mk-ease-std); }
.uf-bevel::after { content: ""; position: absolute; inset: 0; background: rgba(9, 28, 46, .14);
  border-inline: 1px dashed color-mix(in srgb, var(--print) 50%, transparent); }
.pr-host { position: absolute; inset: 0; }
/* each caption sits under its own panel, as wide as it */
.uf-notes { display: grid; grid-template-columns: calc(var(--w) - 2 * var(--c)) calc(var(--d) - 2 * var(--c)) calc(var(--w) - 2 * var(--c));
  column-gap: var(--bv); }
.uf-notes li { padding-top: var(--s3); border-top: 2px solid var(--ink); }
.uf-notes h3 { margin-bottom: 4px; font: 600 1rem/1.3 var(--font); }
.uf-notes p { color: var(--fog); font-size: .9375rem; line-height: 1.45; }
.sec-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: var(--s6);
  color: var(--fog); font-size: .9375rem; text-align: center; }
@media (max-width: 900px) { .uf-sheet { --k: .9; padding: 28px 32px 24px; } }
@media (max-width: 760px) {
  .uf-sheet { --k: .64; padding: 16px; border-radius: 16px; }
  .uf-faces { justify-content: center; }
  .uf-notes { grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding: 0 4px 4px; }
}
@media (max-width: 380px) { .uf-sheet { --k: .6; padding: 12px; } }

/* ==========================================================================
   Steps and the order brief
   ========================================================================== */
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.step { position: relative; }
.step-n { display: block; margin-bottom: var(--s4); color: var(--current); font: 300 4rem/1 var(--display); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2rem; left: 3rem; right: -12px; height: 1px; background: var(--line-strong); }
.step h3 { margin-bottom: 8px; font: 600 1.1875rem/1.3 var(--font); }
.step p { color: var(--fog); font-size: 1rem; }
.step .step-time { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--s3); color: var(--ink); font-size: .9375rem; }
.brief { display: grid; gap: var(--s5); margin-top: var(--s8); padding: 28px 32px 32px; border: 1px solid var(--line); border-radius: 24px; }
main .brief-title { font: 300 2rem/1 var(--display); }
.brief-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brief-grid > div { min-width: 0; padding: 4px var(--s5); border-left: 1px solid var(--line); }
.brief-grid > div:first-child { padding-left: 0; border-left: 0; }
.brief-grid dt { margin-bottom: 6px; color: var(--fog); font-size: .875rem; }
.brief-grid dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; line-height: 1.4; }
@media (max-width: 1100px) {
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s7); }
  .step:nth-child(2n)::after { display: none; }
  .brief-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s5); }
  .brief-grid > div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .step-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: var(--s3); padding-bottom: var(--s6); }
  .step-n { grid-row: span 3; margin: 0; font-size: 3rem; text-align: center; }
  .step:nth-child(n)::after { display: block; top: 3.6rem; bottom: 10px; left: 26px; right: auto; width: 1px; height: auto; }
  .step:last-child::after { display: none; }
  .brief { padding: 24px 20px; margin-top: var(--s7); }
  .brief-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .brief-grid > div, .brief-grid > div:nth-child(3n + 1) { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .brief-grid > div:first-child { border-top: 0; padding-top: 0; }
}

/* ==========================================================================
   Editions: three real cartons on the shelf
   ========================================================================== */
.shelf { position: relative; padding: 48px 40px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #F6FAFD 0%, #EEF5FA 58%, #E3EFF7 100%); }
.shelf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); align-items: end; }
.ed { display: grid; justify-items: center; gap: var(--s4); text-align: center; }
.ed-btn { position: relative; isolation: isolate; display: block; padding: 24px 48px 22px; border: 0; border-radius: 24px; background: none; cursor: zoom-in; }
.ed-btn::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -46%);
  border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint) 70%, transparent), transparent); }
.ed-btn::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 12px; width: 60%; height: 24px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 44, 71, .32), rgba(14, 44, 71, 0)); }
.shelf [data-thumb], .shelf [data-thumb][aria-current="true"] { opacity: 1; outline-color: transparent; }
.shelf [data-thumb]:focus-visible { outline: 2px solid var(--current); outline-offset: -2px; }
.ed-btn img { display: block; width: auto; height: clamp(280px, 25vw, 370px); transition: transform 260ms var(--mk-ease-out); }
@media (hover: hover) { .ed-btn:hover img { transform: translateY(-6px); } }
.ed figcaption { display: grid; gap: 4px; }
.ed figcaption strong { font-weight: 600; font-size: 1.0625rem; }
.ed figcaption span { color: var(--fog); font-size: .9375rem; }
@media (max-width: 760px) {
  .shelf { margin-inline: calc(-1 * var(--gutter)); padding: 24px 0; border-radius: 0; }
  .shelf-row { display: flex; gap: 0; overflow-x: auto; padding-inline: 14%; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shelf-row::-webkit-scrollbar { display: none; }
  .ed { flex: 0 0 72%; scroll-snap-align: center; }
  .ed-btn img { height: 300px; }
}

/* ==========================================================================
   The water
   ========================================================================== */
.water-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: var(--s8); align-items: center; }
.lede-s { margin-top: var(--s4); max-width: 46ch; color: var(--fog); font-size: 1.125rem; }
.process { margin-top: 40px; }
.process li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: var(--s4);
  padding: 10px 0; font-weight: 600; font-size: 1.125rem; }
.process li span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong);
  border-radius: 50%; background: #fff; color: var(--current); font: 500 1.25rem/1 var(--display); }
.process li::before { content: ""; position: absolute; left: 20px; top: 50px; bottom: -10px; width: 1px; background: var(--line-strong); }
.process-end { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: var(--s4); padding: 10px 0; font-weight: 600; font-size: 1.125rem; }
.process-end span { justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--current); box-shadow: 0 0 0 6px #E1F0F8; }

.label { padding: 22px 24px 18px; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; box-shadow: 0 28px 56px -32px rgba(14, 44, 71, .4); }
.label-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-bottom: var(--s3); border-bottom: 4px double var(--ink); }
.label-head strong { font: 600 1.0625rem/1.25 var(--font); }
.label-head span { color: var(--fog); font-size: .875rem; white-space: nowrap; }
.label-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.label-table th, .label-table td { padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
.label-table th { text-align: left; font-weight: 400; }
.label-table td { padding-left: var(--s4); text-align: right; font-weight: 600; white-space: nowrap; }
.label-table tbody + tbody tr:first-child > * { border-top: 1.5px solid var(--ink); }
.label-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.ion { margin-left: .25em; color: var(--fog); font-size: .875em; }
.label-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--s2); padding-top: var(--s3); border-top: 1.5px solid var(--ink);
  color: var(--fog); font-size: .875rem; }
@media (max-width: 900px) { .water-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); } }
@media (max-width: 760px) { .label { padding: 18px 16px 14px; } .label-head { flex-direction: column; gap: 2px; } }

/* ==========================================================================
   The packaging
   ========================================================================== */
.pack-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
.layers-svg { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; }
.layer-list { margin-top: var(--s6); border-top: 1px solid var(--line-strong); }
.layer-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.layer-sw { width: 44px; height: 30px; margin-top: 2px; border-radius: 6px; }
.layer-carton { background: linear-gradient(180deg, #1BB0EC 0 60%, #CDAE7A 60%); }
.layer-poly { background: #EAF5EE; box-shadow: inset 0 0 0 1px #9CC7AC; }
.layer-alu { background: linear-gradient(90deg, #A9B3BC, #F4F6F8 45%, #C8D0D7 70%, #9AA5AF); }
.layer-list h3 { font: 600 1.125rem/1.3 var(--font); }
.layer-list p { margin-top: 2px; color: var(--fog); }
.pack-note { margin-top: var(--s5); color: var(--fog); font-size: .9375rem; }
@media (max-width: 900px) { .pack-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); } .pack-copy { order: -1; } }

/* ==========================================================================
   Single cartons
   ========================================================================== */
.retail { padding-top: var(--s8); }
.retail-in { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: var(--s6); padding: 16px 28px 16px 16px;
  border: 1px solid var(--line); border-radius: 24px; }
.retail-img { width: 120px; height: 96px; overflow: hidden; border-radius: 16px; background: var(--glacier); }
.retail-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
main .retail-copy h2 { font: 300 2.25rem/1 var(--display); }
.retail-copy p { margin-top: 6px; color: var(--fog); }
.retail-links { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 1000px) {
  .retail-in { grid-template-columns: 96px minmax(0, 1fr); padding: 16px; }
  .retail-img { width: 96px; height: 80px; }
  .retail-links { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .retail-links .mk-btn { flex: 1 1 100%; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: calc(820px + 2 * var(--gutter)); }
.faq-title { margin-bottom: var(--s7); text-align: center; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); min-height: 64px; padding: 18px 4px;
  font: 600 1.125rem/1.35 var(--font); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(var(--current), var(--current)) center / 16px 2px no-repeat, linear-gradient(var(--current), var(--current)) center / 2px 16px no-repeat;
  transition: transform 200ms var(--mk-ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .faq-list summary:hover { color: var(--current); } }
.faq-a { max-width: 64ch; padding: 0 4px var(--s5); color: var(--fog); }
.faq-a p { display: block; }
@media (max-width: 760px) { .faq-list summary { font-size: 1.0625rem; } }

/* ==========================================================================
   Quote request
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s8); align-items: start; }
.quote-form { padding: 32px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
.design-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s5); margin-bottom: 28px;
  padding: 16px 20px 16px 16px; border-radius: 16px; background: var(--glacier); }
.design-sum.is-flash { animation: sum-flash 1600ms var(--mk-ease-out); }
@keyframes sum-flash { 0%, 35% { box-shadow: 0 0 0 3px var(--brand); } 100% { box-shadow: 0 0 0 3px rgba(27, 176, 236, 0); } }
.sum-face { --k: .3; position: relative; width: calc(164px * var(--k)); height: calc(430px * var(--k)); overflow: hidden; border-radius: 3px;
  background: var(--carton); box-shadow: 0 8px 16px -8px rgba(14, 44, 71, .45); transition: background-color 320ms; }
.sum-face .pr-foot { display: none; }
.sum-face .pr-logo { top: 10%; height: 76%; }
main .sum-body h3 { margin-bottom: 8px; font: 600 1rem/1.3 var(--font); }
.sum-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.sum-list > div { min-width: 0; }
.sum-list dt { color: var(--fog); font-size: .8125rem; }
.sum-list dd { overflow: hidden; font-weight: 600; font-size: .9375rem; text-overflow: ellipsis; white-space: nowrap; }
.sum-edit { display: inline-flex; align-items: center; min-height: 44px; align-self: start; padding: 10px 0; font-weight: 600; font-size: .9375rem; white-space: nowrap; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.mk-field { gap: 6px; }
.mk-field label { font-weight: 600; font-size: .9375rem; }
.mk-field-wide { grid-column: 1 / -1; }
.opt { color: var(--fog); font-weight: 400; }
.mk-field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230E2C47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.mk-field textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: 28px; }
.form-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--fog); font-size: .9375rem; }
.quote-form .mk-form-done { padding: 40px 8px; }

.contacts { padding-top: var(--s2); }
main .contacts h3 { margin-bottom: var(--s4); font: 300 2rem/1.05 var(--display); }
.contact-list > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.contact-list dt { color: var(--fog); font-size: .875rem; }
.contact-list dd { font-weight: 600; font-size: 1.0625rem; }
.contact-list a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .contact-list a:hover { color: var(--current); text-decoration: underline; } }
@media (max-width: 1000px) { .quote-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); } }
@media (max-width: 760px) {
  .quote-form { margin-inline: calc(-1 * var(--gutter) + 8px); padding: 20px 16px; border-radius: 20px; }
  .design-sum { grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); padding: 14px; }
  .sum-list { grid-template-columns: minmax(0, 1fr); }
  .sum-edit { grid-column: 2; padding: 8px 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .mk-btn { width: 100%; }
  .contact-list a { padding: 10px 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: var(--s8) 0 var(--s6); background: var(--ink); color: rgba(255, 255, 255, .82); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s6); }
.f-brand img { width: 168px; height: auto; }
.f-brand p { max-width: 30ch; margin-top: var(--s4); font-size: .9375rem; }
.f-col h2 { margin: 0 0 var(--s3); color: #fff; font: 600 .9375rem/1.3 var(--font); }
.f-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .78); font-size: .9375rem; text-decoration: none; }
@media (hover: hover) { .f-col a:hover { color: #fff; text-decoration: underline; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }
.site-footer .mk-demo-note { color: rgba(255, 255, 255, .72); font-size: .875rem; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .f-col a { padding: 11px 0; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   About, environment and footer slogan (added with the client's own content)
   ========================================================================== */
/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s8); align-items: end; }
main .about h2 { max-width: 19ch; font-size: clamp(2.75rem, 1.4rem + 3.4vw, 4.25rem); line-height: .94; }
.about .lede-s { max-width: 50ch; margin-top: var(--s5); }
.about-words { padding: 4px 0 6px var(--s6); border-left: 1px solid var(--line-strong); }
.about-words p { max-width: 28ch; color: var(--fog); font-size: 1rem; }
.about-words strong { display: block; margin-top: var(--s4); color: var(--current); font: 300 clamp(2.75rem, 1.6rem + 2.6vw, 4rem)/.92 var(--display); }
.about-words strong span { display: block; }
.waves { display: block; width: 132px; height: 26px; margin-bottom: var(--s5); fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line-strong); }
main .pillar h3 { font: 600 1.1875rem/1.3 var(--font); }
.pillar p { margin-top: 8px; max-width: 38ch; color: var(--fog); }
.about-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s6); margin-top: var(--s7); }
.about-quote { max-width: 40ch; font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.files { display: flex; flex-wrap: wrap; gap: var(--s3); }
.file-link { display: inline-grid; grid-template-columns: 34px auto; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 12px;
  border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.file-link svg { width: 34px; height: 34px; fill: none; stroke: var(--current); stroke-width: 1.6; stroke-linejoin: round; }
.file-link b { display: block; font-weight: 600; line-height: 1.25; }
.file-link span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--fog); font-size: .875rem; line-height: 1.3; }
.file-link .file-text { display: block; }
.file-link.is-missing { border-style: dashed; background: transparent; }
.file-link.is-missing svg { stroke: var(--fog); }
@media (hover: hover) { a.file-link:hover { border-color: var(--current); } }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .about-words { padding: var(--s5) 0 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: var(--s5); margin-top: var(--s7); }
  .about-foot { flex-direction: column; align-items: stretch; }
  .files { flex-direction: column; }
}

/* ---------- environment ---------- */
.env-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s8); align-items: center; }
.env .lede-s { max-width: 48ch; }
.fossil { margin-top: var(--s6); max-width: 34rem; }
main .fossil h3 { padding-bottom: var(--s3); border-bottom: 1px solid var(--line-strong); font: 600 1.0625rem/1.3 var(--font); }
.fossil li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--fog); }
.fossil svg { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: #8AA0B2; stroke-width: 2; stroke-linecap: round; }
.gauge { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: var(--s6); align-items: end; }
.gauge-svg { display: block; width: 196px; height: auto; overflow: visible; }
.gauge-fill { transform-box: fill-box; transform-origin: 50% 100%; }
.gauge.is-waiting .gauge-fill { transform: scaleY(0); }
.gauge.is-running .gauge-fill { transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.gauge-num { color: var(--current); font: 300 clamp(5.5rem, 3rem + 6vw, 9rem)/.8 var(--display); letter-spacing: -.02em; }
.gauge-cap { margin-top: var(--s4); max-width: 26ch; color: var(--fog); font-size: 1.0625rem; line-height: 1.45; }
.env-plastic { margin-top: var(--s8); padding: var(--s7) var(--s7) var(--s6); border-radius: var(--radius-xl); background: var(--ink); color: #fff; }
.env-plastic-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4) var(--s8); align-items: end; }
main .env-plastic h3 { font: 300 clamp(2rem, 1.4rem + 1.4vw, 2.75rem)/1 var(--display); }
.env-plastic-head p { max-width: 52ch; color: rgba(255, 255, 255, .8); }
.env-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s7); }
.env-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s3); padding: 0 var(--s6); border-left: 1px solid rgba(255, 255, 255, .2); }
.env-stats > div:first-child { padding-left: 0; border-left: 0; }
.env-stats dd { color: #7FD3F7; font: 300 clamp(4.5rem, 3rem + 3.6vw, 6.5rem)/.82 var(--display); letter-spacing: -.01em; }
.env-stats dt { max-width: 22ch; color: rgba(255, 255, 255, .88); font-size: 1.0625rem; line-height: 1.4; }
.env-src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .72); font-size: .875rem; }
.env-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s8); }
.cert { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--s4); align-items: start; }
.cert-mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink);
  font: 600 .875rem/1.05 var(--font); letter-spacing: .02em; text-align: center; }
.cert-mark.is-big { font: 600 1.375rem/1 var(--font); letter-spacing: .04em; }
.cert-mark.is-small { font-size: .75rem; letter-spacing: .01em; }
main .cert h3 { font: 600 1.125rem/1.3 var(--font); }
.cert p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; color: var(--fog); font-size: 1rem; }
.env-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s6); color: var(--fog); font-size: .9375rem; }
@media (max-width: 1100px) { .env-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s7); } .gauge { grid-template-columns: 150px minmax(0, 1fr); } .gauge-svg { width: 150px; } }
@media (max-width: 900px) {
  .env-grid { grid-template-columns: minmax(0, 1fr); }
  .env-plastic { padding: var(--s6) var(--s5) var(--s5); border-radius: 22px; }
  .env-plastic-head { grid-template-columns: minmax(0, 1fr); }
  .env-stats { grid-template-columns: minmax(0, 1fr); margin-top: var(--s5); }
  .env-stats > div { padding: var(--s5) 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .env-stats > div:first-child { border-top: 0; padding-top: 0; }
  .env-src { margin-top: var(--s4); }
  .env-certs { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
}
@media (max-width: 420px) { .gauge { grid-template-columns: 120px minmax(0, 1fr); gap: var(--s5); } .gauge-svg { width: 120px; } }

/* ---------- footer slogan ---------- */
.f-brand .f-slogan { margin-top: var(--s4); color: #fff; font: 300 1.75rem/1 var(--display); }
/* captures show the 83% carton full, without waiting for the scroll */
.is-still .gauge-fill { transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .gauge .gauge-fill { transform: none !important; transition: none !important; } }
