:root {
  --cream: #F8F4EC;
  --terracotta: #B65A3A;
  --brown: #4A2F27;
  --gold: #C9A227;
  --charcoal: #222222;
  --paper: #fffaf1;
  --muted: #6f625d;
  --line: rgba(74, 47, 39, 0.14);
  --shadow: 0 24px 60px rgba(74, 47, 39, 0.16);
  --radius: 8px;
  --heading: "Poppins", Arial, sans-serif;
  --body: "Poppins", Arial, sans-serif;
  --heading-hi: "Noto Sans Devanagari", "Poppins", sans-serif;
  --body-hi: "Noto Sans Devanagari", "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  line-height: 1.7;
}
html[lang="hi"] body {
  font-family: var(--body-hi);
  line-height: 1.9;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 78px 0; }
.center { display: flex; justify-content: center; margin-top: 34px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--brown); font-family: var(--heading); line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 10vw, 6.6rem); color: #fff7e9; max-width: 780px; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; }
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3 {
  font-family: var(--heading-hi);
  line-height: 1.45;
}
html[lang="hi"] h1 { font-size: clamp(2.65rem, 8vw, 5.7rem); }
html[lang="hi"] h2 { font-size: clamp(1.85rem, 4.6vw, 3.15rem); }
html[lang="hi"] h3 { line-height: 1.35; }
p { margin: 14px 0 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}
.site-header.is-scrolled,
.site-header.solid {
  background: rgba(248, 244, 236, 0.94);
  box-shadow: 0 10px 34px rgba(74, 47, 39, 0.12);
  backdrop-filter: blur(12px);
}
.navbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff7e9; font-weight: 700; }
.site-header.is-scrolled .brand, .site-header.solid .brand { color: var(--brown); }
.brand-mark {
  width: 42px;
  min-width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 162, 39, 0.72);
  border-radius: 50%;
  background: rgba(248, 244, 236, 0.86);
  box-shadow: 0 8px 22px rgba(34, 34, 34, 0.12);
  object-fit: cover;
}
.nav-menu { display: flex; align-items: center; gap: 18px; color: #fff7e9; font-size: 0.94rem; font-weight: 600; }
html[lang="hi"] .nav-menu {
  font-size: 1rem;
  font-weight: 600;
}
.site-header.is-scrolled .nav-menu, .site-header.solid .nav-menu { color: var(--brown); }
.nav-menu a { position: relative; }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 220ms ease;
}
.nav-menu a:hover::after { width: 100%; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 10px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.14);
  color: inherit;
  white-space: nowrap;
}
.site-header.is-scrolled .lang-switch,
.site-header.solid .lang-switch {
  background: rgba(255, 250, 241, 0.72);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.72;
}
html[lang="hi"] .lang-btn { font-size: 0.92rem; }
.lang-btn.active {
  color: var(--gold);
  opacity: 1;
}
.nav-toggle { display: none; width: 44px; aspect-ratio: 1; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; color: #fff7e9; transition: transform 200ms ease, opacity 200ms ease; }
.site-header.is-scrolled .nav-toggle span, .site-header.solid .nav-toggle span { color: var(--brown); }

.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--brown); }
.hero-slides, .hero-slide, .hero-slide picture, .hero-slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide {
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1100ms ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide picture { overflow: hidden; }
.hero-slide picture img { object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 22, 18, 0.82), rgba(34, 22, 18, 0.34) 55%, rgba(34, 22, 18, 0.5)), linear-gradient(0deg, rgba(34, 22, 18, 0.72), transparent 42%);
}
.hero-content { position: relative; z-index: 2; padding: 150px 0 118px; }
.hero-tagline { max-width: 620px; color: #fff7e9; font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 500; }
.hero-support { max-width: 620px; color: rgba(255, 247, 233, 0.82); font-weight: 500; }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 247, 233, 0.42);
  border-radius: 50%;
  background: rgba(34, 22, 18, 0.34);
  color: #fff7e9;
  cursor: pointer;
  font-size: 2.25rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: rgba(182, 90, 58, 0.86); border-color: rgba(255, 247, 233, 0.78); transform: translateY(-50%) scale(1.04); }
.hero-arrow-prev { left: max(18px, calc((100% - 1120px) / 2 - 64px)); }
.hero-arrow-next { right: max(18px, calc((100% - 1120px) / 2 - 64px)); }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 247, 233, 0.72);
  border-radius: 50%;
  background: rgba(255, 247, 233, 0.3);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, border-color 220ms ease;
}
.hero-dot.is-active { width: 30px; border-radius: 999px; background: var(--gold); border-color: var(--gold); }
html[lang="hi"] .hero .eyebrow {
  display: block;
  margin-bottom: 30px;
  line-height: 1.5;
}
html[lang="hi"] .hero h1 {
  line-height: 1.4;
  margin-bottom: 12px;
  transform: none;
}
html[lang="hi"] .hero-tagline {
  margin-top: 4px;
  line-height: 1.45;
}
html[lang="hi"] .hero-support {
  margin-top: 8px;
  line-height: 1.5;
}
html[lang="hi"] .hero-actions { margin-top: 24px; }
html[lang="hi"] .hero-tagline,
html[lang="hi"] .hero-support,
html[lang="hi"] .nav-menu,
html[lang="hi"] .btn,
html[lang="hi"] .filter-btn,
html[lang="hi"] .contact-form label {
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(74, 47, 39, 0.18); }
.btn-primary { background: var(--terracotta); color: #fff7e9; }
.btn-light { background: rgba(255, 250, 241, 0.9); color: var(--brown); border-color: rgba(255, 250, 241, 0.45); }

.split-grid, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.media-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.section-copy p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats div, .service-card, .testimonial-card, .contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 44px rgba(74, 47, 39, 0.08);
}
.stats div { padding: 18px; }
.stats strong { display: block; color: var(--terracotta); font-family: var(--heading); font-size: 2rem; line-height: 1; }
html[lang="hi"] .stats strong { font-family: var(--heading-hi); line-height: 1.2; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

.section-heading { max-width: 740px; margin-bottom: 34px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card, .album-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.work-card img, .album-card img { aspect-ratio: 4 / 5; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.work-card:hover img, .album-card:hover img { transform: scale(1.04); }
.work-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 22px 22px;
  color: #fff7e9;
  background: linear-gradient(0deg, rgba(34, 22, 18, 0.82), transparent);
}
.work-card h3 { color: #fff7e9; }
.work-card p { margin-top: 8px; font-size: 0.92rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.7);
  color: var(--brown);
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.active { background: var(--brown); color: #fff7e9; border-color: var(--brown); }
.masonry-grid { columns: 1; column-gap: 18px; }
.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(74, 47, 39, 0.12);
  cursor: zoom-in;
  break-inside: avoid;
}
.gallery-item img { transition: transform 350ms ease, filter 350ms ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.06); }
.gallery-item.is-hidden { display: none; }

.album-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.album-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 58px 16px 16px;
  color: #fff7e9;
  background: linear-gradient(0deg, rgba(34, 22, 18, 0.84), transparent);
  font-weight: 700;
}
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { padding: 22px; min-height: 230px; }
.service-card span { color: var(--gold); font-weight: 800; }
.service-card h3 { margin-top: 26px; }
.service-card p, .testimonial-card p { color: var(--muted); font-size: 0.95rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { margin: 0; padding: 26px; }
.testimonial-card cite { display: block; margin-top: 18px; color: var(--brown); font-style: normal; font-weight: 700; }

.contact-section { background: #efe7d8; }
.contact-list { display: grid; gap: 12px; margin-top: 24px; }
.contact-list a, .contact-list div {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-left: 3px solid var(--terracotta);
  background: rgba(255, 250, 241, 0.62);
  border-radius: var(--radius);
}
.contact-list span { color: var(--muted); }
.whatsapp-link { border-left-color: #2aa84a !important; }
.map-container {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(74, 47, 39, 0.18);
  border-radius: var(--radius);
  background: var(--paper);
}
.map-embed {
  display: block;
  width: 100%;
  min-height: 240px;
  border: 0;
}
.map-link {
  display: block;
  padding: 11px 16px;
  color: var(--brown);
  text-align: center;
  font-weight: 800;
}
.map-link:hover { color: var(--terracotta); }
.contact-form { display: grid; gap: 16px; padding: 24px; }
.contact-form label { display: grid; gap: 8px; color: var(--brown); font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--charcoal);
  padding: 12px 14px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(182, 90, 58, 0.14); }

.site-footer { padding: 52px 0 24px; background: var(--brown); color: #fff7e9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 0.7fr; gap: 30px; }
.footer-grid p { max-width: 440px; color: rgba(255, 247, 233, 0.72); }
.footer-grid h3 { color: #fff7e9; font-size: 1.1rem; margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; color: rgba(255, 247, 233, 0.76); margin-top: 8px; }
.footer-brand { color: #fff7e9; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid !important;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 247, 233, 0.3);
  border-radius: 50%;
  color: #fff7e9 !important;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}
.socials i { font-size: 1.15rem; }
.socials a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--brown) !important;
}
.copyright { margin: 36px auto 0; width: min(1120px, calc(100% - 32px)); color: rgba(255, 247, 233, 0.62); font-size: 0.9rem; }
.compact { padding: 28px 0; }
.compact .copyright { margin-top: 0; }

.page-main { padding-top: 74px; }
.page-hero {
  padding: 82px 0 54px;
  background: radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.18), transparent 28%), linear-gradient(135deg, #fff8eb, #efe2cf);
}
.page-hero h1 { color: var(--brown); font-size: clamp(2.7rem, 7vw, 5.2rem); }
html[lang="hi"] .page-hero h1 { font-size: clamp(2.25rem, 6vw, 4.4rem); line-height: 1.3; }
.page-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.large-gallery { columns: 1; }
.album-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.album-detail-grid .gallery-item { margin: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(22, 14, 11, 0.88);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(920px, 92vw); max-height: 78vh; object-fit: contain; border-radius: var(--radius); background: var(--paper); }
.lightbox p { color: #fff7e9; text-align: center; font-weight: 700; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 247, 233, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #fff7e9;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 680px) {
  .masonry-grid { columns: 2; }
  .large-gallery { columns: 2; }
}

@media (min-width: 980px) {
  .large-gallery { columns: 3; }
}

@media (max-width: 1040px) {
  .album-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid, .testimonial-grid, .album-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 58px 0; }
  .navbar { min-height: 66px; }
  .nav-toggle { display: block; color: #fff7e9; }
  .nav-menu {
    position: fixed;
    inset: 66px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 241, 0.98);
    color: var(--brown);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-menu a { padding: 12px; }
  .lang-switch { justify-content: center; margin: 8px 10px 4px; color: var(--brown); }
  .nav-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .hero { min-height: 92svh; }
  .hero-slide picture img { object-position: 74% center; }
  .hero-slide:nth-child(2) picture img { object-position: 78% center; }
  .hero-slide:nth-child(3) picture img { object-position: 76% center; }
  .hero-content { padding-bottom: 58px; }
  html[lang="hi"] .hero-content { padding-bottom: 78px; }
  html[lang="hi"] .hero h1 {
    line-height: 1.4;
    transform: none;
  }
  html[lang="hi"] .hero .eyebrow {
    margin-bottom: 24px;
    line-height: 1.55;
  }
  .hero-content { padding: 128px 0 92px; }
  .hero-arrow {
    top: auto;
    bottom: 18px;
    width: 40px;
    font-size: 1.85rem;
    transform: none;
  }
  .hero-arrow:hover, .hero-arrow:focus-visible { transform: scale(1.04); }
  .hero-arrow-prev { left: 16px; }
  .hero-arrow-next { right: 16px; }
  .hero-dots { bottom: 32px; }
  .split-grid, .contact-grid, .featured-grid, .testimonial-grid, .footer-grid, .album-detail-grid { grid-template-columns: 1fr; }
  .stats, .album-grid, .service-grid { grid-template-columns: 1fr; }
  .work-card img, .album-card img { aspect-ratio: 16 / 11; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filter-btn { white-space: nowrap; }
  .footer-grid { gap: 24px; }
}

@media (max-aspect-ratio: 4 / 5) {
  .hero {
    min-height: clamp(700px, 92svh, 840px);
    background: #221612;
  }
  .hero-slide picture {
    inset: 0 0 auto;
    height: 46%;
    background-position: center;
    background-size: cover;
  }
  .hero-slide:first-child picture { background-image: url("../images/hero-murtikar.webp"); }
  .hero-slide:nth-child(2) picture { background-image: url("../images/hero-slide-2.webp"); }
  .hero-slide:nth-child(3) picture { background-image: url("../images/hero-slide-3.webp"); }
  .hero-slide:nth-child(4) picture { background-image: url("../images/hero-slide-pottery.png"); }
  .hero-slide picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(34, 22, 18, 0.2);
    backdrop-filter: blur(8px);
  }
  .hero-slide picture img {
    z-index: 1;
    object-fit: contain;
    object-position: center;
  }
  .hero-overlay {
    background: linear-gradient(180deg, transparent 24%, rgba(34, 22, 18, 0.72) 46%, #221612 62%);
  }
  .hero-content {
    align-self: end;
    padding-top: 0;
  }
}

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