/* The cream and forest palette belongs to the supplied film. */
#brume-hero{--hero-ink:#123d2d;position:fixed;inset:0;z-index:6;overflow:hidden;background:#ebe7dc;color:var(--hero-ink);visibility:hidden;pointer-events:none;font-family:BrumeReel,sans-serif}
#brume-hero.is-visible{visibility:visible}
/* A child with explicit visibility can escape a hidden parent. Hide every
   hero layer immediately when leaving the hero, including its glass panel. */
#brume-hero:not(.is-visible) *{visibility:hidden!important;pointer-events:none!important;transition:none!important}
#brume-hero .hero-growth-film{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#brume-hero .hero-growth-static,#brume-hero canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.hero-growth-static{display:none;z-index:0}
.hero-growth-background{z-index:1;background:#d5ceb5 url('../assets/videos/brume-alfalfa-poster-00.jpg') center/cover}
.hero-growth-foreground{z-index:3;opacity:var(--foreground-opacity,0)}
#brume-hero.is-static canvas{display:none}
#brume-hero.is-static .hero-growth-static{display:block}
.hero-growth-copy{position:absolute;z-index:2;left:7vw;top:clamp(150px,23vh,230px);width:80vw;pointer-events:none}
.hero-growth-eyebrow{display:block;font:500 12px/1.4 BrumeReel,sans-serif;letter-spacing:.2em;text-transform:uppercase;margin:0 0 24px}
.hero-growth-title{font:400 clamp(58px,7.1vw,136px)/.99 BrumeReel,sans-serif;letter-spacing:-.055em;margin:0;max-width:940px;color:var(--hero-ink)}
.hero-growth-line{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.hero-growth-line>span{display:block;animation:hero-type-in 1.25s cubic-bezier(.16,1,.3,1) both}
.hero-growth-line:nth-child(2)>span{animation-delay:.13s}
#brume-hero.is-suspended .hero-growth-line>span,#brume-hero.is-suspended .hero-growth-subtitle{animation-play-state:paused}
.hero-growth-subtitle{font:400 clamp(15px,1.25vw,21px)/1.45 BrumeReel,sans-serif;max-width:390px;margin:26px 0 0;animation:hero-copy-in 1.1s .35s both}
.hero-growth-footer{position:absolute;z-index:5;left:7vw;right:7vw;bottom:7vh;display:flex;align-items:center;justify-content:flex-end;gap:24px}
#brume-hero .video-launch{margin:0;border-color:#123d2d;background:#f3f0e7;color:#123d2d;box-shadow:0 3px 24px #123d2d12;font-family:BrumeReel,sans-serif;font-size:16px;padding:17px 24px}
#brume-hero .video-launch:hover{background:#123d2d;color:#f3f0e7}
.hero-growth-hint{display:flex;align-items:center;gap:16px;color:#123d2d;font-size:13px;line-height:1.4;background:#f3f0e7ef;padding:12px 17px;border-radius:28px}
.hero-growth-meter{width:36px;height:36px;border:1px solid #123d2d44;border-radius:50%;display:grid;place-items:center;position:relative;font-size:18px}
.hero-growth-meter:after{content:'';position:absolute;inset:-1px;border-radius:50%;background:conic-gradient(#123d2d calc(var(--growth-progress)*360deg),transparent 0);mask:radial-gradient(transparent 64%,#000 65%);-webkit-mask:radial-gradient(transparent 64%,#000 65%)}
.hero-growth-contact{position:absolute;z-index:5;right:clamp(18px,1.6667vw,32px);bottom:clamp(18px,1.6667vw,32px);display:grid;place-items:center;width:clamp(76px,6.4583vw,124px);aspect-ratio:1;border-radius:50%;background:#BBFD6A;color:#034638;text-decoration:none;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .55s ease,background .2s ease;box-shadow:0 3px 20px #10220b16}
.hero-contact-ring{position:absolute;inset:0;width:100%;height:100%;animation:hero-contact-orbit 12s linear infinite;animation-play-state:paused}
.hero-contact-ring text{font:400 15px BrumeReel,sans-serif;fill:currentColor}
.hero-contact-arrow{width:32.258%;height:32.258%;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.hero-growth-contact:hover .hero-contact-arrow{transform:translateX(3px)}
.hero-growth-contact:focus-visible{outline:3px solid #034638;outline-offset:5px;box-shadow:0 0 0 6px #fff}
#brume-hero.is-visible.is-info .hero-growth-contact{visibility:visible;opacity:1;pointer-events:auto}
#brume-hero.is-visible.is-info:not(.is-suspended) .hero-contact-ring{animation-play-state:running}
#brume-hero.is-info .hero-growth-hint{display:none}
@keyframes hero-contact-orbit{to{transform:rotate(360deg)}}
.hero-growth-resume{display:none;pointer-events:auto;border:1px solid #123d2d;background:#f3f0e7;color:#123d2d;padding:15px 22px;border-radius:32px;font:500 14px BrumeReel,sans-serif;cursor:pointer}
#brume-hero.needs-play .hero-growth-resume{display:block}
.hero-growth-info{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,calc(-50% + 22px));box-sizing:border-box;width:min(1000px,82vw);max-height:calc(100svh - 164px);padding:28px 36px;border-radius:30px;text-align:center;color:#f4f4e9;background:linear-gradient(140deg,#dce9cb1f,#14271252);border:1px solid #ffffff5c;box-shadow:inset 0 1px 0 #ffffff65,inset 0 -1px 0 #102a2230,0 20px 60px #0a200a26;backdrop-filter:blur(8px) saturate(1.08);-webkit-backdrop-filter:blur(8px) saturate(1.08);text-shadow:0 1px 12px #10220b66;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease,transform .85s cubic-bezier(.16,1,.3,1),visibility .65s;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#f4f4e966 transparent;scroll-padding:20px}
.hero-growth-info:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(130deg,#fff2,transparent 38%,transparent 75%,#fff1)}
.hero-growth-info h2{position:relative;font:400 clamp(30px,2.6vw,38px)/1.12 BrumeReel,sans-serif;letter-spacing:-.035em;margin:0 auto 24px;color:inherit;text-wrap:balance}
.hero-growth-info .hero-growth-eyebrow{font-size:10px;margin-bottom:12px}
.hero-info-features{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;list-style:none;padding:0;margin:0;text-align:left}
.hero-info-features li{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;margin:0;padding:0;min-width:0}
.hero-info-features svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.9;margin-top:1px}
.hero-info-features h3{margin:0 0 7px;font:500 17px/1.25 BrumeReel,sans-serif;color:inherit;letter-spacing:-.02em;text-wrap:balance}
.hero-info-features p{margin:0;font:400 17px/1.45 BrumeReel,sans-serif;color:inherit;text-wrap:pretty}
.hero-info-sequence{position:relative;display:flex;justify-content:center;align-items:center;gap:24px;padding:0;margin:25px 0 20px;list-style:none;font:400 13px/1.25 BrumeReel,sans-serif}
.hero-info-sequence li{display:flex;align-items:center;gap:7px;margin:0;padding:0;position:relative}
.hero-info-sequence li>span:first-child{font-size:10px;opacity:.72;font-variant-numeric:tabular-nums}
.hero-info-sequence li+li:before{content:'→';position:absolute;left:-18px;opacity:.55}
#brume-hero .hero-info-video{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 23px;font-size:15px;font-weight:500;line-height:1.2;border-radius:28px;border:1px solid #f3f0e755;cursor:pointer;text-shadow:none}
#brume-hero .hero-info-video[hidden]{display:none}
.hero-info-video svg{width:14px;height:14px;fill:currentColor}
.hero-info-video:focus-visible,.hero-info-sources a:focus-visible,.hero-info-sources summary:focus-visible{outline:2px solid #bbfd6a;outline-offset:4px}
.hero-info-estimate{position:relative;margin:22px auto 0;padding-top:18px;border-top:1px solid #ffffff35;max-width:740px}
.hero-info-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.hero-info-metrics>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.hero-info-metrics dt{order:2;font:400 12px/1.3 BrumeReel,sans-serif;opacity:.9}
.hero-info-metrics dd{order:1;margin:0;font:400 24px/1 BrumeReel,sans-serif;letter-spacing:-.035em}
.hero-info-estimate-note{font:400 12px/1.4 BrumeReel,sans-serif;margin:12px auto 0;max-width:660px;text-wrap:pretty;opacity:.94}
.hero-info-sources{margin:8px auto 0;font:400 12px/1.45 BrumeReel,sans-serif;max-width:660px}
.hero-info-sources summary{display:list-item;list-style-position:inside;cursor:pointer;text-decoration:underline;text-decoration-color:#ffffff66;text-underline-offset:3px}
.hero-info-sources p{font:inherit;margin:10px 0 0;text-align:left}
.hero-info-source-links{display:flex;justify-content:center;gap:22px}
.hero-info-sources a{color:inherit;text-decoration:underline;text-underline-offset:3px}
#brume-hero.is-visible.is-info .hero-growth-info{visibility:visible;opacity:1;transform:translate(-50%,-50%);pointer-events:auto}
#brume-hero.is-info .hero-growth-copy{visibility:hidden}
body.hero-macro-active>header:not(.open) .logo img{filter:brightness(0) invert(1)!important}
body.hero-macro-active>header:not(.open) .menu{color:#123d2d}
body.hero-video-active #canva img[data-botanical],body.hero-video-active #canva .chamber-label{visibility:hidden}
body.hero-video-active>header .logo img{filter:none!important;mix-blend-mode:normal!important}
body.hero-video-active>header .logo{mix-blend-mode:normal!important}
body.hero-video-active>header .menu{color:#123d2d}
body.hero-static-header>header:not(.open) .logo img{filter:none!important;mix-blend-mode:normal!important}
body.hero-static-header>header:not(.open) .logo{mix-blend-mode:normal!important}
body.hero-static-header>header:not(.open) .menu{color:#123d2d}
body.hero-video-active .scroll-down,body.hero-video-active .contact{visibility:hidden}
#inicio>.wrap,#inicio>.video-launch{visibility:hidden!important}
@keyframes hero-type-in{from{transform:translateY(115%)}to{transform:translateY(0)}}
@keyframes hero-copy-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:812px){.hero-growth-copy{left:6vw;top:20vh;width:88vw}.hero-growth-title{font-size:clamp(47px,11.8vw,86px);letter-spacing:-.05em}.hero-growth-eyebrow{font-size:10px;margin-bottom:20px}.hero-growth-subtitle{font-size:15px;max-width:260px;margin-top:24px}.hero-growth-footer{left:6vw;right:6vw;bottom:max(5vh,28px);align-items:flex-start;flex-direction:column;gap:14px}#brume-hero .video-launch{font-size:14px;padding:15px 20px}.hero-growth-hint{font-size:11px;padding:8px 12px}.hero-growth-meter{width:26px;height:26px;font-size:15px}}
body.reduced #brume-hero{position:relative;inset:auto;display:block;visibility:visible;min-height:100svh;pointer-events:auto}
body.reduced #inicio{display:none!important}
body.reduced .hero-growth-copy,#brume-hero.is-static .hero-growth-copy{background:#f3f0e7ed;padding:28px;border-radius:16px;width:fit-content;max-width:86vw}
body.reduced .hero-growth-title,#brume-hero.is-static .hero-growth-title{font-size:clamp(44px,6vw,86px)}
body.reduced .hero-growth-line>span,body.reduced .hero-growth-subtitle{animation:none}
body.reduced .hero-growth-hint{display:none}
body.reduced .hero-growth-info{opacity:1;visibility:visible;transform:translate(-50%,-50%);pointer-events:auto}
body.reduced #brume-hero .hero-growth-copy,#brume-hero.is-static .hero-growth-copy{display:none}
@media(max-width:812px){.hero-growth-info{width:88vw;max-width:640px;padding:25px 27px;border-radius:24px}.hero-growth-info h2{font-size:30px;margin-bottom:22px}.hero-info-features{grid-template-columns:1fr;gap:18px;max-width:440px;margin:auto}.hero-info-features h3{font-size:16px;margin-bottom:4px}.hero-info-features p{font-size:16px;line-height:1.4}.hero-info-sequence{gap:23px;font-size:12px;flex-wrap:wrap;row-gap:10px}.hero-growth-footer{align-items:flex-end}}
@media(max-width:480px){.hero-growth-info{width:calc(100vw - 32px);max-height:calc(100svh - 180px);padding:21px 20px;top:50%;border-radius:22px}.hero-growth-info h2{font-size:27px;margin-bottom:19px}.hero-growth-info .hero-growth-eyebrow{font-size:9px;margin-bottom:9px}.hero-info-features{gap:15px}.hero-info-features li{grid-template-columns:20px minmax(0,1fr);gap:9px}.hero-info-features svg{width:20px;height:20px}.hero-info-features h3{font-size:15px}.hero-info-features p{font-size:15px;line-height:1.4}.hero-info-sequence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:13px;font-size:11px;margin:20px 0 17px}.hero-info-sequence li{display:flex;flex-direction:column;gap:4px}.hero-info-sequence li+li:before{left:-11px;top:14px}.hero-info-sequence li>span:first-child{font-size:9px}.hero-info-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero-info-metrics .hero-info-modes{display:none}.hero-info-metrics dd{font-size:23px}.hero-info-estimate{padding-top:17px;margin-top:20px}.hero-info-estimate-note,.hero-info-sources{font-size:12px;line-height:1.4}#brume-hero .hero-info-video{font-size:14px;min-height:44px;padding:11px 19px}}
@media(max-width:340px){.hero-growth-info{padding:18px 16px}.hero-growth-info h2{font-size:25px}.hero-info-features h3{font-size:14px}.hero-info-features p{font-size:14px;line-height:1.4}.hero-info-features{gap:13px}.hero-info-sequence{gap:11px;font-size:10px}}
/* Keep type and controls separate on short landscape screens. */
@media(max-height:500px) and (orientation:landscape){
  .hero-growth-copy{left:6vw;top:clamp(76px,24vh,110px);width:88vw}
  .hero-growth-eyebrow{font-size:9px;margin-bottom:10px}
  .hero-growth-title,body.reduced .hero-growth-title,#brume-hero.is-static .hero-growth-title{font-size:clamp(36px,4.6vw,44px);line-height:.98;letter-spacing:-.045em}
  .hero-growth-subtitle{font-size:13px;line-height:1.35;margin-top:12px;max-width:390px}
  .hero-growth-footer{left:6vw;right:6vw;bottom:20px;flex-direction:row;align-items:center;gap:16px}
  #brume-hero .video-launch{font-size:13px;min-height:44px;padding:10px 18px}
  .hero-growth-hint{font-size:10px;gap:10px;padding:8px 12px}
  .hero-growth-meter{width:26px;height:26px;font-size:15px}
  body.reduced .hero-growth-copy,#brume-hero.is-static .hero-growth-copy{padding:12px;border-radius:12px;max-width:88vw}
  .hero-growth-info{top:54%;width:calc(100vw - 200px);max-width:800px;max-height:calc(100svh - 120px);padding:18px 24px;border-radius:20px}
  .hero-growth-info h2{font-size:28px;margin-bottom:18px}
  .hero-growth-info .hero-growth-eyebrow{font-size:8px;margin-bottom:9px}
  .hero-info-features{gap:15px}
  .hero-info-features h3{font-size:15px}
  .hero-info-features p{font-size:15px;line-height:1.4}
  .hero-info-sequence{flex-wrap:wrap;font-size:11px;margin:18px 0}
}
@media(prefers-reduced-motion:reduce){#brume-hero *{animation:none!important;transition:none!important}}
/* Keep retry/start reachable beside the contact circle on narrow screens. */
@media(max-width:600px){
 #brume-hero.needs-play.is-info .hero-growth-footer{left:18px;right:110px;justify-content:flex-start}
 #brume-hero.needs-play.is-info .hero-growth-resume{max-width:100%;font-size:12px;line-height:1.3;padding:12px 14px;min-height:44px}
}
