:root {
  /* Primary - Cobalt World */
  --deep-navy: #0A1628;
  --cobalt: #1B3A8C;
  --royal-blue: #1E4DB5;
  --turquoise: #2A9D8F;
  --warm-gold: #C8A84E;

  /* Secondary - Amber World */
  --deep-garnet: #7B2D3B;
  --amber: #B8763A;
  --antique-gold: #9E7C3A;
  --teal: #1A7A6D;
  --emerald: #3B8C6E;

  /* Neutrals */
  --warm-white: #FAF8F4;
  --ivory: #F5F0E8;
  --stone: #D4CFC5;
  --charcoal: #2C2C2C;
  --soft-black: #1A1A1A;

  /* Illustration Palette */
  --sky-top: #B8D8E8;
  --sky-bottom: #EAF0D8;
  --hill-far: #8EAF7B;
  --hill-mid: #5a8a4a;
  --hill-near: #4A7A3D;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --font-georgian: 'Noto Serif Georgian', serif;

  /* Motion */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--deep-navy);
  background: var(--warm-white);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Utility: section label */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--warm-gold);
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--warm-gold);
  margin: 12px auto 0;
}

/* Utility: scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVIGATION ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--deep-navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep-navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

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

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

.nav-close {
  display: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--deep-navy);
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--ivory);
    padding: 80px 40px;
    transition: right 0.4s var(--ease-out);
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--deep-navy);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 28px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

/* ========== HERO ========== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce8ec;
}

.hero-landscape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.hero-layer--sky {
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero-layer--far {
  bottom: 30%;
}

.hero-layer--mid {
  bottom: 5%;
}

.hero-layer--church {
  bottom: 10%;
  left: -50px;
  width: clamp(200px, 30vw, 450px);
  height: auto;
  object-fit: contain;
}

.hero-layer--near {
  bottom: -2%;
}

.hero-layer--foreground {
  bottom: -2%;
}

/* Floating product photos */
.hero-float {
  position: absolute;
  z-index: 5;
  filter: drop-shadow(0 8px 24px rgba(10, 22, 40, 0.3));
}

.hero-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-float--1 {
  top: 50%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  animation: floatBob 7s ease-in-out infinite;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

/* Gold dust */
.hero-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.dust-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--warm-gold);
  border-radius: 50%;
  animation: dustFloat var(--duration) var(--delay) linear infinite;
  opacity: 0;
}

@keyframes dustFloat {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: var(--max-opacity); }
  90% { opacity: var(--max-opacity); }
  100% { opacity: 0; transform: translateY(-200px); }
}

.nav-logo {
  height: 32px;
  width: auto;
}

.footer-logo {
  height: 36px;
  width: auto;
}

/* Hero text */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  margin-top: -30vh;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 400;
  letter-spacing: 16px;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.hero-artist {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--deep-navy);
}

.hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  border: 1.5px solid var(--warm-gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--deep-navy);
  text-decoration: none;
  transition: background 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

.hero-cta:hover {
  background: var(--warm-gold);
  color: var(--warm-white);
}

/* Hero animations - staggered fade up */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) var(--delay) forwards;
}

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

/* Cloisonné border */
.hero-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  z-index: 20;
  background: repeating-linear-gradient(
    90deg,
    var(--warm-gold) 0px, var(--warm-gold) 1px,
    var(--cobalt) 1px, var(--cobalt) 14px,
    var(--warm-gold) 14px, var(--warm-gold) 15px,
    var(--turquoise) 15px, var(--turquoise) 28px
  );
  opacity: 0.6;
}

/* ========== HERO → ATELIER TRANSITION ========== */

.hero-transition {
  position: relative;
  z-index: 2;
  height: 120px;
  margin-top: -1px;
  background: linear-gradient(180deg, #4a6e3a 0%, var(--ivory) 100%);
  overflow: hidden;
}

.hero-transition-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.hero-scroll-dot {
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 0.1; }
}

/* Responsive hero */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-layer--far {
    bottom: 20%;
  }

  .hero-content {
    margin-top: -20vh;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 450px;
  }

  .hero-tagline {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .hero-title {
    letter-spacing: 6px;
    font-size: clamp(28px, 5vw, 40px);
    white-space: nowrap;
  }

  .hero-layer--far {
    bottom: 15%;
  }

  .hero-content {
    margin-top: -15vh;
  }
}


/* ========== HERO → ATELIER TRANSITION ========== */

.hero-transition {
  height: 150px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(245,240,232,0.3) 30%, rgba(245,240,232,0.7) 60%, var(--ivory) 100%);
}

/* ========== ATELIER ========== */

.atelier {
  background: var(--ivory);
  padding: 100px 40px;
}

.atelier .section-label {
  margin-bottom: 50px;
}

.atelier-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.atelier-portrait {
  flex: 0 0 280px;
  position: relative;
}

.atelier-portrait-inner {
  width: 260px;
  height: 340px;
  overflow: hidden;
}

.atelier-portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4cfc5 0%, #c5bfb3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: #777;
  letter-spacing: 1px;
}

.atelier-portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-portrait-frame {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 260px;
  height: 340px;
  border: 1.5px solid var(--warm-gold);
  pointer-events: none;
}

.atelier-bio {
  flex: 1;
}

.atelier-headline {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--deep-navy);
  margin-bottom: 24px;
}

.atelier-bio p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.georgian-accent {
  font-family: var(--font-georgian);
  font-size: 1.05em;
  color: var(--warm-gold);
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--warm-gold);
}

.georgian-accent[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 14px 16px;
  background: var(--deep-navy);
  color: var(--warm-white);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  transform: translateX(-50%) translateY(6px);
  z-index: 100;
}

.georgian-accent[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .georgian-accent[data-tooltip]::after {
    width: 280px;
    font-size: 13px;
    bottom: auto;
    top: calc(100% + 10px);
    left: 0;
    transform: translateX(0) translateY(6px);
  }

  .georgian-accent[data-tooltip]:hover::after {
    transform: translateX(0) translateY(0);
  }
}

.atelier-quote {
  border-left: 2.5px solid var(--warm-gold);
  padding: 16px 0 16px 24px;
  margin: 28px 0 0;
}

.atelier-quote p {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
  color: var(--deep-navy);
  margin: 0;
}

.atelier-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  color: #888;
  letter-spacing: 1px;
  margin-top: 10px;
}

.atelier-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  max-width: 960px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--stone);
}

.atelier-stat {
  text-align: center;
}

.atelier-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--warm-gold);
}

.atelier-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  color: #888;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .atelier {
    padding: 50px 24px;
  }

  .atelier .section-label {
    margin-bottom: 30px;
  }

  .atelier-content {
    flex-direction: column;
    align-items: center;
  }

  .atelier-portrait {
    flex: none;
    margin-bottom: 10px;
  }

  .atelier-portrait-inner {
    width: 200px;
    height: 260px;
  }

  .atelier-portrait-frame {
    width: 200px;
    height: 260px;
  }

  .atelier-headline {
    font-size: 24px;
    text-align: center;
  }

  .atelier-bio p {
    font-size: 15px;
    line-height: 1.75;
  }

  .atelier-quote p {
    font-size: 18px;
  }

  .atelier-stats {
    gap: 40px;
    flex-wrap: wrap;
  }

  .atelier-stat-number {
    font-size: 28px;
  }
}

/* ========== COLLECTION ========== */

.collection {
  background: var(--warm-white);
  padding: 80px 0;
  overflow: hidden;
}

.collection .section-label {
  margin-bottom: 12px;
}

.collection-hint {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--warm-gold);
  margin-bottom: 40px;
}

.collection-carousel {
  overflow: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
}

.collection-track {
  display: flex;
  gap: 50px;
  padding: 0 60px;
  will-change: transform;
  align-items: center;
}

.collection-card {
  flex: 0 0 220px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.collection-card:hover {
  transform: scale(1.05);
}

.collection-card-image {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(10, 22, 40, 0.15));
  transition: filter 0.4s var(--ease-out);
}

.collection-card:hover .collection-card-image img {
  filter: drop-shadow(0 12px 32px rgba(10, 22, 40, 0.25));
}

.collection-card-info {
  padding: 16px 4px 0;
}

.collection-card-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: var(--deep-navy);
  margin: 0;
}

.collection-card-info span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #aaa;
  margin-top: 4px;
  display: block;
}

/* ========== LIGHTBOX ========== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 32px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  font-weight: 300;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  text-align: center;
}

.lightbox-img-wrapper {
  position: relative;
  display: inline-block;
  cursor: crosshair;
}

.lightbox-img {
  max-width: 70vw;
  max-height: 55vh;
  object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
}

.lightbox-loupe {
  position: fixed;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--warm-gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 0 12px rgba(0,0,0,0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  background-repeat: no-repeat;
  z-index: 10001;
}

.lightbox-loupe-hint {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(250, 248, 244, 0.3);
  margin-top: 12px;
  text-align: center;
}

.lightbox-loupe-hint-touch {
  display: none;
}

@media (max-width: 1024px) {
  .lightbox-loupe-hint { display: none; }
  .lightbox-loupe-hint-touch { display: none; }
  .lightbox-loupe { display: none; }

  .lightbox-img-wrapper {
    cursor: default;
  }
}

.lightbox-info {
  margin-top: 24px;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--warm-white);
  margin: 0 0 6px;
}

.lightbox-category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 3px;
  color: rgba(250, 248, 244, 0.4);
  display: block;
  margin-bottom: 16px;
}

.lightbox-description {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.6);
  max-width: 420px;
  margin: 0 auto 24px;
}

.lightbox-inquire {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--warm-gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--warm-gold);
  text-decoration: none;
  transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.lightbox-inquire:hover {
  background: var(--warm-gold);
  color: var(--deep-navy);
}

@media (max-width: 768px) {
  .collection {
    padding: 50px 0;
  }

  .collection-track {
    gap: 30px;
    padding: 0 30px;
  }

  .collection-card {
    flex: 0 0 180px;
  }

  .collection-card-image {
    width: 180px;
    height: 180px;
  }

  .lightbox-img {
    max-width: 90vw;
    max-height: 60vh;
  }

  .lightbox-info {
    margin-top: 16px;
  }

  .lightbox-title {
    font-size: 20px;
  }

  .lightbox-inquire {
    padding: 12px 24px;
    font-size: 9px;
  }

  .lightbox-description {
    font-size: 15px;
    padding: 0 20px;
  }
}

/* ========== HERITAGE ========== */

.heritage {
  background: var(--soft-black);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.heritage-bg-filigree {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.heritage-bg-filigree img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.heritage .section-label,
.heritage-headline,
.heritage-subhead,
.heritage-process,
.heritage-history {
  position: relative;
  z-index: 1;
}

.heritage .section-label {
  margin-bottom: 50px;
  color: var(--warm-gold);
}

.heritage .section-label::after {
  background: var(--warm-gold);
}

.heritage-headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--warm-white);
  text-align: center;
  margin-bottom: 12px;
}

.shimmer {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--warm-white) 0%,
    var(--warm-gold) 40%,
    #f0d78c 50%,
    var(--warm-gold) 60%,
    var(--warm-white) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGold 4s ease-in-out infinite;
}

@keyframes shimmerGold {
  0% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
  100% { background-position: -100% 0; }
}

.heritage-subhead {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(250, 248, 244, 0.5);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 50px;
}

.heritage-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 70px;
}

.heritage-step {
  border: 1px solid rgba(200, 168, 78, 0.15);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  position: relative;
}

.heritage-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(200, 168, 78, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.heritage-step:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.5);
  box-shadow: 0 12px 40px rgba(200, 168, 78, 0.08);
}

.heritage-step:hover::before {
  opacity: 1;
}

.heritage-step-illustration {
  margin-bottom: 16px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heritage-step-illustration img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  animation: stepFloat 5s ease-in-out infinite;
}

.heritage-step:nth-child(1) .heritage-step-illustration img { animation-delay: 0s; }
.heritage-step:nth-child(2) .heritage-step-illustration img { animation-delay: 1.2s; }
.heritage-step:nth-child(3) .heritage-step-illustration img { animation-delay: 2.4s; }
.heritage-step:nth-child(4) .heritage-step-illustration img { animation-delay: 3.6s; }

@keyframes stepFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.heritage-step-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.heritage-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 10px;
}

.heritage-step p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.6);
}

.heritage-history {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.heritage-history-title,
.heritage-timeline {
  position: relative;
  z-index: 1;
}

.heritage-artisan {
  position: absolute;
  right: -200px;
  top: 0;
  pointer-events: none;
}

.heritage-artisan img {
  width: 280px;
  height: auto;
  border-radius: 8px;
  opacity: 0.8;
  animation: monkBreathe 6s ease-in-out infinite;
}

@keyframes monkBreathe {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-4px) scale(1.01); opacity: 0.9; }
}

@media (max-width: 1100px) {
  .heritage-artisan {
    display: none;
  }
}

.heritage-history-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--warm-white);
  text-align: center;
  margin-bottom: 30px;
}

.heritage-timeline {
  border-left: 2px solid rgba(200, 168, 78, 0.3);
  padding-left: 28px;
  margin-left: 20px;
}

.heritage-timeline-entry {
  position: relative;
  margin-bottom: 28px;
}

.heritage-timeline-entry:last-child {
  margin-bottom: 0;
}

.heritage-timeline-entry::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warm-gold);
  box-shadow: 0 0 0 0 rgba(200, 168, 78, 0.4);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.heritage-timeline-entry:hover::before {
  box-shadow: 0 0 12px rgba(200, 168, 78, 0.6);
  transform: scale(1.3);
}

.heritage-timeline-entry:hover .heritage-timeline-date {
  color: var(--warm-gold);
  text-shadow: 0 0 12px rgba(200, 168, 78, 0.3);
}

.heritage-timeline-entry:hover p {
  color: rgba(250, 248, 244, 0.9);
}

.heritage-timeline-entry.visible::before {
  animation: dotPulse 2s ease-out 0.3s;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 168, 78, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(200, 168, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 168, 78, 0); }
}

/* Staggered timeline entries fade from left */
.heritage-timeline-entry.reveal {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.heritage-timeline-entry.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

.heritage-timeline-entry:nth-child(1).reveal { transition-delay: 0s; }
.heritage-timeline-entry:nth-child(2).reveal { transition-delay: 0.15s; }
.heritage-timeline-entry:nth-child(3).reveal { transition-delay: 0.3s; }
.heritage-timeline-entry:nth-child(4).reveal { transition-delay: 0.45s; }

.heritage-timeline-date {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  transition: color 0.4s var(--ease-out), text-shadow 0.4s var(--ease-out);
  letter-spacing: 2px;
  color: var(--warm-gold);
  margin-bottom: 6px;
}

.heritage-timeline-entry p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(250, 248, 244, 0.7);
  margin: 0;
  transition: color 0.4s var(--ease-out);
}

@media (max-width: 768px) {
  .heritage {
    padding: 60px 24px;
  }

  .heritage .section-label {
    margin-bottom: 30px;
  }

  .heritage-headline {
    font-size: 26px;
  }

  .heritage-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 50px;
  }

  .heritage-step {
    padding: 20px 14px;
  }

  .heritage-step-illustration {
    height: 100px;
  }

  .heritage-step-illustration img {
    width: 100px;
    height: 100px;
  }

  .heritage-step-numeral {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .heritage-step h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .heritage-step p {
    font-size: 12px;
    line-height: 1.6;
  }

  .heritage-history-title {
    font-size: 20px;
  }

  .heritage-timeline {
    padding-left: 22px;
    margin-left: 12px;
  }

  .heritage-timeline-entry::before {
    left: -28px;
    width: 8px;
    height: 8px;
  }

  .heritage-timeline-date {
    font-size: 11px;
  }

  .heritage-timeline-entry p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .heritage-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== CONTACT ========== */

.contact {
  background: var(--ivory);
  padding: 100px 40px;
}

.contact .section-label {
  margin-bottom: 40px;
}

.contact-content {
  text-align: center;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--deep-navy);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #666;
  max-width: 400px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-cta {
  display: inline-block;
  padding: 16px 40px;
  border: 1.5px solid var(--warm-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--deep-navy);
  text-decoration: none;
  transition: background 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

.contact-cta:hover {
  background: var(--warm-gold);
  color: var(--warm-white);
}

/* ========== FOOTER ========== */

.footer {
  background: var(--deep-navy);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--warm-white);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(250, 248, 244, 0.5);
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 24px;
  }

  .contact-headline {
    font-size: 28px;
  }

  .contact-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .contact-cta {
    padding: 14px 32px;
    font-size: 11px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
  }
}

/* ========== PAGE-WIDE FLOWING ILLUSTRATIONS ========== */

.page-vines {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 50;
}

.vine {
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px;
  object-fit: fill;
  opacity: 0.5;
}

.vine--left {
  left: 0;
}

.vine--right {
  right: 0;
}


/* Hide vines on mobile — too tight */
@media (max-width: 1024px) {
  .page-vines {
    display: none;
  }
}

/* ========== ORNAMENTAL DIVIDERS ========== */

.ornament-divider {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  background: var(--warm-white);
  margin: 0;
  line-height: 0;
}

.ornament-divider--dark {
  background: var(--soft-black);
}

.ornament-divider-img {
  width: 300px;
  height: auto;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .ornament-divider-img {
    width: 200px;
  }
}
