@font-face {
  font-family: "Infinity14";
  src: url("media/fonts/infinity-14.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EugeneSans";
  src: url("media/fonts/eugene-sans.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --site-scale: 1;

  --color-bg: #f8f3ed;
  --color-surface: #fffaf4;
  --color-surface-soft: #f0e2d3;

  /* Initial: raw Shadu clay */
  --stage-clay: #cec9bf;
  /* Formative: white coating / early body colour */
  --stage-dry: #eee8df;
  /* Intermediate: almost finished */
  --stage-refined: #e8cbb6;
  /* Final: finished murti */
  --stage-finished: #dfa47c;
  /* --stage-finished: #d8a07d; */
  /* Eco-conscious grounding */
  --stage-earth: #4b5042;

  --surface-light: #fffaf6;

  --color-text: #29231f;
  --color-text-muted: #6d625a;

  --color-primary: #9b3d27;
  --color-primary-dark: #702819;
  --color-accent: #d69a49;

  --color-border: #dfd3c9;

  --shadow-soft: 0 10px 30px rgba(60, 40, 25, 0.08);
  --shadow-medium: 0 14px 40px rgba(60, 40, 25, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container-width: 1320px;

  --space-xss: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  --transition: 180ms ease;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  zoom: var(--site-scale);

  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;

  background: var(--stage-finished);
  color: var(--color-text);

  font-family: "Mukta", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container-width));
  margin-inline: auto;
}

/* GENERAL SECTIONS */

.section {
  padding: var(--space-2xl) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: var(--space-xl);
}

.section-heading > :last-child {
  margin-bottom: 0;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-label,
.hero-eyebrow {
  margin: 0 0 var(--space-xs);

  color: var(--color-primary);

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

html[lang="en"] [data-display-font] {
  font-family: "EugeneSans", "Mukta", sans-serif;
  font-weight: 400;
}

html[lang="mr"] [data-display-font] {
  font-family: "Infinity14", "Mukta", sans-serif;
  font-weight: 400;
  white-space: pre-wrap;
}

html[lang="en"] .hero-content h1 {
  line-height: 1.05;
}

html[lang="mr"] .hero-content h1 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(1.8rem, 7.5vw, 2.8rem);
}

h2 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.8rem, 7vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--color-text-muted);
}

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
  white-space: nowrap;

  border: 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: transparent;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar {
  width: min(100% - 2rem, var(--container-width));
  min-height: 78px;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  color: var(--color-text);
}

.brand img {
  display: block;
  width: auto;
  height: 40px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;

  background: var(--color-text);

  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 78px 0 auto;

  padding: var(--space-xl);

  background: rgba(255, 250, 246, 0.98);
  border-bottom: 1px solid var(--color-border);

  transform: translateY(-120%);
  visibility: hidden;

  transition:
    transform 220ms ease,
    visibility 220ms ease;
}

.nav-panel.open {
  transform: translateY(0);
  visibility: visible;
}

.nav-links {
  display: grid;
  gap: var(--space-sm);

  margin: 0;
  padding: 0;

  list-style: none;
}

.nav-links a {
  display: block;

  padding: 0.7rem 0;

  color: var(--color-text);

  font-weight: 600;

  border-bottom: 1px solid var(--color-border);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-primary);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xss);

  margin-top: var(--space-lg);
}

.language-option:first-child {
  padding-left: 0;
}

.language-option {
  padding: 0.35rem 0.45rem;

  background: transparent;
  color: var(--color-text-muted);

  font-weight: 600;

  cursor: pointer;
}

.language-option.active {
  color: var(--color-primary);
}

/* HERO */

.hero {
  width: min(100% - 2rem, var(--container-width));
  margin: var(--space-xl) auto var(--space-2xl);

  display: grid;

  overflow: hidden;

  background: var(--surface-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);

  box-shadow: var(--shadow-soft);
}

.hero-image {
  min-height: 260px;
  background: var(--stage-dry);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;

  display: block;

  object-fit: cover;
}

.hero-content {
  position: relative;
  overflow: hidden;

  padding: var(--space-lg);
}

/* HERO RANGOLI */

.hero-rangoli {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 120px;
  height: auto;

  opacity: 0.075;

  pointer-events: none;
}

.hero-content > :not(.hero-rangoli) {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin: 0 0 var(--space-lg);
}

.hero-description {
  max-width: 600px;
  margin: 0 0 var(--space-lg);

  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-sm);
}

.hero-actions .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* BUTTONS */

.btn {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.25rem;

  border-radius: 999px;

  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);

  border: 1px solid var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

/* ABOUT */

.about-section {
  position: relative;

  overflow-x: clip;
  overflow-y: visible;

  background: linear-gradient(
    to bottom,
    var(--stage-finished) 0,
    var(--stage-refined) 90px
  );
}

.about-section .container {
  position: relative;
}

.about-section .section-heading,
.about-content,
.features {
  position: relative;
  z-index: 1;
}

.about-watermark {
  position: absolute;
  top: -75px;
  right: -25px;
  z-index: 0;

  display: block;

  width: 260px;
  max-width: none;
  height: auto;

  opacity: 0.14;

  pointer-events: none;
  user-select: none;
}

.about-section .section-heading {
  max-width: 1100px;
  margin-bottom: var(--space-sm);
}

.about-section .section-heading h2 {
  margin-bottom: 0;
}

.about-content {
  margin-bottom: var(--space-xl);
}

.about-content p {
  margin-bottom: 0;
  font-size: 1rem;
}

.features {
  display: grid;
  gap: var(--space-md);
}

.feature {
  padding: var(--space-lg);

  background: var(--surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.feature h3 {
  margin-bottom: var(--space-sm);
}

.feature p {
  margin-bottom: 0;
}

/* GALLERY */

.gallery-section {
  background: linear-gradient(
    to bottom,
    var(--stage-refined) 0,
    var(--stage-dry) 90px
  );
}

.murti-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;

  width: 100%;
  height: 100%;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  overflow: hidden;

  background: var(--surface-light);
  color: inherit;

  border-radius: var(--radius-md);

  text-align: left;

  appearance: none;
  cursor: pointer;

  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;

  aspect-ratio: 4 / 5;

  display: block;

  object-fit: cover;

  transition: transform 300ms ease;
}

.gallery-item-info {
  padding: var(--space-sm) var(--space-md);

  display: grid;
  gap: 0.2rem;
}

.gallery-item-name {
  overflow: hidden;

  color: var(--color-text);

  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;

  text-align: left;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-item-size {
  color: var(--color-text-muted);

  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;

  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.gallery-actions {
  display: flex;
  justify-content: center;

  margin-top: var(--space-xl);
}

.gallery-toggle {
  min-width: 140px;
}

/* LIGHTBOX */

.lightbox {
  width: min(92vw, 950px);
  max-height: 92vh;

  padding: 0;

  overflow: visible;

  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(20, 15, 12, 0.88);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;

  display: block;
  margin-inline: auto;

  border-radius: var(--radius-md);

  object-fit: contain;
}

.lightbox figcaption {
  margin-top: var(--space-sm);

  color: #fff;

  font-size: 1.05rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;

  width: 38px;
  height: 38px;

  background: transparent;
  color: #fff;

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;
}

/* CONTACT + MAP */

.contact-section {
  background: linear-gradient(
    to bottom,
    var(--stage-dry) 0,
    var(--stage-clay) 90px
  );
}

.contact-layout {
  display: grid;
  gap: var(--space-xl);
}

.contact-details .section-heading {
  margin-bottom: var(--space-xl);
}

.contact-details .section-heading h2 {
  margin-bottom: var(--space-md);
}

.contact-details .section-heading p:last-child {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: var(--space-lg);

  margin: 0 0 var(--space-xl);

  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: var(--space-sm);
}

.contact-icon {
  width: 1.4rem;
  height: 1.4rem;

  margin-top: 0.15rem;

  color: var(--color-primary);
}

.contact-icon svg {
  width: 100%;
  height: 100%;

  display: block;

  fill: currentColor;
}

.contact-item-content {
  display: grid;
  gap: 0.2rem;
}

.contact-item-content a,
.contact-item-content span {
  color: var(--color-text-muted);
}

.contact-item-content a:hover,
.contact-item-content a:focus-visible {
  color: var(--color-primary);
}

.contact-phones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-separator {
  color: var(--color-border);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-social-link {
  width: 3rem;
  height: 3rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--color-primary);
  color: #fff;

  border-radius: 50%;

  box-shadow: var(--shadow-soft);

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.contact-social-link svg {
  width: 1.55rem;
  height: 1.55rem;

  display: block;

  fill: currentColor;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.contact-map {
  padding: var(--space-lg);

  background: var(--surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-soft);
}

.map-heading {
  margin-bottom: var(--space-sm);
}

.map-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--stage-dry);
}

.map-wrapper iframe {
  width: 100%;
  height: 340px;

  display: block;

  border: 0;
}

.map-link {
  margin-top: var(--space-lg);
}

/* FOOTER */

.site-footer {
  padding: var(--space-lg) 0;

  background: #465044;
  color: rgba(255, 255, 255, 0.88);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin: 0;
  color: inherit;
}

/* FOCUS */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* TABLET STYLES */

@media (min-width: 768px) {
  .brand img {
    height: 50px;
  }

  h1 {
    font-size: clamp(2.4rem, 4vw, 3rem);
  }

  .section {
    padding: 4rem 0;
  }

  .about-section {
    padding-top: 5rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-panel {
    position: static;

    display: flex;
    align-items: center;
    gap: var(--space-xl);

    padding: 0;

    background: transparent;
    border: 0;

    transform: none;
    visibility: visible;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }

  .nav-links a {
    padding: var(--space-sm) 0;

    border: 0;
  }

  .language-switcher {
    margin-top: 0;
  }

  .language-option:first-child {
    padding-left: 0.45rem;
  }

  .hero {
    grid-template-columns: 1.7fr 1fr;
    align-items: stretch;
  }

  .hero-image {
    min-height: 100%;
  }

  .hero-image img {
    min-height: 100%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: clamp(2rem, 4vw, 4rem);
  }

  .hero-rangoli {
    width: 200px;
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .about-watermark {
    top: -100px;
    right: -10px;

    width: 330px;
    opacity: 0.16;
  }

  .about-content p {
    font-size: 1.08rem;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .murti-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .gallery-item-name {
    font-size: 1rem;
  }

  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    gap: var(--space-2xl);
  }

  .contact-map {
    display: flex;
    flex-direction: column;

    padding: var(--space-xl);
  }

  .map-wrapper {
    flex: 1;
  }

  .map-wrapper iframe {
    height: 100%;
    min-height: 430px;
  }
}

/* DESKTOP STYLES */

@media (min-width: 1100px) {
  html {
    zoom: 1.1;
  }

  .brand img {
    height: 60px;
  }

  h1 {
    font-size: clamp(3rem, 4.5vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.2rem, 3vw, 3rem);
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-rangoli {
    width: 250px;
  }

  .about-watermark {
    position: absolute;
    right: 5px;
  }

  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .murti-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
