/* ========================================
   enzolaurent.com — Design System
   ======================================== */

:root {
  --bg: #FAFCFF;
  --primary: #1A7ADB;
  --cta: #38BDF8;
  --accent: #F59E0B;
  --mint: #34D399;
  --text: #0C1425;

  --text-mid: #3A4F6A;
  --text-lt: #7A8FA8;
  --border: #D6E4F0;
  --bg2: #F0F5FA;
  --primary-bg: #EBF4FC;

  --font-display: 'Caveat', cursive;
  --font-body: 'DM Sans', sans-serif;

  --gradient: linear-gradient(90deg, #1A7ADB, #F59E0B, #34D399);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.25rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(250, 252, 255, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px; z-index: 210;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: rgba(250, 252, 255, .98); backdrop-filter: blur(16px);
  z-index: 190; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--text); text-decoration: none; transition: color .2s;
}
.nav-mobile a:hover { color: var(--primary); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 200px auto;
  align-items: center; justify-content: center; gap: 4rem;
  padding: 8rem 2.5rem 5rem;
  max-width: 1200px; margin: 0 auto;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--primary-bg); border: 1px solid var(--border);
  padding: .45rem 1.1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp .7s .1s forwards;
}
.hero-pill::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -.01em; color: var(--text);
  white-space: nowrap;
  opacity: 0; animation: fadeUp .8s .25s forwards;
}
.hero-name em {
  font-style: normal;
  color: var(--primary); text-transform: uppercase;
}
.hero-sub {
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.8; max-width: 46ch;
  margin: 1.75rem 0 2.5rem;
  opacity: 0; animation: fadeUp .8s .4s forwards;
}
.hero-ctas {
  display: flex; gap: .75rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s .55s forwards;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: 8px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: all .22s; cursor: pointer;
}
.btn-fill {
  background: var(--primary); color: #fff; border: 2px solid var(--primary);
}
.btn-fill:hover {
  background: #1565C0; border-color: #1565C0;
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 122, 219, .25);
}
.btn-outline {
  background: transparent; color: var(--text); border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent); transform: translateY(-2px);
}

/* Hero photo */
.hero-photo-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 1s .5s forwards;
}
.hero-photo-ring {
  position: relative; width: 200px; height: 200px; flex-shrink: 0;
}
.hero-photo-ring::before {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: conic-gradient(var(--primary) 0deg 60deg, var(--accent) 60deg 120deg, var(--mint) 120deg 180deg, transparent 180deg 360deg);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.hero-photo-ring::after {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
}
.hero-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--primary-bg);
  overflow: hidden; position: relative;
  box-shadow: 0 16px 48px rgba(26, 122, 219, .15), 0 4px 16px rgba(0, 0, 0, .06);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.hero-photo-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
  color: var(--text-lt); background: linear-gradient(145deg, var(--primary-bg), var(--bg2));
  font-family: var(--font-body); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero-photo-ph svg { color: var(--cta); }
.hero-badge {
  display: none;
  position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border);
  border-radius: 100px; padding: .6rem 1.25rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  white-space: nowrap;
}
.hero-badge-label {
  font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-lt); margin-bottom: .1rem;
}
.hero-badge-val {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text);
}
.hero-dots {
  position: absolute; top: 0; right: -2.5rem;
  display: grid; grid-template-columns: repeat(4, 7px); gap: 7px;
}
.hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); display: block;
}

/* ─── DIVIDER ─── */
.divider { width: 100%; height: 3px; background: var(--gradient); }

/* ─── SECTIONS ─── */
.section { padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.band {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 6rem 0;
}
.band .inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

.s-label {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .6rem;
}
.s-label::before {
  content: ''; width: 18px; height: 3px;
  background: var(--gradient); border-radius: 2px;
}
.s-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--text);
  line-height: 1.15; margin-bottom: 3rem;
}
.s-title em { font-style: normal; color: var(--primary); }

/* ─── ABOUT BLOCKS ─── */
.about-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  margin: -2rem 0 2.5rem;
  line-height: 1.6;
}
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.ab {
  background: var(--bg2); padding: 2.5rem 2rem;
  transition: background .2s;
}
.ab:hover { background: var(--primary-bg); }
.ab-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: .3rem;
}
.ab-label {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--text-mid); margin-bottom: .85rem;
}
.ab-desc {
  font-family: var(--font-body); font-size: .88rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.7;
}

/* ─── PARCOURS ─── */
.p-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 2.5rem; padding: 1.75rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s; border-radius: 8px;
  align-items: start;
}
.p-row:first-child { border-top: 1px solid var(--border); }
.p-row:hover { background: var(--primary-bg); }
.p-year {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 600; color: var(--primary); line-height: 1.5;
}
.p-logo {
  display: block; width: 130px; max-width: 130px;
  height: auto; object-fit: contain; object-position: left center;
  margin-top: .75rem; opacity: .85;
}
.p-logo[src*="logo_mines"] { width: 80px; max-width: 80px; }
.p-logo[src*="logo_hec"] { width: 90px; max-width: 90px; }
.p-body {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.p-role {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--text); margin-bottom: .15rem;
}
.p-co {
  font-family: var(--font-body); font-size: .8rem; font-weight: 500;
  color: var(--primary); margin-bottom: .4rem;
}
.p-desc {
  font-family: var(--font-body); font-size: .88rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.7; max-width: 55ch;
}
.p-techs {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem;
}
.p-tech {
  font-family: var(--font-body); font-size: .65rem; font-weight: 600;
  color: var(--primary); background: var(--primary-bg);
  border: 1px solid var(--border); padding: .2rem .6rem;
  border-radius: 100px; white-space: nowrap;
}
.p-links {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .6rem;
}
.p-link {
  font-family: var(--font-body); font-size: .75rem; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.p-link:hover { text-decoration: underline; }
.p-tag {
  font-family: var(--font-body); font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: .25rem .75rem;
  border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}

/* ─── DOSSIER ─── */
.dossier-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--primary-bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.dossier-card:hover {
  box-shadow: 0 12px 40px rgba(26, 122, 219, .15); transform: translateY(-3px);
}
.dossier-visual {
  background: linear-gradient(145deg, var(--cta), var(--primary));
  min-height: 240px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.dossier-visual svg { opacity: .2; color: #fff; }
.dossier-visual picture, .dossier-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dossier-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, .15) 0%, transparent 60%);
}
.dossier-content {
  padding: 2.5rem; display: flex; flex-direction: column;
  justify-content: center; gap: .75rem;
}
.dossier-tag {
  font-family: var(--font-body); font-size: .65rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.dossier-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--text); line-height: 1.25;
}
.dossier-desc {
  font-family: var(--font-body); font-size: .9rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.7;
}
.dossier-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--accent); margin-top: .5rem; transition: gap .2s;
}
.dossier-card:hover .dossier-cta { gap: .85rem; }

/* ─── VIDEOS ─── */
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.video-box {
  aspect-ratio: 16/9; background: var(--primary-bg);
  border-radius: 12px; position: relative; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(26, 122, 219, .1);
}
.video-box::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 40% 40%, rgba(26, 122, 219, .12) 0%, transparent 60%);
}
.video-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-box:has(.video-cover)::before {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
}
.video-box .video-play-wrap { z-index: 2; }
.video-play-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.play-btn {
  width: 60px; height: 60px; background: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 122, 219, .35); transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.play-btn:hover {
  transform: scale(1.1); box-shadow: 0 12px 32px rgba(26, 122, 219, .45);
}
.videos-desc {
  font-family: var(--font-body); font-size: .92rem; font-weight: 400;
  color: var(--text-mid); line-height: 1.85; margin: .75rem 0 1.5rem;
}
.yt-link {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--border);
  padding: 1rem 1.5rem; border-radius: 10px; text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.yt-link:hover {
  border-color: var(--accent); box-shadow: 0 4px 20px rgba(245, 158, 11, .15); transform: translateY(-2px);
}
.yt-ico {
  width: 40px; height: 40px; background: #FF0000; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.yt-lbl {
  font-family: var(--font-body); font-size: .65rem; font-weight: 400; color: var(--text-lt);
}
.yt-name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text); margin-top: .1rem;
}

/* ─── CONTACT ─── */
.contact-wrap {
  background: #1B2942; padding: 7rem 2.5rem;
}
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-s-label {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cta);
  margin-bottom: .6rem; display: flex; align-items: center; gap: .6rem;
}
.contact-s-label::before {
  content: ''; width: 18px; height: 3px;
  background: linear-gradient(90deg, var(--cta), var(--accent)); border-radius: 2px;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700; color: #fff;
  line-height: 1.15; margin-bottom: 1.25rem;
}
.contact-title em { font-style: normal; color: var(--accent); }
.contact-sub {
  font-family: var(--font-body); font-size: .92rem; font-weight: 400;
  color: rgba(255, 255, 255, .45); line-height: 1.85;
  max-width: 38ch; margin-bottom: 2rem;
}

/* Socials */
.socials { display: flex; gap: .75rem; flex-wrap: wrap; }
.soc-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 100px; font-family: var(--font-body);
  font-size: .75rem; font-weight: 500;
  color: rgba(255, 255, 255, .5); text-decoration: none; transition: border-color .2s, color .2s;
}
.soc-link:hover { border-color: var(--cta); color: var(--cta); }
.soc-ico {
  width: 22px; height: 22px; background: rgba(56, 189, 248, .15);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--cta); font-size: .65rem; font-weight: 700;
}

/* Form */
.cf { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .4rem; }
.fl {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .06em; color: rgba(255, 255, 255, .45); text-transform: uppercase;
}
.fi {
  font-family: var(--font-body); font-size: .9rem; font-weight: 400; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px; padding: .85rem 1.1rem;
  outline: none; width: 100%; transition: border-color .2s, background .2s;
}
.fi::placeholder { color: rgba(255, 255, 255, .2); }
.fi:focus { border-color: var(--cta); background: rgba(56, 189, 248, .06); }
textarea.fi { resize: vertical; min-height: 130px; }
.form-footer { display: flex; align-items: center; gap: 1.5rem; margin-top: .5rem; }
.form-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--accent); color: #fff; border: none;
  padding: .85rem 1.8rem; border-radius: 8px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.form-btn:hover {
  background: #D97706; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, .3);
}
.form-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note {
  font-family: var(--font-body); font-size: .73rem; font-weight: 400; color: rgba(255, 255, 255, .3);
}
.fstate {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem; border-radius: 8px;
  font-family: var(--font-body); font-size: .88rem; margin-top: .5rem;
}
.fsuccess { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .3); color: var(--mint); }
.ferror { background: rgba(220, 60, 60, .1); border: 1px solid rgba(220, 60, 60, .25); color: #f08080; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: .25rem; min-height: 65px; }

/* ─── FOOTER ─── */
footer {
  background: #060E18; border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.75rem 2.5rem; display: flex; justify-content: space-between; align-items: center;
}
footer p {
  font-family: var(--font-body); font-size: .73rem; font-weight: 400; color: rgba(255, 255, 255, .6);
}
footer a {
  font-family: var(--font-body); font-size: .73rem; color: rgba(255, 255, 255, .6);
  text-decoration: none; transition: color .2s;
}
footer a:hover { color: var(--cta); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 180px 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 6rem 1.5rem 3rem; gap: 0; }
  .hero-photo-wrap { display: none; }
  .hero-name { font-size: clamp(3rem, 12vw, 4rem); }
  .hero-sub { font-size: .95rem; max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .section { padding: 4rem 1.5rem; }
  .band { padding: 4rem 0; }
  .band .inner { padding: 0 1.5rem; }
  .s-title { font-size: 2rem; margin-bottom: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .p-row { grid-template-columns: 1fr; gap: .5rem; padding: 1.25rem .75rem; }
  .p-body { flex-wrap: wrap; }
  .dossier-card { grid-template-columns: 1fr; }
  .dossier-visual { min-height: 150px; }
  .videos-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-wrap { padding: 5rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: .5rem; padding: 1.25rem; text-align: center; }
}
@media (max-width: 380px) {
  .hero-name { font-size: 2.8rem; }
}

/* ─── DOSSIER PLONGÉE ─── */
.dp-hero {
  position: relative;
  padding: 9rem 2.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}
.dp-hero-inner { position: relative; z-index: 2; }
.dp-back {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  margin-bottom: 2rem; transition: color .2s;
}
.dp-back:hover { color: var(--primary); }
.dp-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--primary-bg); border: 1px solid var(--border);
  padding: .45rem 1.1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 1.5rem;
}
.dp-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.dp-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700; line-height: 1; color: var(--text);
  margin-bottom: 1.5rem;
}
.dp-title em { font-style: normal; color: var(--primary); }
.dp-lede {
  font-family: var(--font-body); font-size: 1.05rem;
  color: var(--text-mid); line-height: 1.75;
  max-width: 50ch; margin-bottom: 2.5rem;
}
.dp-lede strong { color: var(--accent); font-weight: 600; }
.dp-nav {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.dp-nav a {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  padding: .55rem 1rem; border: 1px solid var(--border); border-radius: 100px;
  background: #fff; transition: all .2s;
}
.dp-nav a:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px);
}
.dp-hero-figure {
  margin: 0;
  width: 360px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 122, 219, .18),
              0 4px 12px rgba(0, 0, 0, .06);
  border: 1px solid var(--border);
  align-self: center;
}
.dp-hero-figure img {
  width: 100%; height: auto; display: block;
}

.dp-section {
  max-width: 760px; margin: 0 auto;
  padding: 6rem 2.5rem;
  font-family: var(--font-body);
  font-size: 1rem; color: var(--text);
  line-height: 1.8;
  scroll-margin-top: 5rem;
}
.dp-section-alt {
  max-width: none;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dp-section-alt { padding: 6rem 0; }
.dp-section-alt .dp-section-body {
  max-width: 760px; margin: 0 auto;
  padding: 0 2.5rem;
}
.dp-s-label {
  font-family: var(--font-body); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .6rem;
}
.dp-s-label::before {
  content: ''; width: 18px; height: 3px;
  background: var(--gradient); border-radius: 2px;
}
.dp-s-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700; color: var(--text);
  line-height: 1.15; margin-bottom: 2.5rem;
}
.dp-s-title em { font-style: normal; color: var(--primary); }

.dp-section h3.dp-h3 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); letter-spacing: .02em;
  margin: 3rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.dp-section p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.dp-section p strong { color: var(--text); font-weight: 600; }
.dp-section p.dp-intro {
  font-size: 1.08rem; color: var(--text-mid);
  line-height: 1.85;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.dp-section p.dp-source { margin-bottom: 1.25rem; }

.dp-quote {
  border-left: 3px solid var(--accent);
  padding: .25rem 0 .25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-family: var(--font-body); font-size: 1.05rem;
  font-style: italic; color: var(--text);
  line-height: 1.7;
}

.dp-figure {
  margin: 2rem 0;
  text-align: center;
}
.dp-figure img {
  max-width: 100%; height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(12, 20, 37, .08);
  border: 1px solid var(--border);
  background: #fff;
}
.dp-figure-narrow img { max-width: 360px; }
.dp-figure-eq img {
  background: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(12, 20, 37, .06);
  max-width: 100%;
}
.dp-figure figcaption {
  font-family: var(--font-body); font-size: .82rem;
  color: var(--text-lt); margin-top: .8rem;
  font-style: italic;
}

.dp-eq {
  font-family: 'Cambria Math', Cambria, Georgia, serif;
  font-size: 1.2rem; color: var(--text);
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.9;
}
.dp-eq .var { font-style: italic; }
.dp-eq-result {
  background: var(--primary-bg);
  border-left-color: var(--accent);
  color: var(--text);
  font-weight: 600;
  font-size: 1.3rem;
}

.dp-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.dp-list li {
  position: relative;
  padding: .35rem 0 .35rem 1.5rem;
  color: var(--text-mid);
  font-size: .95rem;
}
.dp-list li::before {
  content: ''; position: absolute;
  left: 0; top: .85rem;
  width: 8px; height: 1px;
  background: var(--primary);
}
.dp-list li strong { color: var(--text); font-weight: 600; }

.dp-callout {
  background: var(--primary-bg);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: .92rem;
  color: var(--text-mid);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.dp-section p.dp-source {
  font-size: .82rem;
  color: var(--text-lt);
  font-style: italic;
  margin-top: -.5rem;
}
.dp-section p.dp-source strong { color: var(--text-mid); font-style: normal; font-weight: 600; }

.dp-hypos {
  list-style: none;
  counter-reset: hypo;
  padding: 0;
  margin: 2rem 0;
}
.dp-hypos > li {
  counter-increment: hypo;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 3.75rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-mid);
  line-height: 1.75;
}
.dp-hypos > li::before {
  content: counter(hypo);
  position: absolute;
  left: 1.25rem; top: 1.5rem;
  width: 32px; height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: .85rem; font-weight: 700;
}
.dp-hypos strong { color: var(--text); font-weight: 600; }
.dp-hypos .dp-figure { margin: 1.25rem 0; }

.dp-download {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  margin: 1.5rem 0;
  transition: all .2s;
}
.dp-download:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 122, 219, .12);
}
.dp-download-ico {
  width: 44px; height: 44px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dp-download-body { display: flex; flex-direction: column; gap: .15rem; }
.dp-download-name {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  color: var(--text);
}
.dp-download-meta {
  font-family: var(--font-body); font-size: .75rem;
  color: var(--text-lt); letter-spacing: .04em;
}
.dp-downloads {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.dp-downloads .dp-download { margin: 0; }

.dp-warning {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-left: 3px solid #D97706;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: .92rem;
  color: #78350F;
  margin: 1.5rem 0;
  line-height: 1.7;
}
.dp-warning strong { color: #78350F; font-weight: 700; }

.dp-code {
  margin: 2rem 0;
  background: #0F172A;
  border-radius: 10px;
  overflow: hidden;
}
.dp-code summary {
  cursor: pointer;
  padding: .85rem 1.25rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  user-select: none;
  list-style: none;
  display: flex; align-items: center; gap: .5rem;
}
.dp-code summary::-webkit-details-marker { display: none; }
.dp-code summary::before {
  content: '▸'; transition: transform .2s;
  font-size: .7rem;
}
.dp-code[open] summary::before { transform: rotate(90deg); }
.dp-code summary:hover { color: var(--cta); }
.dp-code pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: .78rem; line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  white-space: pre;
}

.dp-compare {
  background: var(--primary-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.dp-compare h4 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .75rem;
}
.dp-compare p { margin-bottom: 0; color: var(--text-mid); }

.dp-end {
  margin-top: 4rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.dp-back-cta {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); text-decoration: none;
  padding: .8rem 1.6rem; border: 2px solid var(--border);
  border-radius: 8px; transition: all .2s;
}
.dp-back-cta:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .dp-hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 3rem;
    gap: 2rem;
  }
  .dp-hero-figure { width: 100%; max-width: 360px; justify-self: center; }
  .dp-section { padding: 4rem 1.5rem; }
  .dp-section-alt { padding: 4rem 0; }
  .dp-section-alt .dp-section-body { padding: 0 1.5rem; }
  .dp-eq { font-size: 1rem; padding: 1rem; }
  .dp-eq-result { font-size: 1.1rem; }
  .dp-downloads { grid-template-columns: 1fr; }
  .dp-hypos > li { padding: 1.25rem 1rem 1.25rem 3rem; }
  .dp-hypos > li::before { left: .9rem; top: 1.25rem; width: 28px; height: 28px; font-size: .78rem; }
}

/* ─── BLOG — LISTE ─── */
.blog-hero {
  max-width: 900px; margin: 0 auto;
  padding: 9rem 2.5rem 3rem;
}
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--text);
  margin: .5rem 0 1.5rem;
}
.blog-title em { font-style: normal; color: var(--primary); }
.blog-lede {
  font-family: var(--font-body); font-size: 1.05rem;
  color: var(--text-mid); line-height: 1.8;
  max-width: 56ch;
}

.blog-list {
  max-width: 900px; margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.blog-card {
  display: block; text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.85rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 32px rgba(26, 122, 219, .12);
}
.blog-card-meta {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-lt); margin-bottom: .6rem;
}
.blog-card-tag {
  color: var(--primary); background: var(--primary-bg);
  border: 1px solid var(--border); padding: .15rem .65rem;
  border-radius: 100px; letter-spacing: .1em;
}
.blog-card-title {
  font-family: var(--font-display); font-size: 1.85rem;
  font-weight: 700; color: var(--text);
  line-height: 1.2; margin-bottom: .6rem;
}
.blog-card-desc {
  font-family: var(--font-body); font-size: .95rem;
  color: var(--text-mid); line-height: 1.7;
  margin-bottom: 1rem;
}
.blog-card-cta {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
}
.blog-card:hover .blog-card-cta { color: #D97706; }
.blog-empty {
  font-family: var(--font-body); color: var(--text-lt);
  text-align: center; padding: 3rem 0;
}

/* ─── BLOG — ARTICLE ─── */
.post-hero {
  max-width: 760px; margin: 0 auto;
  padding: 8rem 2.5rem 2rem;
}
.post-back {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  margin-bottom: 2rem; transition: color .2s;
}
.post-back:hover { color: var(--primary); }
.post-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary-bg); border: 1px solid var(--border);
  padding: .35rem 1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 1.5rem;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--text); margin-bottom: 1.25rem;
  letter-spacing: -.005em;
}
.post-lede {
  font-family: var(--font-body); font-size: 1.1rem;
  color: var(--text-mid); line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 56ch;
}
.post-meta {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-body); font-size: .8rem;
  color: var(--text-lt);
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.post-meta-sep { color: var(--border); }

.post-cover {
  max-width: 720px; margin: 1.5rem auto 0;
  padding: 0 2.5rem;
}
.post-cover img {
  max-width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(12, 20, 37, .1);
  display: block;
  margin: 0 auto;
}
.post-cover figcaption {
  font-family: var(--font-body); font-size: .82rem;
  color: var(--text-lt); margin-top: .8rem;
  font-style: italic; text-align: center;
}

.post-body {
  max-width: 720px; margin: 3rem auto 0;
  padding: 0 2.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem; line-height: 1.85;
  color: var(--text-mid);
}
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 700; color: var(--text);
  line-height: 1.25;
  margin-top: 3.5rem;
}
.post-body h3 {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); letter-spacing: .01em;
  margin-top: 2.5rem;
}
.post-body p { color: var(--text-mid); }
.post-body p strong, .post-body li strong { color: var(--text); font-weight: 600; }
.post-body a {
  color: var(--primary); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.post-body a:hover { color: var(--accent); border-color: var(--accent); }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  color: var(--text-mid);
}
.post-body li { margin: .4rem 0; }
.post-body ul li::marker { color: var(--primary); }
.post-body ol li::marker { color: var(--primary); font-weight: 600; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: .25rem 0 .25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-body); font-size: 1.1rem;
  font-style: italic; color: var(--text);
  line-height: 1.7;
}
.post-body code {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: .88em;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: .1rem .4rem;
  color: var(--text);
}
.post-body pre {
  background: #0F172A;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: .85rem; line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}
.post-body pre code {
  background: none; border: none; padding: 0;
  color: inherit; font-size: inherit;
}
.post-body img {
  max-width: 100%; height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin: 1.5rem auto;
  display: block;
}
.post-gallery {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.post-gallery > p {
  flex: 1;
  margin: 0;
  min-width: 0;
  text-align: center;
}
.post-gallery img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .post-gallery { flex-direction: column; }
}
.post-body hr {
  border: none; height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.post-end {
  max-width: 720px; margin: 4rem auto 0;
  padding: 2rem 2.5rem 6rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .blog-hero { padding: 7rem 1.5rem 2rem; }
  .blog-list { padding: 1rem 1.5rem 4rem; }
  .blog-card { padding: 1.5rem 1.25rem; }
  .blog-card-title { font-size: 1.5rem; }
  .post-hero { padding: 6.5rem 1.5rem 1.5rem; }
  .post-cover { padding: 0 1.5rem; }
  .post-body { padding: 0 1.5rem; font-size: 1rem; }
  .post-end { padding: 2rem 1.5rem 4rem; }
}

/* ─── ALBUMS — LISTE ─── */
.albums-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.album-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.album-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 36px rgba(26, 122, 219, .14);
}
.album-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg2);
}
.album-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.album-card:hover .album-card-img img { transform: scale(1.04); }
.album-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.album-card-meta {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-lt);
}
.album-card-loc {
  color: var(--primary); background: var(--primary-bg);
  border: 1px solid var(--border); padding: .15rem .65rem;
  border-radius: 100px; letter-spacing: .1em;
}
.album-card-title {
  font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 700; color: var(--text); line-height: 1.2;
}
.album-card-desc {
  font-family: var(--font-body); font-size: .92rem;
  color: var(--text-mid); line-height: 1.65;
}
.album-card-cta {
  font-family: var(--font-body); font-size: .76rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-top: .35rem;
}

/* ─── ALBUMS — DÉTAIL ─── */
.album-hero {
  max-width: 1200px; margin: 0 auto;
  padding: 8rem 2.5rem 1.5rem;
}
.album-hero .post-back { margin-bottom: 1.5rem; }
.album-hero-meta {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-lt); margin-bottom: .8rem;
}
.album-grid {
  max-width: 1400px; margin: 0 auto;
  padding: 1.5rem 2.5rem 4rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
}
.album-photo {
  margin: 0; position: relative;
  border-radius: 8px; overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
}
.album-photo a {
  display: block; aspect-ratio: 4/3;
  overflow: hidden;
}
.album-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.album-photo a:hover img { transform: scale(1.05); }
.album-photo figcaption {
  font-family: var(--font-body); font-size: .78rem;
  color: var(--text-mid);
  padding: .6rem .85rem .75rem;
  line-height: 1.4;
}

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6, 14, 24, .94);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lightbox-figure img {
  max-width: 100%; max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox-figure figcaption {
  font-family: var(--font-body); font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  text-align: center; max-width: 60ch;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s, border-color .2s, transform .2s;
  font-family: var(--font-body); line-height: 1;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, .18);
  border-color: var(--cta);
}
.lightbox-close {
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; font-size: 1.6rem;
}
.lightbox-prev, .lightbox-next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; font-size: 2rem;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 768px) {
  .albums-grid { padding: 1rem 1.5rem 4rem; gap: 1.25rem; }
  .album-hero { padding: 6.5rem 1.5rem 1rem; }
  .album-grid {
    padding: 1rem 1rem 3rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .5rem;
  }
  .lightbox { padding: .5rem; }
  .lightbox-close { top: .75rem; right: .75rem; width: 38px; height: 38px; font-size: 1.4rem; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* ─── LEGAL PAGE ─── */
.legal-page {
  max-width: 800px; margin: 0 auto;
  padding: 8rem 2.5rem 5rem;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700; color: var(--text);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--text); margin: 2.5rem 0 1rem;
}
.legal-page p {
  font-family: var(--font-body); font-size: .95rem;
  color: var(--text-mid); line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-page ul {
  font-family: var(--font-body); font-size: .95rem;
  color: var(--text-mid); line-height: 1.8;
  margin: 0 0 1rem; padding-left: 1.5rem;
  list-style: disc;
}
.legal-page li {
  margin-bottom: .4rem;
}
.legal-page a {
  color: var(--text); text-decoration: underline;
}
