/* Highbucha: color and tempo express the three drinks. Original can artwork. */
#highbucha{--ink:#122d40;--muted:#254858;background:#8bcddf}
#highbucha .highbucha-world{background:#8bcddf}
.hb-sky,.hb-sky-base,.hb-sky-color,.hb-sky-light{position:absolute;inset:0;pointer-events:none}
.hb-sky-base{background:linear-gradient(130deg,#bfe8ed 0%,#81c7e4 48%,#56b8db 100%)}
.hb-sky-color{opacity:0;transition:opacity 2.2s cubic-bezier(.22,.61,.36,1)}
.hb-sky-calm{background:linear-gradient(145deg,#d9e4f7,#a7c8ec 47%,#8aace2)}
.hb-sky-flow{background:linear-gradient(145deg,#c3eae6,#85ccdf 48%,#77cfb2 100%)}
.hb-sky-high{background:linear-gradient(155deg,#e8d9f3,#d1b9e9 22%,#efb6ba 56%,#ffb27e)}
#highbucha[data-mood=calm] .hb-sky-calm,#highbucha[data-mood=flow] .hb-sky-flow,#highbucha[data-mood=high] .hb-sky-high{opacity:1}
.hb-sky-light{inset:-20%;background:radial-gradient(ellipse at 29% 68%,#effbf4aa,transparent 46%),radial-gradient(ellipse at 80% 29%,#ffffff99,transparent 31%);animation:hb-daylight 24s ease-in-out infinite alternate;will-change:transform}
@keyframes hb-daylight{from{transform:translate3d(-2%,2%,0) scale(1)}to{transform:translate3d(4%,-3%,0) scale(1.08)}}
.hb-contours{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:#f8fff4;stroke-width:1;opacity:.65}
.hb-contours path{vector-effect:non-scaling-stroke}
.hb-contour-orbit{transform-origin:70% 47%;animation:hb-orbit 70s linear infinite}
.hb-contour-orbit path:first-child{stroke-dasharray:1.5 7;stroke-linecap:round;opacity:.8}
.hb-contour-orbit path:last-child{opacity:.24}
@keyframes hb-orbit{to{transform:rotate(360deg)}}
.hb-current{transform-origin:65% 55%;animation:hb-current 15s ease-in-out infinite alternate}
.hb-current path:nth-child(2){opacity:.35}
.hb-current-b{opacity:.45;animation-duration:21s;animation-delay:-8s;transform-origin:50% 80%}
@keyframes hb-current{from{transform:translate3d(0,8px,0) rotate(-1deg)}to{transform:translate3d(0,-16px,0) rotate(1.5deg)}}
.hb-current-highlight{stroke:#fff;stroke-width:1.5;stroke-dasharray:55 945;stroke-linecap:round;animation:hb-line-light 18s linear infinite;opacity:.8}
@keyframes hb-line-light{from{stroke-dashoffset:1055}to{stroke-dashoffset:0}}
.hb-product-halo{position:absolute;left:40%;right:-7%;top:3%;bottom:5%;background:radial-gradient(ellipse,#ffffff85,transparent 64%);animation:hb-halo 17s ease-in-out infinite alternate;pointer-events:none}
@keyframes hb-halo{from{transform:scale(.94);opacity:.65}to{transform:scale(1.08);opacity:1}}
.hb-effervescence{position:absolute;inset:0;z-index:4;width:100%;height:100%;pointer-events:none;mask-image:linear-gradient(90deg,#0006 0%,#0008 32%,#000 55%)}
#highbucha .can-art{left:47%;right:4%;top:20%;bottom:22%;gap:0;perspective:1200px;pointer-events:none;z-index:4}
#highbucha .can{width:34%;height:100%;filter:none;transform:none;transition:opacity 1.8s}
#highbucha .can-calm{z-index:1}
#highbucha .can-flow{z-index:3}
#highbucha .can-high{z-index:2}
.hb-can-float,.hb-can-pose{width:100%;height:100%;position:relative}
.hb-can-float{animation:hb-buoyancy 13s ease-in-out infinite;will-change:transform}
.can-flow .hb-can-float{animation-duration:15s;animation-delay:-5s}
.can-high .hb-can-float{animation-duration:17s;animation-delay:-8s}
@keyframes hb-buoyancy{0%,100%{transform:translate3d(0,3px,0) rotate(-.4deg)}50%{transform:translate3d(0,-12px,0) rotate(.6deg)}}
.hb-can-pose{transition:transform 2.4s cubic-bezier(.2,.8,.25,1),filter 2s;transform-origin:50% 65%}
.can-calm .hb-can-pose{transform:translate(10%,5%) rotate(-9deg) scale(.94)}
.can-flow .hb-can-pose{transform:translateY(-4%) rotate(-1deg)}
.can-high .hb-can-pose{transform:translate(-10%,5%) rotate(9deg) scale(.94)}
#highbucha .can img{display:block;width:100%;height:100%;object-fit:contain;animation:none;filter:drop-shadow(0 24px 17px #164d6b35);transition:filter 2.4s}
#highbucha[data-mood=calm] .can-calm .hb-can-pose{transform:translate(7%,-2%) rotate(-4deg) scale(1.04)}
#highbucha[data-mood=high] .can-high .hb-can-pose{transform:translate(-7%,-2%) rotate(4deg) scale(1.04)}
#highbucha[data-mood=calm] .can-calm img,#highbucha[data-mood=high] .can-high img{filter:drop-shadow(0 27px 23px #164d6b40) saturate(1.08)}
#highbucha .can-ground{left:49%;right:6%;bottom:20%;opacity:.35;height:4%;filter:blur(8px)}
#highbucha .can-ground i{background:radial-gradient(ellipse,#28586a66,transparent 70%)}
#highbucha .project-caption{bottom:155px;max-width:41%}
#highbucha .project-caption h1{font-size:clamp(80px,7.2vw,138px);font-weight:450;letter-spacing:-.07em;margin-bottom:22px}
#highbucha .project-category{font-size:11px;letter-spacing:.13em;margin-bottom:20px}
#highbucha .project-subtitle{font-size:clamp(17px,1.5vw,23px);line-height:1.6;letter-spacing:-.025em;max-width:380px}
#highbucha .project-link{font-size:14px;bottom:80px}
@media(max-width:640px){
 #highbucha .can-art{left:6%;right:6%;top:23%;bottom:39%}
 #highbucha .can-ground{left:10%;right:10%;bottom:38%}
 .hb-product-halo{left:-20%;right:-20%;top:12%;bottom:25%}
 .hb-contours{width:180%;left:-65%;height:80%;top:7%;opacity:.5}
 .hb-effervescence{mask-image:linear-gradient(0deg,#0006 0%,#0006 42%,#000 62%)}
 #highbucha .project-caption{bottom:143px;max-width:none;right:28px}
 #highbucha .project-caption h1{font-size:60px;margin-bottom:13px}
 #highbucha .project-category{font-size:9px;margin-bottom:10px}
 #highbucha .project-subtitle{font-size:15px;line-height:1.55;max-width:330px}
 #highbucha .project-link{bottom:88px;font-size:12px}
}
@media(max-width:640px) and (max-height:760px){
 #highbucha .can-art{top:24%;bottom:42%}
 #highbucha .project-caption{bottom:143px}
 #highbucha .project-caption h1{font-size:51px;margin-bottom:8px}
 #highbucha .project-category{display:none}
 #highbucha .project-subtitle{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 #highbucha .studio-motion{animation:none!important}
 .hb-effervescence{display:none}
 .hb-current-highlight{display:none}
 .hb-can-float{transform:none!important}
}
/* Color continues to breathe within a mood; the crossfade has a separate clock. */
.hb-color-breath{position:absolute;inset:-18%;animation:hb-color-breath 22s ease-in-out infinite alternate;will-change:transform,opacity}
.hb-sky-calm .hb-color-breath{background:radial-gradient(ellipse at 70% 70%,#b7a5efbb,transparent 62%),linear-gradient(35deg,#d4e5f188,transparent);animation-duration:26s}
.hb-sky-flow .hb-color-breath{background:radial-gradient(ellipse at 70% 60%,#a0e6aaee,transparent 66%),radial-gradient(ellipse at 40% 0%,#71c7f2,transparent 65%)}
.hb-sky-high .hb-color-breath{background:radial-gradient(ellipse at 75% 60%,#ffcc86,transparent 68%),linear-gradient(30deg,#f7b4ae,#c3b3ed88);animation-duration:24s}
@keyframes hb-color-breath{0%{opacity:.18;transform:translate3d(0,-8%,0) scale(.96)}100%{opacity:.85;transform:translate3d(0,10%,0) scale(1.12)}}
#highbucha .can{pointer-events:auto}
/* Reserve separate mobile bands for identity, product, mood controls, and story. */
@media(max-width:640px){
 #highbucha{min-height:760px}
 #highbucha .can-art{top:23%;bottom:45%}
 #highbucha .can-ground{bottom:44%}
}
@media(max-width:640px){
 #current-projects:has(#highbucha.is-active) .row-footer{top:120px}
}
/* CJ's original Highbucha identity leads the left side. */
#highbucha .project-category{display:none}
#highbucha .project-caption h1{font-size:0;line-height:1;margin:0 0 22px;letter-spacing:0}
.hb-original-logo{display:block;width:clamp(220px,22vw,340px);height:auto;max-width:100%}
@media(min-width:641px) and (max-width:1000px){.hb-original-logo{width:230px}}
@media(max-width:640px){
 #highbucha .can-art{top:23%;bottom:48%}
 #highbucha .can-ground{bottom:47%}
 #highbucha .project-caption{bottom:143px}
 #highbucha .project-caption h1{margin-bottom:15px}
 .hb-original-logo{width:130px}
 #highbucha .project-subtitle{font-size:14px;line-height:1.5}
}
@media(max-width:640px) and (max-height:760px){
 #highbucha .can-art{top:24%;bottom:51%}
 #highbucha .can-ground{bottom:50%}
 .hb-original-logo{width:120px}
}
@media(min-width:641px){
 #highbucha .project-caption{top:50%;bottom:auto;transform:translateY(-45%)}
 .hb-original-logo{width:clamp(260px,25vw,360px)}
}
@media(min-width:641px) and (max-width:1000px){.hb-original-logo{width:230px}}

/* A warmer identity, with the project name restored to the copy. */
#highbucha .hb-original-logo{width:clamp(180px,26svh,310px);max-width:100%;margin-bottom:20px}
#highbucha .project-caption h1{font-family:var(--sans);font-size:clamp(48px,5.2vw,82px);font-weight:450;line-height:1.05;letter-spacing:-.065em;margin:0 0 16px}
@media(max-width:640px){
 #highbucha .hb-original-logo{width:104px;margin-bottom:12px}
 #highbucha .project-caption h1{font-size:44px;margin-bottom:10px}
 #highbucha .project-caption{bottom:143px}
 #highbucha .can-art{top:23%;bottom:51%}
 #highbucha .can-ground{bottom:50%}
}
@media(max-width:640px) and (max-height:760px){
 #highbucha .hb-original-logo{width:88px;margin-bottom:10px}
 #highbucha .project-caption h1{font-size:39px}
 #highbucha .can-art{top:24%;bottom:54%}
 #highbucha .can-ground{bottom:53%}
}
@media(min-width:1600px){#highbucha .can-art{left:49%;right:7%;top:14%;bottom:21%}}
/* Nov 12 (job-search design pass): on phones the cans sat on top of the logo. Lift the can group so it clears it. */
@media(max-width:640px){#highbucha .can-art{top:15%;bottom:58%}}
@media(max-width:640px) and (max-height:760px){#highbucha .can-art{top:16%;bottom:60%}}

/* Nov 19: logo and primary CTA take the current mood's color; bigger logo; product copy; two CTAs; Flow can lifts too. */
@property --hb-ink{syntax:'<color>';inherits:true;initial-value:#2f62b8}
#highbucha{--hb-ink:#2f62b8;transition:--hb-ink 1.4s ease}
#highbucha[data-mood=flow]{--hb-ink:#1d7f45}
#highbucha[data-mood=high]{--hb-ink:#bf4a14}
#highbucha .hb-original-logo{display:block;aspect-ratio:1;width:clamp(220px,38svh,460px);max-width:100%;margin:0 0 6px -2.5%;background:var(--hb-ink);
 -webkit-mask:url(images/highbucha-original-logo.svg) center/contain no-repeat;mask:url(images/highbucha-original-logo.svg) center/contain no-repeat}
#highbucha .hb-tagline{margin:0 0 10px;font-size:clamp(28px,2.6vw,42px);line-height:1.05;letter-spacing:-.035em;font-weight:500;color:#14202a}
#highbucha .project-caption .project-subtitle{max-width:34ch}
#highbucha .hb-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;pointer-events:auto}
#highbucha .project-caption .hb-actions .project-link{margin:0;pointer-events:auto}
#highbucha .project-caption .hb-actions .project-link.hb-link-primary{background:var(--hb-ink);border-color:transparent;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 10px 30px -12px color-mix(in srgb,var(--hb-ink) 70%,transparent)}
#highbucha .project-caption .hb-actions .project-link.hb-link-primary:hover{background:color-mix(in srgb,var(--hb-ink) 86%,#000)}
#highbucha .project-caption .hb-actions .hb-link-primary .link-arrow{background:#fff;--arrow-ink:var(--hb-ink)}
#highbucha .project-caption .hb-actions .project-link.hb-link-secondary{background:#ffffff8c;border-color:color-mix(in srgb,var(--hb-ink) 30%,transparent);color:var(--hb-ink)}
#highbucha .project-caption .hb-actions .project-link.hb-link-secondary:hover{background:#ffffffc7}
#highbucha .project-caption .hb-actions .hb-link-secondary .link-arrow{background:var(--hb-ink);--arrow-ink:#fff}
#highbucha[data-mood=flow] .can-flow .hb-can-pose{transform:translateY(-10%) rotate(0deg) scale(1.06)}
#highbucha[data-mood=flow] .can-flow img{filter:drop-shadow(0 30px 24px #164d6b40) saturate(1.08)}
@media(max-width:1000px){#highbucha .hb-original-logo{width:clamp(180px,30svh,300px)}}
@media(max-width:640px){
 #highbucha .hb-original-logo{width:118px;margin-bottom:8px}
 #highbucha .hb-tagline{font-size:24px;margin-bottom:6px}
 #highbucha .hb-actions{gap:8px;margin-top:16px;flex-wrap:nowrap}
 #highbucha .project-caption .hb-actions .project-link{flex:1 1 0;justify-content:space-between;padding:0 6px 0 16px;font-size:14px;gap:8px}
 #highbucha .hb-wide-only{display:none}
}
@media(max-width:640px) and (max-height:760px){#highbucha .hb-original-logo{width:96px}}
@media(prefers-reduced-motion:reduce){#highbucha{transition:none}}
/* Keep the taller caption clear of the project strip and the header on every desktop height */
@media(min-width:641px){#highbucha .project-caption{transform:translateY(-50%)}}
@media(min-width:641px) and (max-height:820px){
 #highbucha .hb-original-logo{width:clamp(160px,29svh,300px)}
 #highbucha .hb-tagline{font-size:clamp(24px,2.2vw,32px);margin-bottom:6px}
 #highbucha .hb-actions{margin-top:18px}
}
@media(min-width:641px) and (max-width:1000px){
 #highbucha .hb-original-logo{width:clamp(150px,24svh,240px)}
 #highbucha .project-caption{max-width:52%}
}
@media(max-width:640px){#highbucha .project-caption .hb-actions .project-link{white-space:nowrap}#highbucha .project-caption .hb-actions .link-arrow{width:34px;height:34px}}
/* Brighter mood colors: the logo matches the can art; CTAs use the brightest shade that keeps white text legible. */
@property --hb-logo{syntax:'<color>';inherits:true;initial-value:#3d6fc6}
#highbucha{--hb-logo:#3d6fc6;transition:--hb-ink 1.4s ease,--hb-logo 1.4s ease}
#highbucha[data-mood=flow]{--hb-ink:#1a9149;--hb-logo:#2fa653}
#highbucha[data-mood=high]{--hb-ink:#e43c18;--hb-logo:#f03c18}
#highbucha .hb-original-logo{background:var(--hb-logo)}
/* Phones: the can band reaches down to the caption, so tall screens don't leave an empty gap. */
@media(max-width:640px){
 #highbucha .can-art{bottom:calc(100% - var(--hb-cap-top,42%) + 3%)}
 #highbucha .can-ground{bottom:calc(100% - var(--hb-cap-top,42%) + 4%)}
}

/* Keep copy and moving cans in separate columns on small desktop and tablet screens. */
@media (min-width:641px) and (max-width:1000px) {
  #current-projects #highbucha .project-caption { max-width:43%; }
  #highbucha .can-art { left:57%; right:3%; }
  #highbucha .hb-actions { gap:8px; }
  #highbucha .project-caption .hb-actions .project-link {
    padding-inline:12px 6px;
    font-size:14px;
    gap:6px;
  }
}
