/* Tokens. Every size elsewhere is in em of the body font-size; html stays 16px. */
:root {
  /* page ground: v3's warm paper (his ruling 2026-11-14, "bg color eta use koro"); text on it is dark ink */
  --ground: #E8DFD0;
  --paper: 232, 223, 208;  /* --ground as r,g,b for the photo veils that fade into it */
  --raised: #173B2C;       /* green panels: menu, drawer, bottom bar, cards, pattern bands (white type) */
  --deep: #0F2B20;         /* the deeper green: footer, drawer total */
  --bar: #173B2C;          /* top header bar only (his ruling 2026-11-14): panels share it since his ruling 2026-11-15 (every wine surface became green) */
  --ink: #24211D;
  --ink-2: #5D564C;
  --ink-75: rgba(36, 33, 29, .75);
  --ink-50: rgba(36, 33, 29, .55);
  --ink-25: rgba(36, 33, 29, .2);
  --ink-inv: #FFFFFF;      /* type on an --ink fill */
  --tint: rgba(36, 33, 29, .06);
  --rule: #B5A891;         /* v3's #cfc3b0 deepened, so it still shows on the darker #E8DFD0 */
  --surf: var(--ground);   /* the surface a field or outlined button sits on */
  --btn-fill: var(--raised);
  --btn-on: #FFFFFF;
  --btn-fill-h: var(--ink);
  --cs: light;
  --scrim: rgba(0, 0, 0, .4);

  /* the Noto Bengali faces carry only the taka sign (text= subset), so ৳ matches the text it sits in */
  --serif: 'Cormorant Garamond', 'Noto Serif Bengali', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif;

  --gut: 4.5em;            /* side gutter: 41px @1440 */
  --wrap: 151em;           /* container */
  --wrap-n: 122em;         /* narrow text container */
  --tp-col: 69.5em;        /* TextPic text column */
  --gap: 14em;             /* section gap */
  --gap-t: 7em;            /* tight gap */
  --first: 10em;           /* first module under a hero */
  --hdr: 8em;              /* sticky bar height */
  --mbar: 0px;             /* phone bottom bar height (set ≤1024) */
  --radius-field: 3px;

  --pattern: url('../media/pattern.svg');
  --t-btn: background-color .3s, color .3s, border-color .3s, opacity .3s, transform .3s;
  /* motion tokens (his rule 2026-11-15: every state change animates, calm, ease-out) */
  --t-fast: .3s;
  --t-med: .45s;
  --t-slow: .6s;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --e-out: cubic-bezier(0, 0, 0, 1);
}

/* dark surfaces: everything on them keeps white type (green panels, the green bar, photos with text) */
.pattern, #menu, #mbar, .hd-bar, #book, .about, .ft-tile, .card, .lb, .hero--sub,
body[data-hero="sub"] .hd-top, body[data-hero="home"] .hd-top, .hs, .isc-v-b .isc-head, .sv-sq, .sv-clock, .sv-arc,
.m-host, .m-meetingrooms__card, .m-events__cal, .c-ecard, .c-ncard, .m-newsdetail__box, .m-location__map, .c-vcard, .c-lightbox {
  --ink: #FFFFFF;
  --ink-2: rgba(255, 255, 255, .75);
  --ink-75: rgba(255, 255, 255, .75);
  --ink-50: rgba(255, 255, 255, .5);
  --ink-25: rgba(255, 255, 255, .25);
  --ink-inv: var(--raised);
  --tint: rgba(255, 255, 255, .08);
  --rule: #FFFFFF;
  --surf: var(--raised);
  --btn-fill: #FFFFFF;
  --btn-on: var(--raised);
  --btn-fill-h: rgba(255, 255, 255, .75);
  --cs: dark;
  color: var(--ink);
}
.hd-bar { --surf: var(--bar); --btn-on: var(--bar); --ink-inv: var(--bar); }
/* the footer sits on the cream page ground with dark ink (his ruling 2026-11-15); only its photo tiles stay white-on-photo */
#ftr .ft-low.pattern {
  --ink: #24211D; --ink-2: #5D564C; --ink-75: rgba(36, 33, 29, .75); --ink-50: rgba(36, 33, 29, .55); --ink-25: rgba(36, 33, 29, .2);
  --ink-inv: #FFFFFF; --tint: rgba(36, 33, 29, .06); --rule: #B5A891; --surf: var(--ground); --btn-fill: var(--raised); --btn-on: #FFFFFF;
  --btn-fill-h: var(--ink); --cs: light; color: var(--ink);
  background-color: var(--ground); background-image: url('../media/pattern-ink.svg');
}

/* fluid rule: 0.625vw capped at 10px on desktop, 10px on tablet, 9.6px on phone */
body { font-size: min(.625vw, 10px); }
@media (max-width: 1024px) {
  body { font-size: 10px; }
  :root { --hdr: 60px; --mbar: 64px; }
}
@media (max-width: 767px) {
  body { font-size: 9.6px; }
  :root { --gut: 3em; --gap: 5.5em; --gap-t: 2.5em; --first: 6em; --hdr: 53px; }
}
