/* ==========================================================================
   MAISON LUMIÈRE — Haute Joaillerie
   Color tokens
   ========================================================================== */
:root {
  --ink:        #0a0a0c;
  --ink-2:      #11111a;
  --ink-3:      #1a1a24;
  --paper:      #f4ede0;        /* warm ivory */
  --paper-2:    #ebe1cf;
  --paper-3:    #d8cdb6;
  --gold:       #c9a96b;
  --gold-2:     #e6cf99;
  --gold-3:     #8a7140;
  --gold-line:  rgba(201,169,107,0.32);
  --mute:       #8a8170;
  --line:       rgba(201,169,107,0.18);
  --line-2:     rgba(244,237,224,0.10);
  --serif:      "Cormorant Garamond", "Times New Roman", serif;
  --display:    "Italiana", "Cormorant Garamond", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad:        clamp(1.25rem, 4vw, 3rem);
  --max:        1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
em { font-style: italic; color: var(--gold-3); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.preloader.gone { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-monogram {
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 160px);
  color: var(--gold-2);
  line-height: 1;
  animation: pulse 2.4s ease-in-out infinite;
}
.preloader-line {
  width: 0; height: 1px; background: var(--gold);
  margin: 30px auto; transition: width 1.4s ease 0.3s;
}
.preloader-line.go { width: 180px; }
.preloader-text {
  font-family: var(--sans);
  letter-spacing: 0.42em;
  font-size: 11px;
  color: var(--paper-2);
  opacity: 0;
  transition: opacity 0.8s ease 0.9s;
}
.preloader-text.go { opacity: 1; }
@keyframes pulse {
  0%, 100% { opacity: 0.7; text-shadow: 0 0 30px rgba(201,169,107,0.4); }
  50%      { opacity: 1;   text-shadow: 0 0 60px rgba(201,169,107,0.9); }
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor { position: fixed; pointer-events: none; z-index: 9998; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor.hover .cursor-ring { width: 64px; height: 64px; border-color: var(--gold-2); }
@media (max-width: 800px) { .cursor { display: none; } body { cursor: auto; } }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--ink); color: var(--paper-2);
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.38em;
  padding: 11px var(--pad); text-align: center;
  border-bottom: 1px solid var(--line-2);
}
.topbar-inner { display: inline-flex; gap: 18px; align-items: center; }
.topbar .dot { color: var(--gold); }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,237,224,0.85);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s ease;
}
.nav.scrolled { background: rgba(244,237,224,0.95); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  font-family: var(--display);
  font-size: 32px; color: var(--gold-3);
  line-height: 1; letter-spacing: 0;
  border: 1px solid var(--gold);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-2);
}
.logo-mark.big { width: 56px; height: 56px; font-size: 38px; }
.logo-text {
  font-family: var(--display);
  font-size: 20px; letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 38px; }
.nav-links a {
  font-family: var(--sans); font-size: 11.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--gold-3); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  transition: all 0.4s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }

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

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: calc(100vh - 90px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  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.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.55; mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: 0 var(--pad);
  max-width: 1100px;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.5em; color: var(--gold-2);
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1.2s 0.6s forwards;
}
.line-deco {
  width: 40px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(60px, 11vw, 168px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: var(--paper);
}
.hero-title-line {
  display: block;
  opacity: 0; transform: translateY(60px);
  animation: fadeUp 1.4s 0.8s forwards;
}
.hero-title-line.italic { font-style: italic; color: var(--gold-2); animation: fadeUp 1.4s 1.1s forwards; }
.hero-title .hero-title-line:nth-child(2) { animation-delay: 1.1s; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-style: italic;
  max-width: 580px; margin: 0 auto 48px;
  color: var(--paper-2);
  line-height: 1.6;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1.4s 1.4s forwards;
}
.hero-actions {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1.4s 1.6s forwards;
}
.btn {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  padding: 18px 36px; border: 1px solid var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.btn-gold {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent; color: var(--gold-2);
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.btn-ghost { color: var(--paper); border-color: var(--paper-2); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  margin-top: 80px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.4s 2s forwards;
}
.stat-num {
  font-family: var(--display);
  font-size: 36px; color: var(--gold-2);
  line-height: 1;
}
.stat-label {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper-3); margin-top: 6px;
}
.stat-sep {
  width: 1px; height: 36px; background: var(--line-2);
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.4em;
  color: var(--paper-3);
}
.hero-scroll-line {
  width: 1px; height: 50px; background: var(--paper-3);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%; background: var(--gold-2);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -50%; }
  100% { top: 100%; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Section base
   ========================================================================== */
section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-eyebrow {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 24px;
}
.section-eyebrow.light { color: var(--gold-2); }
.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05; font-weight: 400;
  color: var(--ink); margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--paper); }
.section-title em { color: var(--gold-3); }
.section-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.6;
  color: var(--ink-2); max-width: 580px;
}
.section-head { text-align: center; margin: 0 auto 80px; max-width: 720px; }
.section-head .section-sub { margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HERITAGE
   ========================================================================== */
.heritage { background: var(--paper); }
.heritage-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.heritage-text p { font-size: 18px; margin-bottom: 24px; color: var(--ink-2); }
.heritage-sig { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.sig-line {
  font-family: var(--display); font-size: 28px;
  font-style: italic; color: var(--ink);
}
.sig-role {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mute); margin-top: 8px;
}
.heritage-visual { position: relative; }
.heritage-frame {
  position: relative; aspect-ratio: 4/5;
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 14px;
}
.heritage-image {
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(201,169,107,0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(201,169,107,0.2) 0%, transparent 50%),
    linear-gradient(135deg, #1a1611 0%, #2a221a 50%, #0d0b08 100%);
  position: relative;
  overflow: hidden;
}
.heritage-image::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.9) 0%, rgba(201,169,107,0.4) 6%, transparent 12%),
    radial-gradient(circle at 50% 45%, transparent 30%, rgba(0,0,0,0.6) 70%);
  filter: blur(1px);
  animation: diamondSparkle 4s ease-in-out infinite;
}
.heritage-image::after {
  content: 'L'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 200px;
  color: rgba(201,169,107,0.06);
  letter-spacing: -0.05em;
}
@keyframes diamondSparkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.heritage-corner {
  position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--gold);
}
.heritage-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.heritage-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.heritage-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.heritage-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.heritage-caption {
  position: absolute; bottom: -50px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mute);
}
@media (max-width: 900px) {
  .heritage-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   COLLECTION
   ========================================================================== */
.collection { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.collection-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px 36px;
}
.piece { position: relative; }
.piece-frame {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.piece:hover .piece-frame { transform: translateY(-6px); }
.piece-image {
  width: 100%; height: 100%;
  background: var(--bg);
  position: relative; overflow: hidden;
  transition: filter 0.6s ease;
}
.piece-image::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.piece-gem {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38%; aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    inset -8px -8px 18px rgba(0,0,0,0.6),
    inset 8px 8px 18px rgba(255,255,255,0.5),
    0 0 60px rgba(255,255,255,0.4);
  animation: floatGem 5s ease-in-out infinite;
}
.piece:hover .piece-gem { animation-duration: 2.4s; }
.gem-diamond {
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #d4e9f7 20%, #a8c5e0 50%, #6b8db0 80%, #2a4660 100%);
}
.gem-ruby {
  background:
    radial-gradient(circle at 30% 30%, #ff8585 0%, #d62027 25%, #8b0d12 60%, #3a0508 100%);
  box-shadow:
    inset -8px -8px 18px rgba(0,0,0,0.6),
    inset 8px 8px 18px rgba(255,200,200,0.5),
    0 0 80px rgba(214,32,39,0.6);
}
.gem-emerald {
  background:
    radial-gradient(circle at 30% 30%, #a8e6c4 0%, #2e8b57 25%, #0f4d2e 60%, #062014 100%);
  box-shadow:
    inset -8px -8px 18px rgba(0,0,0,0.6),
    inset 8px 8px 18px rgba(180,240,200,0.5),
    0 0 80px rgba(46,139,87,0.6);
}
.gem-sapphire {
  background:
    radial-gradient(circle at 30% 30%, #b4cdf0 0%, #2e5cb8 25%, #0a2470 60%, #020816 100%);
  box-shadow:
    inset -8px -8px 18px rgba(0,0,0,0.6),
    inset 8px 8px 18px rgba(180,210,255,0.5),
    0 0 80px rgba(46,92,184,0.6);
}
.piece-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 40%);
  pointer-events: none;
  animation: glowPulse 3.5s ease-in-out infinite;
}
.ruby-glow { background: radial-gradient(circle at 50% 50%, rgba(214,32,39,0.25) 0%, transparent 40%); }
.emerald-glow { background: radial-gradient(circle at 50% 50%, rgba(46,139,87,0.25) 0%, transparent 40%); }
.sapphire-glow { background: radial-gradient(circle at 50% 50%, rgba(46,92,184,0.25) 0%, transparent 40%); }

@keyframes floatGem {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -54%) rotate(2deg); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.piece-num {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--display); font-size: 14px;
  color: var(--gold-2); letter-spacing: 0.1em;
  z-index: 2;
}
.piece-meta { padding: 24px 4px 0; }
.piece-meta h3 {
  font-family: var(--display);
  font-size: 30px; font-weight: 400; font-style: italic;
  color: var(--ink); margin-bottom: 6px;
}
.piece-stone {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 14px;
}
.piece-desc {
  font-family: var(--serif); font-size: 15.5px;
  color: var(--ink-2); line-height: 1.6; margin-bottom: 14px;
  font-style: italic;
}
.piece-price {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mute); padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   STONES
   ========================================================================== */
.stones { background: var(--ink); color: var(--paper); }
.stones .section-title { color: var(--paper); }
.stones .section-sub { color: var(--paper-3); }
.stone-stage {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.stone-name {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-style: italic; color: var(--gold-2);
  line-height: 1; margin-bottom: 14px;
  font-weight: 400;
}
.stone-type {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--paper-3); margin-bottom: 40px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-2);
}
.stone-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px 40px; margin-bottom: 36px;
}
.stone-grid > div {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-2);
}
.stone-grid span {
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper-3);
}
.stone-grid b {
  font-family: var(--serif); font-weight: 500;
  font-size: 16px; color: var(--paper);
  font-style: italic;
}
.stone-narrative {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.6;
  color: var(--paper-2);
  padding: 30px 0 0;
  border-top: 1px solid var(--line-2);
  position: relative;
}
.stone-narrative::before {
  content: '"'; position: absolute;
  top: -10px; left: -8px;
  font-family: var(--display);
  font-size: 80px; color: var(--gold);
  opacity: 0.5; line-height: 1;
}
.stone-orbit {
  position: relative;
  width: 100%; aspect-ratio: 1;
  max-width: 480px; margin: 0 auto;
}
.stone-orbit-ring {
  position: absolute; inset: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.stone-orbit-ring.r1 { inset: 0; animation: spin 60s linear infinite; }
.stone-orbit-ring.r2 { inset: 12%; border-color: var(--line-2); animation: spin 40s linear infinite reverse; }
.stone-orbit-ring.r3 { inset: 24%; border-color: var(--gold); border-style: dashed; animation: spin 30s linear infinite; }
.stone-orbit-ring.r3::before, .stone-orbit-ring.r3::after {
  content: ''; position: absolute;
  width: 6px; height: 6px; background: var(--gold-2);
  border-radius: 50%; box-shadow: 0 0 12px var(--gold-2);
}
.stone-orbit-ring.r3::before { top: -3px; left: 50%; }
.stone-orbit-ring.r3::after  { bottom: -3px; left: 50%; }
.stone-orbit-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.stone-gem-large {
  width: 100%; height: 100%; border-radius: 50%;
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}
.stone-gem-large[data-stone="diamond"]  { background: radial-gradient(circle at 30% 30%, #fff 0%, #d4e9f7 20%, #a8c5e0 50%, #6b8db0 80%, #2a4660 100%); box-shadow: inset -10px -10px 24px rgba(0,0,0,0.6), inset 10px 10px 24px rgba(255,255,255,0.7), 0 0 80px rgba(255,255,255,0.6); }
.stone-gem-large[data-stone="ruby"]    { background: radial-gradient(circle at 30% 30%, #ff8585 0%, #d62027 25%, #8b0d12 60%, #3a0508 100%); box-shadow: inset -10px -10px 24px rgba(0,0,0,0.6), inset 10px 10px 24px rgba(255,200,200,0.6), 0 0 100px rgba(214,32,39,0.8); }
.stone-gem-large[data-stone="emerald"] { background: radial-gradient(circle at 30% 30%, #a8e6c4 0%, #2e8b57 25%, #0f4d2e 60%, #062014 100%); box-shadow: inset -10px -10px 24px rgba(0,0,0,0.6), inset 10px 10px 24px rgba(180,240,200,0.6), 0 0 100px rgba(46,139,87,0.8); }
.stone-gem-large[data-stone="sapphire"]{ background: radial-gradient(circle at 30% 30%, #b4cdf0 0%, #2e5cb8 25%, #0a2470 60%, #020816 100%); box-shadow: inset -10px -10px 24px rgba(0,0,0,0.6), inset 10px 10px 24px rgba(180,210,255,0.6), 0 0 100px rgba(46,92,184,0.8); }
.stone-gem-large[data-stone="pearl"]   { background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f4ede0 30%, #d4cdb8 70%, #a89e85 100%); box-shadow: inset -10px -10px 24px rgba(0,0,0,0.4), inset 10px 10px 24px rgba(255,255,255,0.9), 0 0 80px rgba(255,255,255,0.5); }

.stone-sparkles {
  position: absolute; inset: 0; pointer-events: none;
}
.stone-sparkles span {
  position: absolute; width: 4px; height: 4px;
  background: white; border-radius: 50%;
  box-shadow: 0 0 8px white;
  animation: twinkle 2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}
.stone-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-top: 40px;
}
.stone-tab {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.32em; text-transform: uppercase;
  padding: 12px 20px;
  color: var(--paper-3);
  border: 1px solid var(--line-2);
  background: transparent;
  transition: all 0.4s ease;
}
.stone-tab:hover { color: var(--gold-2); border-color: var(--gold); }
.stone-tab.active {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold);
}
@media (max-width: 900px) {
  .stone-stage { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   SALONS
   ========================================================================== */
.salons { background: var(--paper); }
.salon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.salon { position: relative; }
.salon-img {
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform 0.6s ease;
}
.salon:hover .salon-img { transform: scale(1.02); }
.salon-img-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
    linear-gradient(135deg, #2a2218 0%, #1a1410 50%, #0a0805 100%);
  position: relative;
}
.salon-img-1::before {
  content: 'PARIS'; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-size: 80px;
  color: rgba(201,169,107,0.15); letter-spacing: 0.2em;
}
.salon-img-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
    linear-gradient(135deg, #1a1a22 0%, #11111a 50%, #0a0a12 100%);
  position: relative;
}
.salon-img-2::before {
  content: 'LONDON'; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-size: 70px;
  color: rgba(201,169,107,0.15); letter-spacing: 0.2em;
}
.salon-img-3 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
    linear-gradient(135deg, #221a18 0%, #1a1412 50%, #0a0808 100%);
  position: relative;
}
.salon-img-3::before {
  content: '京都'; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-size: 120px;
  color: rgba(201,169,107,0.18); letter-spacing: 0.1em;
}
.salon-info { padding: 24px 0; border-bottom: 1px solid var(--line); }
.salon-city {
  font-family: var(--display); font-size: 32px;
  font-style: italic; color: var(--ink);
  margin-bottom: 8px;
}
.salon-addr {
  font-family: var(--serif); font-size: 15px;
  color: var(--ink-2); margin-bottom: 4px;
}
.salon-hours {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-3);
}

/* ==========================================================================
   ATELIER
   ========================================================================== */
.atelier { background: var(--paper-2); }
.atelier-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.atelier-text p { font-size: 18px; margin-bottom: 24px; color: var(--ink-2); }
.atelier-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 30px; margin-top: 50px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.atelier-stat b {
  display: block; font-family: var(--display);
  font-size: 42px; font-style: italic; color: var(--ink);
  font-weight: 400; line-height: 1; margin-bottom: 8px;
}
.atelier-stat span {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-3);
}
.atelier-frame {
  aspect-ratio: 1; position: relative;
  background: var(--ink); border: 1px solid var(--line);
  padding: 14px; overflow: hidden;
}
.atelier-canvas-wrap {
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, #1a1410 0%, #0a0805 100%);
  position: relative;
}
#atelierCanvas { width: 100%; height: 100%; display: block; }
.atelier-stamp {
  position: absolute; top: 30px; right: 30px;
  width: 110px; height: 110px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: stampRotate 30s linear infinite;
}
.stamp-circle {
  width: 100%; height: 100%;
  font-family: var(--sans); font-size: 9.5px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-2);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  text-align: center;
  line-height: 1.5;
}
.stamp-circle span { padding: 0 4px; }
@keyframes stampRotate {
  to { transform: rotate(360deg); }
}
@media (max-width: 900px) {
  .atelier-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   APPOINTMENT
   ========================================================================== */
.appointment {
  background: var(--ink); color: var(--paper);
  padding: clamp(80px, 12vw, 160px) 0;
}
.appointment-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.appointment-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.6;
  color: var(--paper-2); margin-bottom: 40px;
}
.appointment-list {
  list-style: none; padding: 0;
}
.appointment-list li {
  font-family: var(--serif); font-size: 16px;
  color: var(--paper-2); padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  position: relative; padding-left: 28px;
}
.appointment-list li::before {
  content: '·'; position: absolute; left: 0; top: 14px;
  color: var(--gold); font-size: 24px; line-height: 1;
}
.appointment-form {
  display: flex; flex-direction: column; gap: 20px;
  padding: 50px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.appointment-form label {
  display: flex; flex-direction: column; gap: 8px;
}
.appointment-form span {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper-3);
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  background: transparent; color: var(--paper);
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 0; outline: none;
  font-size: 16px;
  transition: border-color 0.3s;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-bottom-color: var(--gold);
}
.appointment-form select option { background: var(--ink-2); }
.form-foot {
  font-family: var(--serif); font-size: 12px; font-style: italic;
  color: var(--mute); text-align: center; margin-top: 8px;
}
@media (max-width: 900px) {
  .appointment-card { grid-template-columns: 1fr; gap: 40px; }
  .appointment-form { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink-2); color: var(--paper-2);
  padding: 80px 0 30px; border-top: 1px solid var(--line-2);
}
.footer-top {
  display: flex; justify-content: space-between; gap: 60px;
  flex-wrap: wrap; padding-bottom: 60px;
  border-bottom: 1px solid var(--line-2);
}
.footer-mark { display: flex; align-items: center; gap: 16px; }
.footer-name {
  font-family: var(--display); font-size: 22px;
  font-style: italic; color: var(--paper);
}
.footer-tag {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper-3); margin-top: 4px;
}
.footer-cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a {
  display: block; font-family: var(--serif); font-size: 14px;
  color: var(--paper-2); margin-bottom: 10px;
  transition: color 0.3s; cursor: pointer;
}
.footer-col a:hover { color: var(--gold-2); }
.footer-bot {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 30px;
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mute);
}
.footer-bot-r { display: inline-flex; gap: 12px; }
