/* =========================================================
   THAKUR ARTS — style.css
   Editorial "digital art museum" aesthetic
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;
  --ink: var(--color-ink, #141412);
  --ivory: var(--color-ivory, #F4F1EA);
  --primary: var(--color-primary, #B33A2B);
  --accent: var(--color-accent, #C99A3C);
  --indigo: var(--color-indigo, #2E3A59);
  --max: 1280px;
}

html { scroll-behavior: smooth; scroll-padding-top: 0; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: linear-gradient(180deg, rgba(244,241,234,.85) 0%, rgba(244,241,234,0) 100%);
  transition: background .4s, padding .4s;
  padding: 28px 0;
}
.site-header.scrolled { background: rgba(244,241,234,.96); backdrop-filter: blur(6px); padding: 16px 0; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.site-header.header-solid { background: rgba(244,241,234,.98); backdrop-filter: blur(6px); padding: 16px 0; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-mark {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  letter-spacing: .5px; color: var(--ink); display: flex; align-items: center;
}
.brand-logo-img {
  height: 52px; width: auto; display: block; max-width: 170px; object-fit: contain;
}
.footer-mark { margin-bottom: 14px; }
.footer-logo-img { height: 60px; }
.main-nav { display: none; gap: 36px; }
.main-nav a {
  color: var(--ink); font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; position: relative; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .3s;
}
.main-nav a:hover::after { width: 100%; }
@media (min-width: 900px) { .main-nav { display: flex; } }
.btn-outline {
  border: 1px solid var(--primary); color: var(--ink); padding: 9px 22px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  display: none; transition: background .3s, color .3s;
}
.btn-outline:hover { background: var(--primary); color: var(--ivory); border-color: var(--primary); }
@media (min-width: 900px) { .btn-outline.nav-cta { display: inline-block; } }

.menu-toggle {
  width: 30px; height: 22px; position: relative; background: none; border: none;
  cursor: pointer; z-index: 600; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .4s cubic-bezier(.65,0,.35,1), opacity .25s ease, background .3s ease;
}
.menu-toggle span:nth-child(1) { top: 3px; }
.menu-toggle span:nth-child(2) { bottom: 3px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }
/* Overlay background is dark — icon must flip to ivory while open or the
   close (X) lines vanish against it. This was the invisible-close-button bug. */
.menu-toggle.open span { background: var(--ivory); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

/* ---------- Fullscreen menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; background: var(--ink); z-index: 550;
  display: flex; flex-direction: column; justify-content: center; padding: 40px;
  transform: translateY(-100%); transition: transform .6s cubic-bezier(.77,0,.18,1);
}
.menu-overlay.open { transform: translateY(0); }
.menu-overlay nav { display: flex; flex-direction: column; gap: 8px; }
.menu-overlay nav a {
  font-family: var(--font-serif); font-size: 48px; color: var(--ivory);
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid rgba(244,241,234,.1);
}
.menu-overlay nav a span { font-family: var(--font-sans); font-size: 13px; color: var(--accent); }
.menu-overlay-foot { margin-top: 40px; color: rgba(244,241,234,.5); font-size: 13px; }
.menu-overlay-foot p { margin-bottom: 4px; }
@media (max-width: 480px) {
  .menu-overlay nav a { font-size: 34px; padding: 8px 0; }
  .menu-overlay { padding: 24px; }
}

/* ---------- Hero (multi-slide) ---------- */
.hero {
  position: relative; height: 100vh; height: 100dvh; min-height: 640px; overflow: hidden;
  color: var(--ivory);
}
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden; transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.15);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,.05) 0%, rgba(244,241,234,.1) 50%, rgba(244,241,234,.45) 100%);
}
.hero-content { position: relative; padding: 0 40px 90px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-label { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--primary); margin-bottom: 20px; opacity: 0; transform: translateY(20px); }
.hero-slide.active .hero-label { animation: heroFadeUp .9s ease forwards .4s; }
.hero-title {
  font-family: var(--font-serif); font-weight: 500; color: var(--ink);
  text-shadow: 0 2px 20px rgba(244,241,234,.6);
  font-size: clamp(38px, 8vw, 96px); line-height: 1.02; max-width: 900px;
}
.hero-title .line { overflow: hidden; }
.hero-title .line span { display: block; transform: translateY(110%); }
.hero-slide.active .hero-title .line span { animation: heroLineUp 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-slide.active .hero-title .line:nth-child(2) span { animation-delay: .12s; }
.hero-sub {
  margin-top: 24px; max-width: 460px; font-size: 16px; color: rgba(20,20,18,.75);
  text-shadow: 0 1px 12px rgba(244,241,234,.5); opacity: 0; transform: translateY(20px);
}
.hero-slide.active .hero-sub { animation: heroFadeUp .9s ease forwards .55s; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes heroLineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }

.hero-scroll {
  position: absolute; right: 40px; bottom: 40px; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(20,20,18,.55);
  display: flex; align-items: center; gap: 10px; z-index: 5;
  animation: heroFadeUp .9s ease forwards .7s; opacity: 0; transform: translateY(20px);
}
.hero-scroll::after { content: ''; width: 1px; height: 50px; background: rgba(20,20,18,.35); }

.hero-dots {
  position: absolute; left: 40px; bottom: 40px; z-index: 5; display: flex; gap: 10px;
}
.hero-dot {
  width: 30px; height: 3px; background: rgba(20,20,18,.25); border: none; padding: 0;
  cursor: pointer; transition: background .3s ease;
}
.hero-dot.active { background: var(--primary); }

/* ---------- Marquee ---------- */
.marquee-strip { background: var(--ink); color: var(--accent); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 26s linear infinite; width: max-content; }
.marquee-track span {
  font-family: var(--font-serif); font-size: 22px; -webkit-text-stroke: 1px var(--accent); color: transparent;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stacking scroll cards (categories) ---------- */
.stack-section { padding-bottom: 40px; }
.stack-wrap { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.stack-card {
  position: sticky; top: 100px; height: 480px; margin-bottom: 30px;
  display: flex; align-items: center; justify-content: center;
}
.stack-card-inner {
  position: relative; width: 100%; height: 440px; border-radius: 4px; overflow: hidden;
  display: grid; grid-template-columns: 1fr; box-shadow: 0 20px 50px rgba(20,20,18,.25);
  transform-origin: top center;
}
@media (min-width: 780px) { .stack-card-inner { grid-template-columns: 1.1fr 1fr; } }
.stack-media { position: relative; overflow: hidden; min-height: 220px; }
.stack-media img { width: 100%; height: 100%; object-fit: cover; }
.stack-text {
  background: var(--ink); color: var(--ivory); padding: 46px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.stack-num { font-family: var(--font-serif); font-size: 15px; color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.stack-text h3 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; margin-bottom: 16px; }
.stack-text p { color: rgba(244,241,234,.7); font-size: 14px; margin-bottom: 26px; max-width: 340px; }

/* ---------- Museum Wall gallery (varied frame sizes + spotlight glow) ---------- */
.museum-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-auto-rows: 210px; grid-auto-flow: dense; gap: 26px;
}
.museum-item {
  position: relative; overflow: hidden; display: block; background: #eae5d8;
  box-shadow: 0 14px 34px rgba(20,20,18,.16); transition: box-shadow .4s ease, transform .4s ease;
}
.museum-item:hover { box-shadow: 0 26px 55px rgba(20,20,18,.3); transform: translateY(-4px); z-index: 5; }
.museum-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.museum-item:hover img { transform: scale(1.06); }
.museum-item.size-tall { grid-row: span 2; }
.museum-item.size-wide { grid-column: span 2; }
.museum-item.size-big  { grid-row: span 2; grid-column: span 2; }
@media (max-width: 640px) {
  .museum-item.size-wide, .museum-item.size-big { grid-column: span 1; }
}

/* Spotlight glow that follows the cursor — like a museum gallery light
   sweeping across the frame. Position driven by JS via --mx/--my. */
.museum-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(244,241,234,.35), transparent 70%);
}
.museum-item:hover .museum-glow { opacity: 1; }

.museum-item .art-tag {
  position: absolute; top: 14px; left: 14px; background: var(--primary); color: var(--ivory);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; z-index: 3;
}
.museum-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 22px 20px; z-index: 3;
  background: linear-gradient(0deg, rgba(20,20,18,.92) 0%, rgba(20,20,18,.7) 55%, transparent 100%);
  color: var(--ivory); transform: translateY(16px); opacity: 0; transition: transform .4s, opacity .4s;
}
.museum-item:hover .museum-caption { transform: translateY(0); opacity: 1; }
.museum-caption span { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.museum-caption h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 500; margin-top: 4px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

.museum-wall-related { grid-auto-rows: 260px; }

/* ---------- Gallery page — modern animated redesign ---------- */
.tilt-grid.gallery-grid .art-card:nth-child(2n) { margin-top: 0; } /* keep gallery page flat-aligned, no zig-zag stagger */
.gallery-hero { padding-top: 170px; padding-bottom: 60px; }
.gallery-h1 {
  margin-bottom: 10px; background: linear-gradient(90deg, var(--ink) 0%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.gallery-count { color: #777; font-size: 14px; margin-bottom: 40px; }

.filter-bar-wrap { margin-bottom: 50px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-bar {
  position: relative; display: inline-flex; gap: 4px; padding: 5px;
  background: #eae5d8; white-space: nowrap; flex-wrap: nowrap;
}
.filter-bar a {
  position: relative; z-index: 2; padding: 10px 22px; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink); transition: color .35s ease; white-space: nowrap;
}
.filter-bar a.active { color: var(--ivory); }
.filter-pill {
  position: absolute; top: 5px; left: 5px; height: calc(100% - 10px);
  background: var(--ink); z-index: 1;
  transition: transform .45s cubic-bezier(.65,0,.35,1), width .45s cubic-bezier(.65,0,.35,1);
}

/* Tilt-on-hover cards — subtle 3D response to cursor position, driven by JS */
.tilt-card {
  transition: transform .35s cubic-bezier(.65,0,.35,1), box-shadow .35s ease;
  will-change: transform;
}
.tilt-card:hover { box-shadow: 0 25px 50px rgba(20,20,18,.22); z-index: 5; }
.tilt-grid { perspective: 1200px; }

/* ---------- Section basics ---------- */
section { padding: 110px 0; }
.section-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--primary);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--primary); }
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 4.5vw, 52px); font-weight: 500; line-height: 1.1; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head p { max-width: 420px; color: #555; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ---------- Featured slider — continuous auto-drift coverflow.
   No CSS transition on track/items: JS updates transform every animation
   frame directly, which is what makes the motion buttery instead of
   stepped/janky. ---------- */
.spotlight-slider { overflow: hidden; padding: 40px 0 10px; perspective: 1600px; }
.spotlight-track {
  display: flex; align-items: center; gap: 22px; transform-style: preserve-3d;
  will-change: transform;
}
.spotlight-item {
  flex: 0 0 240px; width: 240px; transform-style: preserve-3d; will-change: transform;
}
.spotlight-item .img-wrap { aspect-ratio: 4/5; }
.spotlight-item .art-card { box-shadow: 0 20px 45px rgba(20,20,18,.28); }
@media (max-width: 700px) {
  .spotlight-item { flex-basis: 180px; width: 180px; }
}

/* ---------- Category / Collection grid (staggered masonry) ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px;
  align-items: start; /* prevent grid row-stretch — without this, odd cards
                          stretch to match the taller even cards (which get
                          margin-top for the staggered look), leaving a
                          blank ivory gap below the odd cards' images */
}
.art-card { position: relative; overflow: hidden; background: #eae5d8; }
.gallery-grid .art-card:nth-child(2n) { margin-top: 50px; }
.art-card .img-wrap { overflow: hidden; aspect-ratio: 4/5; background: #eae5d8; }
.art-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.art-card:hover img { transform: scale(1.07); }
.art-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 22px;
  background: linear-gradient(0deg, rgba(20,20,18,.92) 0%, rgba(20,20,18,.7) 55%, transparent 100%);
  color: var(--ivory); transform: translateY(20px); opacity: 0; transition: transform .4s, opacity .4s;
}
.art-card:hover .art-caption { transform: translateY(0); opacity: 1; }
.art-caption h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.art-caption span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.art-tag {
  position: absolute; top: 16px; left: 16px; background: var(--primary); color: var(--ivory);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px;
}

/* ---------- Split / editorial about block ---------- */
.split-block { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
@media (min-width: 900px) { .split-block { grid-template-columns: 1fr 1fr; } }
.split-block.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4/3; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text .section-title { margin-bottom: 20px; }
.split-text p { color: #444; margin-bottom: 16px; max-width: 480px; }

/* ---------- Welcome band (dark) ---------- */
.welcome-band { background: var(--ink); color: var(--ivory); }
.welcome-band .split-text p { color: rgba(244,241,234,.7); }
.welcome-band .section-label { color: var(--accent); }
.welcome-band .section-label::before { background: var(--accent); }

/* ---------- Heritage timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 40px; margin-top: 50px; }
.timeline-step { border-top: 1px solid rgba(20,20,18,.15); padding-top: 20px; }
.timeline-step .num { font-family: var(--font-serif); font-size: 34px; color: var(--accent); }
.timeline-step h4 { font-family: var(--font-serif); font-size: 19px; margin: 10px 0 8px; }
.timeline-step p { font-size: 14px; color: #555; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: var(--ivory);
  padding: 15px 34px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px;
  border: 1px solid var(--primary); transition: background .3s, color .3s;
}
.btn-primary:hover { background: transparent; color: var(--primary); }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: var(--ivory);
  padding: 15px 34px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; border: 1px solid var(--ink);
}
.btn-dark:hover { background: transparent; color: var(--ink); }

/* ---------- Product Detail (artwork page) ---------- */
.artwork-page { padding-top: 140px; }
.artwork-layout { display: grid; grid-template-columns: 1fr; gap: 60px; }
@media (min-width: 900px) { .artwork-layout { grid-template-columns: 1.1fr 1fr; } }
.artwork-media { position: sticky; top: 120px; align-self: flex-start; aspect-ratio: 4/5; overflow: hidden; background: #eae5d8; }
.artwork-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.artwork-info .breadcrumb { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 16px; }
.artwork-info h1 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 48px); font-weight: 500; margin-bottom: 18px; }
.artwork-info .desc { color: #444; margin-bottom: 30px; max-width: 480px; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(20,20,18,.12); font-size: 14px; }
.spec-row span:first-child { color: #777; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.artwork-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

/* (old filter-bar block removed — superseded by the pill-style version
   in the Gallery page section above; leaving both in caused the wrap bug) */

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 60px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info-block { border-top: 1px solid rgba(20,20,18,.15); padding-top: 18px; margin-bottom: 24px; }
.contact-info-block h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 8px; }
form.enquiry-form input, form.enquiry-form textarea, form.enquiry-form select {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(20,20,18,.25);
  padding: 14px 0; margin-bottom: 26px; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
}
form.enquiry-form input:focus, form.enquiry-form textarea:focus { outline: none; border-color: var(--primary); }
form.enquiry-form label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: #777; display: block; margin-bottom: -18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding: 80px 0 24px; }
.footer-top { max-width: var(--max); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-mark { font-size: 28px; margin-bottom: 14px; }
.footer-brand p { color: rgba(244,241,234,.6); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(244,241,234,.65); font-size: 14px; margin-bottom: 10px; }
.footer-bottom {
  max-width: var(--max); margin: 60px auto 0; padding: 24px 40px 0 40px;
  border-top: 1px solid rgba(244,241,234,.1); font-size: 12px; color: rgba(244,241,234,.4);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-credit a { color: rgba(244,241,234,.55); text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: var(--accent); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  z-index: 400; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: pulse 2.2s infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal animation base state ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Sticky mobile enquire bar (artwork page) ---------- */
.sticky-enquire {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--ink); color: var(--ivory);
  padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
  transform: translateY(100%); transition: transform .4s;
}
.sticky-enquire.show { transform: translateY(0); }
@media (min-width: 900px) { .sticky-enquire { display: none; } }

/* ---------- Policy pages ---------- */
.policy-page { padding-top: 160px; padding-bottom: 100px; }
.policy-page h1 { font-family: var(--font-serif); font-size: 42px; margin-bottom: 30px; }
.policy-page h2 { font-family: var(--font-serif); font-size: 22px; margin: 30px 0 12px; }
.policy-page p, .policy-page li { color: #444; margin-bottom: 12px; }
.policy-page { max-width: 800px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ---------- Callback mini form ---------- */
.callback-strip { background: #eae5d8; padding: 40px; margin-top: 40px; }
.callback-strip h4 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 6px; }
.callback-strip p { color: #555; font-size: 14px; margin-bottom: 20px; }

/* =========================================================
   MOBILE RESPONSIVE PASS — applies across the whole site
   ========================================================= */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .section-title { font-size: clamp(24px, 7vw, 34px); }
  .section-head { margin-bottom: 34px; }
  .section-head p { max-width: 100%; }

  /* Hero — mobile stacked slider. Uses CSS Grid stacking (all slides share
     the same grid cell) so they can crossfade smoothly via opacity, while
     still flowing in normal document height (no position:absolute needed,
     which is what made the earlier overlay approach clash with the image). */
  .hero {
    position: relative; height: auto; min-height: 0; max-height: none; overflow: visible;
    display: grid;
  }
  .hero-slide {
    grid-area: 1 / 1; position: relative; display: block;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .6s ease, visibility 0s linear .6s;
    align-items: normal;
  }
  .hero-slide.active {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity .6s ease;
  }
  .hero-bg {
    position: static; width: 100%; height: 240px; transform: none;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    background-color: var(--ivory);
  }
  .hero-bg::after { display: none; } /* no overlay needed — text no longer sits on top of the image */
  .hero-content { position: static; padding: 24px 20px 30px; max-width: 100%; }
  .hero-slide.active .hero-label { animation: none; opacity: 1; transform: none; }
  .hero-title .line span { animation: none !important; transform: none !important; }
  .hero-slide.active .hero-sub { font-size: 13.5px; animation: none; opacity: 1; transform: none; }
  .hero-scroll { display: none; }
  .hero-dots { position: relative; grid-area: 2 / 1; margin-top: 4px; padding: 0 20px 16px; justify-content: flex-start; }

  /* Header */
  .header-inner { padding: 0 20px; }
  .brand-logo-img { height: 42px; max-width: 130px; }

  /* Marquee */
  .marquee-track span { font-size: 16px; }

  /* Welcome / split blocks */
  .split-block { gap: 30px; }
  .split-text p { max-width: 100%; }

  /* Stacking category cards */
  .stack-card { height: auto; top: 70px; margin-bottom: 20px; }
  .stack-card-inner { height: auto; min-height: 420px; }
  .stack-text { padding: 30px 26px; }
  .stack-text h3 { font-size: 24px; }

  /* Featured slider */
  .spotlight-slider { padding: 24px 0 10px; }

  /* Timeline */
  .timeline { gap: 26px; margin-top: 34px; }

  /* Gallery page */
  .gallery-hero { padding-top: 130px; padding-bottom: 34px; }
  .gallery-h1 { font-size: clamp(30px, 10vw, 44px); }
  .filter-bar a { padding: 9px 16px; font-size: 12px; }

  /* Museum wall */
  .museum-wall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 170px; gap: 14px; }
  .museum-caption { padding: 16px 14px; }
  .museum-caption h3 { font-size: 15px; }

  /* Artwork detail page */
  .artwork-page { padding-top: 110px; }
  .artwork-media { position: relative; top: 0; }
  .artwork-info h1 { font-size: clamp(26px, 7vw, 36px); }
  .artwork-cta { flex-direction: column; }
  .artwork-cta a { text-align: center; }
  .spec-row { font-size: 13px; }

  /* Contact / enquiry forms */
  .contact-layout { gap: 40px; }
  .contact-info-block { margin-bottom: 18px; }

  /* Footer */
  .site-footer { padding: 50px 0 20px; }
  .footer-top { gap: 30px; }
  .footer-bottom { margin-top: 40px; flex-direction: column; gap: 8px; text-align: center; align-items: center; }

  /* Policy pages */
  .policy-page { padding-top: 120px; }
  .policy-page h1 { font-size: 30px; }

  /* WhatsApp float — keep it from overlapping content on small screens */
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 24px; height: 24px; }

  /* Sticky enquire bar */
  .sticky-enquire { padding: 12px 16px; }
  .sticky-enquire span { font-size: 13px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(30px, 11vw, 44px); }
  .section-title { font-size: clamp(22px, 8vw, 28px); }
  .brand-logo-img { height: 36px; max-width: 110px; }
  .btn-primary, .btn-dark { padding: 13px 24px; font-size: 12px; width: 100%; text-align: center; }
  .artwork-cta { gap: 12px; }
}