/* Nubli approved own lettering: smooth SVG over genuine translatable text.
   Photo clipping excludes raster UI; the mint graphic is a solid native SVG. */
@font-face{font-family:NubliScript;src:url('./fonts__nubli-script-latin.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{--retro:NubliScript,cursive;--script:NubliScript,cursive;--serif:TextSans,Arial,sans-serif}
body{container-type:inline-size;--u:calc(100cqw / 875);--ink:#0d2b57;--paper:#c8e8de;background:#c8e8de;color:#0d2b57}
.site-header{position:sticky;top:0;backdrop-filter:none;background:#102c59;color:#fffaf5;border-bottom:0}
.header-row{position:relative;max-width:none;height:calc(var(--u)*70);min-height:0;padding:calc(var(--u)*3) calc(var(--u)*34) 0;gap:0}
.brand{font-family:var(--script);font-size:calc(var(--u)*48);font-weight:400;line-height:1;letter-spacing:0;text-decoration:none}
.brand-name{display:inline-block;width:calc(var(--u)*103);height:calc(var(--u)*47);color:transparent;background:url('./assets__lettering__nubli-wordmark.svg') left center/contain no-repeat}
.desktop-nav{position:absolute;left:calc(var(--u)*437);top:calc(var(--u)*31);margin:0;gap:calc(var(--u)*40);font-family:var(--sans);font-size:calc(var(--u)*11.5);font-weight:550;line-height:1.1}
.header-row>[data-view-cart]{position:absolute;right:calc(var(--u)*34);top:calc(var(--u)*23);display:flex;align-items:center;justify-content:flex-end;width:calc(var(--u)*67);min-width:0;height:calc(var(--u)*27);min-height:0;padding:0 0 0 calc(var(--u)*34);margin:0;border:0;border-left:1px solid currentColor;border-radius:0}
.header-row>[data-view-cart] svg{width:calc(var(--u)*24);height:calc(var(--u)*28);flex:none;stroke-width:1.35}
.header-row .cart-count{right:calc(var(--u)*-8);top:calc(var(--u)*-7);min-width:0;width:auto;height:auto;padding:0;border-radius:0;font-size:calc(var(--u)*10);background:transparent;color:inherit}
.hero{height:calc(var(--u)*500);min-height:0;overflow:hidden;isolation:isolate;background:#f2a5bc}
.hero:after{display:none}
.hero>.wrap{position:absolute;inset:0;max-width:none;min-height:0;display:block;padding:0;z-index:4;pointer-events:none}
.hero-copy{position:absolute;inset:0;width:auto;padding:0}
.hero-copy .eyebrow{display:none}
.hero h1{position:absolute;left:calc(var(--u)*40);top:calc(var(--u)*76);max-width:none;margin:0;font-family:var(--retro);font-size:calc(var(--u)*104);font-weight:400;line-height:.9;letter-spacing:0;pointer-events:auto}
.hero h1>span{display:block;white-space:nowrap}
html:lang(es) .hero h1>span{color:transparent;background-position:left top;background-size:contain;background-repeat:no-repeat}
html:lang(es) .hero h1>span:first-child{width:calc(var(--u)*386);height:calc(var(--u)*93);background-image:url('./assets__lettering__nubli-title-line1.svg')}
html:lang(es) .hero h1>span:last-child{width:calc(var(--u)*369);height:calc(var(--u)*97);margin-top:calc(var(--u)*-3);background-image:url('./assets__lettering__nubli-title-line2.svg')}
.hero .intro{position:absolute;left:calc(var(--u)*44);top:calc(var(--u)*276);max-width:none;margin:0;font-family:var(--sans);font-size:calc(var(--u)*23.2);font-weight:650;line-height:1.2;white-space:nowrap;pointer-events:auto}
.hero .button{position:absolute;left:calc(var(--u)*42);top:calc(var(--u)*330);width:calc(var(--u)*239);height:calc(var(--u)*56);min-height:0;justify-content:space-between;gap:0;padding:0 calc(var(--u)*28);border:0;border-radius:calc(var(--u)*30);background:#102c59;color:#fffaf5;font-family:var(--sans);font-size:calc(var(--u)*19);font-weight:600;line-height:1;pointer-events:auto}
.hero .button .arrow{width:calc(var(--u)*27);height:calc(var(--u)*24);font-size:inherit;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hero-field{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:1;pointer-events:none}
.hero-wave{position:absolute;left:0;bottom:0;width:calc(var(--u)*420);height:calc(var(--u)*76);object-fit:fill;z-index:2;pointer-events:none}
.hero-photo{position:absolute;inset:0;width:auto;height:auto;border-radius:0;overflow:hidden;background:transparent;z-index:0;clip-path:polygon(50.514286% 0,99.771429% 0,99.771429% 100%,35.085714% 100%,35.085714% 56%,47.657143% 56%,47.657143% 36%,50.514286% 36%);mask-image:linear-gradient(to right,transparent 50.514286%,#000 52.571429%),linear-gradient(to right,transparent 47.657143%,#000 49.257143%),linear-gradient(to right,transparent 35.085714%,#000 38.857143%);mask-size:100% calc(36% + 2px),100% calc(20% + 2px),100% calc(44% + 2px);mask-position:0 0,0 calc(var(--u)*180 - 1px),0 calc(var(--u)*280 - 1px);mask-repeat:no-repeat}
.hero-photo:after{display:none}
.hero-photo picture{position:absolute;inset:0;display:block}
.hero-photo img{position:absolute;left:calc(var(--u)*-33);top:calc(var(--u)*-550);width:calc(var(--u)*941);height:calc(var(--u)*1672);max-width:none;object-fit:fill;object-position:initial;transform:none;animation:none}
.site-footer .brand{font-size:48px}
.site-footer .brand-name{width:103px;height:47px}
@media(max-width:760px){
 .header-row{height:74px;padding:0 20px;gap:14px}
 .brand{font-size:48px}
 .brand-name{width:103px;height:47px}
 .desktop-nav{display:none}
 .header-row>[data-view-cart]{position:relative;inset:auto;width:32px;height:40px;margin-left:auto;padding:0;border:0}
 .header-row>[data-view-cart] svg{width:24px;height:28px}
 .header-row .cart-count{right:-5px;top:-2px;font-size:10px}
 .mobile-nav{display:block}
 .mobile-nav summary{min-height:38px;padding:8px 10px;font-size:12px}
 .mobile-nav nav{background:#102c59;color:#fffaf5;z-index:35}
 .hero{height:auto;min-height:0;display:flex;flex-direction:column;background:#c8e8de}
 .hero>.wrap{position:relative;inset:auto;min-height:0;display:block;padding:32px 22px 27px;pointer-events:auto}
 .hero-copy{position:relative;inset:auto;width:100%;padding:0}
 .hero h1{position:relative;inset:auto;width:100%;max-width:386px;margin:0 0 19px;font-size:20cqw;line-height:.95;letter-spacing:0}
 html:lang(es) .hero h1>span:first-child{width:100%;height:auto;aspect-ratio:386/93}
 html:lang(es) .hero h1>span:last-child{width:95.595855%;height:auto;aspect-ratio:369/97;margin-top:-2px}
 .hero .intro{position:static;max-width:100%;font-size:20px;line-height:1.25;white-space:normal;margin:0 0 22px}
 .hero .button{position:static;width:239px;max-width:100%;height:56px;padding:0 28px;border-radius:30px;font-size:19px}
 .hero .button .arrow{width:27px;height:24px}
 .hero-field{display:none}
 .hero-photo{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.1;border-radius:0;clip-path:none;mask-image:none;overflow:hidden}
 .hero-photo picture{position:static;display:block;width:100%;height:100%}
 .hero-photo img{position:static;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:right center;aspect-ratio:auto}
 .hero-wave{width:min(100%,420px);height:auto;aspect-ratio:420/76}
}
@media(forced-colors:active),(prefers-contrast:more){
 .brand-name{background-image:none!important;color:inherit!important}
 html:lang(es) .hero h1>span{background-image:none!important;color:inherit!important}
 .hero-photo,.hero-field,.hero-wave{display:none}
 .hero{background:Canvas;color:CanvasText}
 .hero .button{border:1px solid ButtonText}
}

/* Keep the English mobile action on one line without squeezing its arrow. */
@media(max-width:760px){html:lang(en) .hero .button{font-size:18.5px}html:lang(en) .hero .button [data-i18n="action"]{white-space:nowrap}}

/* Desktop fit 2026-10-29. The canvas has a finite composition width and an
   explicit viewport-height budget; only hero/header units are changed. */
@media (min-width:761px){
  .site-header .header-row{--u:1px;max-width:1440px;height:88px;padding:0 32px;gap:24px}
  .site-header .brand-name{width:120px;height:55px}
  .site-header .desktop-nav{position:static;margin-left:auto;gap:34px;font-size:15px}
  .site-header .header-row>[data-view-cart]{position:relative;inset:auto;margin-left:12px;width:62px;height:44px;padding-left:28px}
  section.hero{--u:min(1.55px,calc((100cqw - 64px)/875),calc((100svh - 112px)/500));--desktop-stage:calc(var(--u)*875);height:calc(var(--u)*500);width:100%;max-width:none;margin:0;background:linear-gradient(90deg,#c8e8de 50%,#f2a5bc 50%)}
  section.hero>.wrap,section.hero .hero-photo,section.hero .hero-field{left:calc((100% - var(--desktop-stage))/2);right:auto;width:var(--desktop-stage)}
  section.hero .hero-field{height:100%}
  section.hero .hero-wave{left:calc((100% - var(--desktop-stage))/2)}
  section.hero .intro{font-size:clamp(20px,calc(var(--u)*23.2),27px)}
  section.hero .button{width:clamp(230px,calc(var(--u)*239),280px);height:55px;padding:0 27px;border-radius:30px;font-size:18px}
  section.hero .button .arrow{width:27px;height:24px}
}

/* Keep the original system-color fallback over the new desktop color field. */
@media (min-width:761px) and (forced-colors:active){
  section.hero{background:Canvas;color:CanvasText}
}

/* Individual desktop framing 2026-10-30.
   Full-width live content, the existing clean landscape and the approved mint
   vector remain separate layers. Neither lettering nor controls are a bitmap. */
@media (min-width:761px){
  body{--nubli-gutter:clamp(24px,3cqw,44px)}
  .site-header .header-row{width:100%;max-width:none;margin-inline:0;padding-inline:var(--nubli-gutter)}
  section.hero{--u:min(1.55px,calc((100cqw - 2 * var(--nubli-gutter))/875),calc((100svh - 112px)/500));width:100%;max-width:none;margin:0;background:#c8e8de}
  section.hero>.wrap{inset:0;width:100%;max-width:none;margin:0;padding:0}
  section.hero h1,section.hero .intro,section.hero .button{left:var(--nubli-gutter)}
  section.hero .hero-photo{left:auto;right:0;top:0;bottom:0;width:calc(var(--u)*500*1672/941);height:100%;clip-path:none;mask-image:linear-gradient(90deg,transparent,#000 12%);mask-size:100% 100%;mask-position:0 0;mask-repeat:no-repeat}
  section.hero .hero-photo img{position:static;inset:auto;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:right center;animation:none;transform:none}
  section.hero .hero-field{inset:0;width:100%;height:100%;max-width:none}
  section.hero .hero-wave{left:0;width:calc(var(--u)*420);height:calc(var(--u)*76)}
}
@media (min-width:761px) and (forced-colors:active),(min-width:761px) and (prefers-contrast:more){
  section.hero{background:Canvas;color:CanvasText}
  section.hero .hero-photo,section.hero .hero-field,section.hero .hero-wave{display:none}
}

/* NUBLI presence: an existing brand line and a useful route to the cup builder.
   No new autoplay, claims, photography, headline or business logic. */
.hero .hero-copy>.eyebrow{display:flex;align-items:center;gap:9px;position:absolute;left:var(--nubli-gutter,24px);top:calc(var(--u)*30);margin:0;color:var(--ink);font-family:var(--sans);font-size:clamp(10px,calc(var(--u)*10),12px);font-weight:650;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;pointer-events:none}
.hero .hero-copy>.eyebrow::before{content:"";width:12px;height:12px;flex:none;background:currentColor;clip-path:polygon(50% 0,61% 36%,100% 50%,61% 64%,50% 100%,39% 64%,0 50%,39% 36%)}
.hero-builder-teaser{position:absolute;left:var(--nubli-gutter,24px);top:calc(var(--u)*330 + 71px);display:grid;grid-template-columns:62px minmax(0,1fr) 20px;align-items:center;gap:12px;width:330px;max-width:calc(50% - var(--nubli-gutter,24px));min-height:58px;padding:11px 0 0;border-top:1px solid rgb(13 43 87 / .25);color:var(--ink);text-decoration:none;pointer-events:auto}
.hero-builder-teaser .mix-scoops{position:relative;width:62px;height:40px;transform-origin:50% 60%;transition:transform .25s ease}
.mix-scoops i{position:absolute;top:7px;width:29px;height:29px;border:1px solid currentColor;border-radius:50%;background:#fff5e9}
.mix-scoops i:nth-child(2){left:17px;top:0;background:#f2a5bc}
.mix-scoops i:nth-child(3){left:34px;background:#c8e8de}
.hero-builder-teaser .mix-copy{display:grid;gap:3px}
.hero-builder-teaser .mix-title{font-family:var(--retro);font-weight:400;font-size:24px;line-height:1.05}
.hero-builder-teaser .mix-hint{font-family:var(--sans);font-size:12px;line-height:1.35;font-weight:550}
.hero-builder-teaser .mix-arrow{font-family:var(--sans);font-size:22px;line-height:1}
.hero-builder-teaser:hover .mix-scoops,.hero-builder-teaser:focus-visible .mix-scoops{transform:rotate(-7deg) translateY(-2px)}
.hero-builder-teaser:focus-visible{outline:2px solid currentColor;outline-offset:6px;border-radius:2px}
@media(max-width:760px){
 .hero>.wrap{padding-top:24px}
 .hero .hero-copy>.eyebrow{position:static;max-width:100%;margin:0 0 14px;gap:7px;font-size:10px;letter-spacing:.07em;line-height:1.5}
 .hero .hero-copy>.eyebrow::before{width:10px;height:10px}
 .hero-builder-teaser{position:relative;inset:auto;width:100%;max-width:330px;min-height:53px;margin-top:16px;padding-top:12px;grid-template-columns:48px minmax(0,1fr) 18px;gap:10px}
 .hero-builder-teaser .mix-scoops{width:48px;height:32px}
 .mix-scoops i{width:23px;height:23px;top:6px}
 .mix-scoops i:nth-child(2){left:12px;top:0}
 .mix-scoops i:nth-child(3){left:24px}
 .hero-builder-teaser .mix-title{font-size:21px}
 .hero-builder-teaser .mix-hint{font-size:11px}
 .hero-builder-teaser .mix-arrow{font-size:20px}
}
html[data-motion="reduced"] .hero-builder-teaser .mix-scoops{transition:none;transform:none}
@media(prefers-reduced-motion:reduce){html:not([data-motion="full"]) .hero-builder-teaser .mix-scoops{transition:none;transform:none}}
@media(forced-colors:active),(prefers-contrast:more){
 .hero .hero-copy>.eyebrow,.hero-builder-teaser{color:CanvasText}
 .hero-builder-teaser{border-color:CanvasText}
 .hero-builder-teaser .mix-scoops{visibility:hidden}
}

/* Keep the full focus ring inside the compact desktop hero. */
@media(min-width:761px) and (max-width:900px){.hero-builder-teaser{min-height:54px;padding-top:9px}}

/* NUBLI presence V2: a factual flavour sticker, without moving the composition. */
.hero-flavour-stamp{position:absolute;z-index:5;top:calc(var(--u)*20);right:var(--nubli-gutter,24px);width:clamp(76px,calc(var(--u)*90),108px);aspect-ratio:1;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-align:center;transform:rotate(9deg);pointer-events:none}
.hero-flavour-stamp .stamp-drawing{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hero-flavour-stamp>strong,.hero-flavour-stamp>.stamp-label,.hero-flavour-stamp>.stamp-hint{position:relative;z-index:1}
.hero-flavour-stamp>strong{font-family:var(--retro);font-size:clamp(30px,calc(var(--u)*36),43px);font-weight:400;line-height:.85;margin-top:1px}
.hero-flavour-stamp .stamp-label{font-family:var(--sans);font-size:10px;font-weight:700;line-height:1.15;letter-spacing:.06em;text-transform:uppercase}
.hero-flavour-stamp .stamp-hint{font-family:var(--sans);font-size:8px;font-weight:550;line-height:1.2}
@media(max-width:760px){.hero-flavour-stamp{top:auto;right:auto;bottom:20px;left:16px;width:82px;height:82px;transform:rotate(-8deg)}.hero-flavour-stamp>strong{font-size:32px}.hero-flavour-stamp .stamp-label{font-size:9px}.hero-flavour-stamp .stamp-hint{font-size:7.5px}}
@media(forced-colors:active),(prefers-contrast:more){.hero-flavour-stamp{display:none}}

/* Bring the existing introduction into view instead of adding empty height. */
.ticker{padding-block:14px}
.manifesto.section{padding-top:clamp(32px,4.5cqw,60px)}

/* A small handwritten invitation occupies the wide-screen mint negative. */
.hero-play-note{display:none}
@media(min-width:1200px){.hero-play-note{position:absolute;z-index:3;display:flex;flex-direction:column;left:calc(50% - 70px);top:calc(var(--u)*180);width:150px;color:var(--ink);font-family:var(--retro);font-size:28px;font-weight:400;line-height:1.02;transform:rotate(-9deg);pointer-events:none}.hero-play-note svg{width:110px;height:73px;margin:-1px 0 0 42px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}}
@media(forced-colors:active),(prefers-contrast:more){.hero-play-note{display:none}}

/* NUBLI details V1: own tiny spoon and pastel sprinkles.
   Preserve the existing star slot, hero flow, six-flavour stamp and photo. */
.hero .hero-copy>.eyebrow::before{background:transparent}
.nubli-spoon-mark{position:absolute;left:var(--nubli-gutter,24px);top:calc(var(--u)*30 - 1.5px);width:12px;height:17px;fill:none;stroke:var(--ink);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transform:rotate(-17deg)}
.nubli-sprinkles{display:none;pointer-events:none;fill:none;stroke:var(--ink);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.nubli-sprinkles .sprinkle-cream{fill:#fff5e9}
.nubli-sprinkles .sprinkle-pink{fill:#f2a5bc}
.nubli-sprinkles circle{fill:var(--ink);stroke:none}
@media(min-width:761px){.nubli-sprinkles{display:block;position:absolute;left:calc(var(--nubli-gutter) + var(--u)*350);top:calc(var(--u)*273);width:44px;height:34px}}
@media(max-width:760px){.nubli-spoon-mark{left:0;top:.5px;width:10px;height:14px}}
@media(forced-colors:active),(prefers-contrast:more){.nubli-spoon-mark,.nubli-sprinkles{display:none}.hero .hero-copy>.eyebrow::before{background:currentColor}}
