:root {
  --bg: #f3eadb;
  --fg: #252934;
  --accent: #ef5a28;
  --secondary: #d1bc9e;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-label: 'DM Mono', monospace;
  --font-head: 'Space Grotesk', sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

/* NAV */
.nav-bar {
  position: fixed; top: 0; left: 0; width: 100%;
  height: 88px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 4rem); z-index: 100;
  background: rgba(243, 234, 219, 0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--secondary);
}
.logo {
  font-family: var(--font-label); font-weight: 500; text-transform: uppercase;
  text-decoration: none; color: var(--fg); letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 0.5rem;
}
.glyph { color: var(--accent); font-size: 1.2em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  text-decoration: none; color: var(--fg); font-family: var(--font-label);
  font-size: 0.85rem; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle .bar {
  display: block; width: 24px; height: 2px; background: var(--fg); margin: 6px 0; transition: 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: 0.4s var(--ease-out);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.2rem; margin-bottom: 1.5rem; }
}

/* HERO */
.hero {
  min-height: 100svh; padding-top: 118px; padding-bottom: 90px;
  display: grid; grid-template-columns: 54% 46%; gap: 2rem;
  align-items: center; position: relative;
}
.eyebrow {
  font-family: var(--font-label); font-size: 0.8rem; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.headline {
  font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.91; letter-spacing: -0.02em; margin-bottom: 1.5rem;
}
.word {
  display: inline-block; opacity: 0; transform: translateY(20px) rotate(-3deg);
  animation: wordUp 0.75s var(--ease-out) forwards;
}
.word:nth-child(1) { animation-delay: 0.1s; } .word:nth-child(2) { animation-delay: 0.2s; }
.word:nth-child(3) { animation-delay: 0.3s; } .word:nth-child(4) { animation-delay: 0.4s; }
.word:nth-child(5) { animation-delay: 0.5s; }
.intro {
  font-size: 1.1rem; max-width: 50ch; margin-bottom: 2rem; min-height: 1.5em;
}
.cursor { display: inline-block; width: 2px; height: 1em; background: var(--fg); margin-left: 2px; animation: blink 1s step-end infinite; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-copy {
  background: var(--fg); color: var(--bg); border: none; padding: 0.8rem 1.4rem;
  font-family: var(--font-label); font-size: 0.85rem; text-transform: uppercase;
  cursor: pointer; transition: 0.2s; letter-spacing: 0.05em;
}
.btn-primary:hover { background: var(--accent); }
.btn-copy {
  background: transparent; color: var(--fg); border: 1px solid var(--fg);
  font-family: var(--font-body); text-transform: none; cursor: copy;
}
.btn-copy:hover { border-color: var(--accent); color: var(--accent); }

.hero-visual {
  position: relative; aspect-ratio: 1/1; max-height: 80vh; display: flex; align-items: center; justify-content: center;
}
#poster {
  width: 100%; height: 100%; object-fit: contain; position: absolute;
  transition: opacity 0.8s ease;
}
#stage-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s;
  touch-action: none;
}

.scroll-cue {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-label); font-size: 0.75rem; text-transform: uppercase; opacity: 0.7;
  animation: float 2s ease-in-out infinite alternate;
}
.scroll-cue svg { animation: bounce 1.5s infinite; }

/* SECTIONS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 4rem); }
.manifesto { padding: 5rem 0; }
.section-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem; line-height: 1.1;
}
.body-text { font-size: 1.1rem; max-width: 65ch; margin-bottom: 2rem; color: #3a3f4b; }
.paris-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.paris-gallery img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; filter: grayscale(20%) contrast(1.05);
}
.cards-section { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
  border: 1px solid var(--secondary); padding: 2rem; background: rgba(255,255,255,0.4);
  border-radius: 6px; transition: 0.3s;
}
.card:hover, .card:focus-visible { border-color: var(--accent); transform: translateY(-4px); }
.card-label {
  font-family: var(--font-label); font-size: 0.75rem; color: var(--accent); text-transform: uppercase; margin-bottom: 0.5rem; display: block;
}
.card h3 { font-family: var(--font-head); margin-bottom: 0.5rem; }
.contact { padding: 5rem 0; text-align: center; }
footer {
  padding: 3rem 0; border-top: 1px solid var(--secondary); margin-top: 4rem;
  text-align: center; font-size: 0.85rem; color: #5a6070;
}
footer .small { margin-top: 0.5rem; opacity: 0.7; }

/* ANIMATIONS */
@keyframes wordUp { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(6px); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 88px; }
  .hero-visual { order: -1; max-height: 50vh; }
  .nav-bar { height: 72px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .word { animation: none; opacity: 1; transform: none; }
  .scroll-cue, .cursor { animation: none; opacity: 1; display: none; }
  .card:hover { transform: none; }
}
