/* Proposition 2b — proche référence Emilie, accents analog très discrets */
:root {
  --bg-beige: #f5f2e6;
  --bg-white: #f9f7f0;
  --bg-soft: #f9f8f4;
  --green-deep: #414016;
  --green-mid: #6e7a31;
  --green-soft: #a7b987;
  --orange: #c58522;
  --brown: #bf9666;
  --brown-deep: #553a0f;
  --black: #202020;
  --gray: #c3c3c3;
  --serif: "Antic Slab", Georgia, serif;
  --mono: "Nova Mono", ui-monospace, monospace;
  --sans: "Josefin Sans", system-ui, sans-serif;
  --display: "Afacad", "Josefin Sans", sans-serif;
  --wrap: min(1280px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: #f5f2e6; }
body {
  margin: 0;
  background: transparent;
  color: var(--green-deep);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 0; z-index: 2000; background: var(--orange); color: #fff; padding: .5rem 1rem; }

/* Subtle P2 tape — accents only */
.tape-accent {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100;
  background: linear-gradient(90deg, var(--orange), var(--brown), var(--green-mid), var(--green-soft), var(--orange));
  opacity: 0.35;
  pointer-events: none;
}

/* Side nav */
.side-nav {
  position: fixed; z-index: 1000; top: 20px; left: 18px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.nav-burger {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 8px;
  display: grid; gap: 6px; align-content: center;
}
.nav-burger span {
  display: block; height: 2px; background: var(--green-deep); border-radius: 1px; transition: .2s;
}
.nav-burger:hover span { background: var(--orange); }
.nav-ig {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--orange); color: var(--bg-soft);
  display: grid; place-items: center;
}
.nav-ig:hover { filter: brightness(1.08); color: var(--bg-soft); }

.nav-panel {
  position: fixed; z-index: 1002; inset: 0 auto 0 0; width: min(360px, 88vw);
  background: var(--bg-white); padding: 80px 40px 40px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 8px 0 40px rgba(32,32,32,.08);
}
.nav-panel[hidden], .nav-backdrop[hidden] { display: none !important; }
.nav-panel a {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  text-transform: uppercase; padding: 8px 0; line-height: 1.5;
}
.nav-panel a:hover { color: var(--orange); }
.nav-close {
  position: absolute; top: 18px; right: 18px; border: 0; background: none;
  font-size: 32px; color: var(--green-deep); cursor: pointer; line-height: 1;
}
.nav-backdrop {
  position: fixed; inset: 0; z-index: 1001; background: rgba(32,32,32,.25);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  background: var(--bg-white);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 48px 48px 48px 72px;
  overflow: hidden;
}
.hero-logo-slot { display: grid; place-items: center; }
.logo-placeholder {
  color: var(--green-mid);
  display: grid; justify-items: center; gap: 0.5rem;
}
.logo-placeholder .media-file {
  font-family: var(--mono); font-size: 10px; color: var(--green-soft); letter-spacing: 0.04em;
}
.hero-collage {
  position: relative;
  min-height: 78vh;
  max-width: 1040px;
  margin-inline: auto;
  width: 100%;
}
.collage-item {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(65, 64, 22, 0.08);
}
/* Floating organic layout — esprit composition référence */
.c1 { width: 34%; height: 28%; left: 18%; top: 4%; }
.c2 { width: 36%; height: 30%; left: 48%; top: 2%; }
.c3 { width: 22%; height: 42%; left: 2%; top: 28%; }
.c4 { width: 44%; height: 36%; left: 22%; top: 38%; } /* console centrale */
.c5 { width: 30%; height: 26%; left: 66%; top: 30%; }
.c6 { width: 28%; height: 28%; left: 68%; top: 58%; }

.media-ph {
  background:
    radial-gradient(ellipse at 40% 25%, rgba(191,150,102,.28), transparent 50%),
    linear-gradient(155deg, #f0ebe0, #e2d7c2 45%, #d4c4a8);
  display: grid; place-content: end start; gap: 2px;
  padding: 10px 12px;
  color: var(--green-deep);
  width: 100%; height: 100%;
}
.media-ph span {
  font-family: var(--serif); font-style: italic; font-size: 0.85rem;
  background: color-mix(in srgb, var(--bg-white) 88%, transparent);
  padding: 3px 8px; width: fit-content;
  border: 1px solid color-mix(in srgb, var(--green-deep) 12%, transparent);
}
.media-ph small {
  font-family: var(--mono); font-size: 0.6rem; opacity: 0.55;
  padding: 0 8px 2px;
}
.hero-collage .media-ph small { opacity: 0; transition: opacity .2s; }
.hero-collage .collage-item:hover .media-ph small { opacity: 0.7; }

.wave { line-height: 0; background: var(--bg-white); }
.wave svg { width: 100%; height: 64px; display: block; }

/* Vision */
.vision {
  background: var(--bg-beige);
  padding: 100px 0 80px;
}
.vision-grid {
  width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.vision-role {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase; margin: 0 0 12px; color: var(--green-mid);
}
.vision h1 {
  font-family: var(--serif); font-weight: 200; font-size: clamp(42px, 5vw, 60px);
  margin: 0; line-height: 1.15; color: var(--green-deep);
}
.vision-studio {
  margin: 16px 0 0; font-family: var(--mono); font-size: 14px; color: var(--orange);
}
.vision-def {
  font-size: 20px; line-height: 1.4; margin: 0 0 1.25rem;
}
.vision-def strong { font-weight: 700; }
.vision-body { font-size: 18px; margin: 0 0 1rem; line-height: 1.45; }
.placeholder-note {
  font-style: italic; color: color-mix(in srgb, var(--green-deep) 70%, transparent);
  border-left: 3px solid var(--orange); padding-left: 12px; margin: 1rem 0;
  font-size: 15px;
}

.btn-line {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-top: 28px;
  padding: 28px 8px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--green-deep); background: transparent; cursor: pointer;
  transition: color .2s;
}
.btn-line:hover { color: var(--orange); }
.btn-ico { color: var(--orange); flex-shrink: 0; }

/* Services */
.services {
  padding: 80px 0 100px;
  background: var(--bg-beige);
}
.section-title {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 62px);
  text-transform: uppercase; text-align: center;
  margin: 0 0 48px; line-height: 1.15; color: var(--green-deep);
}
.section-title.sm { font-size: clamp(32px, 4vw, 48px); text-align: left; margin-bottom: 28px; }
.section-lead {
  text-align: center; max-width: 36rem; margin: -24px auto 40px;
  font-size: 16px; opacity: 0.85;
}

.services-frame {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
  background: var(--green-deep);
  border-radius: 8px;
  padding: 18px;
}
.accordion {
  background: var(--bg-white);
  border-radius: 4px;
  padding: 8px 8px;
}
.acc-item {
  border-bottom: 2px solid var(--green-deep);
  padding: 4px 0;
}
.acc-item:last-child { border-bottom: 0; }
.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px; padding: 12px 28px;
  font-family: var(--display); font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700; text-transform: uppercase; color: var(--green-deep);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-plus {
  width: 22px; height: 22px; position: relative; flex-shrink: 0;
}
.acc-plus::before, .acc-plus::after {
  content: ""; position: absolute; background: var(--green-deep);
  transition: transform .2s;
}
.acc-plus::before { inset: 10px 0 auto 0; height: 2px; }
.acc-plus::after { inset: 0 auto 0 10px; width: 2px; }
.acc-item[open] .acc-plus::after { transform: scaleY(0); }
.acc-body { padding: 0 28px 24px; font-size: 17px; max-width: 40rem; }
.opt-badge {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); border: 1px solid var(--orange);
  padding: 3px 8px; margin: 0 0 8px;
}

/* References marquee */
.references {
  padding: 80px 0 60px;
  background: var(--bg-beige);
  overflow: hidden;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 42s linear infinite;
  padding: 8px 0 24px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.credit-sq {
  width: 200px; height: 200px; flex-shrink: 0;
  border-radius: 2px;
}

/* Prepa */
.prepa {
  padding: 80px 0 100px;
  width: var(--wrap); margin-inline: auto;
}
.tips {
  list-style: none; padding: 0; margin: 0 0 8px;
  max-width: 720px; margin-inline: auto;
}
.tips li {
  padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--green-deep) 25%, transparent);
  font-size: 18px;
}
.tips li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 25%, transparent); }
.prepa .btn-line { max-width: 720px; margin-inline: auto; }

/* Contact */
.contact {
  background: var(--bg-white);
  padding: 80px 0;
}
.contact-grid {
  width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid; grid-template-columns: 7rem 1fr; gap: 12px;
  padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--green-deep) 20%, transparent);
  font-size: 16px;
}
.contact-list span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--green-mid); align-self: center;
}
.contact-form {
  display: grid; gap: 14px;
  border-top: 1px solid var(--black); border-bottom: 1px solid var(--black);
  padding: 20px 0;
}
.contact-form label {
  display: grid; gap: 4px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-mid);
}
.contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--serif); font-size: 16px;
  text-transform: none; letter-spacing: 0; color: var(--green-deep);
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 30%, transparent);
  background: transparent; padding: 8px 0;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-btn { margin-top: 8px; border: 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); background: transparent; font-size: 20px; }
.form-note { font-size: 13px; opacity: 0.7; margin: 0; }

/* Footer */
.site-footer {
  background: var(--bg-beige);
  padding: 48px 24px;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 15%, transparent);
}
.footer-top {
  width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-bottom: 28px;
}
.footer-top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-top a { font-size: 16px; }
.footer-mail { color: var(--orange); font-weight: 700; }
.footer-bottom {
  width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; opacity: 0.75;
}
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 72px 20px 40px 20px;
    min-height: auto;
  }
  .hero-logo-slot { justify-items: start; }
  .logo-mark svg { width: 36px; height: auto; }
  .hero-collage { min-height: 460px; }
  .c1 { width: 46%; height: 26%; left: 2%; top: 2%; }
  .c2 { width: 48%; height: 26%; left: 50%; top: 4%; }
  .c3 { width: 36%; height: 34%; left: 2%; top: 32%; }
  .c4 { width: 58%; height: 32%; left: 40%; top: 34%; }
  .c5 { width: 46%; height: 26%; left: 2%; top: 70%; }
  .c6 { width: 46%; height: 26%; left: 52%; top: 72%; }
  .hero-collage .media-ph small { opacity: 0.55; }
  .vision-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .vision { padding: 64px 0; }
  .acc-item summary { padding: 12px 14px; min-height: 64px; }
  .acc-body { padding: 0 14px 18px; }
  .credit-sq { width: 150px; height: 150px; }
  .btn-line { font-size: 18px; padding: 20px 4px; }
  .side-nav { top: 14px; left: 10px; }
}

/* Hero: quieter placeholders — labels only on hover */
.hero-collage .media-ph span { opacity: 0.0; transition: opacity .2s; }
.hero-collage .collage-item:hover .media-ph span { opacity: 1; }
.hero-collage .media-ph {
  /* slight paper variation per tile via filters set in HTML? keep warm sand */
}
@media (max-width: 900px) {
  .hero-collage .media-ph span { opacity: 0.9; font-size: 0.75rem; }
}


/* ===== Brand wordmark ===== */
.brand-mark {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  text-decoration: none; color: var(--green-deep);
  max-width: 200px;
}
.brand-mark:hover { color: var(--orange); }
.brand-circle {
  width: 68px; height: 68px; border-radius: 50%;
  border: 2px solid var(--green-mid);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 200; font-size: 32px;
  color: var(--green-deep);
  background: color-mix(in srgb, var(--bg-white) 80%, transparent);
}
.brand-word {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  line-height: 1.3; letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange);
}

/* ===== Photo-led hero ===== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  background: var(--bg-beige);
  display: block;
  padding: 72px 48px 56px 72px;
  overflow: hidden;
}
.hero-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 140px);
}
.hero-brand { position: relative; z-index: 2; }
.hero-tagline {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--green-deep) 88%, transparent);
  max-width: 16rem;
}
.hero-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--green-deep);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}
.hero-cta:hover { color: var(--orange); }

.hero-photos {
  position: relative;
  height: 72vh;
  min-height: 520px;
  width: 100%;
}
.photo-frame {
  position: absolute;
  margin: 0;
  padding: 10px;
  background: var(--bg-white);
  border: 1px solid color-mix(in srgb, var(--green-deep) 14%, transparent);
  box-shadow: 0 18px 48px rgba(65, 64, 22, 0.08);
}
.photo-surface {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(167,185,135,.22), transparent 55%),
    linear-gradient(145deg, #efe9da, #e0d6c2 50%, #d4c8b0);
}
.photo-frame figcaption {
  position: absolute;
  left: 14px; top: 14px; bottom: auto;
  z-index: 5;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--green-deep);
  background: color-mix(in srgb, var(--bg-white) 92%, transparent);
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--green-deep) 12%, transparent);
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* Floating composition — large + overlaps */
.f-main {
  width: 62%; height: 58%;
  left: 10%; top: 14%;
  z-index: 5;
  padding: 14px;
}
.f-main .photo-surface { min-height: 100%; aspect-ratio: auto; }
.f-side {
  width: 34%; height: 36%;
  right: 2%; top: 6%;
  z-index: 3;
  transform: rotate(1.5deg);
}
.f-tall {
  width: 24%; height: 48%;
  left: 0%; bottom: 4%;
  z-index: 3;
  transform: rotate(-1.2deg);
}
.f-small {
  width: 28%; height: 30%;
  right: 8%; bottom: 8%;
  z-index: 4;
  transform: rotate(0.8deg);
}

.media-file { display: none !important; }

@media (max-width: 900px) {
  .hero {
    padding: 80px 20px 40px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }
  .brand-mark { flex-direction: row; align-items: center; max-width: none; gap: 12px; }
  .brand-circle { width: 52px; height: 52px; font-size: 24px; flex-shrink: 0; }
  .brand-word { font-size: 15px; }
  .hero-tagline { max-width: none; font-size: 16px; margin-top: 18px; }
  .hero-photos { height: 460px; min-height: 460px; }
  .f-main { width: 72%; height: 52%; left: 8%; top: 8%; }
  .f-side { width: 40%; height: 32%; right: 0; top: 4%; }
  .f-tall { width: 32%; height: 42%; left: 0; bottom: 6%; }
  .f-small { width: 36%; height: 28%; right: 4%; bottom: 4%; }
  .photo-frame figcaption { font-size: 12px; left: 10px; top: 10px; bottom: auto; }
}


/* AB monogram logo */
.brand-mark { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-decoration: none; color: var(--green-mid); max-width: 160px; }
.brand-mark:hover { color: var(--orange); }
.logo-ab { display: block; color: var(--green-mid); width: 62px; height: auto; }
.brand-mark:hover .logo-ab { color: var(--orange); }
.brand-circle { display: none !important; }
.brand-word { font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--green-deep); line-height: 1.3; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); max-width: 140px; line-height: 1.4; }

.services-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 8px; }
.services-head .section-title { margin-bottom: 36px; }
.vu-ornament { color: var(--orange); opacity: 0.75; line-height: 0; }
.vu-ornament svg { display: block; }
.vu-needle { transform-origin: 32px 28px; animation: vu-swing 3.6s ease-in-out infinite; }
@keyframes vu-swing {
  0%, 100% { transform: rotate(-18deg); }
  50% { transform: rotate(22deg); }
}

@media (max-width: 900px) {
  .brand-mark { flex-direction: row; align-items: center; max-width: none; gap: 14px; }
  .logo-ab { width: 36px; }
  .brand-sub { max-width: 160px; }
}


/* 2c hand-drawn collage */
.hero-illu { position: relative; height: 72vh; min-height: 520px; width: 100%; }
.hero-illu .illu {
  position: absolute; height: auto; object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(65,64,22,.08));
  pointer-events: none; background: transparent;
}
.i-monitors { width: 42%; left: 26%; top: 0%; z-index: 2; }
.i-console { width: 52%; left: 16%; top: 34%; z-index: 4; }
.i-reel { width: 30%; left: -2%; top: 14%; z-index: 3; }
.i-mic { width: 16%; left: 4%; bottom: 2%; z-index: 5; }
.i-headphones { width: 20%; right: 4%; bottom: 6%; z-index: 5; }

@media (max-width: 900px) {
  .hero-illu { height: 460px; min-height: 460px; }
  .i-monitors { width: 50%; left: 24%; top: 0; }
  .i-console { width: 64%; left: 14%; top: 30%; }
  .i-reel { width: 36%; left: -4%; top: 12%; }
  .i-mic { width: 22%; left: 2%; bottom: 2%; }
  .i-headphones { width: 26%; right: 2%; bottom: 4%; }
}


/* Animated SVG hero */
.hero-anim {
  position: relative;
  height: 72vh;
  min-height: 520px;
  width: 100%;
  display: grid;
  place-items: center;
}
.gear-scene {
  width: 100%;
  height: 100%;
  max-height: 720px;
  overflow: visible;
}
@media (max-width: 900px) {
  .hero-anim { height: 480px; min-height: 420px; }
  .gear-scene { transform: scale(0.98); }
  /* hide some units on very small via CSS if needed */
}
@media (max-width: 560px) {
  #corr, #clipper { opacity: 0.92; }
}
@media (prefers-reduced-motion: reduce) {
  .gear-scene * { animation: none !important; transition: none !important; }
}


/* ===== Soft cream cloud drift (subtle, GPU-cheap) ===== */
.cloud-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #f5f2e6;
  contain: strict;
}
.cloud-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.cloud-blob.c1 {
  width: 70vw; height: 70vw;
  left: -18vw; top: -20vh;
  background: #faf7ee; /* lighter ivory */
  opacity: 0.38;
  animation-name: cloud-drift-a;
  animation-duration: 72s;
}
.cloud-blob.c2 {
  width: 55vw; height: 55vw;
  right: -14vw; top: 8vh;
  background: #f0ebe0; /* whisper of sand */
  opacity: 0.28;
  animation-name: cloud-drift-b;
  animation-duration: 88s;
  animation-delay: -20s;
}
.cloud-blob.c3 {
  width: 60vw; height: 48vw;
  left: 18vw; bottom: -22vh;
  background: #f3f2ea; /* almost-invisible sage tint */
  opacity: 0.22;
  animation-name: cloud-drift-c;
  animation-duration: 64s;
  animation-delay: -12s;
}
.cloud-blob.c4 {
  width: 42vw; height: 42vw;
  right: 12vw; bottom: 12vh;
  background: #f7f1e4; /* soft beige */
  opacity: 0.26;
  animation-name: cloud-drift-a;
  animation-duration: 80s;
  animation-delay: -40s;
}
.cloud-blob.c5 {
  width: 36vw; height: 36vw;
  left: 38vw; top: 32vh;
  background: #f9f8f4; /* bg-soft ivory */
  opacity: 0.24;
  animation-name: cloud-drift-b;
  animation-duration: 54s;
  animation-delay: -8s;
}
.cloud-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
@keyframes cloud-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4vw, 3vh, 0) scale(1.06); }
}
@keyframes cloud-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.03); }
  100% { transform: translate3d(-3.5vw, 2.5vh, 0) scale(1); }
}
@keyframes cloud-drift-c {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3vw, -3vh, 0) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .cloud-blob,
  .cloud-noise animate {
    animation: none !important;
  }
  .cloud-noise rect animate { display: none; }
}

/* Let the cream cloud layer breathe through page chrome */
body { background: transparent; }
.hero { background: transparent; }
.wave { background: transparent; }
.vision { background: transparent; }
.services { background: transparent; }
.references { background: transparent; }
.prepa { background: transparent; }
.contact { background: transparent; }
.intro { background: transparent; }
.site-footer { background: transparent; }


/* ===== Intro (référence Emilie — titre + 2 col. + accordéon à flèche) ===== */
.intro {
  padding: 72px 0 96px;
  background: transparent;
  color: var(--green-deep);
}
.intro-wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}
.intro-title {
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(34px, 7.2vw, 92px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--green-deep);
}
.intro-name {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  color: var(--green-deep);
}
.intro-rule {
  border: 0;
  border-top: 1px solid var(--green-deep);
  margin: 36px 0;
  opacity: 0.85;
}
.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
  margin: 0 0 8px;
}
.intro-def {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  color: var(--green-deep);
}
.intro-def em {
  font-style: italic;
  font-weight: 700;
  color: var(--orange); /* #c58522 */
}
.intro-body {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--green-deep);
}
.intro-acc {
  margin-top: 28px;
}
.intro-row {
  border-top: 1px solid var(--green-deep);
}
.intro-row:last-child {
  border-bottom: 1px solid var(--green-deep);
}
.intro-row > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 18px 4px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--green-deep);
}
.intro-row > summary::-webkit-details-marker { display: none; }
.intro-arrow {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.intro-row[open] > summary .intro-arrow {
  transform: rotate(90deg);
}
.intro-panel {
  overflow: hidden;
  height: 0;
}
.intro-row[open] > .intro-panel {
  /* height set by JS; fallback if JS off */
  height: auto;
}
.intro-row-body {
  padding: 0 4px 28px;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.5;
}
.acc-lead { margin: 0 0 1rem; }
.acc-block { margin: 0 0 1rem; }
.acc-h {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 400;
}
.acc-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 6px;
}
.acc-list li { padding: 0; }
.acc-delay {
  margin: 1rem 0 0;
  font-size: 15px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 18%, transparent);
  padding-top: 12px;
}
.acc-delay span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  min-width: 4.5rem;
}
.acc-delay .acc-rate-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}
.acc-delay .acc-rate-stack .acc-rate-note {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  min-width: 0;
}
@media (max-width: 900px) {
  .intro { padding: 48px 0 72px; }
  .intro-wrap { width: calc(100% - 40px); }
  .intro-cols { grid-template-columns: 1fr; gap: 22px; }
  .intro-rule { margin: 28px 0; }
  .intro-row > summary { min-height: 64px; padding: 14px 2px; }
}


/* ===== Modern hero visualizations ===== */
.hero-viz {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.viz-canvas {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 1040px;
}
.viz-fade {
  pointer-events: none;
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245,242,230,0.55) 0%, rgba(245,242,230,0) 10%, rgba(245,242,230,0) 90%, rgba(245,242,230,0.35) 100%),
    linear-gradient(180deg, rgba(245,242,230,0.2) 0%, transparent 14%, transparent 86%, rgba(245,242,230,0.4) 100%);
  z-index: 1;
}
.viz-canvas { position: relative; z-index: 0; }
@media (max-width: 900px) {
  .hero-viz { height: 48vh; min-height: 320px; }
  .viz-fade {
    background:
      linear-gradient(180deg, rgba(245,242,230,0.75) 0%, transparent 22%, transparent 78%, rgba(245,242,230,0.65) 100%);
  }
}


/* ===== Polished lower sections (post-intro) ===== */
.references {
  padding: 100px 0 72px;
  overflow: hidden;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 64s linear infinite;
  padding: 8px 24px 12px;
  align-items: flex-start;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; max-width: 100%; margin-inline: auto; }
}
.credit-card {
  width: 200px;
  flex-shrink: 0;
  display: grid;
  gap: 12px;
}
.credit-sq {
  width: 200px; height: 200px;
  border: 1px solid color-mix(in srgb, var(--green-deep) 28%, transparent);
  background: color-mix(in srgb, var(--bg-white) 70%, transparent);
  display: grid;
  place-items: center;
  position: relative;
  color: color-mix(in srgb, var(--green-deep) 35%, transparent);
  overflow: hidden;
}
.credit-topo {
  position: absolute;
  inset: 12% 8%;
  width: 84%;
  height: 76%;
  opacity: 0.7;
}
.credit-ph {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--green-deep);
  background: color-mix(in srgb, var(--bg-beige) 88%, transparent);
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--green-deep) 12%, transparent);
}
.credit-meta {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.4;
  color: var(--green-deep);
}
.credit-meta strong { font-weight: 700; }
.credit-meta em {
  font-style: italic;
  color: var(--orange);
  font-size: 13px;
}

/* Studio */
.studio { padding: 88px 0 100px; }
.studio-wrap { width: var(--wrap); margin-inline: auto; }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.4fr;
  gap: 48px 56px;
  align-items: start;
}
.studio-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.studio-gallery {
  display: grid;
  gap: 14px;
}
.studio-pair {
  display: grid;
  gap: 14px;
  align-items: start;
}
.studio-pair--room { grid-template-columns: 16fr 9fr; }
.studio-pair--desk { grid-template-columns: 1fr 1fr; }
.studio-shot {
  margin: 0;
  border: 0;
  background: var(--bg-white);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(65, 64, 22, 0.10);
}
.studio-shot--hero { aspect-ratio: 4 / 3; }
.studio-shot--fromkey { aspect-ratio: 3 / 4; }
.studio-shot--lamp { aspect-ratio: 4 / 3; }
.studio-shot--close { aspect-ratio: 3 / 4; }
.studio-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: inherit;
}
.studio-shot picture,
.studio-shot img {
  display: block;
  width: 100%;
  height: 100%;
}
.studio-shot img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}
.studio-open:hover img,
.studio-open:focus-visible img {
  transform: scale(1.03);
}
.studio-open:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--green-deep) 78%, #000 22%);
  padding: 28px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: var(--bg-white);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  appearance: none;
  border: 0;
  background: color-mix(in srgb, var(--bg-white) 92%, transparent);
  color: var(--green-deep);
  cursor: pointer;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  font-family: var(--serif);
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 36px;
  font-family: var(--serif);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--bg-white);
  color: var(--orange);
  outline: none;
}
body.lightbox-open { overflow: hidden; }

/* Screenshot helper: ?shot=studio */
html.shot-studio .hero,
html.shot-studio .wave,
html.shot-studio .intro,
html.shot-studio .services,
html.shot-studio .references,
html.shot-studio .prepa,
html.shot-studio .contact,
html.shot-studio footer,
html.shot-studio .side-nav,
html.shot-studio .nav-panel,
html.shot-studio .nav-backdrop,
html.shot-studio .tape-accent,
html.shot-studio .skip {
  display: none !important;
}
html.shot-studio .studio {
  padding-top: 48px;
  padding-bottom: 56px;
}
html.shot-studio .reveal { opacity: 1; transform: none; transition: none !important; }

html.shot-about .hero,
html.shot-about .wave,
html.shot-about .services,
html.shot-about .references,
html.shot-about .studio,
html.shot-about .prepa,
html.shot-about .contact,
html.shot-about footer,
html.shot-about .side-nav,
html.shot-about .nav-panel,
html.shot-about .nav-backdrop,
html.shot-about .tape-accent,
html.shot-about .skip {
  display: none !important;
}
html.shot-about .intro { padding-top: 48px; padding-bottom: 56px; }
html.shot-about .reveal { opacity: 1; transform: none; }

html.shot-services .hero,
html.shot-services .wave,
html.shot-services .intro,
html.shot-services .references,
html.shot-services .studio,
html.shot-services .prepa,
html.shot-services .contact,
html.shot-services footer,
html.shot-services .side-nav,
html.shot-services .nav-panel,
html.shot-services .nav-backdrop,
html.shot-services .tape-accent,
html.shot-services .skip {
  display: none !important;
}
html.shot-services .services { padding-top: 48px; padding-bottom: 56px; }
html.shot-services .reveal { opacity: 1; transform: none; transition: none !important; }
.studio-desc {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 1.6rem;
  max-width: 28rem;
}
.studio-gear { margin: 0; }
.mat-list {
  max-width: 28rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.mat-list li {
  padding: 0;
  display: grid;
  gap: 2px;
}
.mat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 400;
}
.mat-val {
  font-size: 15px;
  line-height: 1.4;
}
/* Reserved for the future acoustic-measurements card (curve, RT60, room size). */
.studio-measures:not([hidden]) {
  margin-top: 28px;
  max-width: 28rem;
}

/* Tarifs */
.tarifs { padding: 88px 0 100px; }
.tarifs-wrap { width: min(920px, calc(100% - 48px)); margin-inline: auto; }
.tarif-table {
  border-top: 1px solid var(--green-deep);
  margin: 8px 0 28px;
}
.tarif-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.7fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 22%, transparent);
  align-items: baseline;
  font-size: 17px;
}
.tarif-row.head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  padding-top: 10px;
  padding-bottom: 10px;
}
.tarif-price {
  font-family: var(--mono);
  color: var(--orange);
  text-align: right;
  font-size: 15px;
}
.tarif-note {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 40rem;
  margin: 0 0 8px;
}
.tarifs .btn-line { margin-top: 20px; }

/* Prepa polish */
.prepa {
  padding: 88px 0 100px;
  width: var(--wrap);
  margin-inline: auto;
}
.tips {
  list-style: none; padding: 0; margin: 0 0 8px;
  max-width: 760px; margin-inline: auto;
}
.tips li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 22%, transparent);
  font-size: 17px;
  line-height: 1.45;
}
.tips li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 22%, transparent);
}
.tips strong {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--orange);
  padding-top: 3px;
}
.tips span { color: var(--green-deep); }
.prepa .btn-line { max-width: 760px; margin-inline: auto; }

/* Contact polish */
.contact { padding: 88px 0 100px; }
.contact-grid {
  width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px;
  align-items: start;
}
.contact-intro {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 28px;
  max-width: 22rem;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: grid; grid-template-columns: 7rem 1fr; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 20%, transparent);
  font-size: 16px;
}
.contact-list li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 20%, transparent);
}
.contact-list span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-mid); align-self: center;
}
.contact-form {
  display: grid; gap: 16px;
  border-top: 1px solid var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
  padding: 24px 0;
}
.contact-form label {
  display: grid; gap: 6px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-mid);
}
.contact-form input, .contact-form textarea {
  font: inherit; font-family: var(--serif); font-size: 17px;
  text-transform: none; letter-spacing: 0; color: var(--green-deep);
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 28%, transparent);
  background: transparent; padding: 10px 0;
  border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-btn {
  margin-top: 8px; border: 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: transparent; font-size: 20px;
  cursor: pointer;
}
.form-note { font-size: 13px; opacity: 0.7; margin: 0; }

/* Footer polish */
.site-footer {
  padding: 56px 24px 40px;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 18%, transparent);
}
.footer-top {
  width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--green-mid);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}
.footer-brand em { font-style: italic; color: var(--green-deep); font-size: 13px; }
.footer-brand:hover { color: var(--orange); }
.footer-logo { color: var(--green-mid); flex-shrink: 0; }
.footer-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-top nav a { font-size: 15px; }
.footer-mail { color: var(--orange); font-weight: 700; }
.footer-bottom {
  width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; opacity: 0.72;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--green-deep) 12%, transparent);
}
.footer-bottom p { margin: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Nav overlay polish */
.nav-panel {
  background: var(--bg-beige);
  padding: 96px 40px 48px;
}
.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-panel a {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  text-transform: none;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--green-deep) 14%, transparent);
}

.section-title {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 62px);
  text-transform: uppercase; text-align: center;
  margin: 0 0 28px; line-height: 1.12; color: var(--green-deep);
}
.section-title.sm { font-size: clamp(32px, 4vw, 48px); text-align: left; margin-bottom: 20px; }
.section-lead {
  text-align: center; max-width: 36rem; margin: 0 auto 40px;
  font-size: 16px; opacity: 0.88; line-height: 1.45;
}
.section-lead em { color: var(--orange); font-style: italic; }

@media (max-width: 900px) {
  .studio-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .tarif-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 2px; }
  .tarif-row.head { display: none; }
  .tarif-price { text-align: left; }
  .tips li { grid-template-columns: 1fr; gap: 6px; }
  .credit-card, .credit-sq { width: 160px; height: auto; }
  .credit-sq { height: 160px; }
  .references { padding: 72px 0 48px; }
  .studio, .tarifs, .prepa, .contact { padding: 64px 0 72px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}



@media (max-width: 700px) {
  .studio-pair--room,
  .studio-pair--desk { grid-template-columns: 1fr; }
  .lightbox { padding: 16px 12px 16px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 30px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-img { max-width: 100%; max-height: 80vh; }
}

/* ===== Horizontal AB mark (v5-ab-2-h-left) ===== */
.hero-inner {
  grid-template-columns: minmax(240px, 280px) 1fr;
}
.brand-mark {
  max-width: 240px;
  gap: 16px;
}
.logo-ab {
  display: block;
  width: 200px;
  height: auto;
  color: #3f4a1c;
}
.brand-mark:hover .logo-ab,
.footer-brand:hover .logo-ab { color: var(--orange); }
.footer-logo {
  width: 88px;
  height: auto;
  color: #3f4a1c;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-brand { padding-left: 52px; } /* clear fixed hamburger + IG */
  .brand-mark {
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    gap: 12px;
  }
  .logo-ab { width: 168px; }
  .footer-logo { width: 76px; }
}


/* ===== Layout + reflet (aligned to live emiliedaelemansmastering.com, 2026-11-09) ===== */
:root {
  --cream-light: #f9f7f0; /* hero — her --primary--background-white */
  --cream-warm: #f5f2e6;  /* body / wave — her --background-beige */
  --cream-sage: #eef0e6;  /* optional lower sage whisper */
}
.tape-accent { display: none; }

html { background: var(--cream-warm); }
body {
  background: linear-gradient(180deg,
    var(--cream-warm) 0%,
    var(--cream-warm) 52%,
    var(--cream-sage) 100%);
}
.cloud-bg { background: transparent; }

.nav-ig {
  background: transparent;
  color: var(--green-deep);
  border-radius: 10px;
}
.nav-ig:hover { color: var(--orange); background: transparent; filter: none; }

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: var(--cream-light);
  display: block;
}
.hero-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 2fr 5fr;
  gap: 16px;
  align-items: stretch;
  padding: 0;
}
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  z-index: 2;
}
.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  gap: 0;
}
.logo-ab {
  display: block;
  width: 252px;
  height: auto;
  color: #3f4a1c;
}
.brand-mark:hover .logo-ab { color: var(--orange); }

.hero-photos,
.hero-viz {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.viz-canvas {
  width: 94%;
  height: 82%;
  max-width: none;
  display: block;
}
.viz-fade {
  background:
    linear-gradient(90deg, rgba(249,247,240,0.45) 0%, rgba(249,247,240,0) 12%, rgba(249,247,240,0) 90%, rgba(249,247,240,0.28) 100%),
    linear-gradient(180deg, rgba(249,247,240,0.18) 0%, transparent 16%, transparent 78%, rgba(249,247,240,0.55) 100%);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 122px;
  margin: 0;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
  background: transparent;
}
.wave svg {
  display: block;
  width: 100%;
  height: 122px;
}

.intro {
  padding: 120px 0 100px;
  background: transparent;
}
.intro-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
}
.intro-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 48px;
  padding: 0 24px;
}
.intro-title {
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(36px, 6.4vw, 92px);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  color: var(--green-deep);
}
.intro-name {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.2;
  color: var(--green-deep);
}
.intro-rule {
  border: 0;
  border-top: 1px solid var(--green-deep);
  margin: 0;
  opacity: 1;
  width: 100%;
}
.intro-cols {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 40px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-def,
.intro-body {
  font-size: 18px;
  line-height: 1.45;
}
.intro-acc { margin-top: 0; }
.intro-row > summary {
  min-height: 114px;
  padding: 32px max(32px, calc((100% - 1280px) / 2 + 24px));
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
}
.intro-arrow { font-size: 36px; }

.references,
.studio,
.tarifs,
.prepa,
.contact,
.site-footer {
  background: transparent;
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    height: auto;
    padding: 72px 20px 72px;
  }
  .hero-brand {
    height: auto;
    padding: 0;
    justify-content: center;
  }
  .brand-mark {
    align-items: center;
    max-width: none;
  }
  .logo-ab { width: 168px; }
  .hero-photos,
  .hero-viz {
    height: 52vh;
    min-height: 280px;
  }
  .viz-canvas { width: 100%; height: 100%; }
  .viz-fade {
    background: linear-gradient(180deg, rgba(249,247,240,0.55) 0%, transparent 20%, transparent 72%, rgba(249,247,240,0.7) 100%);
  }
  .wave { height: 56px; }
  .wave svg { height: 56px; }

  .intro { padding: 72px 0 80px; }
  .intro-head { margin-bottom: 36px; padding: 0 20px; gap: 12px; }
  .intro-title { font-size: clamp(32px, 9vw, 48px); }
  .intro-name { font-size: clamp(24px, 7vw, 31px); }
  .intro-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 36px;
  }
  .intro-row > summary {
    min-height: 88px;
    padding: 24px 20px;
    font-size: 22px;
  }
  .footer-logo { width: 76px; }
}


/* Hero visual: no panel, no vignette — lines sit on the hero cream */
.hero-photos,
.hero-viz,
.viz-canvas {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.viz-fade {
  display: none !important;
  background: none !important;
}

/* ===== About block (default open) + Services card ===== */
.about-block {
  width: 100%;
  margin: 8px 0 0;
}
.about-toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 28px max(32px, calc((100% - 1280px) / 2 + 24px));
  border-top: 1px solid var(--green-deep);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  color: var(--green-deep);
}
.about-toggle::-webkit-details-marker { display: none; }
.about-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.about-chevron::before,
.about-chevron::after {
  content: "";
  position: absolute;
  background: var(--orange);
  transition: transform .25s ease;
}
.about-chevron::before {
  left: 0; right: 0; top: 50%; height: 2px;
  transform: translateY(-50%);
}
.about-chevron::after {
  top: 0; bottom: 0; left: 50%; width: 2px;
  transform: translateX(-50%) rotate(90deg); /* minus while open */
}
.about-block:not([open]) .about-chevron::after {
  transform: translateX(-50%) rotate(0deg); /* plus when collapsed */
}
.about-panel { overflow: hidden; }
.about-block[open] > .about-panel { height: auto; }
.about-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 56px;
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) 1.35fr;
  gap: 40px 56px;
  align-items: start;
}
.about-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 10px 28px rgba(65, 64, 22, 0.10);
}
.about-photo picture,
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.about-photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 28%;
}
.about-copy {
  font-size: 18px;
  line-height: 1.55;
  color: var(--green-deep);
}
.about-copy p { margin: 0 0 1.05em; }
.about-lead em {
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
}
.about-quote {
  margin: 1.15em 0 1.25em;
  padding: 0 0 0 1em;
  border-left: 2px solid var(--orange);
  font-style: italic;
  color: var(--green-deep);
}

.services {
  padding: 72px 24px 120px;
  background: transparent;
}
.services .section-title { margin-bottom: 40px; }
.svc-card {
  width: min(580px, calc(100% - 32px));
  margin-inline: auto;
  border: 2px solid var(--green-deep);
  border-radius: 28px;
  padding: 22px 44px 28px;
  background: transparent;
}
.svc-row { border-top: 1px solid var(--green-deep); }
.svc-row:last-child { border-bottom: 0; }
.svc-row > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 20px 2px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.svc-row > summary::-webkit-details-marker { display: none; }
.svc-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.45em; }
.svc-opt {
  text-transform: none;
  font-weight: 400;
  font-size: 0.48em;
  letter-spacing: 0.04em;
  color: var(--orange);
  font-style: italic;
}
.svc-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.svc-plus::before,
.svc-plus::after {
  content: "";
  position: absolute;
  background: var(--green-deep);
  transition: transform .25s ease;
}
.svc-plus::before {
  left: 0; right: 0; top: 50%; height: 1.5px;
  transform: translateY(-50%);
}
.svc-plus::after {
  top: 0; bottom: 0; left: 50%; width: 1.5px;
  transform: translateX(-50%);
}
.svc-row[open] .svc-plus::after {
  transform: translateX(-50%) rotate(90deg);
}
.svc-panel {
  overflow: hidden;
  height: 0;
}
.svc-row[open] > .svc-panel { height: auto; }
.svc-body {
  padding: 0 2px 22px;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-toggle { min-height: 72px; padding: 22px 20px; font-size: 24px; }
  .about-layout {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    gap: 28px;
    margin-bottom: 40px;
  }
  .about-photo { max-width: 420px; margin-inline: auto; }
  .about-copy { font-size: 17px; }
  .services { padding: 56px 16px 88px; }
  .svc-card { padding: 16px 22px 20px; border-radius: 22px; }
  .svc-row > summary { min-height: 64px; padding: 16px 0; font-size: 20px; }
}

/* Title hierarchy — Réalisateur musical / Mixage & mastering */
.intro-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18em;
  font-size: clamp(28px, 5.4vw, 70px);
  line-height: 1.12;
  padding: 0 16px;
  max-width: 100%;
  text-wrap: balance;
}
.intro-title-main {
  display: block;
}
.intro-title-sub {
  display: block;
  font-size: 0.52em;
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 1.2;
}
.footer-tag {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  color: var(--green-deep);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .intro-title {
    font-size: clamp(24px, 6.4vw, 32px);
    padding: 0 8px 0 44px; /* clear fixed hamburger + IG */
    gap: 0.22em;
    box-sizing: border-box;
    width: 100%;
  }
  .intro-title-sub { font-size: 0.62em; letter-spacing: 0.04em; }
  .svc-row > summary { align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
  .svc-name { max-width: calc(100% - 28px); line-height: 1.2; }
}


/* Equal-weight intro title: Réalisation · Mixage · Mastering */
.intro-title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.38em;
  row-gap: 0.06em;
  font-size: clamp(30px, 4.7vw, 68px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  padding: 0 24px;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.intro-title > span { display: block; }
.intro-title .title-sep {
  display: block;
  font-weight: 400;
}
.intro-title-main,
.intro-title-sub { display: contents; }

@media (max-width: 900px) {
  .intro-title {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    font-size: clamp(28px, 8vw, 40px);
    padding: 0 20px 0 56px;
    column-gap: 0;
    row-gap: 0.1em;
    letter-spacing: 0.02em;
  }
  .intro-title .title-sep { display: none; }
}

/* About bio: readable measure, spacing, sticky portrait */
.about-copy {
  max-width: 38rem;
  font-size: 18px;
  line-height: 1.62;
}
.about-copy p { margin: 0 0 1.15em; }
.about-copy p:last-child { margin-bottom: 0; }
.about-lead { margin-bottom: 1.35em; }
.about-quote {
  margin: 1.4em 0 1.45em;
  padding: 0.15em 0 0.15em 1.05em;
  font-size: 1.04em;
  line-height: 1.5;
}
.about-photo {
  position: sticky;
  top: 28px;
  align-self: start;
}
@media (max-width: 900px) {
  .about-copy { max-width: none; font-size: 17px; line-height: 1.58; }
  .about-photo { position: static; }
}

/* Nom sous le logo */
.brand-mark { gap: 22px; }
.logo-name {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #3f4a1c;
  white-space: nowrap;
  padding-left: 0.32em;
  transition: color .3s;
}
.brand-mark:hover .logo-name { color: var(--orange); }
@media (max-width: 900px) {
  .brand-mark { gap: 14px; }
  .logo-name { font-size: 13px; letter-spacing: 0.28em; }
}

/* Lang switcher — under IG in side-nav */
.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
  padding: 2px 0;
}
.lang-btn {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: transparent;
  border: 0;
  padding: 4px 2px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.55;
  transition: color .25s, opacity .25s;
}
.lang-btn:hover { color: var(--orange); opacity: 1; }
.lang-btn.is-active {
  color: var(--orange);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lang-sep {
  font-family: "Josefin Sans", sans-serif;
  font-size: 10px;
  color: var(--green-deep);
  opacity: 0.35;
  padding: 0 1px;
  user-select: none;
}
@media (max-width: 900px) {
  .lang-btn { font-size: 10px; letter-spacing: 0.12em; }
}

/* Intro : un seul paragraphe centré */
.intro-cols { display: block !important; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.intro-cols .intro-def { display: none !important; }
.intro-cols .intro-body { font-size: 19px; line-height: 1.7; margin: 0 auto; max-width: none; }
@media (max-width: 900px) { .intro-cols .intro-body { font-size: 16px; line-height: 1.65; } }

/* Intro accrocheuse */
.intro-cols .intro-hook { font-family: "Nova Mono", monospace; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.25; color: #414016; margin: 0 0 18px; letter-spacing: 0.01em; }
.intro-cols .intro-body { font-size: 19px; line-height: 1.6; color: #414016; opacity: .85; }
@media (max-width: 900px) { .intro-cols .intro-hook { font-size: 26px; } .intro-cols .intro-body { font-size: 16px; } }

.intro-cols { max-width: 1000px !important; }
.intro-cols .intro-hook { white-space: nowrap; }
.intro-cols .intro-body { max-width: 640px !important; text-wrap: balance; }
@media (max-width: 900px) { .intro-cols .intro-hook { white-space: normal; text-wrap: balance; } }

/* Accroche distincte du titre */
.intro-cols .intro-hook { font-family: "Antic Slab", Georgia, serif !important; font-style: italic; font-size: clamp(22px, 2.2vw, 30px) !important; letter-spacing: 0 !important; color: #c58522 !important; margin-bottom: 12px !important; }
.intro-cols { padding-top: 56px !important; padding-bottom: 60px !important; }
@media (max-width: 900px) { .intro-cols .intro-hook { font-size: 22px !important; } }


/* Références — real covers */
.credit-sq {
  border-radius: 16px;
  border: 0;
  background: #1a1a14;
  box-shadow: 0 8px 22px rgba(65, 64, 22, 0.12);
  overflow: hidden;
}
.credit-sq img,
.credit-sq picture {
  display: block;
  width: 100%;
  height: 100%;
}
.credit-sq img {
  object-fit: cover;
}

/* Screenshot helper: ?shot=refs */
html.shot-refs .hero,
html.shot-refs .wave,
html.shot-refs .intro,
html.shot-refs .services,
html.shot-refs .studio,
html.shot-refs .prepa,
html.shot-refs .contact,
html.shot-refs footer,
html.shot-refs .side-nav,
html.shot-refs .nav-panel,
html.shot-refs .nav-backdrop,
html.shot-refs .tape-accent,
html.shot-refs .skip {
  display: none !important;
}
html.shot-refs .references { padding-top: 48px; padding-bottom: 56px; }
html.shot-refs .reveal { opacity: 1; transform: none; transition: none !important; }
html.shot-refs .marquee { mask-image: none; overflow: visible; }
html.shot-refs .marquee-track {
  animation: none !important;
  transform: none !important;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  gap: 2rem;
}
html.shot-refs .credit-card[aria-hidden="true"] { display: none; }
@media (max-width: 900px) {
  html.shot-refs .marquee-track { gap: 1.25rem 1.5rem; padding-inline: 16px; }
}

/* Screenshot helper: ?shot=contact */
html.shot-contact .hero,
html.shot-contact .wave,
html.shot-contact .intro,
html.shot-contact .services,
html.shot-contact .references,
html.shot-contact .studio,
html.shot-contact .prepa,
html.shot-contact footer,
html.shot-contact .side-nav,
html.shot-contact .nav-panel,
html.shot-contact .nav-backdrop,
html.shot-contact .tape-accent,
html.shot-contact .skip {
  display: none !important;
}
html.shot-contact .contact { padding-top: 48px; padding-bottom: 56px; }
html.shot-contact .reveal { opacity: 1; transform: none; transition: none !important; }

/* Screenshot helper: ?shot=contact2 (contact + footer) */
html.shot-contact2 .hero,
html.shot-contact2 .wave,
html.shot-contact2 .intro,
html.shot-contact2 .services,
html.shot-contact2 .references,
html.shot-contact2 .studio,
html.shot-contact2 .prepa,
html.shot-contact2 .side-nav,
html.shot-contact2 .nav-panel,
html.shot-contact2 .nav-backdrop,
html.shot-contact2 .tape-accent,
html.shot-contact2 .skip {
  display: none !important;
}
html.shot-contact2 .contact { padding-top: 48px; padding-bottom: 40px; }
html.shot-contact2 .reveal { opacity: 1; transform: none; transition: none !important; }


/* ===== Mobile iOS fixes (nav bar, centred layout, références) ===== */
.side-nav-end {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  min-height: 260px;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  min-width: max-content;
  -webkit-animation: marquee 64s linear infinite;
  animation: marquee 64s linear infinite;
  padding: 8px 24px 12px;
  align-items: flex-start;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.marquee:hover .marquee-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
@-webkit-keyframes marquee {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    -webkit-animation: none;
    animation: none;
    flex-wrap: wrap;
    width: auto;
    min-width: 0;
    justify-content: center;
    max-width: 100%;
    margin-inline: auto;
    will-change: auto;
    -webkit-transform: none;
    transform: none;
  }
}

/* If IntersectionObserver never fires, do not leave sections invisible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  :root { --wrap: calc(100% - 48px); }

  html { overflow-x: clip; }
  body { overflow-x: clip; }

  /* Compact cream top bar — no overlap with content */
  .side-nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    min-height: 56px;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: max(8px, env(safe-area-inset-top, 0px)) 20px 8px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    background: #f5f2e6;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--green-deep) 10%, transparent);
    z-index: 1000;
  }
  .side-nav-end {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .lang-switch { margin-top: 0; }
  .lang-btn { font-size: 11px; letter-spacing: 0.12em; }

  /* Clear the fixed bar; equal 24px side padding */
  .hero-inner {
    padding: calc(56px + env(safe-area-inset-top, 0px) + 24px) 24px 72px !important;
  }
  .hero-brand {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center;
  }
  .brand-mark {
    align-items: center !important;
  }

  .intro-wrap,
  .studio-wrap,
  .contact-grid,
  .vision-grid,
  .prepa .prepa-wrap,
  .footer-inner {
    width: min(1080px, calc(100% - 48px)) !important;
    margin-inline: auto;
    box-sizing: border-box;
  }
  .intro-head,
  .intro-cols,
  .intro-title {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
  .intro-cols {
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }
  .intro-title {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .intro-head { padding-top: 0; }

  /* Hook: one sentence per line on mobile */
  .intro-cols .intro-hook {
    white-space: pre-line !important;
    text-wrap: unset;
    text-align: center;
  }

  .services {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* iOS Safari: mask + transform often hides the track — fade with overlays instead */
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    min-height: 220px;
  }
  .marquee::before,
  .marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
  }
  .marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f5f2e6, rgba(245, 242, 230, 0));
  }
  .marquee::after {
    right: 0;
    background: linear-gradient(270deg, #f5f2e6, rgba(245, 242, 230, 0));
  }
}

/* Desktop hook stays on one line; newlines collapse to spaces via nowrap */
.intro-cols .intro-hook { white-space: nowrap; }
@media (max-width: 900px) {
  .intro-cols .intro-hook { white-space: pre-line !important; }
}

@media (max-width: 900px) {
  .section-title,
  .section-lead,
  .studio-wrap,
  .contact .contact-grid,
  .site-footer {
    padding-inline: 0;
  }
  .references .section-title,
  .references .section-lead {
    padding-inline: 24px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .site-footer,
  .contact,
  .prepa,
  .studio,
  .tarifs {
    box-sizing: border-box;
  }
  /* Contact / footer: same 24px gutters */
  .contact-grid,
  .footer-grid,
  .footer-inner,
  .prepa-inner,
  .prepa > .wrap,
  .studio-wrap {
    width: min(1280px, calc(100% - 48px)) !important;
    margin-inline: auto;
  }
}


/* ===== Accordion: snappy 0fr→1fr (no height / scrollHeight) ===== */
.svc-panel,
.about-panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  height: auto !important;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.svc-row:not([open]) > .svc-panel,
.about-block:not([open]) > .about-panel {
  display: grid;
}
.svc-row.is-open > .svc-panel,
.about-block.is-open > .about-panel {
  grid-template-rows: 1fr;
}
.svc-panel > .svc-body,
.about-panel > .about-layout {
  overflow: hidden;
  min-height: 0;
}
.svc-row.is-animating,
.about-block.is-animating {
  content-visibility: visible;
}
.svc-row.is-animating .svc-body,
.about-block.is-animating .about-photo,
.about-block.is-animating .about-layout {
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .svc-panel,
  .about-panel { transition: none; }
}

/* Kill 300ms tap delay on interactive chrome */
button, summary, a, .nav-burger, .lang-btn,
.studio-folder, .studio-open, .lightbox-close, .lightbox-nav {
  touch-action: manipulation;
}

/* Desktop: folder hidden; gallery unchanged */
.studio-folder { display: none; }

/* Lightbox counter */
.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-white) 92%, transparent);
  color: var(--green-deep);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  user-select: none;
}
.lightbox-counter[hidden] { display: none; }

@media (max-width: 900px) {
  /* Mobile studio: discreet stacked-folder cover, gallery hidden */
  .studio-gallery { display: none !important; }
  .studio-folder {
    display: block;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 8px auto 0;
    padding: 18px 22px 8px 16px;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
  }
  .studio-folder-stack {
    position: absolute;
    left: 16px;
    right: 22px;
    top: 18px;
    height: 220px;
    pointer-events: none;
    overflow: visible;
  }
  .studio-folder-layer {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-white, #f9f7f0) 82%, var(--green-deep) 18%);
    border: 1px solid color-mix(in srgb, var(--green-deep) 26%, transparent);
    box-shadow: 0 6px 18px rgba(65, 64, 22, 0.10);
  }
  .studio-folder-layer--2 {
    transform: rotate(6deg) translate(14px, 12px);
    opacity: 0.7;
  }
  .studio-folder-layer--1 {
    transform: rotate(-4.5deg) translate(-11px, 8px);
    opacity: 0.9;
  }
  .studio-folder-cover {
    position: relative;
    z-index: 2;
    display: block;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white, #f9f7f0);
    box-shadow: 0 8px 22px rgba(65, 64, 22, 0.14);
  }
  .studio-folder-cover picture,
  .studio-folder-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .studio-folder:focus-visible .studio-folder-cover {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
  }
  .studio-folder-label {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--green-deep);
  }
  .studio-folder-icon {
    display: block;
    flex-shrink: 0;
    color: var(--orange);
  }
  .lightbox-counter { bottom: 14px; }
}

.svc-row.is-open .svc-plus::after {
  transform: translateX(-50%) rotate(90deg);
}
.about-block:not(.is-open) .about-chevron::after {
  transform: translateX(-50%) rotate(0deg);
}
