/* Champagne.Buzz foundation. All optional modules live in isolated, opt-in layers. */
:root {
  --champagne-light:#fff7dd;
  --champagne-mid:#f6e7b9;
  --champagne-deep:#e9d38e;
  --bubble:rgba(255,255,255,.85);
  --sparkle:rgba(255,255,255,.95);
  --cb-rose-night-start:#5d3c59;
  --cb-rose-night-mid:#96677e;
  --cb-rose-night-finish:#cea0b0;
  --cb-logo-width:clamp(180px,52vw,680px);
  --cb-logo-mobile-width:clamp(180px,84vw,420px);
}
html:has(body.cb-landing-mode){min-width:0;scroll-behavior:smooth}
body.cb-landing-mode { margin:0; min-width:0; min-height:100vh; min-height:100svh; background:var(--champagne-mid); overflow-x:hidden; color:#403528; font-family:Georgia,"Times New Roman",serif; }
body.cb-landing-mode *,body.cb-landing-mode *::before,body.cb-landing-mode *::after{box-sizing:border-box}
body.cb-landing-mode::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background: radial-gradient(1200px 800px at 70% 10%,rgba(255,255,255,.5),transparent 60%),
    radial-gradient(1000px 700px at 20% 80%,rgba(255,255,255,.35),transparent 60%),
    linear-gradient(180deg,var(--champagne-light),var(--champagne-mid) 55%,var(--champagne-deep));
  background-blend-mode:screen,screen,normal;
}
body.cb-landing-mode #cb-fizz-canvas{position:fixed;inset:0;z-index:1;display:block;width:100vw;height:100vh;pointer-events:none}
body.cb-landing-mode .cb-landing-stage{position:relative;z-index:2;display:grid;place-items:center;min-height:100vh;min-height:100svh;width:100%;padding:max(24px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));}
body.cb-landing-mode .cb-landing-center{width:min(100%,1100px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(16px,3vh,34px);text-align:center;min-width:0}
body.cb-landing-mode .cb-landing-brand{display:flex;align-items:center;justify-content:center;max-width:100%;}
body.cb-landing-mode .cb-brand{display:inline-flex;align-items:center;justify-content:center;max-width:100%;width:var(--cb-logo-width);height:auto;color:#473829;text-decoration:none;transition:opacity .2s ease,transform .35s cubic-bezier(.2,.7,.3,1)}
body.cb-landing-mode .cb-brand:hover{opacity:.83;transform:translateY(-2px)}
body.cb-landing-mode .cb-brand:focus-visible,body.cb-landing-mode a:focus-visible,body.cb-landing-mode button:focus-visible{outline:2px solid #594628;outline-offset:6px}
body.cb-landing-mode .cb-brand-picture{display:block;width:100%;max-width:100%}
body.cb-landing-mode .cb-brand-image{display:block;max-width:100%;width:100%;height:auto;object-fit:contain}
body.cb-landing-mode .cb-brand-text{font-family:Didot,"Bodoni MT", "Times New Roman",serif;font-size:clamp(24px,4vw,59px);font-weight:400;line-height:1.08;letter-spacing:.065em;white-space:nowrap;}
body.cb-landing-mode .cb-brand-text span{opacity:.74}
body.cb-landing-mode .cb-landing-orbit{max-width:min(92vw,920px);min-height:2em;font-family:Georgia,serif;font-size:clamp(15px,2.2vw,24px);line-height:1.7;letter-spacing:.025em;color:#5e493b;overflow-wrap:anywhere}
body.cb-landing-mode .cb-landing-orbit a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body.cb-landing-mode .cb-type-cursor{display:inline-block;height:1em;width:1px;background:currentColor;vertical-align:-.15em;margin-left:4px;animation:cb-landing-blink 1.1s steps(2,start) infinite}
@keyframes cb-landing-blink{to{opacity:0}}
body.cb-landing-mode .cb-landing-caption{font-family:Georgia,serif;font-size:clamp(12px,1.25vw,16px);font-style:italic;letter-spacing:.035em;color:#5e4a39;margin:0;max-width:650px;line-height:1.6}
body.cb-landing-mode .cb-landing-announcement{position:fixed;z-index:20;top:0;left:0;width:100%;max-width:100%}
body.cb-landing-mode .cb-landing-contact{position:fixed;z-index:32;bottom:max(22px,env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right))}
body.cb-landing-mode .cb-landing-contact .cbs-contact-trigger{box-shadow:0 4px 20px rgba(85,62,35,.1);background:rgba(255,247,221,.85);backdrop-filter:blur(12px)}
body.cb-landing-mode .cbs-console{z-index:35}
body.cb-landing-mode .cb-landing-skip{position:absolute;z-index:100;top:-70px;left:10px;padding:12px 16px;background:white;color:black}
body.cb-landing-mode .cb-landing-skip:focus{top:10px}
html[data-cb-theme="dark"] body.cb-landing-mode{background:var(--cb-rose-night-mid);color:#fff4f5;color-scheme:dark}
/* Rosé at dusk: translucent pink champagne with soft pearl reflections; no brown/amber cast. */
html[data-cb-theme="dark"] body.cb-landing-mode::before{
  background:
    radial-gradient(ellipse 75% 60% at 70% 8%,rgba(255,234,242,.29),transparent 67%),
    radial-gradient(ellipse 77% 67% at 13% 88%,rgba(252,201,220,.18),transparent 72%),
    radial-gradient(ellipse 35% 35% at 92% 78%,rgba(255,239,248,.11),transparent 74%),
    linear-gradient(164deg,var(--cb-rose-night-start) 0%,var(--cb-rose-night-mid) 52%,var(--cb-rose-night-finish) 100%);
  background-blend-mode:screen,screen,screen,normal;
}
html[data-cb-theme="dark"] body.cb-landing-mode .cb-brand-bundled .cb-brand-image{filter:brightness(0) invert(1) drop-shadow(0 7px 18px rgba(80,30,62,.2))}
html[data-cb-theme="dark"] body.cb-landing-mode .cb-brand,html[data-cb-theme="dark"] body.cb-landing-mode .cb-landing-orbit,html[data-cb-theme="dark"] body.cb-landing-mode .cb-landing-caption{color:#fff2f5}
@media(max-width:700px){body.cb-landing-mode .cb-brand{width:var(--cb-logo-mobile-width)}body.cb-landing-mode .cb-brand-text{font-size:clamp(23px,6vw,43px);letter-spacing:.045em}body.cb-landing-mode .cb-landing-contact{bottom:max(16px,env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right))}}
@media(max-height:420px) and (orientation:landscape){body.cb-landing-mode .cb-landing-stage{padding-block:24px}body.cb-landing-mode .cb-brand{max-height:58vh}body.cb-landing-mode .cb-brand-image{max-height:58vh;width:auto}}
@media(prefers-reduced-motion:reduce){body.cb-landing-mode #cb-fizz-canvas{display:none}body.cb-landing-mode .cb-brand{transition:none}body.cb-landing-mode .cb-brand:hover{transform:none}body.cb-landing-mode .cb-type-cursor{animation:none}}

body.cb-landing-mode .cb-landing-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* When both opt-in utilities are enabled, the contact button sits above Orbit, never over it. */
body.cb-landing-mode:has(.cbs-console) .cb-landing-contact{bottom:max(88px,calc(env(safe-area-inset-bottom) + 72px))}

/* Champagne.Buzz interactive logo: transform uses independent CSS variables for spring physics. */
body.cb-landing-mode .cb-landing-brand{perspective:1100px;transform-style:preserve-3d;isolation:isolate}
body.cb-landing-mode .cb-brand.cb-logo-parallax{transform:perspective(1100px) rotateX(var(--cb-logo-rx,0deg)) rotateY(var(--cb-logo-ry,0deg)) translate3d(var(--cb-logo-tx,0px),var(--cb-logo-ty,0px),0) scale(var(--cb-logo-scale,1));transform-style:preserve-3d;will-change:transform;transition:opacity .25s ease;backface-visibility:hidden}
body.cb-landing-mode .cb-brand.cb-logo-parallax:hover{transform:perspective(1100px) rotateX(var(--cb-logo-rx,0deg)) rotateY(var(--cb-logo-ry,0deg)) translate3d(var(--cb-logo-tx,0px),var(--cb-logo-ty,0px),0) scale(var(--cb-logo-scale,1));opacity:1}
body.cb-landing-mode .cb-brand-svg{display:block;max-width:100%;height:auto;filter:drop-shadow(0 12px 18px rgba(95,69,34,.09));user-select:none;-webkit-user-drag:none}
body.cb-landing-mode .cb-halo{position:fixed;left:0;top:0;z-index:170;width:42px;height:42px;border:1.5px solid var(--cb-halo-color,#5b1021);border-radius:50%;pointer-events:none;opacity:0;transform:translate3d(-50%,-50%,0);will-change:transform,opacity;box-shadow:0 0 0 1px rgba(255,247,221,.65),0 0 26px rgba(108,74,39,.1);transition:opacity .22s ease,background .22s ease}
body.cb-landing-mode .cb-halo.is-active{opacity:.88}
body.cb-landing-mode .cb-halo.is-hover{background:color-mix(in srgb,var(--cb-halo-color,#5b1021) 11%,transparent);border-width:1px}
body.cb-landing-mode .cb-landing-contact.cb-contact-left{left:max(20px,env(safe-area-inset-left));right:auto}
body.cb-landing-mode .cb-landing-contact.cb-contact-right{left:auto;right:max(20px,env(safe-area-inset-right))}
body.cb-landing-mode:has(.cbs-console) .cb-landing-contact.cb-contact-left{bottom:max(22px,env(safe-area-inset-bottom))}
body.cb-landing-mode:has(.cbs-console) .cb-landing-contact.cb-contact-right{bottom:max(88px,calc(env(safe-area-inset-bottom) + 72px))}
html[data-cb-theme="dark"] body.cb-landing-mode .cb-brand-bundled .cb-brand-image{filter:brightness(0) invert(1) drop-shadow(0 10px 22px rgba(67,29,51,.23))}
html[data-cb-theme="dark"] body.cb-landing-mode .cb-halo{--cb-halo-color:#ffe2ee;box-shadow:0 0 0 1px rgba(255,236,244,.3),0 0 28px rgba(255,212,230,.22)}
@media(max-width:700px){body.cb-landing-mode .cb-landing-contact.cb-contact-left{left:max(16px,env(safe-area-inset-left))}body.cb-landing-mode .cb-landing-contact.cb-contact-right{right:max(16px,env(safe-area-inset-right))}}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){body.cb-landing-mode .cb-halo{display:none!important}body.cb-landing-mode .cb-brand.cb-logo-parallax,body.cb-landing-mode .cb-brand.cb-logo-parallax:hover{transform:none!important;will-change:auto;transition:none}}

/* Align link focus and halo with the rosé night treatment. */
html[data-cb-theme="dark"] body.cb-landing-mode .cb-brand:focus-visible,
html[data-cb-theme="dark"] body.cb-landing-mode a:focus-visible,
html[data-cb-theme="dark"] body.cb-landing-mode button:focus-visible{outline-color:#ffe2ee}
