/* ==========================================================================
   TARIKAT ISLAM & AKHRABARI — Main Stylesheet
   Version: 1.0.0

   TABLE OF CONTENTS
   01. Design tokens (CSS variables)
   02. Reset & base
   03. Typography helpers
   04. Layout utilities
   05. Buttons & links
   06. Site header (sticky)
   07. Desktop navigation capsule
   08. Mobile menu toggle (hamburger)
   09. Mobile menu overlay
   10. Hero — the drifting painting wall
   11. Two doors — Artist / AKHRABARI
   12. From the studio
   13. AKHRABARI channel (film strip + rotating badge)
   14. Footer / contact
   15. Lightbox
   16. Scroll-reveal animations
   17. Responsive breakpoints
   18. Reduced motion
   ========================================================================== */


/* Bricks integration: Bricks clamps every element with [class*="brxe-"] to max-width:100%.
   The design (e.g. the painting-wall track) needs unclamped boxes; :where() keeps this at zero specificity. */
:where([class*="brxe-"]:not(img)) { max-width: none; }

/* Bricks' base stylesheet restyles bare elements (figure/figcaption width:100%, heading sizes, blockquote…).
   These zero-specificity rules restore the browser defaults the HTML theme was designed against;
   every class in this file still wins over them. */
html { font-size: 100%; }
body { overflow-wrap: normal; word-wrap: normal; }   /* Bricks: break-word → split long display words mid-word */
:where(figure) { margin: 1em 40px; width: auto; }
:where(figcaption) { margin: 0; width: auto; color: inherit; font-size: inherit; text-align: inherit; }
:where(h1) { font-size: 2em;    margin: .67em 0; }
:where(h2) { font-size: 1.5em;  margin: .83em 0; }
:where(h3) { font-size: 1.17em; margin: 1em 0; }
:where(h4) { font-size: 1em;    margin: 1.33em 0; }
:where(h5) { font-size: .83em;  margin: 1.67em 0; }
:where(h6) { font-size: .67em;  margin: 2.33em 0; }
:where(h1, h2, h3, h4, h5, h6) { line-height: inherit; text-rendering: auto; }
:where(p) { margin: 1em 0; }
:where(blockquote) { margin: 1em 40px; padding: 0; border: 0; font-family: inherit; font-size: inherit; position: static; }
:where(label) { display: inline; margin: 0; color: inherit; font-weight: inherit; }
:where(sup) { font-size: smaller; line-height: normal; position: static; vertical-align: super; }
:where(small) { font-size: smaller; }


/* ==========================================================================
   01. DESIGN TOKENS
   Change colours, fonts and spacing for the whole theme here.
   ========================================================================== */
:root {
  /* Palette — drawn from the paintings: plaster, earth, terracotta */
  --c-plaster:      #ebe5da;   /* page background */
  --c-plaster-2:    #e2dacc;   /* subtle panels */
  --c-ink:          #1a1612;   /* primary text / dark grounds */
  --c-ink-2:        #241d17;   /* dark ground, slightly lifted */
  --c-ink-3:        #0e0b09;   /* deepest — film frame */
  --c-muted:        #6b5f52;   /* secondary text on light */
  --c-muted-dark:   #a99d8a;   /* secondary text on dark */
  --c-terracotta:   #a8431f;   /* brand accent (AKHRABARI) */
  --c-terracotta-2: #c25530;   /* accent hover */
  --c-clay:         #d98a63;   /* accent on dark grounds */
  --c-cream:        #f6eee3;   /* text on terracotta */
  --c-line:         rgba(26, 22, 18, .14);
  --c-line-dark:    rgba(235, 229, 218, .22);

  /* Typography */
  --f-display: 'Poppins Display', 'Poppins', system-ui, -apple-system, sans-serif;
  --f-body:    'Poppins', system-ui, -apple-system, sans-serif;
  --f-bangla:  'Poppins', 'Tiro Bangla', 'Noto Serif Bengali', serif;   /* Latin letters in Bangla text → Poppins; Bengali glyphs fall through to Tiro Bangla */

  /* Spacing */
  --gutter:    clamp(20px, 3.5vw, 48px);
  --section-y: clamp(80px, 10vw, 150px);
  --max-w:     1440px;

  /* Header height — used by hero + anchor offsets */
  --header-h: 66px;

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-plaster);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lock page scroll while the mobile menu or lightbox is open */
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--c-terracotta); }

button { font: inherit; color: inherit; }

::selection { background: var(--c-terracotta); color: #fff; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader only text */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip link for keyboard users */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; background: var(--c-ink); color: var(--c-plaster);
  border-radius: 999px; transform: translateY(-150%); transition: transform .3s;
}
.skip-link:focus { transform: none; }


/* ==========================================================================
   03. TYPOGRAPHY HELPERS
   ========================================================================== */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .95;
  margin: 0;
}

.bangla { font-family: var(--f-bangla); letter-spacing: 0; }

/* Small uppercase label used above headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-terracotta);
}
.eyebrow--dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}

.text-pretty { text-wrap: pretty; }


/* ==========================================================================
   04. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }


/* ==========================================================================
   05. BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn--dark   { background: var(--c-ink); color: var(--c-plaster); }
.btn--dark:hover { background: var(--c-terracotta); color: #fff; }
.btn--ghost  { border-color: rgba(26, 22, 18, .35); }
.btn--ghost:hover { border-color: var(--c-terracotta); }
.btn--light  { background: var(--c-plaster); color: var(--c-ink); }
.btn--light:hover { background: var(--c-clay); color: var(--c-ink); }

/* Arrow link with a line that grows on hover */
.line-link {
  display: inline-flex; align-items: center; gap: 12px; font-size: 14px;
}
.line-link::before {
  content: ""; width: 40px; height: 1px; background: currentColor;
  transition: width .4s var(--ease-out);
}
a:hover .line-link::before, .line-link:hover::before { width: 64px; }


/* ==========================================================================
   06. SITE HEADER (sticky)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(235, 229, 218, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s;
}
/* Added by JS once the page scrolls */
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(26, 22, 18, .35); }

/* While the mobile menu is open the header floats above it (keeps Close visible) */
body.menu-open .site-header {
  z-index: 90; background: transparent; border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.menu-open .brand,
body.menu-open .brand:hover { color: var(--c-plaster); }
body.menu-open .brand__role { color: var(--c-muted-dark); }
body.menu-open .pill-akhrabari { opacity: 0; pointer-events: none; }
body.menu-open .menu-toggle { background: var(--c-plaster); color: var(--c-ink); }
.pill-akhrabari { transition: opacity .3s; }
.menu-toggle { transition: background .4s, color .4s; }

.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Brand: round "ত" monogram + name */
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: var(--c-ink); }
.brand__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--c-terracotta); color: var(--c-cream);
  display: grid; place-items: center;
  font-family: var(--f-bangla); font-size: 19px; line-height: 1; padding-top: 3px;
  transition: transform .6s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--f-display); font-size: 19px; line-height: 1; letter-spacing: -.01em; }
.brand__role { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted); }

.header-contact {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid var(--c-terracotta); padding-bottom: 3px;
}
.header-contact span { color: var(--c-terracotta); }


/* ==========================================================================
   07. DESKTOP NAVIGATION CAPSULE
   ========================================================================== */
.nav-capsule {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; background: var(--c-ink); border-radius: 999px;
}

.nav-capsule__link {
  display: flex; align-items: baseline; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  color: var(--c-plaster);
  font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav-capsule__link small { font-size: 9px; color: var(--c-clay); letter-spacing: .1em; }
.nav-capsule__link:hover,
.nav-capsule__link.is-active { background: var(--c-plaster); color: var(--c-ink); }
.nav-capsule__link:hover small { color: var(--c-terracotta); }

/* The AKHRABARI pill — always highlighted */
.nav-capsule__akhrabari {
  display: flex; align-items: center; gap: 8px;
  margin-left: 4px; padding: 8px 16px; border-radius: 999px;
  background: var(--c-terracotta); color: var(--c-cream);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; white-space: nowrap;
  transition: background .25s;
}
.nav-capsule__akhrabari:hover { background: var(--c-terracotta-2); color: #fff; }
.nav-capsule__akhrabari .bangla { font-size: 14px; font-weight: 400; }


/* ==========================================================================
   08. MOBILE MENU TOGGLE (hamburger → close)
   ========================================================================== */
.header-mobile { display: none; align-items: center; gap: 6px; }

.pill-akhrabari {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
  border-radius: 999px; background: var(--c-terracotta); color: var(--c-cream);
  font-family: var(--f-bangla); font-size: 15px; line-height: 1;
}
.pill-akhrabari:hover { color: #fff; }

.menu-toggle {
  position: relative; z-index: 80;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 42px; padding: 0 8px 0 18px;
  border: 0; border-radius: 999px; background: var(--c-ink); color: var(--c-plaster);
  font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
/* Label swaps between "Menu" and "Close" */
.menu-toggle__label { position: relative; display: inline-block; height: 1.2em; overflow: hidden; }
.menu-toggle__label span { display: block; transition: transform .5s var(--ease-in-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__label span { transform: translateY(-100%); }

/* Two-line burger icon inside a circle */
.menu-toggle__icon {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-terracotta);
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--c-cream); border-radius: 2px;
  transition: transform .5s var(--ease-in-out), top .5s var(--ease-in-out);
}
.menu-toggle__icon::before { top: 11px; }
.menu-toggle__icon::after  { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 13.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after  { top: 13.5px; transform: rotate(-45deg); }


/* ==========================================================================
   09. MOBILE MENU OVERLAY
   Full-screen sheet that opens with a circular reveal from the toggle
   button. Links rise in one by one; a painting preview changes as you
   hover/focus each link.
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 28px;
  background: var(--c-ink); color: var(--c-plaster);
  overflow-y: auto; overflow-x: hidden;
  /* circle starts at the toggle button (set by JS via --mx / --my) */
  clip-path: circle(0 at var(--mx, 90%) var(--my, 32px));
  visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at var(--mx, 90%) var(--my, 32px));
  visibility: visible;
  transition: clip-path .8s var(--ease-in-out), visibility 0s;
}

/* Giant faded Bangla word behind the menu */
.mobile-menu__watermark {
  position: absolute; right: -0.08em; bottom: -0.18em; pointer-events: none;
  font-family: var(--f-bangla); font-size: clamp(160px, 52vw, 420px); line-height: 1;
  color: var(--c-ink-2); white-space: nowrap;
}

.mobile-menu__grid {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-content: start;
}

.mobile-menu__list { list-style: none; margin: 0; padding: 0; counter-reset: menu; }

.mobile-menu__item {
  overflow: hidden;   /* masks the rising text */
  border-bottom: 1px solid var(--c-line-dark);
}

.mobile-menu__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  font-family: var(--f-display); font-size: clamp(38px, 10vw, 64px); line-height: 1;
  letter-spacing: -.02em;
  transform: translateY(110%);
  transition: transform .7s var(--ease-out), color .25s, padding .4s var(--ease-out);
}
.mobile-menu__link small {
  font-family: var(--f-body); font-size: 11px; letter-spacing: .14em; color: var(--c-clay);
  min-width: 22px;
}
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible { color: var(--c-clay); padding-left: 10px; }

/* Stagger: each item waits a little longer (delay set by JS via --i) */
.mobile-menu.is-open .mobile-menu__link {
  transform: none;
  transition-delay: calc(.25s + var(--i, 0) * .06s), 0s, 0s;
}

/* The AKHRABARI item gets its own colour */
.mobile-menu__link--akhrabari { color: var(--c-clay); }
.mobile-menu__link--akhrabari .bangla { font-size: .55em; color: var(--c-plaster); }

/* Painting preview card (hidden on very small phones) */
.mobile-menu__preview {
  display: none; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--c-ink-2);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s .5s, transform .8s .5s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__preview { opacity: 1; transform: none; }
.mobile-menu__preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transition: opacity .5s, transform 1.2s var(--ease-out);
}
.mobile-menu__preview img.is-swapping { opacity: 0; transform: scale(1.05); }
.mobile-menu__preview figcaption {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-size: 11px; letter-spacing: .08em; color: var(--c-plaster);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

/* Footer of the menu: contacts + socials */
.mobile-menu__foot {
  position: relative; margin-top: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px;
  font-size: 13px; line-height: 1.6; color: var(--c-muted-dark);
  opacity: 0; transition: opacity .6s .6s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot strong {
  display: block; margin-bottom: 4px;
  font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-clay);
}
.mobile-menu__foot a { color: var(--c-plaster); }
.mobile-menu__foot a:hover { color: var(--c-clay); }


/* ==========================================================================
   10. HERO — THE DRIFTING PAINTING WALL
   ========================================================================== */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 32px;
}

/* Scroll container — JS drifts it and enables drag */
.wall {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; cursor: grab;
  -webkit-user-select: none; user-select: none;
  touch-action: pan-y;
}
.wall::-webkit-scrollbar { display: none; }
.wall.is-dragging { cursor: grabbing; }

.wall__track {
  display: flex; align-items: flex-end; gap: clamp(28px, 3.5vw, 56px);
  width: max-content; height: clamp(320px, 58vh, 640px);
  padding: 0 var(--gutter);
}

/* One hung painting. Height is set per item with --h (e.g. 82%) */
.artwork {
  margin: 0; height: 100%; flex: none;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  cursor: zoom-in;
}
.artwork img {
  height: var(--h, 100%); width: auto;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 30px 40px -28px rgba(40, 20, 10, .55);
  transition: transform .6s var(--ease-out);
  pointer-events: none;
}
.artwork:hover img { transform: translateY(-8px); }
.artwork figcaption {
  font-size: 11px; letter-spacing: .06em; color: var(--c-muted); white-space: nowrap;
}
.artwork figcaption em { font-style: normal; color: var(--c-ink); }

/* Name + intro under the wall */
.hero__foot {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
}
.hero__title {
  font-size: clamp(60px, 11vw, 184px); line-height: .82; letter-spacing: -.04em;
}
/* letters animate in on load (spans injected by JS) */
.hero__title .char {
  display: inline-block; transform: translateY(.6em); opacity: 0;
  animation: charRise .9s var(--ease-out) forwards;
  animation-delay: calc(var(--ci) * 35ms);
}
@keyframes charRise { to { transform: none; opacity: 1; } }

.hero__aside { display: flex; flex-direction: column; gap: 10px; max-width: 300px; padding-bottom: 6px; }
.hero__aside .bangla { font-size: 20px; color: var(--c-terracotta); }
.hero__aside p { margin: 0; font-size: 14px; line-height: 1.5; }
.hero__hint { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }


/* ==========================================================================
   11. TWO DOORS — ARTIST / AKHRABARI
   ========================================================================== */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.door {
  position: relative; overflow: hidden;
  min-height: min(86vh, 760px);
  padding: clamp(24px, 3.5vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.door__label { position: relative; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.door__text {
  position: relative; margin: 0;
  font-family: var(--f-display); line-height: 1.04; letter-spacing: -.02em;
  font-size: clamp(30px, 3.4vw, 54px); max-width: 12em; text-wrap: pretty;
}
.door__bottom { position: relative; display: flex; flex-direction: column; gap: 18px; }

/* Artist door — portrait */
.door--artist { background: var(--c-ink); color: var(--c-plaster); }
.door--artist:hover { color: var(--c-plaster); }
.door--artist img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 25%;
  filter: grayscale(1) contrast(1.05); opacity: .72;
  transition: transform 1.4s var(--ease-out), opacity .6s;
}
.door--artist::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, .92) 0%, rgba(20, 16, 12, .2) 55%, rgba(20, 16, 12, 0) 100%);
}
.door--artist > * { z-index: 1; }
.door--artist:hover img { transform: scale(1.04); opacity: .85; }

/* AKHRABARI door — terracotta + Bangla wordmark */
.door--akhrabari { background: var(--c-terracotta); color: var(--c-cream); }
.door--akhrabari:hover { color: var(--c-cream); }
.door__wordmark {
  font-family: var(--f-bangla); line-height: 1; margin: 24px 0; transition: transform 1s var(--ease-out);
  white-space: nowrap;                       /* always one line: আখড়াবাড়ি */
  font-size: clamp(56px, 8.4vw, 150px);      /* fallback for browsers without container units */
}
/* Scale the word with the door's own width so it fills one line at every viewport and in every browser */
.door--akhrabari { container-type: inline-size; }
@supports (font-size: 1cqw) {
  .door__wordmark { font-size: min(21cqw, 190px); }
}
.door--akhrabari:hover .door__wordmark { transform: translateX(12px); }


/* ==========================================================================
   12. FROM THE STUDIO
   ========================================================================== */
.studio {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.studio__figure { margin: 0; display: flex; justify-content: center; cursor: zoom-in; }
.studio__figure img { width: 100%; max-width: 560px; box-shadow: 0 40px 60px -40px rgba(40, 20, 10, .6); }
.studio__body { display: flex; flex-direction: column; gap: 28px; }
.studio__lead { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.06; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.timeline li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--c-line);
  font-size: 14px; line-height: 1.45;
}
.timeline time { color: var(--c-terracotta); }
.timeline span { color: var(--c-muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }


/* ==========================================================================
   13. AKHRABARI CHANNEL
   ========================================================================== */
.channel { position: relative; overflow: hidden; background: var(--c-ink); color: var(--c-plaster); }

.channel__watermark {
  position: absolute; top: -.12em; left: -.04em; pointer-events: none; user-select: none;
  font-family: var(--f-bangla); font-size: clamp(180px, 30vw, 520px); line-height: 1;
  color: var(--c-ink-2); white-space: nowrap;
}

.channel__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.channel__copy { display: flex; flex-direction: column; gap: 28px; }
.channel .eyebrow { color: var(--c-clay); }
.channel__title { font-size: clamp(44px, 5.6vw, 88px); }
.channel__title span { color: var(--c-clay); }
.channel__copy p { margin: 0; max-width: 30em; color: #cfc4b4; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border: 1px solid var(--c-line-dark); border-radius: 999px; font-family: var(--f-bangla); font-size: 15px; }

/* Film strip frame */
.film {
  position: relative; padding: 22px 0; background: var(--c-ink-3);
  transform: rotate(-2deg);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .8);
  transition: transform .8s var(--ease-out);
}
.film:hover { transform: rotate(0deg); }
.film::before, .film::after {   /* sprocket holes */
  content: ""; position: absolute; left: 0; right: 0; height: 10px; opacity: .55; border-radius: 2px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, var(--c-plaster) 10px 22px, transparent 22px 32px);
}
.film::before { top: 6px; }
.film::after  { bottom: 6px; }

.film__screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.film__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: #000; cursor: pointer;
}
.film__poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .7; filter: sepia(.35) contrast(1.05);
  transition: opacity .4s;
}
.film__poster:hover img { opacity: .85; }

/* Rotating circular text badge around the play button */
.badge {
  position: absolute; left: 50%; top: 50%; width: 150px; height: 150px;
  transform: translate(-50%, -50%);
}
.badge svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.badge text { fill: var(--c-plaster); font-family: var(--f-body); font-size: 10.5px; font-weight: 600; }
.badge__play {
  position: absolute; left: 37px; top: 37px; width: 76px; height: 76px; border-radius: 50%;
  background: var(--c-terracotta); color: var(--c-cream);
  display: grid; place-items: center; padding-left: 4px; font-size: 24px;
  transition: transform .4s var(--ease-out), background .3s;
}
.film__poster:hover .badge__play { transform: scale(1.08); background: var(--c-terracotta-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.channel__meta {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-bottom: clamp(56px, 7vw, 96px); font-size: 13px; color: var(--c-muted-dark);
}
.channel__meta em { font-style: normal; font-family: var(--f-display); font-size: 18px; color: var(--c-plaster); }


/* ==========================================================================
   14. FOOTER / CONTACT
   ========================================================================== */
.site-footer { padding-top: clamp(72px, 9vw, 128px); padding-bottom: 36px; }
.site-footer__mail {
  display: block; margin: 16px 0 56px;
  font-family: var(--f-display); font-size: clamp(34px, 6.4vw, 104px); line-height: 1;
  letter-spacing: -.03em; word-break: break-word;
}
.site-footer__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px;
  padding-top: 28px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.6;
}
.site-footer__cols div { display: flex; flex-direction: column; }
.site-footer__cols strong {
  margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted);
}
.site-footer__legal {
  margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--c-muted);
}


/* ==========================================================================
   15. LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: rgba(235, 229, 218, .97);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility 0s linear .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }

.lightbox__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter); font-size: 13px; color: var(--c-muted);
}
.lightbox__stage {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 clamp(8px, 2vw, 24px);
}
.lightbox__img {
  min-width: 0; max-width: min(100%, 1400px); max-height: 100%; object-fit: contain;
  box-shadow: 0 30px 60px -30px rgba(40, 20, 10, .5);
  transition: opacity .3s;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 20px var(--gutter) 26px;
}
.lightbox__title { font-family: var(--f-display); font-size: 28px; }
.lightbox__meta { font-size: 13px; color: var(--c-muted); }

.round-btn {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: none; border: 1px solid rgba(26, 22, 18, .25); font-size: 20px; cursor: pointer;
  transition: background .25s, color .25s;
}
.round-btn:hover { background: var(--c-ink); color: var(--c-plaster); }
.close-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: none; border: 1px solid rgba(26, 22, 18, .3); cursor: pointer; font-size: 13px; font-weight: 500;
}


/* ==========================================================================
   16. SCROLL-REVEAL ANIMATIONS
   Add class="reveal" to any element; JS adds .is-visible on scroll.
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* No-JS fallback */
.no-js .reveal { opacity: 1; transform: none; }


/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ≤ 1100px — swap desktop capsule for the mobile menu */
@media (max-width: 1100px) {
  .nav-capsule, .header-contact { display: none; }
  .header-mobile { display: flex; }
}

/* ≥ 640px — show painting preview in the mobile menu, two-column layout */
@media (min-width: 640px) {
  .mobile-menu__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
  .mobile-menu__preview { display: block; }
}

/* ≤ 900px — stack the split sections */
@media (max-width: 900px) {
  .doors, .studio, .channel__grid { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 72vh; }
}

/* ≤ 560px — phones */
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .brand__role { display: none; }
  .brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .hero__aside { max-width: none; }
  .wall__track { height: 52vh; }
  .badge { transform: translate(-50%, -50%) scale(.78); }
}


/* ==========================================================================
   18. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   INNER PAGES
   19. Page hero (shared by all inner pages)
   20. Section heads & rows
   21. Fact grid
   22. Filter chips & search
   23. Works grid (portfolio)
   24. Exhibition index
   25. Article cards (research)
   26. Masonry gallery
   27. Photo placeholders
   28. AKHRABARI page theme
   29. Next-page band
   30. Inner page responsive
   ========================================================================== */


/* ==========================================================================
   19. PAGE HERO
   ========================================================================== */
.page-hero { padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--c-line); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 56px); padding: 0; list-style: none;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-terracotta); }
.breadcrumb a:hover { color: var(--c-terracotta); }

.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-hero__title { font-size: clamp(60px, 10vw, 168px); line-height: .84; letter-spacing: -.04em; }
/* Above 1440px the container stops growing but 10vw keeps growing: tie the size to the column so "Exhibitions" always fits on one line */
.page-hero__grid { container-type: inline-size; }
@supports (font-size: 1cqw) {
  @media (min-width: 901px) { .page-hero__title { font-size: min(10vw, 11cqw, 168px); } }
}
.page-hero__title em { font-style: normal; color: var(--c-terracotta); }
.page-hero__aside { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.page-hero__aside .bangla { font-size: 22px; color: var(--c-terracotta); }
.page-hero__lead { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; text-wrap: pretty; }

/* Artist page variant: portrait in the hero */
.page-hero--portrait .page-hero__grid { align-items: stretch; }
.page-hero__portrait { position: relative; margin: 0; min-height: 420px; overflow: hidden; background: var(--c-ink); }
.page-hero__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.04); }
.page-hero__portrait figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: .1em; color: var(--c-plaster); }
.page-hero__stack { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }


/* ==========================================================================
   20. SECTION HEADS & ROWS
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.sec-head__title { font-size: clamp(38px, 4.6vw, 72px); line-height: .98; }
.sec-head__title em { font-style: normal; color: var(--c-terracotta); }
.sec-head__side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.sec-head__side p { margin: 0; color: var(--c-muted); font-size: 15px; max-width: 26em; }

.prose { font-size: 17px; line-height: 1.75; max-width: 40em; }
.prose p { margin: 0 0 1.1em; text-wrap: pretty; }
.prose--lead { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -.01em; }

/* Rows: year | title + detail */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.rows li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.rows time { font-family: var(--f-display); font-size: 22px; color: var(--c-terracotta); line-height: 1.2; }
.rows strong { display: block; font-weight: 400; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
.rows span { display: block; margin-top: 4px; font-size: 14px; color: var(--c-muted); }
.rows--compact li { grid-template-columns: 90px minmax(0, 1fr); padding: 14px 0; }
.rows--compact strong { font-family: var(--f-body); font-size: 15px; font-weight: 500; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }

.divider { border: 0; border-top: 1px solid var(--c-line); margin: 0; }


/* ==========================================================================
   21. FACT GRID
   ========================================================================== */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-line); }
.facts div { padding: 22px 24px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.45; }


/* ==========================================================================
   22. FILTER CHIPS & SEARCH
   ========================================================================== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--c-line); position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(235, 229, 218, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(26, 22, 18, .25); background: none;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.chip sup { font-size: 9px; color: var(--c-terracotta); }
.chip:hover { border-color: var(--c-ink); }
.chip.is-active { background: var(--c-ink); color: var(--c-plaster); border-color: var(--c-ink); }
.chip.is-active sup { color: var(--c-clay); }

.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; min-height: 42px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid rgba(26, 22, 18, .25);
  background: transparent; font: inherit; font-size: 14px; color: var(--c-ink); }
.search input:focus { outline: none; border-color: var(--c-terracotta); }
.search::before { content: "⌕"; position: absolute; left: 15px; top: 50%; transform: translateY(-52%); font-size: 18px; color: var(--c-muted); }
.result-count { font-size: 12px; letter-spacing: .1em; color: var(--c-muted); }

/* Filtered-out items */
.is-filtered { display: none !important; }
[hidden] { display: none !important; }


/* ==========================================================================
   23. WORKS GRID (portfolio)
   ========================================================================== */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 36px); align-items: end; }
.work { margin: 0; display: flex; flex-direction: column; gap: 14px; cursor: zoom-in; }
.work__frame { overflow: hidden; background: var(--c-plaster-2); }
.work__frame img { width: 100%; height: auto; box-shadow: 0 30px 40px -32px rgba(40, 20, 10, .55); transition: transform .9s var(--ease-out); }
.work:hover .work__frame img { opacity: .92; }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work__title { font-family: var(--f-display); font-size: 20px; line-height: 1.2; }
.work__meta { font-size: 12px; color: var(--c-muted); text-align: right; }
/* Stack caption in the 3-up series and on narrower screens */
.series .work figcaption { flex-direction: column; align-items: flex-start; gap: 4px; }
.series .work__meta { text-align: left; }
@media (max-width: 1100px) {
  .work figcaption { flex-direction: column; align-items: flex-start; gap: 4px; }
  .work__meta { text-align: left; }
}
/* Wide feature card spans 2 columns */
.work--wide { grid-column: span 2; }

/* Series feature (Composition 1–3) */
.series { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.series .work__frame img { width: 100%; height: auto; }
.series-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-muted); }
.series-note strong { color: var(--c-ink); font-weight: 500; }


/* ==========================================================================
   24. EXHIBITION INDEX
   ========================================================================== */
.solo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(32px, 4vw, 56px); background: var(--c-ink); color: var(--c-plaster); }
.solo__year { font-family: var(--f-display); font-size: clamp(90px, 13vw, 210px); line-height: .8; color: var(--c-clay); letter-spacing: -.04em; }
.solo h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; }
.solo p { margin: 12px 0 0; color: var(--c-muted-dark); }

.ex-year { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--c-line); padding: 22px 0; }
.ex-year__label { font-family: var(--f-display); font-size: clamp(32px, 3vw, 44px); line-height: 1; color: var(--c-terracotta); position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-item { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px; gap: 8px 24px; padding: 12px 0; border-bottom: 1px dashed var(--c-line); align-items: baseline; }
.ex-item:last-child { border-bottom: 0; }
.ex-item__title { font-size: 16px; line-height: 1.4; }
.ex-item__place { font-size: 14px; color: var(--c-muted); line-height: 1.4; }
.ex-item__scope { justify-self: end; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--c-line); color: var(--c-muted); }
.ex-item__scope--abroad { border-color: var(--c-terracotta); color: var(--c-terracotta); }
.ex-item__scope--solo { background: var(--c-terracotta); border-color: var(--c-terracotta); color: var(--c-cream); }
.empty-state { padding: 48px 0; text-align: center; color: var(--c-muted); }


/* ==========================================================================
   25. ARTICLE CARDS (research)
   ========================================================================== */
.articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.article { background: var(--c-plaster); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-height: 280px; transition: background .3s; }
.article:hover { background: var(--c-plaster-2); }
.article__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .14em; color: var(--c-muted); text-transform: uppercase; }
.article__top b { color: var(--c-terracotta); font-weight: 500; }
.article h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; text-wrap: pretty; }
.article__en { font-size: 14px; color: var(--c-muted); font-style: italic; }
.article__cite { margin-top: auto; font-size: 13px; line-height: 1.55; padding-top: 16px; border-top: 1px solid var(--c-line); }

.interest-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-tags span { padding: 12px 20px; border-radius: 999px; background: var(--c-ink); color: var(--c-plaster); font-family: var(--f-display); font-size: 20px; }


/* ==========================================================================
   26. MASONRY GALLERY
   ========================================================================== */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin: 0 0 16px; position: relative; overflow: hidden; cursor: zoom-in; background: var(--c-plaster-2); }
.masonry__item img { width: 100%; height: auto; transition: transform .9s var(--ease-out); }
.masonry__item:hover img { opacity: .92; }
.masonry__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; font-size: 12px; color: #fff;
  background: linear-gradient(to top, rgba(14, 11, 9, .75), rgba(14, 11, 9, 0)); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.masonry__item:hover figcaption, .masonry__item:focus-visible figcaption { opacity: 1; transform: none; }


/* ==========================================================================
   27. PHOTO PLACEHOLDERS — replace with real photographs
   ========================================================================== */
.ph { position: relative; display: flex; align-items: flex-end; padding: 16px; min-height: 220px;
  background: repeating-linear-gradient(135deg, rgba(26, 22, 18, .06) 0 1px, transparent 1px 12px);
  border: 1px dashed rgba(26, 22, 18, .3); font-size: 12px; letter-spacing: .06em; color: var(--c-muted); }
.ph--dark { background: repeating-linear-gradient(135deg, rgba(246, 238, 227, .12) 0 1px, transparent 1px 12px); border-color: rgba(246, 238, 227, .45); color: var(--c-cream); }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ak-photo { position: relative; margin: 0; min-height: 220px; overflow: hidden; background: var(--c-ink); cursor: zoom-in; }
.ak-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.ak-photo:hover img { opacity: .92; }
.ak-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; font-size: 12px; color: #fff;
  background: linear-gradient(to top, rgba(14, 11, 9, .75), rgba(14, 11, 9, 0)); }


/* ==========================================================================
   28. AKHRABARI PAGE THEME
   ========================================================================== */
.ak-hero { position: relative; overflow: hidden; background: var(--c-terracotta); color: var(--c-cream); }
.ak-hero a { color: var(--c-cream); }
.ak-hero .breadcrumb { color: rgba(246, 238, 227, .8); }
.ak-hero .breadcrumb li + li::before { color: var(--c-cream); }
.ak-hero__inner { padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(48px, 6vw, 88px); }
.ak-hero__word { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 13.5vw, 230px); line-height: .95; letter-spacing: -.02em; margin: 0; }
.ak-hero__bn { position: absolute; right: -.04em; top: 50%; transform: translateY(-46%); font-family: var(--f-bangla); font-size: clamp(260px, 46vw, 760px); line-height: 1; color: rgba(246, 238, 227, .13); pointer-events: none; user-select: none; white-space: nowrap; }
.ak-hero__inner > *:not(.ak-hero__bn) { position: relative; z-index: 1; }
.ak-hero__latin { display: block; font-family: var(--f-body); font-size: clamp(13px, 1.4vw, 20px); letter-spacing: .3em; text-transform: uppercase; line-height: 1; margin-top: 22px; }
.ak-hero__row { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(246, 238, 227, .35); padding-top: 22px; }
.ak-hero__row dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.ak-hero__row dd { margin: 6px 0 0; font-size: 16px; }

.mission { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.02em; max-width: 18em; margin: 0; text-wrap: pretty; }
.mission em { font-style: normal; color: var(--c-terracotta); }

.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.program { background: var(--c-plaster); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background .35s, color .35s; }
.program:hover { background: var(--c-terracotta); color: var(--c-cream); }
.program__n { font-size: 12px; letter-spacing: .14em; color: var(--c-terracotta); transition: color .35s; }
.program:hover .program__n { color: var(--c-cream); }
.program__bn { margin-top: auto; font-family: var(--f-bangla); font-size: 30px; line-height: 1.2; }
.program h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.program p { margin: 0; font-size: 14px; line-height: 1.55; opacity: .85; }

.quote-band { background: var(--c-ink); color: var(--c-plaster); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 20em; font-family: var(--f-display); font-size: clamp(36px, 5vw, 80px); line-height: 1.04; letter-spacing: -.02em; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-clay); }

.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.visit address { font-style: normal; font-family: var(--f-display); font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }


/* ==========================================================================
   29. NEXT-PAGE BAND
   ========================================================================== */
.next-band { display: block; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.next-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.next-band small { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); }
.next-band strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8vw, 132px); line-height: .9; letter-spacing: -.035em; transition: color .3s; }
.next-band__arrow { font-size: clamp(40px, 6vw, 96px); line-height: 1; transition: transform .5s var(--ease-out); }
.next-band:hover { color: var(--c-ink); }
.next-band:hover strong { color: var(--c-terracotta); }
.next-band:hover .next-band__arrow { transform: translateX(16px); }


/* ==========================================================================
   30. INNER PAGE RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-item { grid-template-columns: minmax(0, 1fr) 90px; }
  .ex-item__place { grid-column: 1; grid-row: 2; }
  .ex-item__scope { grid-row: 1 / span 2; }
}
@media (max-width: 900px) {
  .page-hero__grid, .sec-head, .solo, .visit, .two-col, .articles { grid-template-columns: minmax(0, 1fr); }
  .sec-head__side { position: static; }
  .page-hero__portrait { min-height: 380px; }
  .ex-year { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ex-year__label { position: static; }
  .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ak-hero__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .works, .series, .programs, .facts { grid-template-columns: minmax(0, 1fr); }
  .work--wide { grid-column: auto; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .toolbar { position: static; }
  .search { flex-basis: 100%; }
  .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-grid > :first-child { grid-row: auto !important; min-height: 260px; }
}


/* ==========================================================================
   31. BLOG — listing, typographic tiles, sidebar, single post
   ========================================================================== */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; letter-spacing: .06em; color: var(--c-muted); }
.post-cat { font-family: var(--f-bangla); font-size: 14px; letter-spacing: 0; color: var(--c-terracotta); }

/* Featured post */
.post-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 420px; background: var(--c-terracotta); color: var(--c-cream); overflow: hidden; }
.post-feature:hover { color: var(--c-cream); }
.post-feature__glyph { display: flex; align-items: center; padding: clamp(24px, 3vw, 48px); font-size: clamp(80px, 10vw, 170px); line-height: .95; background: var(--c-ink); color: var(--c-clay); transition: letter-spacing .8s var(--ease-out); }
.post-feature:hover .post-feature__glyph { letter-spacing: .04em; }
.post-feature__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: clamp(24px, 3.5vw, 56px); }
.post-feature .post-meta, .post-feature .post-cat { color: var(--c-cream); }
.post-feature__title { margin: 0; font-weight: 400; font-size: clamp(36px, 4.2vw, 66px); line-height: 1.15; }
.post-feature__en { margin: 0; font-family: var(--f-display); font-size: 20px; opacity: .9; }

/* Layout: list + sidebar */
.blog-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: 32px; align-items: start; }
.post-list { border-top: 1px solid var(--c-line); }

.post-row { border-bottom: 1px solid var(--c-line); }
.post-row__link { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: clamp(16px, 2.5vw, 32px); align-items: center; padding: 24px 0; }
.post-row__link:hover { color: var(--c-ink); }
.post-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-row__title { margin: 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; transition: color .25s; }
.post-row__link:hover .post-row__title { color: var(--c-terracotta); }
.post-row__en { margin: 0; font-family: var(--f-display); font-size: 16px; color: var(--c-muted); }
.post-row__ex { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-ink); opacity: .8; }
.post-row__arrow { font-size: 24px; justify-self: end; transition: transform .4s var(--ease-out); }
.post-row__link:hover .post-row__arrow { transform: translateX(6px); }

/* Typographic tile — a big Bangla glyph instead of a cover photo */
.post-tile { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--f-bangla); font-size: 44px; line-height: 1; transition: transform .6s var(--ease-out); }
.post-row__link:hover .post-tile { transform: rotate(-4deg) scale(1.04); }
.post-tile--terra { background: var(--c-terracotta); color: var(--c-cream); }
.post-tile--ink   { background: var(--c-ink); color: var(--c-clay); }
.post-tile--verd  { background: #2f5d52; color: #e6dcc6; }
.post-tile--ochre { background: #b8893a; color: var(--c-ink); }

/* Sidebar */
.blog-aside { position: sticky; top: calc(var(--header-h) + 96px); display: flex; flex-direction: column; gap: 28px; }
.blog-aside__block { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 14px; }
.blog-aside__block strong { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.blog-aside__block p { margin: 0; font-family: var(--f-display); font-size: 22px; }

/* Single post */
.single__head { padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(32px, 4vw, 56px); max-width: 1000px; }
.single__title { margin: 18px 0 10px; font-weight: 400; font-size: clamp(42px, 6vw, 96px); line-height: 1.1; }
.single__en { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); color: var(--c-muted); }
.single__banner { height: clamp(220px, 34vw, 460px); background: var(--c-terracotta); color: var(--c-cream); overflow: hidden; display: flex; align-items: flex-end; }
.single__banner span { font-size: clamp(140px, 26vw, 420px); line-height: .8; padding-left: var(--gutter); white-space: nowrap; opacity: .95; }
.single__body { max-width: 860px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.single__text { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.9; }
.single__text p { margin: 0 0 .9em; }
.single__text p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; margin: .06em .12em 0 0; color: var(--c-terracotta); }
.single__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.single__author { display: flex; align-items: center; gap: 14px; }
.single__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.single__author strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.single__author span { font-size: 13px; color: var(--c-muted); }

@media (max-width: 900px) {
  .blog-layout, .post-feature { grid-template-columns: minmax(0, 1fr); }
  .post-feature__glyph { min-height: 220px; }
  .blog-aside { position: static; }
}
@media (max-width: 560px) {
  .post-row__link { grid-template-columns: 72px minmax(0, 1fr); }
  .post-row__arrow { display: none; }
  .post-tile { font-size: 28px; }
}

/* Press feature (blog) */
.press { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--c-line); }
.press__clip { margin: 0; background: var(--c-plaster-2); padding: clamp(12px, 1.6vw, 24px); cursor: zoom-in; }
.press__clip img { display: block; width: 100%; height: auto; box-shadow: 0 30px 40px -32px rgba(40, 20, 10, .55); }
.press__clip figcaption { margin-top: 12px; font-size: 12px; color: var(--c-muted); }
.press__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; margin: 14px 0 22px; text-wrap: balance; }
.press__body p { margin: 0 0 1em; text-wrap: pretty; }
.press__quote { font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; margin: 1.4em 0; padding: 0; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; } }

/* Featured (home) */
.feat-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 3vw, 44px); }
.feat-cap { display: flex; justify-content: space-between; gap: 16px; margin: 14px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.feat-cap a { color: var(--c-terracotta); text-decoration: none; letter-spacing: .04em; text-transform: none; }
.feat-cap a:hover { color: var(--c-terracotta-2); text-decoration: underline; }
.feat-print-head { margin-top: clamp(64px, 8vw, 120px); }
.mag { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; margin-top: clamp(28px, 3vw, 44px); }
.mag__item { margin: 0; cursor: zoom-in; }
.mag__item img { display: block; width: 100%; height: auto; box-shadow: 0 26px 36px -26px rgba(40, 20, 10, .6); transition: opacity .3s; }
.mag__item:hover img { opacity: .92; }
.mag__item figcaption { margin-top: 12px; font-size: 12px; letter-spacing: .06em; color: var(--c-muted); }
@media (max-width: 900px) { .mag { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .feat-videos { grid-template-columns: minmax(0, 1fr); } }
/* AKHRABARI — stay */
.stay { background: var(--c-plaster-2); }
.stay__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--c-line); padding-top: 28px; }
.stay__grid h3 { margin: 12px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.stay__grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-muted); }
@media (max-width: 800px) { .stay__grid { grid-template-columns: minmax(0, 1fr); } }

/* YouTube gallery */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.yt-card { display: flex; flex-direction: column; gap: 14px; }
.yt-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--c-ink-3); cursor: pointer; overflow: hidden; }
.yt-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.yt-card__thumb:hover img { opacity: .8; }
.yt-card__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--c-terracotta); color: var(--c-cream); display: grid; place-items: center; font-size: 20px; padding-left: 4px; transition: transform .3s var(--ease-out); }
.yt-card__thumb:hover .yt-card__play { transform: scale(1.1); }
.yt-card__meta { display: flex; flex-direction: column; gap: 4px; }
.yt-card__meta h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 22px; line-height: 1.15; }
.yt-card__meta span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.yt-card__meta a { color: var(--c-terracotta); font-size: 14px; text-decoration: none; margin-top: 4px; }
.yt-card__meta a:hover { text-decoration: underline; }

.stay__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.stay__photo { margin: 0; cursor: zoom-in; }
.stay__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; }
.stay__photo:hover img { opacity: .9; }
.stay__photo figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .06em; color: var(--c-muted); }
@media (max-width: 800px) { .stay__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Keep "AKHRABARI" on one line on phones */
.hero__title, .ak-hero__word, .brand__name, .pill-akhrabari, .nav-capsule__akhrabari { white-space: nowrap; }
@media (max-width: 700px) {
  .hero__title { font-size: clamp(36px, 14.5vw, 100px); }
  .ak-hero__word { font-size: clamp(36px, 14.5vw, 100px); }
}
@media (max-width: 560px) { .pill-akhrabari { display: none; } }


/* ==========================================================================
   BRICKS INTEGRATION (added when the theme was rebuilt in Bricks)
   Wrapper elements Bricks adds around the template parts, builder tweaks
   and chip label styling that used to be an inline <span>.
   ========================================================================== */

/* Bricks wraps the header/footer/content in #brx-header / #brx-content / #brx-footer.
   display:contents keeps the sticky header sticking to the viewport like before. */
#brx-header, #brx-content, #brx-footer { display: contents; }

/* In the builder canvas never hide .reveal content (it is revealed by the front-end script) */
body:not(.bricks-is-frontend) .reveal { opacity: 1; transform: none; }

/* Bangla chips (blog categories) — was an inline-styled <span class="bangla"> in the HTML */
.chip[data-filter="tribute"] .chip__label,
.chip[data-filter="culture"] .chip__label {
  font-family: var(--f-bangla); text-transform: none; letter-spacing: 0; font-size: 14px;
}

/* Bricks adds vertical-align:middle to images; the design expects baseline-free block images */
img { vertical-align: baseline; }

/* Looped filter chips: Bricks wraps the label in a span; keep text + count as separate flex items like the original markup */
.chip > span.brxe-text-basic:only-child { display: contents; }

/* Titles of single entries (artwork, exhibition, research…) are long: smaller than the one-word page titles */
.page-hero__title--single { font-size: clamp(36px, 5.6vw, 88px); line-height: 1; overflow-wrap: anywhere; }

/* Player box that replaces a video thumbnail once it is clicked (YouTube or self-hosted film) */
.yt-card__player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* Headings in Bangla blocks mix Poppins (Latin) with Tiro Bangla (Bengali): a medium weight keeps the Latin part from looking thin next to the Bengali */
h1.bangla, h2.bangla, h3.bangla { font-weight: 500; }

/* GTranslate floating language switcher: keep the site font, hide it while the lightbox or the mobile menu is open */
body.is-locked #gt_float_wrapper { display: none; }
#gt_float_wrapper { font-family: var(--f-body); }
#gt_float_wrapper .gt_float_switcher { border-radius: 22px; background: var(--c-plaster); color: var(--c-ink); border: 1px solid rgba(26, 22, 18, .22); box-shadow: 0 14px 34px -20px rgba(26, 22, 18, .55); overflow: hidden; }
#gt_float_wrapper .gt_float_switcher .gt-selected,
#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang { background: transparent; color: var(--c-ink); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
#gt_float_wrapper .gt_float_switcher .gt_options a { background: transparent; color: var(--c-ink); font-size: 13px; }
#gt_float_wrapper .gt_float_switcher .gt_options a:hover { background: var(--c-plaster-2); color: var(--c-terracotta); }
#gt_float_wrapper .gt_float_switcher .gt_options a.gt-current { background: var(--c-terracotta); color: var(--c-cream); }
#gt_float_wrapper .gt_float_switcher .gt-selected .gt_float_switcher-arrow { filter: none; }
