/* ═══════════════════════════════════════════════════════ */
/*  VIJAYALAKSHMI ATHANGUDI TILES                          */
/*  Premium Heritage Design System                         */
/* ═══════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Colors - Enhanced Contrast */
  --color-bg: #F5EFE6;
  --color-primary: #8B2E2E;
  --color-text: #2A1F14;
  /* Darker for better legibility */
  --color-text-light: #5A4D44;
  /* Darker than before for AA contrast */
  --color-gold: #A6894B;
  /* Slightly deeper gold */
  --color-gold-light: #C8A96A;
  --color-dark: #1A1208;
  --color-dark-2: #2A1F14;
  --color-ivory: #FAF6F0;
  --color-overlay: rgba(255, 220, 150, 0.08);
  /* 8pt Grid System */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;

  /* Typography - Fluid Scaling */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Fluid Font Sizes */
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 4vw, 4rem);
  --fs-h3: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  --fs-tag: clamp(0.7rem, 0.65rem + 0.1vw, 0.8rem);

  /* Transitions & Misc */
  --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-med: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.4s ease;
  --shadow-warm: 0 24px 80px rgba(62, 44, 35, 0.12);
  --radius-sm: 4px;
  --radius-md: 12px;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  /* Improved readability */
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── GRAIN TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: multiply;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ─── TYPOGRAPHY ─── */
.section-tag {
  font-family: var(--font-sans);
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-tag.light {
  color: rgba(200, 169, 106, 0.8);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);

  em {
    font-style: italic;
    color: var(--color-primary);
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 600px;
  opacity: 0.9;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

.delay-1 {
  transition-delay: 0.15s !important;
}

.delay-2 {
  transition-delay: 0.3s !important;
}

.delay-3 {
  transition-delay: 0.45s !important;
}

.delay-4 {
  transition-delay: 0.6s !important;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--color-primary), #6B1F1F);
  color: #FAF6F0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-med);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(139, 46, 46, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  color: var(--color-gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(200, 169, 106, 0.3);
  transition: var(--transition-fast);
}

.btn-ghost:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════ */
/*  VISUAL ATMOSPHERE SWITCHER                                */
/* ══════════════════════════════════════════════════════════ */
.mood-switcher {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(26, 18, 8, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 169, 106, 0.2);
  border-radius: 40px;
  transition: transform 0.4s var(--transition-med);
}

.mood-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mood-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mood-btn.active {
  background: rgba(200, 169, 106, 0.15);
  border-color: rgba(200, 169, 106, 0.3);
}

.mood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mood-name {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.6);
  transition: color 0.3s;
}

.mood-btn.active .mood-name {
  color: #FAF6F0;
  font-weight: 600;
}

/* Mood Atmosphere Layers */
.mood-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 1.5s ease;
  opacity: 0;
}

/* Golden Hour (Default) */
body.mood-golden .mood-layer.golden {
  opacity: 1;
}

.mood-layer.golden {
  background: radial-gradient(circle at center, transparent 30%, rgba(166, 137, 75, 0.1) 100%);
  mix-blend-mode: soft-light;
}

/* Soft Morning */
body.mood-morning .mood-layer.morning {
  opacity: 1;
}

body.mood-morning {
  --color-bg: #F0F4F7;
}

.mood-layer.morning {
  background: linear-gradient(135deg, rgba(163, 193, 216, 0.15) 0%, transparent 100%);
  mix-blend-mode: screen;
}

/* Heritage Deep */
body.mood-heritage .mood-layer.heritage {
  opacity: 1;
}

body.mood-heritage {
  --color-bg: #EAE3D9;
}

.mood-layer.heritage {
  background: radial-gradient(circle at center, transparent 20%, rgba(62, 20, 20, 0.25) 100%);
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.4);
}




/* ══════════════════════════════════════════════════════════ */
/*  NAVIGATION                                                */
/* ══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  padding: 16px 60px;
  background: rgba(245, 239, 230, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(62, 44, 35, 0.1), 0 4px 24px rgba(62, 44, 35, 0.08);
}

.mobile-bottom-nav {
  display: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.logo-emblem svg {
  transition: transform 0.5s ease;
}

.nav-logo:hover .logo-emblem svg {
  transform: rotate(30deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-link.nav-cta:hover {
  background: var(--color-primary);
  color: var(--color-ivory);
}

.nav-link.nav-cta::after {
  display: none;
}

/* ─── NAVBAR OVER DARK HERO (not yet scrolled) ─── */
.navbar:not(.scrolled) .logo-main {
  color: #FAF6F0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.navbar:not(.scrolled) .logo-sub {
  color: #C8A96A;
}

.navbar:not(.scrolled) .nav-link {
  color: rgba(250, 246, 240, 0.90);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.navbar:not(.scrolled) .nav-link:hover {
  color: #C8A96A;
}

.navbar:not(.scrolled) .nav-link.nav-cta {
  border-color: rgba(200, 169, 106, 0.75);
  color: #C8A96A;
}

.navbar:not(.scrolled) .nav-link.nav-cta:hover {
  background: rgba(200, 169, 106, 0.15);
  color: #FAF6F0;
  border-color: #C8A96A;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--color-text);
}

.hero .nav-hamburger span {
  background: #FAF6F0;
}

/* Contrast on dark hero */


/* ══════════════════════════════════════════════════════════ */
/*  SECTION 1 – HERO                                          */
/* ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 18, 8, 0.3) 0%,
      rgba(26, 18, 8, 0.55) 50%,
      rgba(26, 18, 8, 0.75) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(26, 18, 8, 0.6) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Light reflection orb */
.light-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.8s ease;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(200, 169, 106, 0.4);
  border-radius: 40px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  background: rgba(26, 18, 8, 0.3);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #FAF6F0;
  margin-bottom: 20px;
  text-shadow: 0 4px 32px rgba(26, 18, 8, 0.5);

  em {
    font-style: italic;
    color: var(--color-gold-light);
  }
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(250, 246, 240, 0.75);
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(250, 246, 240, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(200, 169, 106, 0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════════ */
/*  SECTION 2 – QUOTE                                         */
/* ══════════════════════════════════════════════════════════ */
.quote-section {
  position: relative;
  padding: 120px 24px;
  background: var(--color-bg);
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200, 169, 106, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 46, 46, 0.04) 0%, transparent 60%);
}

.quote-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-line {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 40px;

  .ornament {
    display: inline-block;
    animation: rotateStar 8s linear infinite;
  }
}

@keyframes rotateStar {
  to {
    transform: rotate(360deg);
  }
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 40px;

  em {
    font-style: italic;
    color: var(--color-primary);
  }
}

.quote-body {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto 48px;
}

.quote-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  span:not(.dot) {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.4;
  }

  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
  }
}

/* ══════════════════════════════════════════════════════════ */
/*  SECTION 3 – CRAFT PROCESS                                 */
/* ══════════════════════════════════════════════════════════ */
.process-section {
  background: var(--color-ivory);
  padding: 100px 0;
  overflow: hidden;
}

.process-header {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.process-story {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  position: relative;
}

.process-step.reverse {
  direction: rtl;
}

.process-step.reverse>* {
  direction: ltr;
}

.step-visual {
  position: relative;
  overflow: hidden;
}

.step-image-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.step-image-wrap img {
  transition: transform 0.8s ease;
}

.process-step:hover .step-image-wrap img {
  transform: scale(1.05);
}

.step-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 18, 8, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

/* Pigment card */
.pigment-card {
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.pigment-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 360px;
  width: 100%;
}

.pigment-swatch {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pigment-swatch:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.pigment-swatch::after {
  content: attr(data-label);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 240, 0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.pigment-swatch:hover::after {
  opacity: 1;
}

.pigment-caption {
  grid-column: 1/-1;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(200, 169, 106, 0.6);
  text-transform: uppercase;
  margin-top: 20px;
}

/* Sun-dry card */
.sun-dry-card {
  background: linear-gradient(160deg, #1A1208 0%, #2A1810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-animation {
  text-align: center;
  position: relative;
}

.sun-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD700, #FF8C00);
  margin: 0 auto 24px;
  box-shadow: 0 0 60px rgba(255, 200, 0, 0.4);
  animation: sunPulse 3s ease-in-out infinite;
}

@keyframes sunPulse {

  0%,
  100% {
    box-shadow: 0 0 60px rgba(255, 200, 0, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 100px rgba(255, 200, 0, 0.6);
    transform: scale(1.05);
  }
}

.sun-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 12px));
  width: 200px;
  height: 200px;
  animation: sunRotate 15s linear infinite;
}

.sun-rays span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.6), transparent);
  transform-origin: top center;
  margin-left: -1px;
}

.sun-rays span:nth-child(1) {
  transform: rotate(0deg) translateY(-100px);
}

.sun-rays span:nth-child(2) {
  transform: rotate(45deg) translateY(-100px);
}

.sun-rays span:nth-child(3) {
  transform: rotate(90deg) translateY(-100px);
}

.sun-rays span:nth-child(4) {
  transform: rotate(135deg) translateY(-100px);
}

.sun-rays span:nth-child(5) {
  transform: rotate(180deg) translateY(-100px);
}

.sun-rays span:nth-child(6) {
  transform: rotate(225deg) translateY(-100px);
}

.sun-rays span:nth-child(7) {
  transform: rotate(270deg) translateY(-100px);
}

.sun-rays span:nth-child(8) {
  transform: rotate(315deg) translateY(-100px);
}

@keyframes sunRotate {
  to {
    transform: translate(-50%, calc(-50% - 12px)) rotate(360deg);
  }
}

.sun-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(200, 169, 106, 0.8);
  font-style: italic;
  margin-top: 55px;
  letter-spacing: 0.05em;
}

/* Step content */
.step-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-ivory);
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(200, 169, 106, 0.15);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.step-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* ══════════════════════════════════════════════════════════ */
/*  TEXTURE QUOTE SECTION                                      */
/* ══════════════════════════════════════════════════════════ */
.texture-quote {
  position: relative;
  padding: 140px 24px;
  overflow: hidden;
}

.texture-bg {
  position: absolute;
  inset: 0;
}

.texture-bg img {
  transform: scale(1.05);
  transition: transform 10s ease;
  filter: saturate(0.6) brightness(0.4);
}

.texture-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 18, 8, 0.8) 0%, rgba(62, 20, 20, 0.75) 100%);
}

.texture-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.texture-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #FAF6F0;
  line-height: 1.2;
  margin-bottom: 80px;

  em {
    font-style: italic;
    color: var(--color-gold-light);
  }
}

.texture-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 48px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.55);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(200, 169, 106, 0.25);
}

/* ══════════════════════════════════════════════════════════ */
/*  SECTION 5 – COLLECTION                                    */
/* ══════════════════════════════════════════════════════════ */
.collection-section {
  padding: 120px 60px;
  background: var(--color-bg);
}

.collection-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tile-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  border: 1px solid rgba(62, 44, 35, 0.15);
  border-radius: 2px;
  transition: all 0.3s ease;
  background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
  margin-bottom: 60px;
}

.home-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.tile-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.tile-card.large {
  grid-column: span 2;
}

.tile-card.tall {
  grid-row: span 2;
}

.tile-card.hidden {
  display: none;
}

.tile-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.tile-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.tile-card:hover .tile-img-wrap img {
  transform: scale(1.08);
}

.pattern-svg {
  width: 100%;
  height: 100%;

  svg {
    width: 100%;
    height: 100%;
  }
}

/* Shine effect */
.tile-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 70%);
  background-size: 200% 200%;
  background-position: 200% 200%;
  transition: background-position 0.6s ease;
  pointer-events: none;
}

.tile-card:hover .tile-shine {
  background-position: -50% -50%;
}

.tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.85) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
  color: white;
}

.tile-card:hover .tile-info {
  opacity: 1;
  transform: translateY(0);
}

.tile-info h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.tile-info p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 240, 0.65);
  text-transform: uppercase;
}

.tile-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.collection-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.collection-cta p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════ */
/*  SECTION 6 – HERITAGE                                      */
/* ══════════════════════════════════════════════════════════ */
.heritage-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.heritage-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.heritage-bg img {
  transition: transform 12s ease;
}

.heritage-section:hover .heritage-bg img {
  transform: scale(1.03);
}

.heritage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(26, 18, 8, 0.88) 0%,
      rgba(26, 18, 8, 0.6) 60%,
      rgba(26, 18, 8, 0.2) 100%);
}

.heritage-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 80px;
  width: 100%;
}

.heritage-text {
  max-width: 580px;
}

.heritage-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #FAF6F0;
  line-height: 1.15;
  margin: 20px 0 28px;

  em {
    font-style: italic;
    color: var(--color-gold-light);
  }
}

.heritage-body {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(250, 246, 240, 0.7);
  margin-bottom: 48px;
}

.heritage-qualities {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quality-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.quality-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 106, 0.1);
  border: 1px solid rgba(200, 169, 106, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.quality-item>div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quality-item strong {
  font-size: 0.95rem;
  color: #FAF6F0;
  font-weight: 500;
}

.quality-item span {
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.55);
}

/* ══════════════════════════════════════════════════════════ */
/*  TESTIMONIALS                                              */
/* ══════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 120px 24px;
  background: var(--color-ivory);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.testimonials-track {
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: all;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  text-align: center;
  font-style: italic;
  margin-bottom: 36px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-author>div:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  font-size: 0.9rem;
  color: var(--color-text);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(62, 44, 35, 0.2);
  transition: all 0.3s ease;
}

.dot-btn.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════ */
/*  CTA SECTION                                               */
/* ══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 130px 60px;
  background: var(--color-dark);
  overflow: hidden;
}

.cta-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 1.2s ease;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(200, 169, 106, 0.02) 40px,
      rgba(200, 169, 106, 0.02) 41px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #FAF6F0;
  line-height: 1.2;
  margin: 24px 0;

  em {
    font-style: italic;
    color: var(--color-gold-light);
  }
}

.cta-subtitle {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(250, 246, 240, 0.55);
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(200, 169, 106, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  text-align: left;
}

.contact-card:hover {
  border-color: rgba(200, 169, 106, 0.35);
  background: rgba(200, 169, 106, 0.05);
  transform: translateY(-4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.35);
}

.contact-value {
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.8);
  line-height: 1.5;
  transition: color 0.3s;
}

.contact-value:hover {
  color: var(--color-gold);
}

/* ─── INQUIRY FORM ─── */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 106, 0.15);
  border-radius: var(--radius-sm);
  color: rgba(250, 246, 240, 0.85);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(250, 246, 240, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(200, 169, 106, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
  background: var(--color-dark-2);
  color: rgba(250, 246, 240, 0.8);
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-dark);
  padding: 0 6px;
  color: rgba(200, 169, 106, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
  opacity: 1;
}

.btn-submit {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--color-gold), #A87C3A);
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(200, 169, 106, 0.4);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(6px);
}

.form-success {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  display: none;
}

.form-success.visible {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════ */
/*  FOOTER                                                    */
/* ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-dark-2);
  padding: 70px 80px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold-light);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(250, 246, 240, 0.35);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(250, 246, 240, 0.45);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: rgba(250, 246, 240, 0.85);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.25);
}

.footer-craft {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(200, 169, 106, 0.35) !important;
}

/* ══════════════════════════════════════════════════════════ */
/*  RESPONSIVE – MOBILE PERFECTION                             */
/* ══════════════════════════════════════════════════════════ */

/* --- TABLETS & LARGE PHONES (Max 1024px) --- */
@media (max-width: 1024px) {
  .navbar {
    padding: 20px 32px;
  }

  .navbar.scrolled {
    padding: 14px 32px;
  }

  .process-step {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .process-step.reverse {
    direction: ltr;
  }

  .step-visual {
    height: 400px;
  }

  .step-content {
    padding: 60px 40px;
  }

  .heritage-content {
    padding: 80px 40px;
  }

  .heritage-text {
    max-width: 100%;
  }

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

  .footer {
    padding: 60px 40px;
  }
}

/* --- SMALL PHONES & PORTRAIT (Max 768px) --- */
@media (max-width: 768px) {
  :root {
    --fs-h1: 3.2rem;
    --fs-h2: 2.4rem;
  }

  .navbar {
    padding: 16px 24px;
  }

  .nav-links {
    display: none !important;
  }

  .nav-hamburger {
    display: none !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .mood-switcher {
    position: fixed;
    flex-direction: row;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: none;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(200, 169, 106, 0.3);
    background: rgba(26, 18, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 950;
  }

  .mood-btn {
    padding: 6px 10px;
    min-height: 32px;
    min-width: 32px;
    justify-content: center;
  }

  .mood-name {
    display: none;
  }

  /* Icons/dots only on mobile */
  .mood-btn.active .mood-name {
    display: none;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 18, 8, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(200, 169, 106, 0.15);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(250, 246, 240, 0.5);
    min-height: 48px;
    min-width: 48px;
    transition: all 0.3s ease;
  }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
  }

  .bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section-tag {
    letter-spacing: 0.2em;
  }

  .process-section {
    padding: 60px 0;
  }

  .process-header {
    margin-bottom: 60px;
  }

  .step-visual {
    height: 320px;
  }

  .step-content {
    padding: 40px 24px;
  }

  .step-number {
    font-size: 3.5rem;
  }

  .masonry-grid,
  .home-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .tile-card.large,
  .tile-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .tile-info {
    opacity: 1;
    transform: none;
    background: rgba(26, 18, 8, 0.7);
  }

  .heritage-section {
    min-height: auto;
  }

  .heritage-content {
    padding: 80px 24px;
  }

  .heritage-qualities {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 20px 0;
    width: 50%;
  }

  .stat-divider {
    display: none;
  }

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

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

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-tagline {
    margin: 0 auto;
  }
}

/* --- EXTRA SMALL (Max 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .quote-text {
    font-size: 2.2rem;
  }

  .texture-quote-text {
    font-size: 2.2rem;
  }

  .mood-switcher {
    padding: 6px;
  }

  .testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
  }

  .btn-submit {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════ */
/*  TILE MODAL LIGHTBOX                                       */
/* ══════════════════════════════════════════════════════════ */
.tile-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  padding: var(--space-24);
  cursor: zoom-out;
}

.tile-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FAF6F0;
  font-size: 2rem;
  z-index: 2010;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  color: var(--color-gold);
}

.modal-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  pointer-events: none;
}

.tile-modal.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: 75vh;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(200, 169, 106, 0.3);
  background: #1a1208;
  pointer-events: auto;
  cursor: crosshair;
  /* Modern inspection cursor */
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  /* Faster for tracking, but still smooth */
}

.modal-details {
  text-align: center;
  color: #FAF6F0;
  pointer-events: auto;
}

.modal-details h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
}

.modal-details p {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.6;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .modal-close {
    top: 16px;
    right: 16px;
  }

  .modal-details h3 {
    font-size: 1.6rem;
  }

  .modal-img-wrap {
    max-height: 55vh;
  }

  .tile-modal {
    padding: var(--space-16);
  }
}