/* ============================================================
   style.css — Principle Gems
   Minimal luxury: Ivory/White canvas, Charcoal type, Champagne Gold accents
   ============================================================ */

/* ─── Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&family=Prompt:wght@300;400;500&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
  --ivory:        #F7F4EE;
  --white:        #FFFFFF;
  --charcoal:     #1C1C1C;
  --charcoal-60:  #1C1C1C99;
  --charcoal-30:  #1C1C1C4D;
  --gold:         #C9A96E;
  --gold-light:   #E8D5AA;
  --gold-dark:    #A0804A;
  --ruby:         #C0392B;
  --sapphire:     #1A5276;
  --fancy:        #8E44AD;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', 'Helvetica Neue', sans-serif;
  --font-thai:    'Prompt', sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --transition:   0.3s ease;
  --shadow-soft:  0 4px 24px rgba(0,0,0,0.07);
  --shadow-med:   0 8px 40px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.lang-th { font-family: var(--font-thai); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────── */
.serif { font-family: var(--font-serif); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { font-size: 0.95rem; color: var(--charcoal-60); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Layout Helpers ─────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }

/* ─── HEADER / NAV ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(247,244,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-30);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 14px 0;
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--charcoal); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--charcoal-60);
  border: 1px solid var(--charcoal-30);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); transition: var(--transition); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ivory);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,169,110,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated gem particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-particle 8s infinite ease-in-out;
}
@keyframes float-particle {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 0.6; transform: translateY(-30px) scale(1); }
  80%  { opacity: 0.3; transform: translateY(-80px) scale(0.6); }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  max-width: 680px;
}

.hero-tagline { margin-bottom: 20px; }

.hero-headline {
  margin-bottom: 28px;
  white-space: pre-line;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal-60);
  max-width: 500px;
  margin-bottom: 44px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  overflow: hidden;
}
.hero-visual-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1C1C1C 0%, #2C2C2C 50%, #1A1A1A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative gem mosaic placeholder */
.gem-mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 40px;
  width: 100%;
}
.gem-tile {
  aspect-ratio: 1;
  border-radius: 2px;
  opacity: 0.7;
  animation: shimmer 3s infinite ease-in-out;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}
.btn-primary:hover { background: #333; transform: translateY(-2px); box-shadow: var(--shadow-med); }

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover { background: #1ebe5d; }

.btn-wc {
  background: #07C160;
  color: var(--white);
}
.btn-wc:hover { background: #059e4e; }

/* ─── COLLECTIONS ─────────────────────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.collection-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.collection-card:hover .collection-card-bg { transform: scale(1.04); }

.collection-card--ruby   .collection-card-bg { background: linear-gradient(160deg, #7B1F1F 0%, #C0392B 50%, #E74C3C 100%); }
.collection-card--sap    .collection-card-bg { background: linear-gradient(160deg, #0D2F4F 0%, #1A5276 50%, #2980B9 100%); }
.collection-card--fancy  .collection-card-bg { background: linear-gradient(160deg, #6C1E9C 0%, #8E44AD 30%, #E91E8C 60%, #F39C12 100%); }

/* Gem pattern overlay */
.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 2px, transparent 2px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.1) 3px, transparent 3px),
    radial-gradient(circle at 50% 70%, rgba(255,255,255,0.12) 2px, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.08) 4px, transparent 4px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px);
  pointer-events: none;
}

.collection-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: var(--white);
}
.collection-card-info h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; }
.collection-card-info p { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

/* ─── SECTION HEADINGS ───────────────────────────────────── */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}
.section-heading h2 { max-width: 600px; }

/* ─── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}
.filter-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-60);
}
.filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--charcoal-30);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--charcoal);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231C1C1C60'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}
.filter-group select:focus { outline: 1px solid var(--gold); }

/* ─── GEMSTONE GRID ──────────────────────────────────────── */
.gems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.gem-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.gem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-med); }

.gem-card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: #E8E8E8;
  overflow: hidden;
}

.gem-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}
.gem-card-img--warm { position: absolute; inset: 0; opacity: 0; }
.gem-card-img--warm.active { opacity: 1; }

/* Placeholder when no image */
.gem-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gem-shape-icon {
  width: 80px; height: 80px;
  opacity: 0.6;
}

.light-controls {
  position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.light-btn {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--charcoal-60);
  transition: all var(--transition);
}
.light-btn.active {
  background: var(--charcoal);
  color: var(--white);
}

/* 360 badge */
.badge-360 {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.gem-card-info { padding: 20px; }
.gem-card-name { font-size: 1rem; margin-bottom: 4px; }
.gem-card-meta {
  font-size: 0.78rem;
  color: var(--charcoal-60);
  margin-bottom: 16px;
}
.gem-card-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.gem-card-ctas .btn { padding: 9px 14px; font-size: 0.7rem; }

/* ─── SHAKER ─────────────────────────────────────────────── */
.shaker-section { background: var(--charcoal); color: var(--white); }
.shaker-section .section-heading h2 { color: var(--white); }
.shaker-section .section-heading .eyebrow { color: var(--gold); }
.shaker-section p { color: rgba(255,255,255,0.65); }

.shaker-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: flex-end;
}

.shaker-control-group { display: flex; flex-direction: column; gap: 8px; }
.shaker-control-group label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.shaker-control-group select {
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  min-width: 140px;
}
.shaker-control-group select:focus { outline: 1px solid var(--gold); }

/* Color swatch picker */
.color-swatches { display: flex; gap: 8px; }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.color-swatch.selected { border-color: var(--white); transform: scale(1.2); }

/* Canvas */
.shaker-canvas {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 28px;
  margin-bottom: 28px;
  transition: all 0.5s ease;
}
.shaker-canvas.arranging {
  animation: shake-canvas 0.4s ease;
}
@keyframes shake-canvas {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.canvas-gem {
  width: 36px; height: 36px;
  border-radius: 2px;
  transition: all 0.3s ease;
  animation: gem-appear 0.3s ease backwards;
}
@keyframes gem-appear {
  from { opacity: 0; transform: scale(0) rotate(180deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
.canvas-placeholder {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shaker-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── KNOWLEDGE / ARTICLES ───────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-med); }

.article-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-cover-img { transform: scale(1.04); }

/* Color placeholder for articles */
.article-cover-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover--ruby       .article-cover-placeholder { background: linear-gradient(135deg, #7B1F1F, #C0392B); }
.article-cover--sapphire   .article-cover-placeholder { background: linear-gradient(135deg, #0D2F4F, #2980B9); }
.article-cover--fancy      .article-cover-placeholder { background: linear-gradient(135deg, #6C1E9C, #F39C12); }

.article-cover-icon { font-size: 3rem; opacity: 0.6; }

.article-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-tag {
  display: inline-block;
  margin-bottom: 12px;
}
.article-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.article-excerpt {
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.article-read-more {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: color var(--transition);
}
.article-read-more:hover { color: var(--gold-dark); }

/* Article Detail Page */
.article-detail { max-width: 760px; margin: 0 auto; padding: 120px 20px 80px; }
.article-detail h1 { margin-bottom: 32px; }
.article-detail .article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 48px 0 16px;
}
.article-detail .article-content h3 {
  font-size: 1.1rem;
  margin: 32px 0 12px;
}
.article-detail .article-content p {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 20px;
}
.article-detail .article-content ul {
  margin: 16px 0 24px 20px;
}
.article-detail .article-content li {
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.7;
}
.article-detail .article-content strong { font-weight: 500; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--charcoal-60);
  margin-bottom: 40px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--charcoal); }

/* ─── DIVIDER ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--charcoal-30);
  margin: 0;
}
.divider--gold { background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo { color: var(--white); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); max-width: 200px; }

.footer-col-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--white); }
.contact-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.contact-link--muted { opacity: 0.4; cursor: default; }
.contact-link--muted:hover { color: rgba(255,255,255,0.75); }

.map-embed {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) brightness(0.8);
}
.map-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ─── PAGE TRANSITION ─────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── MODAL (Article Detail) ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.85);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 60px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  padding: 56px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.4rem;
  color: var(--charcoal-60);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.08); color: var(--charcoal); }

/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual { width: 40%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}

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

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ivory);
    z-index: 90;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 1.2rem;
  }
  .nav-links.mobile-open a { font-size: 1rem; letter-spacing: 0.15em; }

  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }

  .collections-grid { grid-template-columns: 1fr; }
  .collection-card { aspect-ratio: 16/9; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-top > :last-child { grid-column: auto; }

  .modal-box { padding: 32px 24px; }
  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .filter-bar { flex-direction: column; }
  .shaker-controls { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── UTILITY ─────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
