/* Native branded arrow: the operating system draws it without a tracking loop. */
@media(hover:hover) and (pointer:fine){
 html{--av-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 2 24 18 14 20 18 28 13 30 9 22 3 27Z' fill='%23d7ff16' stroke='%2310204b' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");--av-arrow-action:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M3 2 24 18 14 20 18 28 13 30 9 22 3 27Z' fill='%2310204b' stroke='%23d7ff16' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");cursor:var(--av-arrow) 3 2,auto}
 html body{cursor:var(--av-arrow) 3 2,auto}
 html body :is(a,button,summary,select,[role=button],[role=tab]){cursor:var(--av-arrow-action) 3 2,pointer}
 html body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,[contenteditable=true]){cursor:text}
 html body :is(button:disabled,[aria-disabled=true]){cursor:not-allowed}
}

/* Point centers/hitboxes stay at the real taste coordinates; only their ink drifts. */
#mapa.taste-lab .taste-point:before,#mapa.taste-lab .taste-point-number{animation:av-taste-point-float var(--point-float-time,5.6s) ease-in-out infinite;animation-delay:var(--point-float-delay,-1s);animation-play-state:paused}
#mapa.taste-lab[data-point-motion=running] .taste-point:before,#mapa.taste-lab[data-point-motion=running] .taste-point-number{animation-play-state:running}
#mapa.taste-lab .taste-point:nth-of-type(2){--point-float-delay:-2.8s;--point-float-time:6.4s}
#mapa.taste-lab .taste-point:nth-of-type(3){--point-float-delay:-4.2s;--point-float-time:5.9s}
#mapa.taste-lab .taste-point:nth-of-type(4){--point-float-delay:-1.7s;--point-float-time:6.7s}
#mapa.taste-lab .taste-point:nth-of-type(5){--point-float-delay:-3.5s;--point-float-time:6.1s}
#mapa.taste-lab .taste-point:is(:hover,:focus-visible):before,#mapa.taste-lab .taste-point:is(:hover,:focus-visible) .taste-point-number{animation:none;translate:0 0}
@keyframes av-taste-point-float{0%,100%{translate:0 1.5px}50%{translate:0 -1.5px}}

/* A readable chapter rail gives the tea story its own quiet visual rhythm. */
.tea-journey__chapter-copy{padding-inline-start:clamp(14px,1.8vw,24px);border-inline-start:1px solid var(--tea-line);transition:border-color .35s}
.tea-journey__chapter.is-active .tea-journey__chapter-copy{border-inline-start-color:var(--tea-accent)}
.tea-journey__chapter-number{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;border:1px solid var(--tea-line);border-radius:999px;line-height:1.5}

/* The longest name must not grow upward into the opening headline. */
.immersive__chapter{display:flex;flex-direction:column;gap:6px;max-width:38%;min-width:0}
.immersive__chapter :is(.immersive__chapter-label,h2,p:last-child){margin:0!important}
.immersive__chapter h2{max-width:none;line-height:1.16!important;overflow-wrap:normal;text-wrap:balance}
.immersive__chapter-label{display:block;line-height:1.5!important;max-width:100%}
@media(max-width:760px){
 .immersive__chapter{left:20px;right:150px;max-width:none;width:auto;bottom:190px;gap:5px}
 .immersive__chapter h2{font-size:19px;line-height:1.16!important}
 .immersive__chapter-label{font-size:8px;letter-spacing:.06em}
 .immersive__rotate{right:20px;bottom:190px;max-width:110px;width:110px}
 .immersive__copy h1{max-width:none}
}
@media(max-width:360px){.immersive__chapter{right:140px}.immersive__chapter h2{font-size:17px}.immersive__rotate{width:100px;max-width:100px}.immersive__chapter-label{font-size:7px}}
@media(max-width:760px) and (max-height:740px) and (min-height:541px){.immersive__bottle{top:20.5%;height:40%}}
@media(max-width:760px) and (max-height:540px){.immersive__bottle{top:24%;height:40%}}
@media(prefers-reduced-motion:reduce){
 #mapa.taste-lab .taste-point:before,#mapa.taste-lab .taste-point-number{animation:none!important;translate:0 0}
 .tea-journey__chapter-copy{transition:none}
}

/* Desktop copy and the flavor chapter share a real column. A longer name can
   use another line without moving upward into the opening introduction. */
.immersive__editorial{display:contents}
@media(min-width:761px){
 .immersive__editorial{position:absolute;z-index:4;left:var(--pad);top:15%;bottom:145px;width:42%;display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-width:0;pointer-events:none}
 .immersive__editorial>.immersive__copy,.immersive__editorial>.immersive__chapter{position:static;inset:auto;flex:0 0 auto;width:100%;max-width:100%;min-width:0}
 .immersive__editorial>.immersive__chapter{gap:6px}
 .immersive__editorial .immersive__chapter h2{max-width:none}
}
/* The breakpoint includes a little font-loading headroom around an800px
   viewport. Removing the small intro preserves space for all five names. */
@media(min-width:761px) and (max-height:840px){
 .immersive__editorial .immersive__intro{display:none}
 .immersive__editorial .immersive__copy h1{font-size:clamp(50px,5.3vw,68px)}
}
@media(min-width:761px) and (max-height:540px){.immersive__editorial{top:12%}}

/* The button accent paints pressure as ink overflow, without enlarging the page. */
.av-touch-mark{display:none}
@media(max-width:760px){
 .av-touch-mark{position:absolute;display:block;z-index:2147483647;left:0;top:0;width:0;height:0;padding:0;border:0;border-radius:50%;pointer-events:none!important;user-select:none;color:var(--acid,#d7ff16);box-shadow:0 2px 5px 11px #07172e30,0 0 9px 14px color-mix(in srgb,currentColor 72%,transparent),0 0 24px 28px color-mix(in srgb,currentColor 38%,transparent);opacity:var(--touch-opacity,.7);transform:scale(var(--touch-scale,.95));transition:opacity .12s linear,transform .12s ease-out}
 .av-touch-mark--fading{animation:av-touch-press 1.4s linear both;transition:none}
}
@keyframes av-touch-press{0%{transform:var(--touch-release-transform,scale(.95));opacity:var(--touch-release-opacity,.7)}8%,20%{transform:scale(var(--touch-scale,.95));opacity:var(--touch-opacity,.7)}100%{transform:scale(calc(var(--touch-scale,.95) + .14));opacity:0}}
@keyframes av-touch-fade{0%{opacity:var(--touch-release-opacity,.7)}8%,20%{opacity:var(--touch-opacity,.7)}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.av-touch-mark{transform:none!important;transition:opacity .12s linear}.av-touch-mark--fading{animation-name:av-touch-fade}}
