/* =========================================================
   Marine Ruez — portfolio
   ========================================================= */

:root {
  --ink: #2b2b2e;
  --ink-soft: #55555c;
  --muted: #9a9aa3;
  --line: #ececf0;
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --accent: #ec1c4f;
  --accent-dark: #c8123f;
  --accent-soft: #fde6ec;
  --peach: #f4b9a7;
  --rose: #f7c3d4;
  --mint: #bfe3dc;
  --teal: #1f4e5f;

  /* marges latérales : contenu centré sur 1400px max, marge minimale sur petit écran */
  --content: 1400px;
  --gutter: max(clamp(20px, 5vw, 64px), calc((100% - var(--content)) / 2));
  --radius: 14px;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.accent { color: var(--accent); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; }
.lead { color: var(--ink-soft); font-size: 19px; max-width: 560px; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 500;
  padding: 16px 38px; border: 0; border-radius: 2px; font: inherit; font-weight: 500;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 10px 24px -12px rgba(236, 28, 79, .7);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--full { width: 100%; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow::after { content: " →"; color: var(--accent); }
.link-arrow:hover { border-color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Topbar ---------- */
.logo {
  font-family: var(--serif); font-size: 32px; text-decoration: none; line-height: 1; color: var(--ink);
}
.logo span { color: var(--accent); font-size: .62em; margin-left: 1px; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.topbar.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.burger { display: none; }
.nav { display: flex; gap: 34px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.call {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.call svg { width: 14px; height: 14px; fill: currentColor; }


/* ---------- 1. Hero ---------- */
.hero {
  min-height: 100vh; padding: 120px var(--gutter) 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: 1fr auto;
  column-gap: 40px; align-items: center;
}
.hello { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.hero h1 { font-size: clamp(54px, 7.4vw, 96px); font-weight: 700; letter-spacing: -0.04em; }
.i-dot { position: relative; }
.i-dot::before {
  /* le point rouge du « i », comme sur la maquette */
  content: ""; position: absolute; left: 50%; top: .29em; width: .2em; height: .2em; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 0 .06em var(--bg);
}
.hero-lead { font-size: clamp(24px, 2.7vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-top: 18px; max-width: 620px; color: var(--ink-soft); }
.hero-sub { margin-top: 18px; color: var(--ink-soft); max-width: 540px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

.hero-info {
  grid-column: 1 / -1; display: flex; gap: 0; margin: 48px 0 0; flex-wrap: wrap;
}
.hero-info > div { padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--line); }
.hero-info > div:last-child { border: 0; }
.hero-info dt { font-weight: 700; font-size: 16px; }
.hero-info dd { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
.hero-info a { text-decoration: none; }
.hero-info a:hover { color: var(--accent); }

/* Collage */
.collage { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 540px; justify-self: center; container-type: inline-size; margin-right: 170px; /* place pour les pétales qui dépassent à droite */ }
.collage-wash {
  position: absolute; inset: 4% 0 0 6%;
  background: radial-gradient(closest-side, #f3f3f6 60%, transparent 100%);
  border-radius: 46% 54% 40% 60% / 50% 40% 60% 50%;
}
.big-m {
  position: absolute; left: 58%; top: 16%; font-family: var(--serif);
  font-size: 82cqw; line-height: .78; color: #141416; z-index: 3; user-select: none;
}
.portrait {
  /* portrait vectorisé : les traits se dessinent à l'arrivée sur la page.
     Le tracé sert de masque qui révèle l'encre finale : l'épaisseur du trait reste constante. */
  position: absolute; left: 2%; top: 0; width: 66%; height: 86%;
}
.portrait-svg { width: 100%; height: 100%; overflow: visible; }
.portrait-svg .lines path {
  fill: none; stroke: #fff; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-line 1.3s ease-out both;
}
.portrait-svg .ink { fill: #1a1a1a; fill-rule: evenodd; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .portrait-svg .lines path { animation: none; stroke-dashoffset: 0; }
}
.dot-black { position: absolute; z-index: 3; width: 18px; height: 18px; border-radius: 50%; background: #141416; left: 55%; top: 11%; }
.line-d { position: absolute; z-index: 3; left: 123%; top: 57%; width: 10%; }
/* deux pétales le long du côté droit de la tête */
.petals-side { position: absolute; z-index: 1; right: 18%; top: 4%; width: 34%; height: 70%; pointer-events: none; transform: rotate(14deg); transform-origin: 50% 100%; }
/* les deux pétales partent du même point (en bas) et s’ouvrent en éventail */
.petals-side svg { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; overflow: visible; transform-origin: 50% 100%; }
.petal-a { transform: translateX(-50%) rotate(-9deg); animation: sway 8s ease-in-out infinite; }
.petal-b { height: 88% !important; transform: translateX(-50%) rotate(15deg); animation: sway 8s ease-in-out -4s infinite; }
@keyframes sway { 50% { rotate: 3deg; } }
.vertical-text {
  position: absolute; z-index: 3; left: -7%; top: 2%; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}

/* ---------- 3. Story (animation au défilement) ---------- */
.story { height: 280vh; position: relative; }
.story-sticky {
  position: sticky; top: 0; height: 100vh; padding: 100px var(--gutter) 30px;
  display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: 40px; align-items: center;
}
.verbs { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.verb { padding: 16px 0 16px 22px; border-left: 2px solid var(--line); transition: border-color .4s; }
.verb h2 {
  font-size: clamp(30px, 3.4vw, 46px); color: #d4d4da; transition: color .4s;
  display: flex; align-items: baseline; gap: 14px;
}
.verb-num { font-size: 13px; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.verb p, .verb .verb-body {
  color: var(--ink-soft); font-size: 16px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s ease, opacity .4s ease, margin .4s;
}
.verb .verb-body p { max-height: none; opacity: 1; overflow: visible; }
.verb .verb-body p + p { margin-top: 8px; }
.verb.is-active { border-color: var(--accent); }
.verb.is-active h2 { color: var(--ink); }
.verb.is-active .verb-num { color: var(--accent); }
.verb.is-active > p, .verb.is-active .verb-body { max-height: 260px; opacity: 1; margin-top: 10px; }

.story-caption { display: none; }
.stage-wrap { position: relative; height: 100%; min-height: 0; min-width: 0; overflow: hidden; }
.stage {
  position: absolute; left: 50%; top: 50%; width: 760px; height: 600px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
}

/* newsletter */
.nl { position: absolute; left: 240px; top: 100px; width: 280px; height: 380px; transform-origin: 50% 50%; }
.nl-sketch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nl-sketch path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.note {
  position: absolute; font-family: var(--hand); font-size: 24px; color: var(--accent); white-space: nowrap;
  opacity: 0; transform: rotate(-4deg);
}
.note-1 { left: -100px; top: 4px; }
.note-2 { right: -150px; top: 108px; transform: rotate(3deg); }
.note-3 { right: -170px; top: 192px; }
.note-4 { left: -170px; top: 318px; transform: rotate(-6deg); }

.mock { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; }
.m-block { position: absolute; opacity: 0; }
.m-header { left: 0; top: 0; width: 100%; height: 64px; background: var(--teal); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.m-logo { width: 30px; height: 30px; border-radius: 50%; background: var(--peach); color: var(--teal); font: 700 12px/30px var(--font); text-align: center; }
.m-nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.m-nav i { display: block; height: 4px; width: 52px; border-radius: 4px; background: rgba(255,255,255,.5); }
.m-nav i + i { width: 40px; }
.m-hero { left: 24px; top: 80px; width: 232px; height: 100px; border-radius: 4px; background: linear-gradient(160deg, #fbe3d9, var(--peach)); overflow: hidden; }
.m-sun { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); right: 36px; top: 18px; }
.m-hill { position: absolute; left: -20px; bottom: -40px; width: 180px; height: 90px; border-radius: 50%; background: var(--teal); }
.m-hill--2 { left: 100px; bottom: -50px; width: 200px; background: #2f6b7f; }
.m-title { left: 24px; top: 190px; width: 232px; font-weight: 700; font-size: 15.5px; line-height: 1.25; color: var(--teal); letter-spacing: -0.01em; }
.m-lines { left: 24px; top: 238px; width: 232px; display: flex; flex-direction: column; gap: 7px; }
.m-lines i { display: block; height: 5px; border-radius: 4px; background: #e6e2dc; }
.m-lines i:nth-child(3) { width: 92%; } .m-lines i:nth-child(4) { width: 70%; }
.m-btn { left: 24px; top: 294px; width: 110px; height: 30px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.m-footer { left: 0; top: 342px; width: 100%; height: 38px; border-top: 1px solid #e6e2dc; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; font-size: 10px; color: #8a8a90; }
.mock::before { content: ""; position: absolute; inset: 0; background: #f6f1ea; opacity: var(--mock-bg, 0); }

.swatches { position: absolute; left: 240px; top: 506px; width: 280px; display: flex; justify-content: space-between; }
.swatches li { width: 56px; text-align: center; opacity: 0; }
.swatches li::before { content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.08); }
.swatches span { font-family: var(--hand); font-size: 17px; color: var(--ink-soft); }

/* supports imprimés */
.print { position: absolute; opacity: 0; will-change: transform, opacity; }
.print .m-logo { display: block; }
.print-kakemono { left: 570px; top: 36px; width: 150px; height: 484px; transform: perspective(900px) rotateY(-22deg); transform-origin: 100% 50%; }
.kk-sheet {
  position: absolute; left: 0; top: 0; width: 100%; height: 470px; padding: 26px 14px 0; overflow: hidden;
  background: var(--teal); color: #fff; text-align: center; box-shadow: 0 24px 40px -24px rgba(30,30,40,.5);
  clip-path: inset(calc(var(--unroll, 0) * 100%) 0 0 0);
}
.kk-bar { position: absolute; left: -4px; right: -4px; top: calc(var(--unroll, 0) * 100%); height: 6px; background: #8a8a90; border-radius: 3px; }
.kk-sheet .kk-logo { margin: 0 auto 14px; width: 44px; height: 44px; line-height: 44px; font-size: 15px; }
.kk-title { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
.kk-sub { font-family: var(--hand); font-size: 18px; color: var(--peach); margin-top: 4px; }
.kk-visual, .fl-visual { position: relative; overflow: hidden; border-radius: 4px; background: linear-gradient(160deg, #fbe3d9, var(--peach)); }
.kk-visual { height: 150px; margin: 18px 0 16px; }
.kk-visual .m-sun { right: 22px; top: 22px; }
.kk-lines { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.kk-lines i { display: block; height: 5px; width: 100%; border-radius: 4px; background: rgba(255,255,255,.35); }
.kk-lines i:nth-child(2) { width: 84%; } .kk-lines i:nth-child(3) { width: 62%; }
.kk-url { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 0; background: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.kk-foot { position: absolute; left: -12px; right: -12px; bottom: 0; height: 16px; border-radius: 4px 4px 8px 8px; background: #6b6b72; }

.print-card { width: 180px; height: 110px; perspective: 700px; }
.print-card--back { left: 22px; top: 56px; }
.print-card--front { left: 36px; top: 132px; }
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--flip, 0deg)); }
.card-face {
  position: absolute; inset: 0; border-radius: 4px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 30px -18px rgba(30,30,40,.45);
}
.card-recto { background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
.card-verso { background: #fff; border: 1px solid var(--line); transform: rotateY(180deg); padding: 16px 16px 0; line-height: 1.25; }
.card-verso b { display: block; font-size: 14px; color: var(--teal); }
.card-verso > span { font-size: 10px; color: var(--muted); }
.card-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.card-contact i { display: block; height: 4px; width: 70%; border-radius: 4px; background: #e6e2dc; }
.card-contact i:nth-child(2) { width: 55%; } .card-contact i:nth-child(3) { width: 62%; }
.card-dot { position: absolute; right: 14px; bottom: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }

.print-flyer {
  left: 40px; top: 292px; width: 150px; height: 212px; padding: 10px; background: #f6f1ea;
  border-radius: 3px; box-shadow: 0 22px 36px -20px rgba(30,30,40,.45);
}
.fl-visual { height: 92px; }
.fl-visual .m-sun { width: 24px; height: 24px; right: 18px; top: 14px; }
.fl-title { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.1; color: var(--teal); }
.fl-date { margin: 4px 0 10px; font-size: 10px; font-weight: 700; color: var(--accent); }
.print-flyer .kk-lines { align-items: flex-start; }
.print-flyer .kk-lines i { background: #e6e2dc; }

.crops { position: absolute; left: 240px; top: 100px; width: 280px; height: 380px; pointer-events: none; opacity: 0; }
.crops i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink-soft); }
.crops i:nth-child(1) { left: -24px; top: -24px; border-right-width: 1px; border-bottom-width: 1px; }
.crops i:nth-child(2) { right: -24px; top: -24px; border-left-width: 1px; border-bottom-width: 1px; }
.crops i:nth-child(3) { left: -24px; bottom: -24px; border-right-width: 1px; border-top-width: 1px; }
.crops i:nth-child(4) { right: -24px; bottom: -24px; border-left-width: 1px; border-top-width: 1px; }
.print-note {
  position: absolute; left: 0; right: 0; top: 540px; text-align: center;
  font-family: var(--hand); font-size: 24px; color: var(--accent); opacity: 0; transform: rotate(-2deg);
}

/* enveloppe */
.envelope, .flyer { position: absolute; width: 170px; height: 110px; left: 295px; top: 235px; opacity: 0; perspective: 600px; }
.env-body {
  position: absolute; inset: 0; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink);
  background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)),
                    linear-gradient(to top left, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px));
  background-size: 50% 100%; background-position: left, right; background-repeat: no-repeat;
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.35);
}
.env-flap {
  position: absolute; left: 0; top: 0; width: 100%; height: 62%;
  background: var(--accent-soft); border: 1.5px solid var(--ink); border-top: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transform: rotateX(var(--flap, 180deg));
}
.env-seal { position: absolute; left: 50%; top: 52%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--accent); opacity: var(--seal, 0); }
.flyer { will-change: transform; }
.sent-note {
  position: absolute; left: 0; right: 0; top: 280px; text-align: center;
  font-family: var(--hand); font-size: 30px; color: var(--accent); opacity: 0; transform: rotate(-3deg);
}

/* destinations */
.dest { position: absolute; opacity: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -30px rgba(30,30,40,.35); font-size: 12px; }
.dest-inbox { left: 0; top: 120px; width: 210px; padding: 14px; }
.dest-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.dest-inbox li { padding: 8px 6px; border-top: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.3; }
.dest-inbox li b { font-size: 12px; }
.dest-inbox li span { color: var(--muted); font-size: 11px; }
.dest-inbox .inbox-new { max-height: 0; padding: 0 6px; overflow: hidden; border: 0; background: var(--accent-soft); border-radius: 6px; transition: max-height .4s, padding .4s; }
.dest-inbox.got .inbox-new { max-height: 60px; padding: 8px 6px; }
.dest-phone { left: 594px; top: 10px; width: 136px; height: 260px; border-radius: 24px; border: 6px solid var(--ink); padding: 26px 10px 10px; background: #f3f3f6; }
.phone-notch { position: absolute; top: 6px; left: 50%; width: 44px; height: 8px; margin-left: -22px; border-radius: 6px; background: var(--ink); }
.phone-notif { background: #fff; border-radius: 10px; padding: 8px; line-height: 1.25; transform: translateY(-10px); opacity: 0; transition: .4s; box-shadow: 0 8px 18px -10px rgba(0,0,0,.3); }
.phone-notif b { display: block; font-size: 11px; color: var(--accent); }
.phone-notif span { font-size: 10px; color: var(--ink-soft); }
.dest-phone.got .phone-notif { transform: none; opacity: 1; }
.phone-lines { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-lines i { display: block; height: 30px; border-radius: 8px; background: #e6e6eb; }
.dest-linkedin { left: 530px; top: 300px; width: 230px; padding: 12px; }
.li-head { display: flex; gap: 8px; align-items: center; line-height: 1.2; }
.li-head b { display: block; font-size: 12px; }
.li-head span { font-size: 10px; color: var(--muted); }
.li-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); flex: none; }
.dest-linkedin p { margin: 8px 0; font-size: 11px; line-height: 1.35; }
.li-img { height: 70px; border-radius: 6px; background: linear-gradient(160deg, #fbe3d9, var(--peach)); opacity: .3; transition: opacity .4s; }
.li-react { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 10px; }
.dest-linkedin.got .li-img { opacity: 1; }
.dest-linkedin.got .li-react span:first-child { color: var(--accent); }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(80px, 11vw, 140px) var(--gutter); }
.section-head { margin-bottom: 56px; max-width: 760px; }

/* ---------- 4. Automatisations ---------- */
.auto { background: var(--bg-soft); position: relative; overflow: hidden; }
.auto > :not(.auto-intro) { position: relative; z-index: 1; }

/* intro : un point rouge rebondit, grossit jusqu'à remplir l'encart, devient gris clair, puis le contenu apparaît */
.auto-intro { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.auto.intro-pending { background: var(--bg); }
.auto.intro-pending .auto-intro { display: block; }
.auto.intro-pending > .section-head, .auto.intro-pending > .auto-grid { opacity: 0; transform: translateY(24px); visibility: hidden; }
.auto > .section-head, .auto > .auto-grid { transition: opacity .4s ease, transform .4s ease; }
.auto > .auto-grid { transition-delay: .1s; }
.auto-dot { position: absolute; left: 50%; top: 30vh; width: 28px; height: 28px; margin: -14px 0 0 -14px; opacity: 0; }
.auto-dot > span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent); }
.auto.is-playing .auto-dot { animation: dot-bounce .5s forwards; }
.auto.is-playing .auto-dot > span {
  animation: dot-grow .4s cubic-bezier(.7, 0, .3, 1) .5s forwards, dot-fade .25s ease .85s forwards;
}
@keyframes dot-bounce {
  0%   { opacity: 1; transform: translateY(-26vh); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  34%  { transform: translateY(0) scale(1.25, .8); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  52%  { transform: translateY(-10vh) scale(.95, 1.05); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  68%  { transform: translateY(0) scale(1.15, .88); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  80%  { transform: translateY(-3vh); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  90%  { transform: translateY(0) scale(1.06, .95); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes dot-grow { to { transform: scale(var(--grow, 120)); } }
@keyframes dot-fade { to { background: var(--bg-soft); } }
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.auto-card {
  background: #fff; border-radius: var(--radius); padding: 22px 24px 26px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column;
}
.auto-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(30,30,40,.35); border-color: transparent; }
.auto-when { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.auto-then { color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; margin-top: 8px; }
.auto-then b { color: var(--ink); }

/* cartes qui se retournent */
.flip-card { height: 236px; perspective: 1200px; cursor: pointer; border-radius: var(--radius); }
.flip-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.flip-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}
.flip-card:focus-visible .flip-inner, .flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; border-radius: var(--radius); padding: 20px 20px 18px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line); overflow: hidden;
}
.flip-front { background: #fff; }
.flip-front h3 { font-size: 19px; line-height: 1.25; margin-top: 8px; max-width: 92%; }
.flip-num {
  position: absolute; right: 14px; bottom: -12px; font-family: var(--serif); font-size: 80px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px #e4e4ea; pointer-events: none;
}
.flip-hint { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; color: var(--muted); position: relative; }
.flip-icon {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 16px; transition: transform .5s;
}
.flip-card:hover .flip-icon { transform: rotate(180deg); }
.flip-back {
  transform: rotateY(180deg); background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center;
}
/* étiquette du type d'exemple */
.flip-tag {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  background: var(--tag-bg); color: var(--tag-ink);
}
/* mêmes couleurs pour les catégories des réalisations : Image / Print / Outils */
.flip-card--design, .cat--image { --tag-bg: #dcecef; --tag-ink: var(--teal); }
.flip-card--print, .cat--print { --tag-bg: #fde3d9; --tag-ink: #a2452a; }
.flip-card--auto, .cat--outils { --tag-bg: var(--accent-soft); --tag-ink: var(--accent-dark); }
.project-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cat {
  padding: 4px 10px; border-radius: 30px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  background: var(--tag-bg); color: var(--tag-ink);
}
.flip-back .flip-tag { background: rgba(255,255,255,.12); color: #fff; }
.flip-back .auto-then { color: #d0d0d7; }
.flip-back .auto-then b { color: #fff; }
.auto-card--cta { min-height: 236px; padding: 20px; background: var(--accent); color: #fff; border-color: var(--accent); justify-content: center; gap: 10px; }
.auto-card--cta p { color: #ffe1e8 !important; }
.auto-card--cta .btn { background: #fff; color: var(--accent); box-shadow: none; }
.auto-card--cta .btn:hover { background: var(--ink); color: #fff; }
.auto-card--cta h3 { font-size: 20px; line-height: 1.2; }
.auto-card--cta .btn { align-self: flex-start; padding: 11px 24px; margin-top: 4px; }

/* ---------- 5. Outils ---------- */
.tools { height: 130vh; position: relative; border-bottom: 1px solid var(--line); }
.tools-sticky {
  position: sticky; top: 0; height: 100vh; padding: 90px var(--gutter) 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; overflow: hidden;
}
.tools-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cloud {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(6px, 1vw, 14px) clamp(14px, 2vw, 30px); max-width: 1000px;
}
.cloud li {
  line-height: 1.1; white-space: nowrap; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(14px) scale(.7); filter: blur(6px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.3), filter .3s ease;
}
.cloud li.is-on { opacity: 1; transform: none; filter: none; }
.cloud .w-xl { font-size: clamp(34px, 5vw, 64px); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.cloud .w-l  { font-size: clamp(24px, 3.2vw, 40px); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.cloud .w-m  { font-size: clamp(17px, 2vw, 24px); font-weight: 500; color: var(--ink-soft); }
.cloud .w-s  { font-size: clamp(13px, 1.3vw, 16px); color: var(--muted); }
.cloud .w-accent { color: var(--accent); font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); }

/* ---------- 7. Méthode : étapes épinglées ---------- */
.method { height: 330vh; position: relative; background: var(--bg-soft); }
.method-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--gutter) 36px;
}
.method-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.method-head .eyebrow { margin: 0; }
.method-progress { display: flex; gap: clamp(14px, 3vw, 40px); }
.method-progress li { font-size: 14px; font-weight: 500; color: #b8b8c0; display: flex; gap: 8px; align-items: baseline; transition: color .4s; }
.method-progress span { font-size: 11px; letter-spacing: .1em; }
.method-progress li.is-active { color: var(--ink); }
.method-progress li.is-active span { color: var(--accent); }
.method-bar { height: 2px; background: #e4e4ea; border-radius: 2px; overflow: hidden; }
.method-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.method-stage { position: relative; }
.mstep {
  position: absolute; inset: 0; display: grid; align-items: center;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 48px);
  pointer-events: none;
}
.mstep.is-active { pointer-events: auto; }

/* grand chiffre au trait, sur le côté */
.mstep-num {
  font-family: var(--serif); font-size: clamp(200px, 30vw, 440px); line-height: .8; text-align: center;
  color: transparent; -webkit-text-stroke: 2px var(--ink); position: relative;
  opacity: 0; transform: translateY(40%) rotate(8deg);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.mstep-num::after {
  /* le point rouge, rappel du « i » du titre */
  content: ""; position: absolute; width: .09em; height: .09em; border-radius: 50%; background: var(--accent);
  right: 18%; bottom: 12%; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .5s;
}
.mstep.is-active .mstep-num { opacity: 1; transform: none; }
.mstep.is-active .mstep-num::after { transform: scale(1); }
.mstep.is-past .mstep-num { opacity: 0; transform: translateY(-40%) rotate(-8deg); }

.mstep-text > * { opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.mstep-text h3 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.03em; line-height: 1.02; margin: 10px 0 18px; }
.mstep-text p:last-child { color: var(--ink-soft); font-size: 18px; max-width: 380px; }
.mstep-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mstep.is-active .mstep-text > * { opacity: 1; transform: none; }
.mstep.is-active .mstep-text > :nth-child(2) { transition-delay: .08s; }
.mstep.is-active .mstep-text > :nth-child(3) { transition-delay: .16s; }
.mstep.is-past .mstep-text > * { opacity: 0; transform: translateY(-30px); }

/* illustration au trait qui se dessine */
.mstep-art { width: 100%; max-height: 58vh; overflow: visible; }
.mstep-art path {
  fill: none; stroke: #1a1a1a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease;
}
.mstep:not(.is-active) .mstep-art path { opacity: 0; } /* évite les points des traits pas encore dessinés */
.mstep.is-active .mstep-art path { stroke-dashoffset: 0; transition-delay: calc(var(--i, 0) * 70ms + .15s); }
.mstep.is-past .mstep-art { opacity: 0; transform: translateY(-30px); }
.mstep-art { transition: opacity .5s ease, transform .6s ease; }
/* étape 1 : dessin vectorisé, uniquement les contours, qui se dessinent trait par trait */
.mstep-art--traced { max-height: 62vh; }
.mstep-art--traced .lines path {
  /* épaisseur fixe à l’écran (≈ 1 px) quelle que soit la taille du dessin : traits nets */
  stroke: #111; stroke-width: .5px; vector-effect: non-scaling-stroke; shape-rendering: geometricPrecision;
  transition: stroke-dashoffset .55s ease;
}
.mstep.is-active .mstep-art--traced .lines path { transition-delay: calc(var(--d, 0s) * .5 + .1s); } /* tout est dessiné en ~1,5 s */


/* ---------- 8. Mes projets ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.project-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.project-cover {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--cover); display: grid; place-items: center;
}
.project-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .6s ease; }
.project-initial {
  font-family: var(--serif); font-size: clamp(90px, 10vw, 150px); line-height: 1; color: rgba(255,255,255,.9);
  transition: transform .6s ease;
}
.project-cover::after {
  content: "Voir le projet →"; position: absolute; z-index: 2; left: 18px; bottom: 18px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 30px;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
a.project-link:hover .project-cover::after, a.project-link:focus-visible .project-cover::after { opacity: 1; transform: none; }
a.project-link:hover .project-cover img, a.project-link:hover .project-initial { transform: scale(1.05); }
/* projets non cliquables : effet visuel seul au survol (zoom doux + ombre), sans badge ni curseur main */
.project-cover { transition: box-shadow .4s ease, transform .4s ease; }
div.project-link:hover .project-cover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(20, 20, 30, .35); }
div.project-link:hover .project-cover img, div.project-link:hover .project-initial { transform: scale(1.05); }
div.project-link:hover h3 { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  div.project-link:hover .project-cover { transform: none; }
  div.project-link:hover .project-cover img, div.project-link:hover .project-initial { transform: none; }
}
/* image affichée en entier, sur un fond qui prolonge le gris du visuel */
.project-cover--contain { background: radial-gradient(ellipse at center, #eaeae8 0%, #dcdcda 70%, #d8d8d6 100%); }
.project-cover--contain img { object-fit: contain; }
.project-body { padding-top: 16px; }
.project-client { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project-body h3 { font-size: 22px; margin: 6px 0 6px; transition: color .2s; }
a.project-link:hover h3 { color: var(--accent); }
.project-body > p:not(.project-client) { color: var(--ink-soft); font-size: 15px; }
.project-examples { display: grid; gap: 6px; margin-top: 10px; }
.project-examples li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.project-examples li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.project-examples strong { color: var(--ink); font-weight: 600; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.project-tags li { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 30px; border: 1px solid var(--line); color: var(--ink-soft); }
.project-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.project-pages a {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-decoration: none;
  padding: 6px 14px; border-radius: 30px; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, color .2s;
}
.project-pages a::after { content: "↗"; font-size: 12px; }
.project-pages a:hover, .project-pages a:focus-visible { border-color: var(--accent); color: var(--accent); }

.project--next { grid-column: 1 / -1; }
.project-next {
  height: 100%; min-height: 200px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1.5px dashed #d6d6dd; text-decoration: none;
  transition: border-color .3s, background .3s;
}
.project-next:hover { border-color: var(--accent); background: var(--accent-soft); }
.project-next h3 { font-size: clamp(26px, 2.6vw, 36px); }
.project-next p { color: var(--ink-soft); }
.project-next-mark {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 26px;
  display: grid; place-items: center; transition: transform .4s;
}
.project-next:hover .project-next-mark { transform: rotate(90deg); }

/* ---------- 9. Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.test-hint {
  margin-top: 32px; display: flex; gap: 14px; align-items: center; padding: 16px 20px;
  border: 1.5px dashed var(--accent); border-radius: var(--radius); max-width: 460px;
}
.test-hint svg { width: 28px; height: 28px; fill: var(--accent); flex: none; animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -50px rgba(30,30,40,.35); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid transparent; border-radius: 6px; padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field.has-error input { border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.consent.has-error { color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #1d7a4f; font-weight: 500; }
.form-status.err { color: var(--accent); }
.form.is-sent .btn { background: #1d7a4f; box-shadow: none; }

/* ---------- Footer ---------- */
.footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px var(--gutter); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* Exemples en version texte : visibles seulement si le JavaScript ne tourne pas (robots, lecteurs sans JS) */
.auto-static { grid-column: 1 / -1; display: grid; gap: 12px; }
.auto-static li { color: var(--ink-soft); }
.auto-static strong { color: var(--ink); }

/* ---------- Questions fréquentes ---------- */
.faq { padding-top: 0; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 500; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--ink-soft); padding: 0 40px 24px 0; max-width: 720px; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; } .reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; } .reveal:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .collage { margin-right: 130px; max-width: 360px; }
  .petals-side { right: 18%; }
}

@media (max-width: 1080px) {
  .mstep { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); }
  .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar { padding: 14px var(--gutter); }
  .topbar .logo { font-size: 28px; }
  .call { display: none; }
  .burger { display: flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 35; align-items: stretch; flex-direction: column; gap: 0; background: #fff;
    padding: 8px var(--gutter) 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .collage { order: -1; max-width: 340px; margin: 0 auto 10px; }
  .hero-info { margin-top: 36px; gap: 18px; }
  .hero-info > div { border: 0; padding: 0; margin-right: 28px; }

  .story { height: 260vh; }
  .story-sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 76px var(--gutter) 16px; gap: 8px; }
  .story-head .eyebrow { margin-bottom: 6px; }
  .verbs { flex-direction: row; gap: 14px; margin: 0; }
  .verb { padding: 0 0 6px; border-left: 0; border-bottom: 2px solid var(--line); flex: 1; }
  .verb h2 { font-size: 19px; gap: 0; }
  .verb-num { display: none; }
  .verb p, .verb .verb-body { display: none; }
  .mstep { grid-template-columns: auto minmax(0, 1fr); align-content: center; row-gap: 10px; }
  .mstep-num { font-size: 130px; }
  .mstep-art { grid-column: 1 / -1; max-height: 34vh; }
  .mstep-text h3 { font-size: 30px; margin: 6px 0 8px; }
  .mstep-text p:last-child { font-size: 15px; }
  .method-progress li { font-size: 0; gap: 0; }
  .method-progress span { font-size: 12px; }
  .method-sticky { padding-top: 76px; }
  .story-caption { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 10px; min-height: 4.5em; }

  .contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .auto-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cloud li { opacity: 1; transform: none; filter: none; }
}

/* Mes projets — responsive */
@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--next { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Visionneuse des images de projets */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 48px 24px;
  background: rgba(20, 20, 24, .86); cursor: zoom-out; animation: lb-in .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1200px, 100%); max-height: calc(100vh - 96px); width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); cursor: default;
}
.lightbox-close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,.28); }
.project-link[href$=".jpg"] .project-cover, .project-link[href$=".png"] .project-cover { cursor: zoom-in; }
@keyframes lb-in { from { opacity: 0; } }
