:root {
  --ivory: #faf6f0;
  --ivory-deep: #efe4d4;
  --terracotta: #9c3d2e;
  --terracotta-dark: #7a2f24;
  --gold: #c9a227;
  --ink: #2b2118;
  --muted: #75675a;
  --forest: #24523f;
  --dark: #3e2723;
  --white: #fffaf3;
  --line: rgba(43, 33, 24, 0.14);
  --shadow: 0 18px 50px rgba(43, 33, 24, 0.12);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, "Noto Sans Kannada", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body.intro-active {
  overflow: hidden;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.grand-opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 162, 39, 0.22), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(156, 61, 46, 0.36), transparent 34%),
    linear-gradient(135deg, #2b1715 0%, var(--dark) 48%, #1f1412 100%);
  color: var(--white);
}

.grand-opening.is-playing,
.grand-opening.is-finished {
  display: grid;
}

.grand-opening.is-playing {
  animation: introLift 680ms cubic-bezier(0.75, 0, 0.22, 1) 2.95s forwards;
}

.grand-opening.is-finished {
  animation: introQuickExit 340ms ease forwards;
}

.intro-sparkles {
  position: absolute;
  inset: 0;
  opacity: 0.74;
  background-image:
    radial-gradient(circle, rgba(244, 217, 145, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 250, 243, 0.52) 0 1px, transparent 1.5px);
  background-position: 0 0, 20px 24px;
  background-size: 46px 46px, 70px 70px;
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  animation: introSparkle 2800ms ease-in-out both;
}

.intro-frame-stage {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(920px, 100vw);
  height: min(680px, 82svh);
}

.intro-frame {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  position: absolute;
  top: 48%;
  left: 50%;
  width: clamp(150px, 28vw, 270px);
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 250, 243, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform:
    translate(-50%, -50%)
    translate(var(--x), var(--y))
    rotate(var(--r))
    scale(1.24);
  animation: introFrameFlash 1800ms cubic-bezier(0.18, 0.84, 0.24, 1) both;
}

.intro-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.intro-frame-1 {
  --x: -265px;
  --y: -86px;
  --r: -10deg;
  animation-delay: 120ms;
}

.intro-frame-2 {
  --x: 8px;
  --y: -118px;
  --r: 7deg;
  animation-delay: 330ms;
}

.intro-frame-3 {
  --x: 252px;
  --y: -54px;
  --r: -6deg;
  animation-delay: 540ms;
}

.intro-frame-4 {
  --x: -122px;
  --y: 132px;
  --r: 8deg;
  animation-delay: 750ms;
}

.intro-frame-5 {
  --x: 160px;
  --y: 138px;
  --r: -8deg;
  animation-delay: 960ms;
}

.intro-shimmer {
  position: absolute;
  inset: -20%;
  opacity: 0;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 42%,
      rgba(244, 217, 145, 0.18) 47%,
      rgba(255, 250, 243, 0.92) 50%,
      rgba(244, 217, 145, 0.18) 53%,
      transparent 60%,
      transparent 100%
    );
  transform: translateX(-48%) rotate(4deg);
  animation: introShimmer 980ms ease-out 1.48s both;
}

.intro-title {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 36px));
  margin: auto;
  padding: 26px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: introTitleIn 820ms cubic-bezier(0.18, 0.84, 0.24, 1) 1.74s forwards;
}

.intro-title p {
  margin: 0 0 12px;
  color: #f4d991;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-title h2 {
  margin: 0;
  color: #f4d991;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.42);
}

.intro-title span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 243, 0.9);
  font-family: "Noto Serif Kannada", serif;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 700;
}

.intro-skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 243, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.1);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  opacity: 0;
  backdrop-filter: blur(12px);
  animation: introSkipIn 320ms ease 520ms forwards;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  background: rgba(255, 250, 243, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--terracotta);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.35vw, 20px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links button:hover,
.footer-links a:focus-visible,
.footer-links button:focus-visible {
  color: var(--terracotta);
}

.nav-order,
.product-footer button,
.text-button {
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-order {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--terracotta);
  border-radius: var(--radius);
  color: var(--terracotta);
  font-weight: 700;
}

.nav-order:hover,
.nav-order:focus-visible {
  background: var(--terracotta);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(250, 246, 240, 0.96) 0%,
      rgba(250, 246, 240, 0.86) 40%,
      rgba(250, 246, 240, 0.2) 72%
    );
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 64px 32px 86px;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  display: block;
  width: 38px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow.light {
  color: #f4d991;
}

.hero h1,
.section h2,
.custom-section h2,
.modal-heading h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-weight: 700;
  line-height: 1.04;
}

.hero h1 {
  max-width: 620px;
  font-size: 4.8rem;
}

.kannada-line,
.kannada-subline {
  font-family: "Noto Serif Kannada", serif;
  font-weight: 700;
}

.kannada-line {
  margin: 14px 0 0;
  color: var(--terracotta);
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: #4b3a2d;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary {
  background: var(--terracotta);
  color: var(--white);
}

.primary:hover,
.primary:focus-visible {
  background: var(--terracotta-dark);
}

.secondary {
  border-color: rgba(43, 33, 24, 0.28);
  background: rgba(250, 246, 240, 0.75);
  color: var(--ink);
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-strip div {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--terracotta);
  font-size: 0.98rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 32px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.story-section {
  background: var(--dark);
  color: var(--white);
}

.story-layout,
.custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.story-media {
  overflow: hidden;
  border-radius: var(--radius);
}

.story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-copy h2,
.custom-section h2 {
  max-width: 660px;
  font-size: 3.35rem;
}

.story-copy p:not(.eyebrow):not(.kannada-subline),
.custom-section p {
  max-width: 620px;
  color: rgba(255, 250, 243, 0.78);
  font-size: 1rem;
}

.heritage-section {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(201, 162, 39, 0.18), transparent 30%),
    linear-gradient(135deg, #2b1715 0%, var(--dark) 48%, #1f1412 100%);
  color: var(--white);
}

.heritage-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}

.heritage-divider svg {
  width: min(360px, 100%);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.heritage-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.heritage-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 1.05;
}

.heritage-heading h2 span {
  color: #f4d991;
  font-family: "Noto Serif Kannada", serif;
  font-size: 0.48em;
  white-space: nowrap;
}

.heritage-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 250, 243, 0.74);
}

.heritage-scroll-hint {
  display: none;
  width: fit-content;
  max-width: calc(100% - 20px);
  align-items: center;
  gap: 10px;
  margin: -14px 0 24px;
  color: #f4d991;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heritage-scroll-hint::after {
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

.heritage-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.heritage-timeline::before {
  display: none;
}

.heritage-card {
  position: relative;
  grid-column: span 2;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 250, 243, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.heritage-card::before {
  position: absolute;
  top: 88px;
  left: 28px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--dark);
  content: "";
}

.heritage-card h3 {
  margin: 12px 0 12px;
  color: var(--white);
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 1.34rem;
  line-height: 1.18;
}

.heritage-card p {
  margin: 0;
  color: rgba(255, 250, 243, 0.75);
  font-size: 0.9rem;
}

.heritage-card p[lang="kn"] {
  margin-top: 12px;
  color: rgba(244, 217, 145, 0.86);
  font-family: "Noto Serif Kannada", serif;
  font-size: 0.84rem;
  line-height: 1.7;
}

.heritage-era {
  color: #f4d991 !important;
  font-size: 0.73rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heritage-art {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
}

.heritage-art span,
.heritage-art::before,
.heritage-art::after {
  position: absolute;
  border: 2px solid var(--gold);
  border-radius: 999px;
  content: "";
}

.heritage-art span {
  width: 30px;
  height: 30px;
}

.heritage-art::before {
  width: 20px;
  height: 34px;
  transform: rotate(-28deg);
}

.heritage-art::after {
  width: 18px;
  height: 30px;
  transform: rotate(28deg);
}

.heritage-art-green span {
  border-color: #82b366;
}

.heritage-art-festival {
  background:
    radial-gradient(circle, rgba(244, 217, 145, 0.35), transparent 55%),
    rgba(201, 162, 39, 0.08);
}

.heritage-card-today {
  grid-column: span 3;
  border-color: rgba(201, 162, 39, 0.72);
  background: rgba(201, 162, 39, 0.08);
}

.heritage-card:nth-child(4) {
  grid-column: span 3;
}

.heritage-card-today img {
  width: 100%;
  height: clamp(150px, 16vw, 210px);
  aspect-ratio: 1 / 0.72;
  margin-bottom: 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

.heritage-card-today::before {
  top: 160px;
}

.heritage-shop-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(244, 217, 145, 0.56);
  border-radius: var(--radius);
  color: #f4d991;
  font-size: 0.86rem;
  font-weight: 900;
}

.heritage-shop-link::after {
  margin-left: 8px;
  content: "->";
}

.heritage-shop-link:hover,
.heritage-shop-link:focus-visible {
  background: var(--gold);
  color: var(--dark);
}

.kannada-subline {
  margin: 20px 0 14px;
  color: #f4d991;
  font-size: 1.1rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 640px;
  margin-bottom: 30px;
}

.section-heading h2,
.process-section h2,
.testimonials-section h2 {
  font-size: 3rem;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.process-step,
.testimonial-grid figure {
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.product-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
}

.product-card:nth-child(4) > img {
  object-position: 72% center;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: var(--radius);
  color: #6e5512;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.product-card h3,
.process-step h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.18;
}

.product-card p,
.process-step p {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.product-footer strong {
  color: var(--forest);
  font-size: 1rem;
}

.product-footer button {
  min-width: 86px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.product-footer button:hover,
.product-footer button:focus-visible {
  background: var(--terracotta);
}

.accent-card {
  display: grid;
  min-height: 390px;
  place-items: center;
  border-color: rgba(201, 162, 39, 0.34);
  background: var(--forest);
  color: var(--white);
}

.custom-card-content {
  padding: 30px;
}

.custom-card-content .eyebrow {
  color: #f4d991;
}

.custom-card-content h3 {
  font-size: 2.05rem;
}

.custom-card-content p {
  color: rgba(255, 250, 243, 0.76);
}

.process-section {
  background: #fffaf3;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  position: relative;
  padding-bottom: 22px;
}

.process-step img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.process-step:nth-child(1) img {
  object-position: center center;
}

.process-step span {
  display: inline-flex;
  margin: 20px 20px 10px;
  color: var(--terracotta);
  font-weight: 900;
}

.process-step h3,
.process-step p {
  margin-inline: 20px;
}

.process-step p {
  margin-bottom: 0;
}

.custom-section {
  padding: 86px 32px;
  background: var(--terracotta);
  color: var(--white);
}

.custom-layout {
  grid-template-columns: minmax(0, 1fr) auto;
}

.light-button {
  align-self: center;
  border-color: rgba(255, 250, 243, 0.5);
  background: var(--white);
  color: var(--terracotta);
}

.light-button:hover,
.light-button:focus-visible {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-grid figure {
  margin: 0;
  padding: 26px;
  box-shadow: none;
}

.testimonial-grid blockquote {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--terracotta);
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-section {
  background: #fffaf3;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-list details {
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(43, 33, 24, 0.07);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 20px 58px 20px 22px;
  color: var(--dark);
  cursor: pointer;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(143, 63, 45, 0.26);
  border-radius: 999px;
  color: var(--terracotta);
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-list details[open] summary {
  color: var(--terracotta);
}

.seo-page {
  background: var(--ivory);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  align-items: center;
  padding: 68px 32px;
  background:
    radial-gradient(circle at 8% 10%, rgba(201, 162, 39, 0.16), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, var(--ivory) 55%, #efe4d4 100%);
}

.seo-hero-copy,
.seo-hero-media {
  width: min(100%, 620px);
}

.seo-hero-copy {
  justify-self: end;
}

.seo-hero h1 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: clamp(2.8rem, 5.7vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
}

.seo-hero p:not(.eyebrow) {
  max-width: 560px;
  color: #4b3a2d;
  font-size: 1.06rem;
}

.seo-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.seo-hero-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 32vw, 500px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.seo-hero-media figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.seo-copy,
.seo-service-card {
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(43, 33, 24, 0.07);
}

.seo-copy {
  padding: 30px;
}

.seo-copy h2,
.seo-service-card h2,
.seo-cta h2 {
  margin-top: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 2rem;
  line-height: 1.12;
}

.seo-copy p {
  color: var(--muted);
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

.seo-service-card {
  padding: 24px;
}

.seo-service-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.seo-service-card li {
  padding-left: 18px;
  border-left: 3px solid rgba(201, 162, 39, 0.64);
}

.seo-product-grid .product-card > img {
  aspect-ratio: 4 / 3;
}

.seo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.seo-cta p {
  max-width: 720px;
  color: rgba(255, 250, 243, 0.76);
}

.home-studio-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(36, 82, 63, 0.22), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(201, 162, 39, 0.24), transparent 28%),
    linear-gradient(135deg, #2b1715 0%, var(--dark) 54%, #172f28 100%);
  color: var(--white);
}

.home-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.home-studio-copy h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.home-studio-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 243, 0.76);
}

.studio-teaser {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(244, 217, 145, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 250, 243, 0.08), rgba(255, 250, 243, 0.02)),
    radial-gradient(circle at center, rgba(244, 217, 145, 0.18), transparent 54%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  perspective: 900px;
}

.studio-teaser-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 420px);
  aspect-ratio: 1;
  border: 38px solid #7a1f24;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 12px rgba(212, 154, 33, 0.78),
    inset 0 0 42px rgba(0, 0, 0, 0.24),
    0 30px 90px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-18deg);
  transform-style: preserve-3d;
  animation: studioOrbit 5600ms ease-in-out infinite;
}

.studio-teaser-orbit::before,
.studio-teaser-orbit::after {
  position: absolute;
  inset: -28px;
  border: 12px dotted #fff0d6;
  border-radius: inherit;
  content: "";
  transform: translateZ(34px);
}

.studio-teaser-orbit::after {
  inset: 28px;
  border-color: #d6a739;
  border-style: dashed;
  transform: translateZ(-24px);
}

.studio-teaser-details {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.studio-teaser-details span {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.09);
  color: rgba(255, 250, 243, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.builder-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(201, 162, 39, 0.16), transparent 28%),
    linear-gradient(145deg, var(--ivory) 0%, #fffaf3 44%, #efe4d4 100%);
}

.builder-studio {
  min-height: calc(100svh - var(--header-height));
  padding: 48px 32px 78px;
}

.builder-head,
.builder-workbench {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.builder-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.builder-head h1 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  line-height: 0.94;
}

.builder-head p[lang="kn"] {
  margin: 14px 0 0;
  color: var(--terracotta);
  font-family: "Noto Serif Kannada", serif;
  font-weight: 700;
}

.studio-price {
  min-width: 190px;
  padding: 18px;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(43, 33, 24, 0.09);
}

.studio-price span,
.studio-price strong {
  display: block;
}

.studio-price span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-price strong {
  color: var(--forest);
  font-size: 1.8rem;
  line-height: 1.2;
}

.builder-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.builder-preview,
.builder-controls,
.tryon-canvas-shell {
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.92);
  box-shadow: var(--shadow);
}

.builder-preview {
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 0;
}

.preview-toolbar h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 2rem;
}

.icon-text-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(143, 63, 45, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.68);
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 900;
}

.icon-text-button:hover,
.icon-text-button:focus-visible {
  border-color: var(--terracotta);
}

.bangle-canvas-shell {
  position: relative;
  min-height: clamp(380px, 47vw, 640px);
  margin: 18px 22px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.9), transparent 31%),
    radial-gradient(circle at 18% 14%, rgba(201, 162, 39, 0.16), transparent 27%),
    linear-gradient(145deg, #fffdf8 0%, #f5ead7 54%, #eadcc8 100%);
  box-shadow: inset 0 0 0 1px rgba(43, 33, 24, 0.08);
}

.bangle-canvas-shell canvas {
  display: block;
  width: 100%;
  height: clamp(380px, 47vw, 640px);
  touch-action: none;
}

.bangle-canvas-shell canvas[hidden] {
  display: none;
}

.preview-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--terracotta);
  font-weight: 800;
}

.preview-loader[hidden] {
  display: none;
}

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 22px;
}

.spec-strip span {
  padding: 7px 10px;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: var(--radius);
  background: #fffaf3;
  color: #6e5512;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.builder-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 22px;
}

.builder-controls {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.control-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preset-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
}

.preset-card[aria-pressed="true"] {
  border-color: rgba(156, 61, 46, 0.76);
  background:
    linear-gradient(135deg, rgba(156, 61, 46, 0.1), rgba(201, 162, 39, 0.08)),
    #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(156, 61, 46, 0.28);
}

.preset-swatch {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(43, 33, 24, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 36%, #fffdf8 37% 52%, transparent 53%),
    conic-gradient(var(--preset-primary), var(--preset-accent), var(--preset-primary), var(--preset-accent), var(--preset-primary));
  box-shadow: inset 0 0 0 5px rgba(255, 250, 243, 0.46);
}

.preset-card strong,
.preset-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preset-card strong {
  font-size: 0.82rem;
}

.preset-card small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.control-group legend,
.quantity-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 10px;
  color: var(--dark);
  font-weight: 900;
}

.control-group legend span,
.quantity-label span {
  color: var(--muted);
  font-family: "Noto Serif Kannada", serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.segmented-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.segment-option,
.color-swatch,
.toggle-pill {
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: #fffdf8;
}

.segment-option {
  min-height: 76px;
  padding: 10px;
  color: var(--ink);
  text-align: left;
}

.segment-option strong,
.segment-option span,
.segment-option small {
  display: block;
}

.segment-option strong {
  font-size: 0.86rem;
}

.segment-option span,
.segment-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.segment-option[aria-pressed="true"],
.color-swatch[aria-pressed="true"],
.toggle-pill:has(input:checked) {
  border-color: rgba(156, 61, 46, 0.76);
  background: rgba(156, 61, 46, 0.08);
  box-shadow: inset 0 0 0 1px rgba(156, 61, 46, 0.28);
}

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

.size-option {
  min-height: 48px;
  text-align: center;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.color-swatch {
  display: grid;
  min-height: 68px;
  gap: 6px;
  padding: 8px;
  color: var(--ink);
  text-align: left;
}

.color-swatch span {
  display: block;
  height: 22px;
  border: 1px solid rgba(43, 33, 24, 0.16);
  border-radius: calc(var(--radius) - 2px);
}

.color-swatch strong {
  overflow: hidden;
  font-size: 0.7rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toggle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.toggle-pill {
  position: relative;
  display: grid;
  min-height: 58px;
  align-items: center;
  padding: 10px;
}

.toggle-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.toggle-pill strong,
.toggle-pill small {
  display: block;
}

.toggle-pill strong {
  font-size: 0.82rem;
}

.toggle-pill small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.quantity-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px 70px;
  gap: 10px;
  align-items: center;
}

.quantity-row button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(143, 63, 45, 0.28);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--terracotta);
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-row input,
.tryon-adjustments input {
  width: 100%;
  accent-color: var(--terracotta);
}

.quantity-row output {
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: right;
}

.tryon-section {
  padding: 86px 32px;
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 162, 39, 0.16), transparent 30%),
    #fffaf3;
}

.tryon-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 1.24fr);
  gap: 34px;
  align-items: center;
}

.tryon-copy h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: 1;
}

.tryon-copy p:not(.eyebrow) {
  color: var(--muted);
}

.tryon-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.tryon-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.tryon-adjustments {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.tryon-adjustments label {
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.tryon-canvas-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.88), transparent 32%),
    linear-gradient(145deg, #fffdf8, #efe4d4);
}

.tryon-canvas-shell canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.83;
  touch-action: none;
}

.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.seo-link-grid a {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(201, 162, 39, 0.46);
  border-radius: var(--radius);
  color: var(--terracotta);
  font-weight: 800;
}

.seo-link-grid a:hover,
.seo-link-grid a:focus-visible {
  background: var(--terracotta);
  color: var(--white);
}

.gallery-page {
  background: var(--ivory);
}

.gallery-hero {
  position: relative;
  display: grid;
  min-height: 340px;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.gallery-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      0deg,
      rgba(250, 246, 240, 0.98) 0%,
      rgba(250, 246, 240, 0.82) 44%,
      rgba(250, 246, 240, 0.16) 100%
    );
  content: "";
}

.gallery-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.gallery-hero-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 54px 32px 34px;
}

.gallery-hero h1,
.gallery-toolbar h2 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-weight: 700;
  line-height: 1.04;
}

.gallery-hero h1 {
  font-size: 3.45rem;
}

.gallery-hero p:not(.eyebrow) {
  max-width: 560px;
  color: #4b3a2d;
}

.gallery-manager {
  padding-top: 32px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.gallery-toolbar h2 {
  font-size: 2.7rem;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-control {
  display: none;
}

body.gallery-admin .admin-control {
  display: inline-flex;
}

.admin-login-control {
  display: none;
}

body.gallery-admin-access .admin-login-control {
  display: inline-flex;
}

.gallery-status {
  min-height: 22px;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-help {
  margin: -12px 0 20px;
  color: var(--terracotta);
  font-size: 0.94rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fffdf8;
}

.gallery-item video {
  background: #1f1412;
}

.gallery-item div {
  padding: 18px;
}

.gallery-item h3 {
  margin: 0;
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.gallery-item span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-view {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: auto;
  min-width: 74px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 243, 0.55);
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.62);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.gallery-view::after {
  content: "View";
}

.gallery-view svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-view:hover,
.gallery-view:focus-visible {
  background: var(--terracotta);
}

.gallery-edit,
.gallery-remove {
  position: absolute;
  top: 60px;
  right: 12px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(43, 33, 24, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.94);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-remove {
  top: 102px;
}

.gallery-edit:hover,
.gallery-edit:focus-visible,
.gallery-remove:hover,
.gallery-remove:focus-visible {
  background: var(--terracotta);
  color: var(--white);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 22px;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
}

.image-lightbox.is-open {
  pointer-events: auto;
  visibility: visible;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 20, 18, 0.84);
  opacity: 0;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open .image-lightbox-backdrop {
  opacity: 1;
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1100px, 100%);
  max-height: calc(100svh - 44px);
  margin: 0;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.image-lightbox.is-open .image-lightbox-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.image-lightbox-panel img,
.image-lightbox-panel video {
  width: 100%;
  max-height: calc(100svh - 112px);
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 250, 243, 0.08);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
}

.image-lightbox-panel img[hidden],
.image-lightbox-panel video[hidden] {
  display: none;
}

.image-lightbox-panel figcaption {
  color: var(--white);
  font-family: "Playfair Display", "Noto Serif Kannada", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 243, 0.42);
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.72);
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: var(--terracotta);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 36px 32px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  max-width: 540px;
  margin: 8px 0 0;
  color: rgba(255, 250, 243, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 250, 243, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.instagram-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: 999px;
}

.instagram-link span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.12);
  color: #f4d991;
  font-weight: 900;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  border-color: rgba(244, 217, 145, 0.62);
  color: #f4d991;
}

.text-button {
  padding: 0;
  color: rgba(255, 250, 243, 0.76);
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  pointer-events: none;
  visibility: hidden;
}

.modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 24, 0.52);
  opacity: 0;
  transition: opacity 220ms ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  width: min(760px, calc(100% - 24px));
  max-height: calc(100svh - 38px);
  margin: 0 auto 12px;
  overflow: auto;
  border: 1px solid rgba(43, 33, 24, 0.12);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transform: translateY(22px);
  transition: transform 220ms ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.modal-heading {
  padding: 34px 34px 12px;
}

.modal-heading h2 {
  padding-right: 46px;
  font-size: 2.45rem;
}

.modal-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.order-form {
  padding: 10px 34px 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-grid small {
  color: var(--muted);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(43, 33, 24, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 13px;
}

textarea {
  min-height: 110px;
  resize: vertical;
  padding: 12px 13px;
}

input:focus,
textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(156, 61, 46, 0.12);
}

[aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  min-height: 18px;
  color: #b3261e;
  font-size: 0.78rem;
}

.form-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  margin-top: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .grand-opening {
    display: none !important;
  }
}

@keyframes introFrameFlash {
  0% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      rotate(calc(var(--r) * 1.8))
      scale(1.28);
  }

  18% {
    opacity: 1;
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      rotate(var(--r))
      scale(1.02);
  }

  66% {
    opacity: 1;
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      rotate(var(--r))
      scale(1);
  }

  100% {
    opacity: 0.3;
    transform:
      translate(-50%, -50%)
      translate(var(--x), var(--y))
      rotate(var(--r))
      scale(0.92);
  }
}

@keyframes introShimmer {
  0% {
    opacity: 0;
    transform: translateX(-48%) rotate(4deg);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(48%) rotate(4deg);
  }
}

@keyframes introTitleIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introSkipIn {
  100% {
    opacity: 1;
  }
}

@keyframes introSparkle {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  35%,
  78% {
    opacity: 0.74;
  }

  100% {
    opacity: 0.2;
    transform: scale(1);
  }
}

@keyframes studioOrbit {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-18deg);
  }

  50% {
    transform: translate(-50%, -50%) rotateX(58deg) rotateZ(12deg);
  }
}

@keyframes introLift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-104%);
  }
}

@keyframes introQuickExit {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 22px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .trust-strip,
  .home-studio-layout,
  .story-layout,
  .seo-hero,
  .seo-copy-grid,
  .collection-grid,
  .process-grid,
  .testimonial-grid,
  .gallery-toolbar,
  .custom-layout,
  .builder-head,
  .builder-workbench,
  .tryon-layout {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    display: grid;
    align-items: start;
  }

  .gallery-actions {
    justify-content: flex-start;
  }

  .seo-hero {
    grid-template-columns: 1fr;
  }

  .seo-hero-copy,
  .seo-hero-media {
    width: 100%;
    justify-self: stretch;
  }

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

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .story-copy h2,
  .custom-section h2,
  .section-heading h2,
  .seo-copy h2,
  .seo-service-card h2,
  .seo-cta h2,
  .heritage-heading h2,
  .process-section h2,
  .testimonials-section h2 {
    font-size: 2.5rem;
  }

  .heritage-timeline {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 0 4px 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(201, 162, 39, 0.62) transparent;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
  }

  .heritage-scroll-hint {
    display: inline-flex;
  }

  .heritage-timeline::before {
    display: none;
  }

  .heritage-card {
    flex: 0 0 min(78vw, 360px);
    scroll-snap-align: start;
  }

  .heritage-card::before {
    display: none;
  }

  .light-button {
    justify-self: start;
  }

  .builder-head {
    align-items: start;
  }

  .studio-price {
    width: 100%;
  }

  .home-studio-layout,
  .builder-workbench,
  .tryon-layout {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .intro-frame-stage {
    width: 100vw;
    height: 68svh;
  }

  .intro-frame {
    width: clamp(132px, 43vw, 172px);
    padding: 6px;
  }

  .intro-frame-1 {
    --x: -78px;
    --y: -138px;
    --r: -9deg;
  }

  .intro-frame-2 {
    --x: 72px;
    --y: -118px;
    --r: 7deg;
  }

  .intro-frame-3 {
    --x: -86px;
    --y: 20px;
    --r: 8deg;
  }

  .intro-frame-4 {
    --x: 82px;
    --y: 34px;
    --r: -7deg;
  }

  .intro-frame-5 {
    --x: 0px;
    --y: 150px;
    --r: 4deg;
  }

  .intro-title {
    width: calc(100% - 28px);
    padding-inline: 14px;
  }

  .intro-title h2 {
    font-size: clamp(2.25rem, 13vw, 3.55rem);
  }

  .intro-skip {
    right: 16px;
    bottom: 16px;
  }

  .site-header {
    gap: 12px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .nav-order {
    min-height: 38px;
    padding-inline: 14px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    background: var(--ivory);
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(250, 246, 240, 0.98) 0%,
        rgba(250, 246, 240, 0.94) 46%,
        rgba(250, 246, 240, 0.2) 74%,
        rgba(250, 246, 240, 0) 100%
      );
  }

  .hero-image {
    object-fit: contain;
    object-position: bottom center;
    filter: saturate(1.06) contrast(1.03);
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height));
    padding: 58px 20px 250px;
  }

  .seo-hero {
    gap: 28px;
    padding: 44px 20px;
  }

  .seo-hero h1 {
    font-size: 2.75rem;
  }

  .seo-hero p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .seo-copy,
  .seo-service-card {
    padding: 20px;
  }

  .seo-cta {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 2.9rem;
  }

  .kannada-line {
    font-size: 1.08rem;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip div,
  .home-studio-section,
  .section,
  .custom-section,
  .site-footer,
  .tryon-section,
  .builder-studio {
    padding-inline: 20px;
  }

  .section {
    padding-block: 54px;
  }

  .story-layout {
    gap: 24px;
  }

  .story-copy h2,
  .home-studio-copy h2,
  .custom-section h2,
  .section-heading h2,
  .seo-copy h2,
  .seo-service-card h2,
  .seo-cta h2,
  .heritage-heading h2,
  .process-section h2,
  .testimonials-section h2,
  .faq-section h2,
  .tryon-copy h2 {
    font-size: 2.08rem;
  }

  .builder-head h1 {
    font-size: 2.52rem;
    line-height: 0.98;
  }

  .builder-head p[lang="kn"] {
    margin-top: 8px;
    font-size: 0.95rem;
  }

  .studio-teaser {
    min-height: 340px;
  }

  .studio-teaser-orbit {
    width: 290px;
    border-width: 30px;
  }

  .studio-teaser-details {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .builder-studio {
    padding-block: 30px 46px;
  }

  .builder-head {
    gap: 16px;
    margin-bottom: 18px;
  }

  .studio-price {
    padding: 14px;
  }

  .studio-price strong {
    font-size: 1.55rem;
  }

  .builder-preview,
  .builder-controls,
  .tryon-canvas-shell {
    box-shadow: 0 14px 36px rgba(43, 33, 24, 0.08);
  }

  .preview-toolbar,
  .builder-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preview-toolbar h2 {
    font-size: 1.62rem;
  }

  .bangle-canvas-shell {
    min-height: 286px;
    margin-top: 12px;
    margin-inline: 14px;
  }

  .bangle-canvas-shell canvas {
    height: 286px;
  }

  .builder-controls,
  .preview-toolbar,
  .spec-strip,
  .builder-actions {
    padding-inline: 14px;
  }

  .segmented-grid,
  .preset-grid,
  .swatch-grid,
  .toggle-list,
  .tryon-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .size-option {
    min-height: 44px;
    padding-inline: 4px;
  }

  .preset-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 64px;
    padding: 8px;
  }

  .preset-swatch {
    width: 34px;
    height: 34px;
  }

  .quantity-row {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .quantity-row output {
    grid-column: 1 / -1;
    text-align: left;
  }

  .tryon-section {
    padding-block: 54px;
  }

  .heritage-section {
    padding-right: 0;
    padding-left: 20px;
  }

  .heritage-heading {
    padding-right: 20px;
  }

  .heritage-heading h2 span {
    display: block;
    margin-top: 8px;
    font-size: 0.58em;
  }

  .heritage-timeline {
    padding-right: 20px;
  }

  .heritage-card {
    flex-basis: min(78vw, 320px);
    padding: 20px;
  }

  .faq-list summary {
    min-height: 58px;
    padding: 18px 54px 18px 18px;
    font-size: 1.12rem;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list details p {
    padding: 0 18px 20px;
  }

  .collection-grid,
  .process-grid,
  .testimonial-grid {
    gap: 18px;
  }

  .product-body,
  .custom-card-content {
    padding: 18px;
  }

  .product-card > img,
  .process-step img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #fffdf8;
    filter: saturate(1.05) contrast(1.03);
  }

  .story-media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 58%;
    background: #fffdf8;
    filter: saturate(1.05) contrast(1.03);
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-footer button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .modal {
    align-items: end;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100svh - 18px);
    margin: 0;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .modal-heading,
  .order-form {
    padding-inline: 20px;
  }

  .modal-heading h2 {
    font-size: 2rem;
  }

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

  .gallery-hero {
    min-height: auto;
  }

  .gallery-hero > img {
    position: static;
    z-index: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: var(--ivory);
  }

  .gallery-hero::after {
    display: none;
  }

  .gallery-hero-copy {
    padding: 28px 20px 24px;
  }

  .gallery-hero h1,
  .gallery-toolbar h2 {
    font-size: 2.25rem;
  }

  .gallery-actions,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-actions {
    display: grid;
  }

  .gallery-grid {
    gap: 18px;
  }

  .gallery-manager {
    padding-top: 34px;
  }

  .gallery-help {
    margin-bottom: 18px;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox-panel {
    max-height: calc(100svh - 20px);
  }

  .image-lightbox-panel img {
    max-height: calc(100svh - 78px);
  }

  .image-lightbox-panel figcaption {
    font-size: 1.05rem;
  }
}
