:root {
  --ink: #171514;
  --muted: #6b6660;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ddd5ca;
  --gold: #bd7d21;
  --leaf: #237260;
  --rose: #b95555;
  --blue: #316d8f;
  --charcoal: #252220;
  --shadow: 0 24px 70px rgba(37, 34, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(35, 114, 96, 0.06) 0 1px, transparent 1px 100%) 0 0 / 72px 72px,
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 100%);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.98);
  border-bottom: 1px solid rgba(221, 213, 202, 0.8);
  box-shadow: 0 8px 24px rgba(37, 34, 32, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #000;
  box-shadow: 0 8px 22px rgba(37, 34, 32, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
footer strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-address {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-address {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.brand-tagline {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-order,
.nav-instagram,
.primary-action,
.secondary-action,
.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-instagram .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.nav-instagram {
  color: #e1306c;
  background: #fff;
  border: 1px solid #e1306c;
}

.nav-instagram:hover {
  background: rgba(225, 48, 108, 0.08);
}

.nav-order,
.primary-action,
.product-card button {
  color: #fff;
  background: var(--leaf);
  border: 1px solid var(--leaf);
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 94px) clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  scroll-snap-align: start;
}

main > section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  scroll-snap-align: start;
}

.hero.in-view,
main > section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  main > section,
  .hero.in-view,
  main > section.in-view {
    transition: none;
    transform: none;
  }
}

.hero::before {
  position: absolute;
  right: -12vw;
  top: 10%;
  width: 44vw;
  height: 44vw;
  min-width: 420px;
  min-height: 420px;
  border: 1px solid rgba(189, 125, 33, 0.35);
  border-radius: 50%;
  content: "";
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8.4vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-gallery {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.product-art {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-art::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
}

.shop-photo-frame,
.showroom-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 213, 202, 0.8);
  background: #fff;
  box-shadow: var(--shadow);
}

.shop-photo-frame {
  position: absolute;
  inset: 16px 0 34px 8%;
  border-radius: 28px;
  transform: rotate(1.5deg);
}

.shop-photo-frame::before {
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.shop-photo-frame img,
.showroom-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-photo-frame img {
  object-position: center 38%;
}

.counter-card {
  position: absolute;
  left: 0;
  bottom: 64px;
  max-width: 250px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.counter-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.counter-card small,
.product-card p,
.process-list span,
footer span,
.order-section p,
.story-grid p {
  color: var(--muted);
  line-height: 1.6;
}

section {
  padding: 76px clamp(18px, 5vw, 72px);
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.showroom-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.services-board-section {
  display: block;
  background: #fff;
}

.showroom-copy {
  max-width: 560px;
}

.showroom-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.services-board-copy {
  max-width: 860px;
}

.services-board-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.showroom-photo {
  height: min(72vh, 720px);
  min-height: 420px;
  border-radius: 28px;
}

.showroom-photo img {
  object-position: center 42%;
}

.media-gallery-section {
  background: #fff;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.media-gallery figure {
  min-height: clamp(320px, 46vw, 560px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.media-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-gallery figure:first-child img {
  object-position: center 36%;
}

.media-gallery figure:last-child img {
  object-position: center 34%;
}

.story-section,
.process-section {
  background: #fff;
}

.story-intro {
  display: grid;
  grid-template-columns: 0.7fr minmax(0, 1.3fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.story-grid,
.product-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: story;
}

.story-grid article {
  position: relative;
  padding: 28px 28px 30px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.85), rgba(247, 244, 238, 0));
  border-radius: 8px;
}

.chapter {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(37, 34, 32, 0.08);
}

.hero-storyline {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.showroom-section,
.media-gallery-section,
.services-board-section,
.videography-section,
.process-section,
.order-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.showroom-section,
.media-gallery-section,
.services-board-section,
.process-section,
.order-section {
  background: rgba(255, 255, 255, 0.92);
}

.showroom-copy h2,
  .video-copy h2 {
    color: #fff;
  }

.reference-album-section {
  padding-top: 54px;
  padding-bottom: 54px;
  background: rgba(255, 255, 255, 0.92);
}

.reference-album-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  align-items: start;
}

.reference-album-gallery figure {
  overflow: hidden;
  border-radius: 18px;
  background: #f7f4ee;
  border: 1px solid rgba(37, 34, 32, 0.08);
}

.reference-album-gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.reference-album-section .section-heading {
  margin-bottom: 24px;
}
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

/* Desktop/tablet: fixed 4-column layout so four product tiles appear side-by-side */
@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .product-card {
    padding: 14px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(37, 34, 32, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Ensure images have consistent height and cards stretch uniformly */
.product-card .product-art {
  min-height: 280px;
  margin-bottom: 16px;
}

/* Push the call-to-action to the bottom of the card */
.product-card button,
.product-card .order-btn {
  margin-top: auto;
  align-self: stretch;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 34, 32, 0.12);
}

.product-art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border: 12px solid #382a21;
  border-radius: 18px;
  background: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 8px #fff, 0 18px 42px rgba(52, 37, 22, 0.12);
  overflow: hidden;
}

.product-art::before {
  display: none;
}

.product-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--leaf);
  background: #f7f4ee;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.art-classic {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 20% 18%;
}

.art-wedding {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 70% 18%;
}

.art-collage {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 20% 58%;
}

.art-canvas {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 55% 58%;
}

.art-certificate {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 62% 12%;
}

.art-acrylic {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 75% 42%;
}

.art-frames {
  background-image: none;
  background-color: #20180f;
}

.product-art[data-slideshow] {
  background: #20180f;
}

.product-art[data-slideshow] {
  position: relative;
  background: #20180f;
}

.product-art .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.product-art .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition-delay: 0s;
}

.product-art .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.frame-list {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.art-lamination {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 24% 82%;
}

.art-devotional {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 82% 12%;
}

.art-resin {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 18% 42%;
}

.art-jaymala {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 62% 50%;
}

.art-printing {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 45% 30%;
}

.art-passport {
  background-image: url("assets/shop-photo.jpeg");
  background-position: 36% 62%;
}

.art-photography {
  background-image: url("assets/showroom-frames.jpeg");
  background-position: 38% 34%;
}

.art-videography {
  background-image: url("assets/showroom-frames.jpeg");
  background-position: 58% 68%;
}

.product-card p {
  flex: 1;
}

.product-card button {
  width: 100%;
  cursor: pointer;
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbf8f2;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.order-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(35, 114, 96, 0.92), rgba(37, 34, 32, 0.98)),
    var(--ink);
  color: #fff;
}

.videography-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.12fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(37, 34, 32, 0.98), rgba(35, 114, 96, 0.9)),
    var(--charcoal);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }
}

.video-copy {
  max-width: 560px;
}

.video-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

.video-frame {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: #000;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9;
  width: min(100%, 760px);
  justify-self: center;
}

.video-frame video {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 56.25%;
  height: 177.78%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.order-section div {
  max-width: 760px;
}

.order-section p {
  color: rgba(255, 255, 255, 0.78);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #1f8f4d;
  box-shadow: 0 14px 32px rgba(31, 143, 77, 0.34);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  width: min(100%, 520px);
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

footer .footer-links a {
  color: var(--leaf);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

footer .footer-links a svg.footer-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .footer .footer-links {
    align-items: flex-start;
    width: 100%;
  }

  .hero,
  .story-grid,
  .story-intro,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    min-height: 480px;
  }

  .showroom-section {
    grid-template-columns: 1fr;
  }

  .media-gallery,
  .videography-section {
    grid-template-columns: 1fr;
  }

  .showroom-photo {
    height: 520px;
  }

  .media-gallery figure {
    min-height: 380px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-section,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-order,
  .nav-instagram {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-gallery {
    min-height: 390px;
  }

  .shop-photo-frame {
    inset: 8px 0 44px 0;
    border-radius: 20px;
    transform: rotate(0deg);
  }

  .counter-card {
    bottom: 0;
  }

  .showroom-photo {
    height: 420px;
    min-height: 0;
    border-radius: 20px;
  }

  .media-gallery figure {
    min-height: 300px;
    border-radius: 20px;
  }

  .video-frame {
    border-radius: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}

/* Disable scroll-reveal for the products section only */
#products {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#products * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
