/* Structural fallback: unchanged full-bleed hero when motion is unavailable or reduced. */
.hero-viewport{position:relative;display:flex;align-items:flex-end;width:100%;min-height:100svh}
.hero-image-frame{position:absolute;inset:0;overflow:hidden}
.hero-image-frame .hero-media{position:absolute;inset:0}
.hero-opening{display:none}
/* Boklyft Time-First R3 — incremental visual review only. No new brand/theme. */
/* React Bits Scroll Expand inspired: use the ORIGINAL restaurant image, heading, links. */
.hero.bl-expand-ready{
  display:block; height:168svh; min-height:0; overflow:visible;
  background:var(--paper); color:#fff; isolation:isolate;
}
.hero.bl-expand-ready .hero-viewport{
  position:sticky; top:0; height:100svh; min-height:0; overflow:hidden;
  display:flex; align-items:flex-end; background:var(--paper);
}
.hero.bl-expand-ready .hero-image-frame{
  position:absolute; inset:0; z-index:0; overflow:hidden;
  clip-path:inset(var(--bl-hero-inset-y,22%) var(--bl-hero-inset-x,25%) round var(--bl-hero-radius,30px));
  will-change:clip-path;
}
.hero.bl-expand-ready .hero-image-frame .hero-media{
  position:absolute; inset:0; height:100%; width:100%;
}
.hero.bl-expand-ready .hero-opening{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:0 24px; color:#fff; text-align:center; pointer-events:none;
  opacity:var(--bl-hero-opening-opacity,1);
}
.hero.bl-expand-ready .hero-opening-title{
  font-size:clamp(29px,4.1vw,64px); font-weight:650;
  line-height:1.05; letter-spacing:-.055em; text-wrap:balance;
  max-width:min(650px,72vw);
  text-shadow:0 3px 30px rgba(0,0,0,.3);
}
.hero.bl-expand-ready .hero-content{
  position:relative; z-index:3;
  opacity:var(--bl-hero-content-opacity,0);
  transform:translate3d(0,var(--bl-hero-content-y,18px),0);
  pointer-events:none; margin:0 auto;
}
.hero.bl-expand-ready .hero-viewport.bl-expanded .hero-content{pointer-events:auto}
.hero.bl-expand-ready .scroll-cue{
  color:var(--bl-hero-cue-color,#35425b);
  bottom:max(20px,env(safe-area-inset-bottom));
  z-index:5;
}
.hero.bl-expand-ready .scroll-cue i{
  background:linear-gradient(transparent,var(--bl-hero-cue-color,#35425b));
}
.hero.bl-expand-ready .hero-image-frame:focus-within{outline:0}
@media (max-width:760px){
  .hero.bl-expand-ready{height:151svh}
  .hero.bl-expand-ready .hero-opening-title{font-size:clamp(25px,6.25vw,42px);max-width:82vw}
  .hero.bl-expand-ready .hero-content{padding-top:120px;padding-bottom:64px}
  .hero.bl-expand-ready .hero-whisper{height:175px}
}
@media (max-height:530px){
  .hero.bl-expand-ready .hero-opening-title{font-size:clamp(23px,4vw,39px)}
}
@media (prefers-reduced-motion:reduce){
  .hero.bl-expand-ready{height:auto!important;min-height:100svh;overflow:hidden;display:flex}
  .hero.bl-expand-ready .hero-viewport{position:relative;top:auto;height:auto;min-height:100svh;overflow:hidden;background:var(--night)}
  .hero.bl-expand-ready .hero-image-frame{clip-path:none!important}
  .hero.bl-expand-ready .hero-opening{display:none}
  .hero.bl-expand-ready .hero-content{opacity:1!important;transform:none!important;pointer-events:auto}
  .hero.bl-expand-ready .scroll-cue{color:#fff}
}
/* White launcher from user's reference. Keep Boklyft identity and existing click behavior. */
.chat-launcher{
  background:rgba(255,255,255,.98)!important; color:#13213a!important;
  border:1px solid rgba(8,20,45,.10)!important; border-radius:999px!important;
  padding:10px 19px!important; min-height:53px!important; gap:10px!important;
  font-size:14px!important; font-weight:650!important; letter-spacing:-.015em;
  box-shadow:0 8px 28px rgba(8,20,45,.12)!important;
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
.chat-launcher::before{
  content:""!important; display:inline-block!important; flex:none;
  width:19px!important; height:19px!important; border:0!important;
  border-radius:0!important; box-shadow:none!important;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2313213a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.3a8.4 8.4 0 0 1-8.5 8.2 9.7 9.7 0 0 1-3.8-.8L3.5 20l1.2-4.1A8.1 8.1 0 0 1 3.5 11.3a8.5 8.5 0 0 1 17 0Z'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.chat-launcher:hover{background:#fff!important;box-shadow:0 12px 32px rgba(8,20,45,.16)!important;transform:translateY(-1px)}
.chat-launcher:active,.chat-launcher.bl-pressed{transform:scale(.975)}
/* Modal: clear paper-white surfaces, gentle hierarchy, not a gaming dashboard. */
.boklyft-chat-window{
  width:min(456px,calc(100vw - 26px));
  max-height:min(760px,calc(100dvh - 32px));
  border-radius:28px!important; border:1px solid rgba(8,20,45,.11)!important;
  background:#fff!important; color:#13213a!important;
  box-shadow:0 32px 92px rgba(8,20,45,.19)!important;
  overflow:hidden; font-family:Inter,ui-sans-serif,system-ui,sans-serif;
}
.boklyft-chat-window::backdrop{background:rgba(8,20,45,.22);backdrop-filter:blur(3px)}
.boklyft-chat-window .chat{
  background:#fff!important; padding:23px 23px 19px!important;
  max-height:min(760px,calc(100dvh - 32px));
}
.boklyft-chat-window .chat-top{padding:0 52px 17px 0;border-color:#eceef2;min-height:55px}
.boklyft-chat-window .chat-brand{font-size:14px;line-height:1.35;color:#13213a}
.boklyft-chat-window .chat-monogram{background:#f0f3ff;color:#355bff;border:1px solid #e1e7ff}
.boklyft-chat-window .online{font-size:11px;color:#64748b}
.boklyft-chat-window .chat-window-close{
  top:16px;right:15px;width:34px;height:34px;display:grid;place-items:center;
  border-radius:50%;color:#48566a;background:#f5f6f7;
  font-size:22px;line-height:1;
}
.boklyft-chat-window .chat-window-close:hover{background:#e9edf3}
.boklyft-chat-window .bl-chat-welcome{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  align-items:center;gap:13px;padding:26px 0 22px;
  min-height:205px; border-bottom:1px solid #f2f3f5;
}
.boklyft-chat-window .bl-welcome-eyebrow{display:block;font-size:10px;letter-spacing:.11em;font-weight:700;color:#64748b;margin-bottom:12px}
.boklyft-chat-window .bl-chat-welcome h2{
  margin:0 0 9px;color:#1a2841;font-size:28px;font-weight:650;line-height:1.04;letter-spacing:-.052em;
}
.boklyft-chat-window .bl-chat-welcome p{
  margin:0;max-width:220px;color:#5d687c;font-size:12px;line-height:1.63;
}
.boklyft-chat-window .bl-welcome-art{position:relative;height:160px;min-width:0;isolation:isolate}
.boklyft-chat-window .bl-mini-card{
  position:absolute;background:#fff;border:1px solid #e5e8ee;border-radius:16px;
  box-shadow:0 12px 24px rgba(8,20,45,.08);
  padding:13px 12px;display:flex;flex-direction:column;
}
.boklyft-chat-window .bl-mini-card--date{
  width:116px;min-height:129px;top:2px;left:8px;transform:rotate(-2deg);z-index:2;
}
.boklyft-chat-window .bl-mini-card--people{
  width:98px;min-height:104px;right:1px;bottom:0;transform:rotate(8deg);
  background:#f8f9fe;
}
.boklyft-chat-window .bl-mini-card-icon{
  display:grid;place-items:center;width:39px;height:39px;background:#eaf0ff;
  border:1px solid #dbe3ff;border-radius:12px;color:#355bff;
}
.boklyft-chat-window .bl-mini-card-icon svg{width:19px;height:19px}
.boklyft-chat-window .bl-mini-card strong{display:block;margin-top:12px;color:#14213c;font-size:20px;letter-spacing:-.04em}
.boklyft-chat-window .bl-mini-card small{color:#778296;font-size:10px;margin-top:2px}
.boklyft-chat-window .bl-mini-card--people .bl-mini-card-icon{background:#f2f4f7;border-color:#eceef2;color:#293650}
.boklyft-chat-window.bl-welcome-ready .messages{
  height:0!important;min-height:0!important;max-height:0!important;flex:0;overflow:hidden;padding:0!important;
}
.boklyft-chat-window:not(.bl-welcome-ready) .bl-chat-welcome{display:none}
.boklyft-chat-window:not(.bl-welcome-ready) .messages{
  height:min(390px,44dvh);max-height:44dvh;min-height:180px;
  padding:20px 0;gap:12px;
}
.boklyft-chat-window .msg{animation:none;max-width:89%;font-size:13px;line-height:1.6;padding:13px 15px;border-radius:17px}
.boklyft-chat-window .msg.bot{background:#f7f8fb;border-color:#ecedf0;border-bottom-left-radius:5px}
.boklyft-chat-window .msg.user{background:#eaf0ff;color:#112345;border:1px solid #dbe3ff;border-bottom-right-radius:5px}
.boklyft-chat-window .quick{margin:18px 0 13px;gap:7px}
.boklyft-chat-window .quick button{
  background:#fff;border:1px solid #dfe4ee;color:#243550;
  border-radius:999px;font-size:12px;font-weight:560;padding:10px 13px;box-shadow:none;
}
.boklyft-chat-window .quick button:hover{border-color:#b9c8f3;background:#f9faff}
.boklyft-chat-window .voice-demo-row{
  border-radius:17px;background:#f8f9fb;border:1px solid #ebedf1;
  padding:10px;margin:0 0 12px;gap:8px;
}
.boklyft-chat-window .voice-demo-note{font-size:10px;color:#7a8492}
.boklyft-chat-window .voice-demo-button{background:#fff;border-color:#dfe4ee;color:#22324b}
.boklyft-chat-window .voice-demo-button[data-listening="true"]{background:#112345;color:#fff}
.boklyft-chat-window .chat-input{align-items:center;gap:0;position:relative}
.boklyft-chat-window .chat-input input{
  background:#fff;border:1px solid #b7beca;border-radius:999px!important;
  height:52px;padding:13px 58px 13px 17px;font-size:14px!important;
  outline:none;box-shadow:none;
}
.boklyft-chat-window .chat-input input:focus{border-color:#5573cf;box-shadow:0 0 0 3px rgba(53,91,255,.11)}
.boklyft-chat-window .chat-input button{
  position:absolute;right:5px;top:50%;transform:translateY(-50%);
  height:42px;width:42px;border-radius:999px!important;border:0;
  color:#fff;background:#152340;display:grid;place-items:center;font-size:20px;
}
.boklyft-chat-window .chat-input button:active{transform:translateY(-50%) scale(.96)}
.boklyft-chat-window .demo-privacy{padding:11px 2px 0;margin:0;color:#858f9e;font-size:10px;line-height:1.55}
@media(max-width:600px){
  .boklyft-chat-window{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;max-height:calc(100dvh - 16px);border-radius:24px!important}
  .boklyft-chat-window .chat{max-height:calc(100dvh - 16px);padding:18px 16px 15px!important}
  .boklyft-chat-window .bl-chat-welcome{padding:18px 0 16px;min-height:160px}
  .boklyft-chat-window .bl-chat-welcome h2{font-size:25px}
  .boklyft-chat-window .bl-welcome-art{height:138px}
  .boklyft-chat-window .bl-mini-card--date{transform:scale(.86) rotate(-2deg);transform-origin:top left}
  .boklyft-chat-window .bl-mini-card--people{transform:scale(.86) rotate(8deg);transform-origin:bottom right}
  .boklyft-chat-window .voice-demo-note{font-size:9px}
}
@media(max-width:345px){
  .boklyft-chat-window .bl-chat-welcome{grid-template-columns:1fr}
  .boklyft-chat-window .bl-welcome-art{display:none}
}
@media(prefers-reduced-motion:reduce){
  .chat-launcher,.boklyft-chat-window .quick button,.boklyft-chat-window .chat-window-close{transition:none!important;transform:none!important}
}


/* R4 — a visible gesture hint on the original Scroll Expand card.
   Visible from frame one, fades with the existing introductory headline,
   never blocks pointer/touch or keyboard interaction. */
.hero.bl-expand-ready .bl-opening-scroll-hint{
  position:absolute;left:50%;bottom:calc(20.5% + 23px);z-index:4;
  transform:translateX(-50%);
  display:flex;align-items:center;justify-content:center;gap:10px;
  white-space:nowrap;max-width:calc(86vw - 24px);
  padding:11px 16px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(7,18,38,.64);
  box-shadow:0 8px 28px rgba(7,18,38,.13);
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
  color:#fff;font:700 11px/1.1 Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:.145em;
}
.hero.bl-expand-ready .bl-opening-scroll-hint svg{
  width:16px;height:16px;flex:none;stroke-width:1.65;
  animation:bl-scroll-nudge 2.6s cubic-bezier(.25,.65,.3,1) infinite;
}
@keyframes bl-scroll-nudge {
  0%,22%,100%{transform:translateY(0)}
  54%{transform:translateY(3px)}
}
.hero.bl-expand-ready .scroll-cue{opacity:0;visibility:hidden;pointer-events:none}
/* Send = quiet paper-plane, not a large filled circle or lone unicode arrow.
   Keep the original button element, accessible label and submission handling. */
.demo-shell .chat-input button,
.boklyft-chat-window .chat-input button{
  font-size:0!important;
  width:42px;height:42px;min-width:42px;
  background:#f0f3fb!important;
  color:#192c55!important;
  border:1px solid rgba(25,44,85,.075)!important;
  border-radius:50%!important;
  box-shadow:none!important;
  display:grid;place-items:center;
  -webkit-appearance:none;appearance:none;
}
.demo-shell .chat-input button::before,
.boklyft-chat-window .chat-input button::before{
  content:"";display:block;flex:none;
  width:19px;height:19px;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231b315e' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E") center/contain no-repeat;
}
.demo-shell .chat-input button:hover:not(:disabled),
.boklyft-chat-window .chat-input button:hover:not(:disabled){
  background:#e5ebfd!important;
  border-color:#cdd7f5!important;
}
.demo-shell .chat-input button:focus-visible,
.boklyft-chat-window .chat-input button:focus-visible{
  outline:2px solid #355bff;outline-offset:2px;
}
.demo-shell .chat-input button:disabled,
.boklyft-chat-window .chat-input button:disabled{
  opacity:.45!important;cursor:not-allowed;
}
@media(max-width:760px){
  .hero.bl-expand-ready .bl-opening-scroll-hint{bottom:calc(16% + 17px);padding:9px 13px;gap:8px;font-size:10px}
}
@media(max-height:600px){
  .hero.bl-expand-ready .bl-opening-scroll-hint{bottom:calc(20% + 8px);padding:7px 11px}
}
@media(prefers-reduced-motion:reduce){
  .bl-opening-scroll-hint svg{animation:none!important}
}
