/* Mahe Moni Museum — shared design tokens
   Palette: Bangladesh (green/red) + America (red/white/blue) on warm beige grounds. */

:root {
  /* Grounds */
  --beige-100: #FBF7EF;
  --beige-200: #F4EDE0;
  --beige-300: #EAE0CD;
  --beige-400: #DCCFB6;

  /* Bangladesh */
  --bd-green: #006A4E;
  --bd-green-deep: #024936;
  --bd-red: #F42A41;

  /* America */
  --us-navy: #0A3161;
  --us-red: #B31942;
  --us-white: #FFFFFF;

  /* Ink + accents */
  --ink: #17150F;
  --ink-soft: #4A453A;
  --ink-faint: #8C8471;
  --brass: #C9A227;

  /* Type */
  --display: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --pad: clamp(20px, 5vw, 88px);
  --radius-soft: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--beige-200);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-weight: 300; }
h2, h3 { font-weight: 400; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(23, 21, 15, 0.05) 0 2px,
      transparent 2px 11px),
    var(--beige-300);
  border: 1px solid rgba(23, 21, 15, 0.16);
  color: var(--ink-soft);
}
.ph::after {
  content: attr(data-label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  max-width: 80%;
  background: rgba(251, 247, 239, 0.86);
  border: 1px dashed rgba(23, 21, 15, 0.3);
  line-height: 1.5;
}
.ph.dark { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 11px),
    var(--bd-green-deep); border-color: rgba(255,255,255,0.18); }
.ph.dark::after { background: rgba(2, 73, 54, 0.75); color: #F4EDE0; border-color: rgba(244,237,224,0.4); }

/* ---------- Mockup switcher bar (dev only) ---------- */
.switcher {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(23, 21, 15, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(23, 21, 15, 0.28);
}
.switcher span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #BDB4A0;
  padding: 0 8px 0 6px;
}
.switcher a {
  font-size: 12px;
  font-weight: 600;
  color: var(--beige-200);
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.switcher a:hover { background: rgba(255, 255, 255, 0.12); }
.switcher a.active { background: var(--bd-red); color: #fff; }

@media (max-width: 640px) {
  .switcher span { display: none; }
  .switcher a { padding: 6px 10px; font-size: 11px; }
}
