/* ===== BONNE INFLUENCE — v2 Mystique 3D ===== */
:root {
  --night: #0b0817;
  --night-2: #15102a;
  --aubergine: #2b1f3d;
  --or: #c9a961;
  --or-clair: #e8c886;
  --or-glow: rgba(232,200,134,0.5);
  --parchemin: #ede0c4;
  --parchemin-mute: rgba(237,224,196,0.6);
  --rule: rgba(237,224,196,0.12);
  --rule-or: rgba(201,169,97,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--night); color: var(--parchemin); overflow-x: hidden; }
body { font-family: 'EB Garamond', Georgia, serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; cursor: none; }
@media (pointer: coarse) { body { cursor: auto; } }
::selection { background: var(--or); color: var(--night); }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.italic { font-style: italic; }
.serif { font-family: 'EB Garamond', Georgia, serif; }

/* Aurora animated background — stays fixed */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(110,70,180,0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(201,169,97,0.18), transparent 65%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(43,31,61,0.5), transparent 70%),
    var(--night);
  animation: aurora-shift 24s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

/* Grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Stars — fixed background */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(237,224,196,0.7), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(237,224,196,0.5), transparent),
    radial-gradient(1.5px 1.5px at 64% 24%, rgba(232,200,134,0.7), transparent),
    radial-gradient(1px 1px at 82% 62%, rgba(237,224,196,0.5), transparent),
    radial-gradient(1px 1px at 44% 88%, rgba(237,224,196,0.4), transparent),
    radial-gradient(1px 1px at 90% 14%, rgba(237,224,196,0.5), transparent),
    radial-gradient(1px 1px at 8% 48%, rgba(237,224,196,0.45), transparent),
    radial-gradient(1.5px 1.5px at 34% 38%, rgba(232,200,134,0.5), transparent),
    radial-gradient(1px 1px at 72% 88%, rgba(237,224,196,0.4), transparent),
    radial-gradient(1px 1px at 96% 38%, rgba(237,224,196,0.35), transparent);
}

/* Custom cursor */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; background: var(--or-clair); border-radius: 50%; position: absolute; top: -3px; left: -3px; transition: transform .15s ease; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--or); border-radius: 50%; position: absolute; top: -18px; left: -18px; transition: transform .25s ease, opacity .25s ease; opacity: 0.7; }
.cursor.hover .cursor-ring { transform: scale(1.5); opacity: 1; }
.cursor.hover .cursor-dot { transform: scale(2); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(11,8,23,0.4); border-bottom: 1px solid var(--rule); }
.nav-logo { font-size: 28px; font-style: italic; letter-spacing: 0.01em; }
.nav-logo b { font-style: normal; color: var(--or); font-weight: 500; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--parchemin); text-decoration: none; font-size: 15px; font-style: italic; transition: color .2s; }
.nav-links a:hover { color: var(--or-clair); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-status { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or); }
.nav-status .pulse { width: 7px; height: 7px; background: #6fcf6f; border-radius: 50%; box-shadow: 0 0 8px #6fcf6f; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.btn { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; padding: 12px 22px; border: 1px solid var(--or); color: var(--or); background: transparent; cursor: pointer; transition: all .25s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { background: var(--or); color: var(--night); box-shadow: 0 0 30px var(--or-glow); }
.btn.primary { background: var(--or); color: var(--night); }
.btn.primary:hover { background: var(--or-clair); box-shadow: 0 0 40px var(--or-glow); }

/* HERO */
.hero { position: relative; min-height: 100vh; padding: 120px 40px 40px; display: grid; grid-template-rows: 1fr auto; gap: 40px; overflow: hidden;
  --mx: 78%; --my: 50%;
}
/* Before/After photo pair — the healing lens reveals the "after" through a mask */
.hero-photos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 0.9s cubic-bezier(.2,.7,.3,1); }
.hero-photo.active { opacity: 1; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
/* AVANT — cool, slightly dimmed */
.hero-photo-sad img { filter: brightness(0.85) contrast(1.05) saturate(0.85); }
/* APRÈS — warm, full vitality — revealed only through the lens mask */
.hero-photo-well img { filter: brightness(1.0) saturate(1.05); }
.hero-photo-well {
  -webkit-mask-image: radial-gradient(circle 500px at var(--mx) var(--my), #000 0%, #000 50%, transparent 100%);
  mask-image: radial-gradient(circle 500px at var(--mx) var(--my), #000 0%, #000 50%, transparent 100%);
}
#orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; opacity: 0.35; mix-blend-mode: screen; }
/* Healing light source follows the cursor / sits at default position when idle */
.healing-source { position: absolute; left: var(--mx); top: var(--my); transform: translate(-50%, -50%); width: 720px; height: 720px; z-index: 2; pointer-events: none; transition: left 0.08s linear, top 0.08s linear; }
.healing-source::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 232, 168, 0.55) 0%,
    rgba(232, 200, 134, 0.32) 14%,
    rgba(201, 169, 97, 0.18) 28%,
    rgba(120, 80, 40, 0.08) 50%,
    transparent 72%);
  filter: blur(8px);
  animation: healing-pulse 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
}
.healing-source::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff5d8 0%, #f5e0a8 40%, transparent 100%);
  box-shadow: 0 0 30px 6px rgba(255, 232, 168, 0.7), 0 0 80px 24px rgba(232, 200, 134, 0.35), 0 0 160px 48px rgba(201, 169, 97, 0.15);
  animation: healing-core 3.5s ease-in-out infinite;
}
@keyframes healing-pulse { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes healing-core { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.7; } }
/* Left-side scrim so the typography keeps strong contrast against the photo + field */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,8,23,0.92) 0%, rgba(11,8,23,0.75) 30%, rgba(11,8,23,0.35) 55%, rgba(11,8,23,0.0) 75%); z-index: 3; pointer-events: none; }
.hero-content { position: relative; z-index: 4; align-self: center; max-width: 64%; }
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.hero-eyebrow .line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--or), transparent); flex: 0 0 auto; }
.hero-eyebrow .text { color: var(--or); flex: 1 1 auto; min-width: 0; transition: opacity 0.4s; font-size: 13px; letter-spacing: 0.2em; }
/* Case nav — 3 dots with numbers, auto-rotating + clickable */
.hero-cases { display: inline-flex; gap: 4px; align-items: center; flex: 0 0 auto; }
.hero-case { background: transparent; border: 0; padding: 10px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--parchemin-mute); transition: color 0.3s; }
.hero-case .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(237,224,196,0.35); transition: background 0.3s, transform 0.3s, box-shadow 0.3s; }
.hero-case .num { opacity: 0.5; transition: opacity 0.3s; }
.hero-case:hover { color: var(--parchemin); }
.hero-case:hover .dot { background: var(--or); }
.hero-case.active { color: var(--or); }
.hero-case.active .dot { background: var(--or); box-shadow: 0 0 12px var(--or-glow); transform: scale(1.4); }
.hero-case.active .num { opacity: 1; }
.hero h1 { font-size: clamp(72px, 12vw, 184px); line-height: 0.92; font-weight: 400; letter-spacing: -0.03em; margin: 0 0 40px; }
.hero h1 .l { display: block; }
.hero h1 .l1 { font-style: italic; color: var(--or); }
.hero h1 .l2 { padding-left: 8vw; }
.hero h1 .l3 { font-style: italic; padding-left: 16vw; color: var(--or-clair); }
.hero h1 .l4 { padding-left: 4vw; }
.hero-sub { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: var(--parchemin-mute); max-width: 48ch; margin-bottom: 40px; font-style: italic; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-actions .scroll-hint { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hero-actions .scroll-hint::after { content: ''; width: 40px; height: 1px; background: var(--or); animation: scroll-down 2s infinite; transform-origin: left; }
@keyframes scroll-down { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.hero-foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--rule); background: linear-gradient(180deg, rgba(11,8,23,0) 0%, rgba(11,8,23,0.6) 30%); margin: 0 -40px -40px; padding: 32px 40px 40px; }
.hero-foot .item { display: flex; flex-direction: column; gap: 4px; }
.hero-foot .item .n { font-size: 32px; font-style: italic; color: var(--or-clair); line-height: 1; }
.hero-foot .item .l { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--parchemin-mute); }

/* MARQUEE */
.marquee { padding: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; white-space: nowrap; background: linear-gradient(180deg, transparent, rgba(43,31,61,0.3), transparent); position: relative; z-index: 2; }
.marquee-inner { display: inline-flex; gap: 64px; animation: marquee 50s linear infinite; }
.marquee span { font-size: 56px; font-style: italic; color: var(--parchemin); opacity: 0.7; }
.marquee span .or { color: var(--or); }
.marquee .glyph { color: var(--or); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* MANIFESTO */
.manifesto { padding: 160px 40px; max-width: 1400px; margin: 0 auto; position: relative; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.manifesto-portrait { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; position: relative; transform: rotate(-2deg); box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--rule-or); }
.manifesto-portrait::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(201,169,97,0.15)); z-index: 1; }
.manifesto-text .mono { color: var(--or); margin-bottom: 24px; display: block; }
.manifesto-text h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 40px; }
.manifesto-text h2 em { color: var(--or); }
.manifesto-text p { font-size: 19px; line-height: 1.6; color: var(--parchemin-mute); margin-bottom: 20px; font-style: italic; max-width: 50ch; }
.manifesto-text p b { font-style: normal; color: var(--parchemin); font-weight: 500; }
.lineage { margin-top: 48px; display: flex; gap: 0; align-items: stretch; border-top: 1px solid var(--rule); }
.lineage-item { flex: 1; padding: 24px 16px 24px 0; border-right: 1px solid var(--rule); }
.lineage-item:last-child { border-right: 0; padding-right: 0; }
.lineage-item .gen { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--or); letter-spacing: 0.2em; margin-bottom: 8px; }
.lineage-item .name { font-size: 20px; font-style: italic; margin-bottom: 4px; }
.lineage-item .date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--parchemin-mute); }

/* PILLARS — interactive 3D cards */
.pillars { padding: 160px 40px; position: relative; }
.pillars-head { text-align: center; margin-bottom: 80px; max-width: 900px; margin-left: auto; margin-right: auto; }
.pillars-head .mono { color: var(--or); margin-bottom: 24px; display: block; }
.pillars-head h2 { font-size: clamp(48px, 7vw, 104px); line-height: 0.95; font-weight: 400; letter-spacing: -0.025em; }
.pillars-head h2 em { color: var(--or); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; perspective: 1500px; }
.pillar { position: relative; padding: 40px 32px; min-height: 460px; background: linear-gradient(180deg, rgba(43,31,61,0.6), rgba(11,8,23,0.6)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--rule-or); border-radius: 4px; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.3,1), box-shadow .6s; cursor: none; overflow: hidden; }
.pillar:hover { transform: translateY(-8px) rotateX(2deg); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px rgba(201,169,97,0.1); border-color: var(--or); }
.pillar::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, var(--or-glow), transparent 50%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.pillar:hover::before { opacity: 0.08; }
.pillar .roman { font-size: 12px; color: var(--or); letter-spacing: 0.4em; margin-bottom: 32px; display: block; }
.pillar .glyph { width: 80px; height: 80px; margin-bottom: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--rule-or); font-size: 36px; color: var(--or); position: relative; }
.pillar .glyph::after { content: ''; position: absolute; inset: -8px; border: 1px solid var(--rule-or); border-radius: 50%; }
.pillar h3 { font-size: 36px; font-style: italic; line-height: 1.1; margin-bottom: 16px; font-weight: 400; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--parchemin-mute); margin-bottom: 24px; }
.pillar .more { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); border-top: 1px solid var(--rule); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; position: absolute; bottom: 32px; left: 32px; right: 32px; }
.pillar .more .arrow { transition: transform .3s; }
.pillar:hover .more .arrow { transform: translateX(6px); }

/* MAGNETISME */
.magnetisme { padding: 160px 40px; position: relative; max-width: 1400px; margin: 0 auto; }
.magnetisme-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; align-items: end; }
.magnetisme-head .mono { color: var(--or); margin-bottom: 16px; display: block; }
.magnetisme-head h2 { font-size: clamp(48px, 6vw, 88px); line-height: 0.95; font-weight: 400; letter-spacing: -0.02em; }
.magnetisme-head h2 em { color: var(--or); }
.magnetisme-head p { font-size: 18px; line-height: 1.65; color: var(--parchemin-mute); font-style: italic; max-width: 48ch; }
.mag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--rule-or); border-radius: 4px; overflow: hidden; backdrop-filter: blur(8px); }
.mag-card { padding: 40px; border-right: 1px solid var(--rule-or); border-bottom: 1px solid var(--rule-or); display: grid; grid-template-columns: auto 1fr; gap: 32px; position: relative; transition: background .3s; }
.mag-card:nth-child(2n) { border-right: 0; }
.mag-card:nth-last-child(-n+2) { border-bottom: 0; }
.mag-card:hover { background: rgba(201,169,97,0.04); }
.mag-card .num { font-size: 64px; font-style: italic; color: var(--or); line-height: 1; }
.mag-card .body h3 { font-size: 32px; font-weight: 400; margin-bottom: 8px; }
.mag-card .body .duration { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--or); letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.mag-card .body p { font-size: 15px; line-height: 1.6; color: var(--parchemin-mute); margin-bottom: 24px; }
.mag-card .body .foot { display: flex; justify-content: space-between; align-items: center; }
.mag-card .body .price { font-size: 36px; font-style: italic; color: var(--or-clair); }
.mag-card .body .book { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); display: flex; align-items: center; gap: 8px; transition: gap .3s; }
.mag-card:hover .body .book { gap: 12px; }

/* QUOTE — fullscreen typographic */
.quote-section { padding: 200px 40px; text-align: center; position: relative; }
.quote-section .signet { width: 120px; height: 120px; margin: 0 auto 48px; border-radius: 50%; border: 1px solid var(--or); display: flex; align-items: center; justify-content: center; position: relative; }
.quote-section .signet::before, .quote-section .signet::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid var(--rule-or); }
.quote-section .signet::before { inset: -16px; }
.quote-section .signet::after { inset: -32px; border-color: rgba(201,169,97,0.1); }
.quote-section .signet svg { width: 60px; height: 60px; color: var(--or); }
.quote-section blockquote { font-size: clamp(40px, 5vw, 76px); line-height: 1.18; font-style: italic; font-weight: 400; max-width: 22ch; margin: 0 auto 48px; letter-spacing: -0.015em; }
.quote-section blockquote::before { content: '« '; color: var(--or); }
.quote-section blockquote::after { content: ' »'; color: var(--or); }
.quote-section .sig { font-size: 22px; font-style: italic; margin-bottom: 8px; }
.quote-section .credit { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--or); letter-spacing: 0.22em; text-transform: uppercase; }

/* TESTIMONIALS */
.testimonials { padding: 160px 0; position: relative; }
.testimonials-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding: 0 40px; margin-bottom: 64px; max-width: 1400px; margin-left: auto; margin-right: auto; }
.testimonials-head .mono { color: var(--or); margin-bottom: 16px; display: block; }
.testimonials-head h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.testimonials-head h2 em { color: var(--or); }
.testimonials-head .badge { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.testimonials-head .badge .stars { font-size: 28px; color: var(--or); letter-spacing: 0.15em; }
.testimonials-head .badge .count { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--parchemin-mute); }
.test-scroll { display: flex; gap: 24px; overflow-x: auto; padding: 0 40px 32px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--or) transparent; }
.test-scroll::-webkit-scrollbar { height: 4px; }
.test-scroll::-webkit-scrollbar-track { background: rgba(237,224,196,0.05); }
.test-scroll::-webkit-scrollbar-thumb { background: var(--or); }
.test-card { flex: 0 0 420px; padding: 32px; background: linear-gradient(180deg, rgba(43,31,61,0.5), rgba(11,8,23,0.4)); backdrop-filter: blur(12px); border: 1px solid var(--rule-or); border-radius: 4px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.test-card .stars { font-size: 16px; color: var(--or); letter-spacing: 0.15em; }
.test-card p { font-size: 19px; line-height: 1.5; font-style: italic; flex: 1; }
.test-card .who { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); padding-top: 16px; border-top: 1px solid var(--rule); }
.test-card .when { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--parchemin-mute); margin-top: 4px; }

/* BOUTIQUE — 3D book covers */
.boutique { padding: 160px 40px; max-width: 1400px; margin: 0 auto; position: relative; }
.boutique-head { text-align: center; margin-bottom: 96px; }
.boutique-head .mono { color: var(--or); margin-bottom: 24px; display: block; }
.boutique-head h2 { font-size: clamp(48px, 6vw, 88px); line-height: 0.95; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 24px; }
.boutique-head h2 em { color: var(--or); }
.boutique-head p { font-size: 18px; line-height: 1.6; color: var(--parchemin-mute); max-width: 56ch; margin: 0 auto; font-style: italic; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; perspective: 1800px; }
.book { display: flex; flex-direction: column; align-items: center; gap: 24px; transform-style: preserve-3d; }
.book-3d { position: relative; width: 240px; height: 340px; transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(8deg); transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.book:hover .book-3d { transform: rotateY(-10deg) rotateX(4deg) translateY(-8px); }
.book-cover, .book-back, .book-spine, .book-top, .book-bottom, .book-edge { position: absolute; }
.book-cover { width: 240px; height: 340px; left: 0; top: 0; background: linear-gradient(135deg, #2b1f3d, #1a1230); border-radius: 1px 4px 4px 1px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset -1px 0 3px rgba(255,255,255,0.05); display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px; overflow: hidden; }
.book-cover::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(201,169,97,0.4); pointer-events: none; }
.book-cover .ornament { font-size: 24px; color: var(--or); text-align: center; letter-spacing: 0.2em; }
.book-cover .title { font-size: 26px; font-style: italic; color: var(--or-clair); text-align: center; line-height: 1.1; }
.book-cover .author { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.22em; color: var(--or); text-align: center; }
.book-spine { width: 28px; height: 340px; left: -14px; top: 0; transform: rotateY(-90deg) translateX(0); transform-origin: right center; background: linear-gradient(90deg, #15102a, #2b1f3d); border-radius: 1px 0 0 1px; }
.book-spine::after { content: ''; position: absolute; top: 32px; bottom: 32px; left: 50%; width: 1px; background: var(--or); opacity: 0.4; }
.book-back { width: 240px; height: 340px; left: 0; top: 0; transform: translateZ(-28px); background: #1a1230; border-radius: 4px 1px 1px 4px; }
.book-edge { width: 28px; height: 340px; right: -14px; top: 0; transform: rotateY(90deg); transform-origin: left center; background: linear-gradient(90deg, #ede0c4, #c9a961); }
.book-top { width: 240px; height: 28px; left: 0; top: -14px; transform: rotateX(90deg); transform-origin: bottom center; background: linear-gradient(180deg, #d4c89a, #ede0c4); }
.book-bottom { width: 240px; height: 28px; left: 0; bottom: -14px; transform: rotateX(-90deg); transform-origin: top center; background: linear-gradient(180deg, #b8a575, #d4c89a); }
.book-meta { text-align: center; }
.book-meta .kind { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.book-meta h3 { font-size: 26px; font-style: italic; font-weight: 400; margin-bottom: 8px; }
.book-meta p { font-size: 14px; line-height: 1.55; color: var(--parchemin-mute); margin-bottom: 16px; max-width: 28ch; margin-left: auto; margin-right: auto; }
.book-meta .row { display: flex; gap: 16px; justify-content: center; align-items: center; }
.book-meta .price { font-size: 24px; font-style: italic; color: var(--or-clair); }
.book-meta .buy { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); }

/* FINAL CTA */
.final { padding: 200px 40px; text-align: center; position: relative; overflow: hidden; }
#final-orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; pointer-events: none; display: block; }
.final::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(11,8,23,0.5) 0%, transparent 70%); z-index: 1; pointer-events: none; }
.final-content { position: relative; z-index: 2; }
.final-content .mono { color: var(--or); margin-bottom: 32px; display: block; }
.final-content h2 { font-size: clamp(56px, 9vw, 144px); line-height: 0.9; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 32px; }
.final-content h2 em { color: var(--or); font-style: italic; }
.final-content p { font-size: 19px; line-height: 1.6; color: var(--parchemin-mute); max-width: 50ch; margin: 0 auto 48px; font-style: italic; }
.final-content .actions { display: flex; gap: 16px; justify-content: center; }

/* FOOTER */
.foot { padding: 80px 40px 32px; border-top: 1px solid var(--rule); max-width: 1400px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.foot-top .logo { font-size: 28px; font-style: italic; margin-bottom: 16px; }
.foot-top .logo b { font-style: normal; color: var(--or); font-weight: 500; }
.foot-top p { font-size: 14px; line-height: 1.6; color: var(--parchemin-mute); max-width: 36ch; font-style: italic; }
.foot-top h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-bottom: 16px; font-weight: 500; }
.foot-top ul { list-style: none; }
.foot-top li { font-size: 14px; margin-bottom: 8px; font-style: italic; color: var(--parchemin); }
.foot-bot { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--rule); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--parchemin-mute); }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s cubic-bezier(.2,.7,.3,1), transform 1.2s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1 !important; transform: translateY(0) !important; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
/* Hero h1 lines have JS-driven parallax transforms — give the reveal state higher priority */
.hero h1 .l { transition: opacity 1.2s cubic-bezier(.2,.7,.3,1), transform 0.4s ease; }
.hero h1 .l.in { opacity: 1 !important; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Portrait placeholder (uses Slot-like striped pattern) */
.slot { display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(237,224,196,0.5); letter-spacing: 0.18em; text-transform: uppercase; text-align: center; padding: 16px; white-space: pre-line; }
.slot.dark { background: repeating-linear-gradient(45deg, #1a1530, #1a1530 14px, #2b2245 14px, #2b2245 28px); }
.slot.gold { background: repeating-linear-gradient(45deg, #3a2d1a, #3a2d1a 14px, #4a3b22 14px, #4a3b22 28px); color: rgba(232,200,134,0.7); }
.slot.h-full { width: 100%; height: 100%; }
