/* Rasa Indian Cuisine — public theme stylesheet.

   Page bodies are authored with inline styles in the templates to stay
   byte-faithful to the design export. This file carries:
     - brand tokens (the single source of truth — :root variables);
     - reset, keyframes;
     - :hover states (inline styles can't express :hover);
     - the responsive nav + full-screen cream mobile drawer (hamburger → X);
     - the announcement marquee, dotted leader, ogee arch + star anise helpers,
       menu jump-flash, footer grid, gallery grid and cookie-banner theme. */

/* ── Brand tokens — ONE place. Templates mirror these hexes inline for export
      fidelity; author all *new* CSS against the variables. ─────────────────── */
:root{
  --rasa-cream:#FBF1DD;          /* ground                 */
  --rasa-cream-2:#FCF4E6;        /* lighter ground         */
  --rasa-card:#FDF8EE;           /* card cream             */
  --rasa-panel:#F6EAD4;          /* callout panel          */
  --rasa-cocoa:#2A1C12;          /* deep cocoa, dark bands */
  --rasa-ink:#3A2A1C;            /* headings ink           */
  --rasa-body:#5A4636;           /* body brown             */
  --rasa-muted:#6A5746;          /* muted                  */
  --rasa-muted-2:#54402F;        /* deep muted             */
  --rasa-clay:#BE5A2B;           /* primary clay terracotta*/
  --rasa-terracotta:#C9692F;     /* warm terracotta        */
  --rasa-clay-deep:#A24A22;      /* deep clay (hover)      */
  --rasa-clay-text:#7A3F1E;      /* clay text on light     */
  --rasa-brass:#E0A33C;          /* brass gold accent      */
  --rasa-gold-deep:#9A6230;      /* deep gold              */
  --rasa-gold-light:#C08A4A;     /* light gold             */
  --rasa-foot-1:#C4AC86;         /* footer creams          */
  --rasa-foot-2:#D8C4A4;
  --rasa-foot-3:#B49B78;
  --rasa-veg:#A9C07A;            /* dietary green          */
  --rasa-veg-2:#8D9A60;
  --rasa-display:'Bricolage Grotesque',Georgia,serif;        /* wordmark + engraved display */
  --rasa-serif:'Bricolage Grotesque',Georgia,serif; /* section headings + italics  */
  --rasa-sans:'Mukta',system-ui,-apple-system,sans-serif; /* body, UI, eyebrows   */
}

/* ── Reset (mirrors the export global style) ─────────────────────────────── */
*{box-sizing:border-box;margin:0;padding:0;}
html{min-height:100%;-webkit-text-size-adjust:100%;background-color:var(--rasa-cocoa);}
body{min-height:100vh;min-height:100svh;background:var(--rasa-cocoa);color:var(--rasa-ink);font-family:var(--rasa-sans);
  display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body > main{flex:1 0 auto;background:var(--rasa-cream);}
body > footer{flex-shrink:0;}
button{font-family:inherit;color:inherit;}
img{display:block;max-width:100%;}
a{color:inherit;}
h1,h2,h3{text-wrap:balance;}
::selection{background:var(--rasa-brass);color:var(--rasa-cocoa);}

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes rasaFade{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:translateY(0);}}
@keyframes rasaMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ── Hover states (inline base appearance; :hover wins with !important) ───── */
.rasa-hov-clay:hover{background:var(--rasa-clay-deep) !important;}
.rasa-hov-terracotta:hover{background:var(--rasa-terracotta) !important;}
.rasa-hov-cocoa:hover{background:#3A2618 !important;}
.rasa-hov-fill-clay:hover{background:var(--rasa-clay) !important;color:var(--rasa-cream-2) !important;}
.rasa-hov-fill-clay-b:hover{background:var(--rasa-clay) !important;color:var(--rasa-cream-2) !important;border-color:var(--rasa-clay) !important;}
.rasa-hov-border-clay:hover{border-color:var(--rasa-clay) !important;}
.rasa-hov-border-cream:hover{border-color:var(--rasa-cream) !important;}
.rasa-hov-ghost-cream:hover{border-color:var(--rasa-cream) !important;background:rgba(251,241,221,.08) !important;}
.rasa-hov-border-gold:hover{border-color:var(--rasa-brass) !important;}
.rasa-hov-outline-clay:hover{background:rgba(190,90,43,.07) !important;}
.rasa-hov-gold-text:hover{color:var(--rasa-brass) !important;}
.rasa-hov-clay-text:hover{color:var(--rasa-clay) !important;}
.rasa-hov-white:hover{color:#fff !important;}
.rasa-hov-jumplink:hover{border-bottom-color:var(--rasa-clay) !important;}

/* ── Responsive nav (replaces the export's JS isMobile/<900 switch) ──────── */
.rasa-desktop-nav{display:flex;}
.rasa-mobile-btn{display:none;}
@media (max-width:899px){
  .rasa-desktop-nav{display:none;}
  .rasa-mobile-btn{display:inline-flex;}
}

/* ── Hamburger → X morph (same button, animated in place) ────────────────── */
.rasa-bar{position:absolute;left:9px;width:26px;height:2.5px;background:var(--rasa-ink);border-radius:2px;
  transform-origin:center;transition:transform .32s cubic-bezier(.6,.05,.3,1),opacity .2s ease,top .32s cubic-bezier(.6,.05,.3,1);}
.rasa-bar-top{top:15px;} .rasa-bar-mid{top:21px;} .rasa-bar-bot{top:27px;}
body.rasa-drawer-lock .rasa-bar-top{top:21px;transform:rotate(45deg);}
body.rasa-drawer-lock .rasa-bar-mid{opacity:0;transform:scaleX(.3);}
body.rasa-drawer-lock .rasa-bar-bot{top:21px;transform:rotate(-45deg);}

/* ── Full-screen cream mobile drawer ─────────────────────────────────────── */
.rasa-drawer{display:none;}
.rasa-drawer.is-open{display:flex;}
body.rasa-drawer-lock{overflow:hidden;}

/* ── Smooth in-page jumps (menu "jump to" + announcement deep-links) ─────── */
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

/* ── Announcement marquee (condenses to a static centered row on phones) ─── */
.rasa-marquee-track{display:flex;width:max-content;animation:rasaMarquee 40s linear infinite;}
.rasa-marquee-track:hover{animation-play-state:paused;}
@media (prefers-reduced-motion:reduce){.rasa-marquee-track{animation:none;}}
/* On phones the marquee gives way to a single static centered line. */
.rasa-announce-static{display:none;}
@media (max-width:560px){
  .rasa-announce-marquee{display:none;}
  .rasa-announce-static{display:flex;}
}

/* ── Dotted leader between a menu item name and its price ─────────────────── */
.rasa-leader{flex:1;align-self:flex-end;margin:0 6px 5px;border-bottom:1.5px dotted rgba(154,98,48,.5);min-width:14px;}

/* ── Ogee arch photo masks (two shapes: pointed + softer rounded) ─────────── */
.rasa-arch{clip-path:url(#rasaArch);}
.rasa-arch-soft{clip-path:url(#rasaArchSoft);}

/* ── Star anise divider mark (the ✦ glyph + flanking hairlines) ──────────── */
.rasa-anise{display:inline-flex;align-items:center;justify-content:center;color:var(--rasa-brass);line-height:1;}
.rasa-divider{display:flex;align-items:center;justify-content:center;gap:14px;color:var(--rasa-brass);}
.rasa-divider::before,.rasa-divider::after{content:"";flex:1;max-width:120px;height:1px;
  background:linear-gradient(to right,rgba(224,163,60,0),rgba(224,163,60,.6));}
.rasa-divider::after{background:linear-gradient(to left,rgba(224,163,60,0),rgba(224,163,60,.6));}

/* ── Footer columns: brand block plus three link columns spanning the full
      width, 2-up at tablet, single column on phones. ──────────────────────── */
.rasa-footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.15fr;align-items:start;}
@media (max-width:860px){ .rasa-footer-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .rasa-footer-grid{grid-template-columns:1fr;} }

/* Hide the menu jump bar's scrollbar (the horizontal pill rail). */
.rasa-jumpbar::-webkit-scrollbar{display:none;}

/* Gallery: three tiles — 3-up on desktop/tablet, stacked on phones. */
.rasa-gallery{grid-template-columns:repeat(3,1fr);}
@media (max-width:640px){ .rasa-gallery{grid-template-columns:1fr;} }

/* Hero on short / landscape viewports: cap to the visible height so the
   bottom-aligned headline stays in view instead of dropping below the fold. */
@media (max-height:560px){
  .rasa-hero{min-height:100vh;min-height:100svh;}
}

/* ── Cookie consent banner — flat jali-corner treatment.
   The engine injects #blackrail-cookie-css AFTER this file, so colours use
   !important; layout/visibility is left to the engine. Intentional geometric
   corner detail, no top stripe, gradients, shine, or generic ornament wash. */
.blackrail-cookie-banner{
  position:fixed;overflow:hidden;isolation:isolate;
  --rasa-cookie-jali:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'%3E%3Cpath d='M7 47V20C7 12.8 12.8 7 20 7h27' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M15 47V23c0-4.4 3.6-8 8-8h24' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M7 36h13c4.4 0 8-3.6 8-8V15' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='15' cy='36' r='1.5' fill='%23000'/%3E%3Ccircle cx='28' cy='15' r='1.5' fill='%23000'/%3E%3C/svg%3E");
  background:var(--rasa-cocoa) !important;color:var(--rasa-cream-2) !important;
  border:1px solid rgba(224,163,60,.46) !important;
  border-radius:8px !important;box-shadow:0 12px 34px rgba(0,0,0,.36) !important;
  font-family:'Mukta',system-ui,-apple-system,sans-serif !important;
  /* Clear the corner jali flourishes so the text/buttons never overlap them. */
  padding:16px 72px !important;
}
.blackrail-cookie-banner::before,.blackrail-cookie-banner::after{content:"" !important;position:absolute;width:48px;height:48px;background:var(--rasa-brass);opacity:.3;pointer-events:none;z-index:0;-webkit-mask:var(--rasa-cookie-jali) center/contain no-repeat;mask:var(--rasa-cookie-jali) center/contain no-repeat;}
.blackrail-cookie-banner::before{left:10px;top:10px;}
.blackrail-cookie-banner::after{right:10px;bottom:10px;transform:rotate(180deg);}
.blackrail-cookie-banner > *{position:relative;z-index:1;}
.blackrail-cookie-banner p{color:rgba(252,244,230,.9) !important;}
.blackrail-cookie-banner button{position:relative;overflow:hidden;border-radius:5px !important;font-weight:700 !important;letter-spacing:.02em;border:1px solid transparent !important;}
.blackrail-cookie-banner button::before{content:none !important;}
.blackrail-cookie-banner .blackrail-cookie-accept{background:var(--rasa-clay) !important;color:var(--rasa-cream-2) !important;border-color:var(--rasa-clay) !important;}
.blackrail-cookie-banner .blackrail-cookie-accept:hover{background:var(--rasa-clay-deep) !important;color:var(--rasa-cream-2) !important;border-color:var(--rasa-clay-deep) !important;}
.blackrail-cookie-banner .blackrail-cookie-decline{background:#342318 !important;color:var(--rasa-cream-2) !important;border-color:rgba(224,163,60,.5) !important;}
.blackrail-cookie-banner .blackrail-cookie-decline:hover{background:#412B1C !important;color:#fff !important;border-color:var(--rasa-brass) !important;}
/* Phones: the banner stacks and centres, leaving no room for corner flourishes — drop them and restore compact padding. */
@media (max-width:640px){
  .blackrail-cookie-banner{padding:14px !important;}
  .blackrail-cookie-banner::before,.blackrail-cookie-banner::after{display:none !important;}
}
