/* ==========================================================================
   naporsong — Design v5 · "Playful Pastel"
   สีสดใส/พาสเทล · ภาพวาดดูเดิล · มุมโค้งมน · เป็นกันเอง
   Mobile-first, reduced-motion aware, scoped to <body class="v5">
   ========================================================================== */

:root {
  --v5-dots: radial-gradient(circle, rgba(123, 140, 255, .28) 2.5px, transparent 2.6px);
}

/* ---------- 1 · base ---------------------------------------------------- */

html { scroll-behavior: smooth; }

body.v5 {
  --ink: #3b3355;
  --muted: #7b7394;
  --paper: #fffdf9;
  --sky: #dff1ff;
  --mint: #ddf6e6;
  --peach: #ffe8d9;
  --lilac: #efe7ff;
  --butter: #fff3cd;
  --pink: #ffe3ee;
  --coral: #ff7a59;
  --leaf: #37b887;
  --grape: #7b8cff;
  --sun: #ffc44d;
  --line: rgba(59, 51, 85, .12);
  --sans: "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fun: "Itim", "Noto Sans Thai", var(--sans);
  --max: 1160px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;
  --pop: 0 16px 34px -20px rgba(59, 51, 85, .45);
  --pop-lg: 0 26px 50px -26px rgba(59, 51, 85, .5);
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.v5 *, body.v5 *::before, body.v5 *::after { box-sizing: border-box; }

body.v5 .container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
body.v5 .narrow { max-width: 760px; }
body.v5 .center { text-align: center; }
body.v5 p { margin: 0 0 1em; }
body.v5 img, body.v5 svg { max-width: 100%; }
body.v5 figure { margin: 0; }
body.v5 address { font-style: normal; }
body.v5 code { background: var(--butter); padding: 2px 9px; border-radius: 999px; font-size: .86em; }
body.v5 :focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 6px; }
body.v5 a { color: var(--grape); text-underline-offset: 3px; }
body.v5 a:hover { color: var(--coral); }

body.v5 h1, body.v5 h2, body.v5 h3, body.v5 h4 {
  font-family: var(--fun); font-weight: 400; color: var(--ink);
  line-height: 1.5; margin: 0 0 .45em; letter-spacing: .01em;
}

body.v5 .dim { color: var(--muted); }
body.v5 .meta { font-size: .86rem; color: var(--muted); }
body.v5 .lead { font-size: 1.05rem; color: var(--muted); }

body.v5 .skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 500;
  background: var(--ink); color: #fff; padding: 12px 22px;
  border-radius: 0 0 var(--r-md) 0; font-weight: 700; text-decoration: none;
}
body.v5 .skip-link:focus { left: 0; }

/* placeholders (data/images.json slots) */
body.v5 .ph {
  position: relative; overflow: hidden; width: 100%; display: block;
  background: linear-gradient(140deg, var(--sky), var(--lilac));
  border-radius: var(--r-md);
}
body.v5 .ph-art { position: absolute; inset: 0; width: 100%; height: 100%; }
body.v5 .ph-tag {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .88); color: var(--ink);
  border: 2px dashed var(--grape); border-radius: var(--r-sm);
  padding: 8px 12px; font-size: .78rem; line-height: 1.5;
}
body.v5 .ph-key { font-weight: 700; color: var(--grape); font-size: .74rem; }
body.v5 .ph-label { opacity: .92; }
body.v5 .ph-fig { margin: 0; }
body.v5 .ph-img { width: 100%; height: auto; display: block; object-fit: cover; border-radius: var(--r-md); }
body.v5 .img-credit { font-size: .76rem; color: var(--muted); padding-top: 8px; margin: 0; }

/* ---------- 2 · decorations --------------------------------------------- */

body.v5 .blob {
  position: absolute; pointer-events: none; z-index: 0; opacity: .8;
  border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%;
  animation: v5morph 16s ease-in-out infinite, v5float 9s ease-in-out infinite;
}
body.v5 .blob.b1 { width: 190px; height: 190px; background: var(--butter); top: -60px; left: -50px; }
body.v5 .blob.b2 { width: 150px; height: 150px; background: var(--pink); bottom: -40px; right: -30px; animation-delay: -4s; }
body.v5 .blob.b3 { width: 90px; height: 90px; background: var(--mint); top: 30%; right: 8%; animation-delay: -8s; }
@keyframes v5morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 52% 58% 42% 48%; }
  50% { border-radius: 44% 56% 38% 62% / 60% 40% 60% 40%; }
}
@keyframes v5float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(8deg); } }

body.v5 .dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--v5-dots); background-size: 26px 26px; opacity: .8;
}

body.v5 .sparkle { position: absolute; color: var(--sun); pointer-events: none; animation: v5spark 3.6s ease-in-out infinite; }
@keyframes v5spark { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* wavy section divider (fills the TOP of a coloured section with the previous colour) */
body.v5 .v5-wave {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 1;
  display: block; width: 100%; margin: 0; color: var(--paper); pointer-events: none;
}
body.v5 .v5-wave svg { display: block; width: 100%; height: 100%; }
body.v5 .v5-section > .container { position: relative; z-index: 2; }

/* playful eyebrow with doodle dot */
body.v5 .v5-eyebrow, body.v5 .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fun); font-size: 1.02rem; color: var(--coral);
  background: #fff; border: 2px solid var(--line); border-radius: 999px;
  padding: 4px 16px 4px 10px; margin: 0 0 1em; box-shadow: 0 6px 14px -10px rgba(59, 51, 85, .5);
}
body.v5 .v5-eyebrow::before, body.v5 .kicker::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); flex: none;
}
body.v5 .v5-eyebrow.pastel-mint::before { background: var(--leaf); }
body.v5 .v5-eyebrow.pastel-grape::before { background: var(--grape); }
body.v5 .v5-eyebrow.center { justify-content: center; }

/* icon bubble */
body.v5 .v5-icon {
  width: 62px; height: 62px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--sky); color: var(--grape);
  border: 3px solid #fff; box-shadow: 0 10px 22px -14px rgba(59, 51, 85, .6);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-icon svg { width: 30px; height: 30px; display: block; }
body.v5 .v5-icon.mint { background: var(--mint); color: var(--leaf); }
body.v5 .v5-icon.peach { background: var(--peach); color: var(--coral); }
body.v5 .v5-icon.butter { background: var(--butter); color: #d99400; }
body.v5 .v5-icon.pink { background: var(--pink); color: #ef5da8; }
body.v5 .v5-icon.lilac { background: var(--lilac); color: var(--grape); }
body.v5 a:hover > .v5-icon, body.v5 .v5-card:hover .v5-icon { transform: rotate(-8deg) scale(1.12); }

/* sticker badge */
body.v5 .v5-sticker {
  display: inline-block; font-family: var(--fun); font-size: .95rem;
  background: var(--sun); color: var(--ink); border: 2px solid #fff;
  border-radius: 999px; padding: 3px 16px; transform: rotate(-2deg);
  box-shadow: 0 8px 18px -12px rgba(59, 51, 85, .7);
}
body.v5 .v5-sticker.leaf { background: var(--mint); }
body.v5 .v5-sticker.grape { background: var(--lilac); }
body.v5 .v5-sticker.peach { background: var(--peach); }

/* ---------- 3 · progress / topbar / nav ---------------------------------- */

body.v5 .v5-progress {
  position: fixed; top: 0; left: 0; height: 5px; width: 0; z-index: 400;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, var(--sun), var(--coral), var(--grape));
}

body.v5 .v5-topbar {
  background: var(--ink); color: #e9e4ff; font-size: .8rem;
  position: relative; z-index: 210;
}
body.v5 .v5-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; }
body.v5 .v5-topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.v5 .v5-topbar nav { display: flex; align-items: center; gap: 4px; flex: none; }
body.v5 .v5-topbar nav span { opacity: .8; margin-right: 2px; }
body.v5 .v5-topbar nav a {
  color: #e9e4ff; text-decoration: none; padding: 2px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); transition: .2s ease;
}
body.v5 .v5-topbar nav a:hover { background: rgba(255, 255, 255, .16); }
body.v5 .v5-topbar nav a[aria-current="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); font-weight: 700; }

body.v5 .v5-nav { position: sticky; top: 10px; z-index: 220; padding: 0 12px; }
body.v5 .v5-nav-inner {
  display: flex; align-items: center; gap: 10px; min-height: 66px;
  max-width: var(--max); margin-inline: auto;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 12px 8px 16px;
  box-shadow: 0 14px 30px -22px rgba(59, 51, 85, .7);
  transition: box-shadow .3s ease, transform .3s ease;
}
body.v5 .v5-nav.scrolled .v5-nav-inner { box-shadow: 0 20px 36px -22px rgba(59, 51, 85, .75); }

body.v5 .v5-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; text-decoration: none; }
body.v5 .v5-brand-mark { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--butter); border: 2px solid #fff; box-shadow: 0 6px 14px -10px rgba(59, 51, 85, .8); }
body.v5 .v5-brand-mark svg { width: 26px; height: 26px; }
body.v5 .v5-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
body.v5 .v5-brand-text strong { font-family: var(--fun); font-size: 1.15rem; color: var(--ink); white-space: nowrap; font-weight: 400; }
body.v5 .v5-brand-text small { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

body.v5 .v5-burger {
  display: none; background: var(--butter); border: 2px solid var(--line);
  border-radius: 999px; padding: 10px 12px; cursor: pointer; flex: none;
}
body.v5 .v5-burger span { display: block; width: 20px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 3px; transition: .3s ease; }
body.v5 .v5-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.v5 .v5-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
body.v5 .v5-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.v5 .v5-menu { display: flex; align-items: center; gap: 2px; }
body.v5 .v5-menu a {
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: .22s ease; white-space: nowrap;
}
body.v5 .v5-menu a:hover { background: var(--sky); }
body.v5 .v5-menu a.on { background: var(--lilac); color: var(--grape); font-weight: 700; }
body.v5 .v5-menu .v5-cta {
  margin-left: 6px; background: var(--coral); color: #fff; font-weight: 700;
  padding: 10px 18px; box-shadow: 0 12px 24px -14px rgba(255, 122, 89, .95);
}
body.v5 .v5-menu .v5-cta:hover { background: #ff6540; color: #fff; transform: translateY(-2px) scale(1.03); }

/* ---------- 4 · buttons --------------------------------------------------- */

body.v5 .v5-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }
body.v5 .v5-actions.center { justify-content: center; }

body.v5 .btn5 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; font-family: var(--fun); font-size: 1.05rem;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, background .25s ease, color .25s ease;
}
body.v5 .btn5:hover { transform: translateY(-3px) scale(1.03); }
body.v5 .btn5:active { transform: translateY(0) scale(.99); }

body.v5 .btn5-coral { background: var(--coral); color: #fff; box-shadow: 0 16px 30px -18px rgba(255, 122, 89, 1); }
body.v5 .btn5-coral:hover { background: #ff6540; color: #fff; }
body.v5 .btn5-grape { background: var(--grape); color: #fff; box-shadow: 0 16px 30px -18px rgba(123, 140, 255, 1); }
body.v5 .btn5-grape:hover { background: #6678ff; color: #fff; }
body.v5 .btn5-leaf { background: var(--leaf); color: #fff; box-shadow: 0 16px 30px -18px rgba(55, 184, 135, 1); }
body.v5 .btn5-leaf:hover { background: #2ea679; color: #fff; }
body.v5 .btn5-soft { background: #fff; color: var(--ink); border-color: var(--line); }
body.v5 .btn5-soft:hover { background: var(--butter); }
body.v5 .btn5[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

body.v5 .v5-arrow {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-family: var(--fun); font-size: 1.02rem; color: var(--grape); font-weight: 500;
}
body.v5 .v5-arrow span { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); display: inline-block; }
body.v5 .v5-arrow:hover span { transform: translateX(6px) rotate(-6deg); }

/* ---------- 5 · hero ------------------------------------------------------ */

body.v5 .v5-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--sky) 0%, #f3f0ff 45%, var(--peach) 100%);
  padding: clamp(44px, 7vw, 84px) 0 clamp(50px, 7vw, 88px);
}
body.v5 .v5-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
body.v5 .v5-hero h1 { font-size: clamp(2.2rem, 7.5vw, 3.7rem); line-height: 1.3; margin-bottom: .25em; }
body.v5 .v5-hero h1 .h-pop { color: var(--coral); }
body.v5 .v5-hero h1 .h-sub { display: block; font-size: clamp(1.15rem, 3.6vw, 1.6rem); color: var(--grape); margin-top: .18em; }
body.v5 .v5-hero-sub { font-size: 1.02rem; color: #5d5578; max-width: 34em; }

body.v5 .v5-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8em 0 0; padding: 0; list-style: none; }
body.v5 .v5-facts div {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px;
  box-shadow: 0 10px 20px -16px rgba(59, 51, 85, .8);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-facts div:hover { transform: translateY(-3px) rotate(-1deg); }
body.v5 .v5-facts dt { font-weight: 700; font-size: .78rem; color: var(--muted); }
body.v5 .v5-facts dd { margin: 0; font-size: .9rem; font-weight: 600; }

body.v5 .v5-hero-media { position: relative; min-width: 0; }
body.v5 .v5-hero-media .tilt {
  position: relative; border-radius: var(--r-xl); padding: 14px; background: #fff;
  border: 3px solid var(--ink); box-shadow: var(--pop-lg);
  transform: rotate(-1.6deg); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-hero-media .tilt:hover { transform: rotate(0deg) scale(1.015); }
body.v5 .v5-hero-media img, body.v5 .v5-hero-media .ph, body.v5 .v5-hero-media .ph-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: calc(var(--r-xl) - 12px);
  animation: v5popIn .8s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes v5popIn { from { opacity: 0; transform: scale(.92) translateY(14px); } to { opacity: 1; transform: none; } }
body.v5 .v5-hero-media figcaption { font-size: .82rem; color: var(--muted); padding: 16px 4px 2px; }
body.v5 .v5-hero-media .img-credit { font-size: .76rem; }

body.v5 .v5-badge-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 3px solid var(--ink); border-radius: 999px;
  padding: 8px 16px; font-family: var(--fun); font-size: 1rem;
  box-shadow: var(--pop); animation: v5float 6s ease-in-out infinite;
}
body.v5 .v5-badge-float.top { top: -18px; right: 6%; }
body.v5 .v5-badge-float.bottom { bottom: 40px; left: -12px; animation-delay: -3s; }

/* intro bounce for hero copy */
body.v5 .v5-pop { opacity: 0; animation: v5popIn .75s cubic-bezier(.34, 1.56, .64, 1) both; }
body.v5 .v5-pop.d1 { animation-delay: .1s; }
body.v5 .v5-pop.d2 { animation-delay: .22s; }
body.v5 .v5-pop.d3 { animation-delay: .34s; }
body.v5 .v5-pop.d4 { animation-delay: .46s; }

/* ---------- 6 · marquee --------------------------------------------------- */

body.v5 .v5-marquee {
  overflow: hidden; background: var(--ink); color: #fff; padding: 12px 0;
  border-block: 3px dashed rgba(255, 255, 255, .25);
}
body.v5 .v5-marquee-track {
  display: inline-flex; gap: 26px; white-space: nowrap; padding-left: 26px;
  font-family: var(--fun); font-size: 1.1rem; animation: v5slide 30s linear infinite;
}
body.v5 .v5-marquee-track i { font-style: normal; color: var(--sun); }
body.v5 .v5-marquee:hover .v5-marquee-track { animation-play-state: paused; }
@keyframes v5slide { to { transform: translateX(-50%); } }

/* ---------- 7 · sections -------------------------------------------------- */

body.v5 .v5-section { padding: clamp(52px, 8vw, 88px) 0; position: relative; }
body.v5 .bg-mint { background: var(--mint); }
body.v5 .bg-peach { background: var(--peach); }
body.v5 .bg-lilac { background: var(--lilac); }
body.v5 .bg-butter { background: var(--butter); }
body.v5 .bg-pink { background: var(--pink); }
body.v5 .bg-sky { background: var(--sky); }

body.v5 .v5-sec-head { text-align: center; max-width: 700px; margin: 0 auto 38px; position: relative; z-index: 2; }
body.v5 .v5-sec-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
body.v5 .v5-sec-head p.v5-note { color: var(--muted); margin: .4em 0 0; }
body.v5 .v5-sec-head .v5-arrow { margin-top: 12px; }

body.v5 .v5-pagehero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(46px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(160deg, var(--lilac), var(--sky) 60%, var(--mint));
}
body.v5 .v5-pagehero .container { position: relative; z-index: 2; }
body.v5 .v5-pagehero h1 { font-size: clamp(2rem, 6.5vw, 3.2rem); margin-bottom: .15em; }
body.v5 .v5-pagehero .lead { color: #5d5578; max-width: 40em; margin-inline: auto; }
body.v5 .v5-pagehero .kicker a { color: var(--coral); text-decoration: none; }
body.v5 .v5-pagehero .kicker a:hover { text-decoration: underline; }
body.v5 .v5-pagehero .doodle-row { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }
body.v5 .v5-pagehero .doodle-row svg { width: 38px; height: 38px; opacity: .9; }

/* ---------- 8 · cards ------------------------------------------------------ */

body.v5 .v5-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
body.v5 .v5-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  padding: 24px 22px; box-shadow: var(--pop);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
body.v5 .v5-card:hover { transform: translateY(-7px) rotate(-.6deg); box-shadow: var(--pop-lg); }
body.v5 .v5-card h3 { font-size: 1.35rem; margin: .5em 0 .25em; }
body.v5 .v5-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1em; }
body.v5 .v5-card .v5-arrow { margin-top: auto; }
body.v5 .v5-card .corner {
  position: absolute; top: -14px; right: 18px; font-family: var(--fun);
  background: var(--sun); border: 2px solid #fff; border-radius: 999px;
  padding: 1px 12px; font-size: .85rem; transform: rotate(4deg); box-shadow: 0 8px 16px -12px rgba(59, 51, 85, .9);
}
body.v5 .v5-card-media {
  margin: -24px -22px 18px; border-radius: calc(var(--r-lg) - 3px) calc(var(--r-lg) - 3px) 0 0; overflow: hidden;
}
body.v5 .v5-card-media .ph, body.v5 .v5-card-media .ph-img, body.v5 .v5-card-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
body.v5 .v5-card:hover .v5-card-media .ph, body.v5 .v5-card:hover .v5-card-media .ph-img, body.v5 .v5-card:hover .v5-card-media img { transform: scale(1.06); }
body.v5 .v5-card-media .img-credit { display: none; }

/* ---------- 9 · news ------------------------------------------------------- */

body.v5 .v5-news { display: grid; grid-template-columns: 1fr; gap: 20px; }
body.v5 .v5-news-card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: var(--pop);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
body.v5 .v5-news-card:hover { transform: translateY(-6px) rotate(.5deg); box-shadow: var(--pop-lg); }
body.v5 .v5-news-card .ph, body.v5 .v5-news-card .ph-img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; border-radius: 0; }
body.v5 .v5-news-card .img-credit { display: none; }
body.v5 .v5-news-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
body.v5 .v5-news-body h3 { font-size: 1.25rem; margin: .15em 0 .3em; }
body.v5 .v5-news-body p { color: var(--muted); font-size: .94rem; }
body.v5 .v5-news-body .v5-arrow { margin-top: auto; padding-top: 6px; }

body.v5 .v5-empty {
  background: #fff; border: 3px dashed var(--grape); border-radius: var(--r-lg);
  text-align: center; padding: 40px 24px; position: relative;
}
body.v5 .v5-empty-title { font-family: var(--fun); font-size: 1.4rem; color: var(--ink); }
body.v5 .v5-empty p { color: var(--muted); margin-bottom: 0; }

/* ---------- 10 · fun bands -------------------------------------------------- */

body.v5 .v5-band { position: relative; overflow: hidden; padding: clamp(52px, 8vw, 88px) 0; }
body.v5 .v5-quote {
  position: relative; z-index: 2; max-width: 880px; margin-inline: auto; text-align: center;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 48px); box-shadow: var(--pop-lg);
}
body.v5 .v5-quote p.v5-quote-text {
  font-family: var(--fun); font-size: clamp(1.35rem, 4.2vw, 2.1rem);
  line-height: 1.65; color: var(--ink); margin: 0 0 .4em;
}
body.v5 .v5-quote cite { font-family: var(--fun); font-style: normal; color: var(--coral); font-size: 1.1rem; }

body.v5 .v5-missions { list-style: none; margin: 2.2em auto 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 1000px; position: relative; z-index: 2; text-align: left; }
body.v5 .v5-mission {
  display: flex; align-items: flex-start; gap: 14px; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--r-lg); padding: 16px 18px;
  box-shadow: var(--pop); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-mission:hover { transform: translateX(6px) rotate(-.4deg); }
body.v5 .v5-mission .n {
  font-family: var(--fun); font-size: 1.1rem; flex: none; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--butter); color: var(--ink);
}
body.v5 .v5-mission h3 { font-size: 1.2rem; margin-bottom: .1em; }
body.v5 .v5-mission p { color: var(--muted); font-size: .93rem; margin: 0; }

body.v5 .v5-cta {
  position: relative; z-index: 2; text-align: center; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 48px);
  box-shadow: var(--pop-lg);
}
body.v5 .v5-cta h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); }
body.v5 .v5-cta p { color: var(--muted); max-width: 42em; margin-inline: auto; }
body.v5 .v5-cta .v5-actions { justify-content: center; }

/* ---------- 11 · page blocks ------------------------------------------------ */

body.v5 .v5-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
body.v5 .v5-split .ph, body.v5 .v5-split .ph-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; }

body.v5 .v5-shot {
  position: relative; min-width: 0; background: #fff; padding: 12px;
  border: 3px solid var(--ink); border-radius: var(--r-xl); box-shadow: var(--pop-lg);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-shot:hover { transform: rotate(-.8deg) scale(1.01); }
body.v5 .v5-shot .ph, body.v5 .v5-shot .ph-img { border-radius: calc(var(--r-xl) - 12px); }

body.v5 .v5-steps { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 14px; }
body.v5 .v5-steps li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--pop);
}
body.v5 .v5-steps .n {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--fun); font-size: 1.05rem; background: var(--mint); color: var(--ink);
}
body.v5 .v5-steps h3 { font-size: 1.15rem; margin-bottom: .1em; }
body.v5 .v5-steps p { margin: 0; color: var(--muted); font-size: .94rem; }

body.v5 .v5-note-card {
  font-size: .92rem; color: var(--muted); background: #fff;
  border: 3px dashed var(--sun); border-radius: var(--r-md); padding: 14px 18px; margin-top: 1.4em;
}
body.v5 .v5-note-card strong { color: var(--ink); }

/* ---------- 12 · places ------------------------------------------------------ */

body.v5 .v5-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
body.v5 .v5-chip {
  font-family: var(--fun); font-size: 1.02rem; cursor: pointer; background: #fff;
  color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 8px 20px;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease;
}
body.v5 .v5-chip:hover { transform: translateY(-2px) scale(1.04); background: var(--butter); }
body.v5 .v5-chip.on { background: var(--grape); color: #fff; }

body.v5 .v5-place {
  display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-xl);
  padding: 20px; margin-bottom: 22px; box-shadow: var(--pop);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-place:hover { transform: translateY(-4px); }
body.v5 .v5-place[hidden] { display: none; }
body.v5 .v5-place .ph, body.v5 .v5-place .ph-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; }
body.v5 .v5-place h2 { font-size: clamp(1.4rem, 4.4vw, 1.9rem); margin: .15em 0 .25em; }
body.v5 .v5-place p { color: var(--muted); }
body.v5 .v5-place .img-credit { display: block; }
body.v5 .v5-tag {
  display: inline-block; font-family: var(--fun); font-size: .95rem;
  background: var(--peach); color: var(--ink); border-radius: 999px; padding: 2px 14px;
  border: 2px solid rgba(59, 51, 85, .12);
}
body.v5 .v5-tag.in { background: var(--mint); }

/* ---------- 13 · products ---------------------------------------------------- */

body.v5 .v5-prod { display: grid; grid-template-columns: 1fr; gap: 20px; }
body.v5 .v5-prod-card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--pop); min-width: 0;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
body.v5 .v5-prod-card:hover { transform: translateY(-7px) rotate(.5deg); box-shadow: var(--pop-lg); }
body.v5 .v5-prod-card .ph, body.v5 .v5-prod-card .ph-img {
  aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; border-radius: 0;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
body.v5 .v5-prod-card:hover .ph, body.v5 .v5-prod-card:hover .ph-img { transform: scale(1.06); }
body.v5 .v5-prod-card .img-credit { display: none; }
body.v5 .v5-prod-body { padding: 20px 22px 24px; }
body.v5 .v5-prod-body h2 { font-size: 1.35rem; }
body.v5 .v5-prod-body p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- 14 · forms / faq / notice ---------------------------------------- */

body.v5 .v5-notice {
  position: relative; background: var(--butter); border: 3px solid var(--ink);
  border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 2em; box-shadow: var(--pop);
}
body.v5 .v5-notice strong { display: block; font-family: var(--fun); font-size: 1.25rem; margin-bottom: .2em; }
body.v5 .v5-notice p { margin: 0; font-size: .95rem; }

body.v5 .v5-check { list-style: none; padding: 0; margin: 0 0 2em; display: grid; gap: 10px; }
body.v5 .v5-check li {
  position: relative; padding: 12px 16px 12px 52px; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--r-md); font-size: .97rem;
}
body.v5 .v5-check li::before {
  content: "✔"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--mint); color: var(--leaf); font-size: .95rem; font-weight: 700;
}

body.v5 .v5-form {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  padding: 24px 22px; margin: 1em 0 2.4em; box-shadow: var(--pop);
}
body.v5 .v5-form fieldset { border: none; padding: 0; margin: 0; min-width: 0; }
body.v5 .v5-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
body.v5 .v5-form input, body.v5 .v5-form select, body.v5 .v5-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 3px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: .96rem; border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.v5 .v5-form input:focus, body.v5 .v5-form select:focus, body.v5 .v5-form textarea:focus {
  border-color: var(--grape); box-shadow: 0 0 0 4px rgba(123, 140, 255, .22); outline: none;
}
body.v5 .v5-form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }

body.v5 .v5-faq { display: grid; gap: 12px; }
body.v5 .v5-faq details {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .25s ease;
}
body.v5 .v5-faq details[open] { box-shadow: var(--pop); }
body.v5 .v5-faq summary {
  cursor: pointer; font-family: var(--fun); font-size: 1.1rem; color: var(--ink);
  padding: 16px 52px 16px 20px; position: relative; list-style: none;
}
body.v5 .v5-faq summary::-webkit-details-marker { display: none; }
body.v5 .v5-faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lilac); color: var(--grape); font-size: 1.3rem; transition: transform .3s ease;
}
body.v5 .v5-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--coral); color: #fff; }
body.v5 .v5-faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: .94rem; }

body.v5 .v5-article h2 { font-size: 1.45rem; margin-top: 1.6em; }
body.v5 .v5-article h2:first-child { margin-top: 0; }
body.v5 .v5-article p { color: var(--muted); }
body.v5 .v5-article p strong { color: var(--ink); }

body.v5 .v5-address {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--pop);
}
body.v5 .v5-map-note { background: #fff; border: 3px dashed var(--grape); border-radius: var(--r-lg); padding: 24px; }
body.v5 .v5-map-note strong { display: block; font-family: var(--fun); font-size: 1.25rem; margin-bottom: .2em; }
body.v5 .v5-map-frame { width: 100%; min-height: 340px; border: 3px solid var(--ink); border-radius: var(--r-lg); }

body.v5 .v5-error-code {
  font-family: var(--fun); font-size: clamp(5rem, 22vw, 9rem); line-height: 1;
  margin: 0; color: var(--grape); text-shadow: 6px 6px 0 var(--butter);
}
body.v5 .v5-portrait { max-width: 420px; }
body.v5 .v5-portrait .ph, body.v5 .v5-portrait .ph-img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; display: block; }

/* ---------- 15 · footer ------------------------------------------------------- */

body.v5 .v5-footer {
  position: relative; overflow: hidden; background: var(--ink); color: #cfc8e8;
  border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 40px; padding-top: 58px;
}
body.v5 .v5-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40px;
  background-image: radial-gradient(circle, rgba(255, 196, 77, .5) 3px, transparent 3.2px);
  background-size: 24px 24px; opacity: .8;
}
body.v5 .v5-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; position: relative; }
body.v5 .v5-footer strong { display: block; color: var(--sun); font-family: var(--fun); font-size: 1.25rem; font-weight: 400; margin-bottom: .5em; }
body.v5 .v5-footer p { font-size: .9rem; margin: 0 0 .7em; }
body.v5 .v5-footer a { display: block; color: #ded8f5; text-decoration: none; font-size: .93rem; padding: 5px 0; transition: transform .2s ease, color .2s ease; }
body.v5 .v5-footer a:hover { color: var(--sun); transform: translateX(5px); }
body.v5 .v5-footer-note { font-size: .84rem; color: #a79fc9; background: rgba(255, 255, 255, .06); border-radius: var(--r-md); padding: 12px 14px; }
body.v5 .v5-footer .dim { color: #a79fc9; }
body.v5 .v5-footer-bottom { border-top: 2px dashed rgba(255, 255, 255, .18); }
body.v5 .v5-footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  align-items: center; padding-block: 18px; font-size: .85rem; color: #a79fc9;
}
body.v5 .v5-footer-bottom p { margin: 0; }
body.v5 .v5-footer-bottom a { display: inline; color: var(--sun); padding: 0; }

body.v5 .v5-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 300; width: 52px; height: 52px;
  border: 3px solid var(--ink); background: var(--sun); color: var(--ink);
  font-size: 1.3rem; cursor: pointer; border-radius: 50%;
  box-shadow: var(--pop); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s ease;
}
body.v5 .v5-top:hover { transform: translateY(-5px) scale(1.08) rotate(8deg); background: var(--coral); color: #fff; }
body.v5 .v5-top[hidden] { display: none; }

/* ---------- 16 · reveal --------------------------------------------------------- */

body.v5 .v5-reveal { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
body.v5 .v5-reveal.in { opacity: 1; transform: none; }
body.v5 .v5-reveal[data-delay="1"] { transition-delay: .08s; }
body.v5 .v5-reveal[data-delay="2"] { transition-delay: .16s; }
body.v5 .v5-reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- 17 · responsive ------------------------------------------------------ */

@media (min-width: 640px) {
  body.v5 .v5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.v5 .v5-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.v5 .v5-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.v5 .v5-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.v5 .v5-missions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  body.v5 .v5-hero-grid { grid-template-columns: 1.02fr .98fr; gap: 48px; }
  body.v5 .v5-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  body.v5 .v5-split.flip > :first-child { order: 2; }
  body.v5 .v5-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.v5 .v5-prod { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  body.v5 .v5-place { grid-template-columns: 1fr 1fr; gap: 30px; padding: 24px; }
  body.v5 .v5-place.flip > :first-child { order: 2; }
  body.v5 .v5-missions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.v5 .v5-footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.1fr; }
  body.v5 .v5-portrait { max-width: none; }
}

@media (min-width: 1080px) {
  body.v5 .v5-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  body.v5 .v5-burger { display: block; }
  body.v5 .v5-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    padding: 84px 20px 30px; background: var(--paper); border-left: 3px solid var(--ink);
    border-radius: var(--r-xl) 0 0 var(--r-xl);
    transform: translateX(105%); transition: transform .4s cubic-bezier(.34, 1.4, .64, 1);
    overflow-y: auto; z-index: 240; box-shadow: -30px 0 60px -40px rgba(59, 51, 85, .9);
  }
  body.v5 .v5-menu.open { transform: none; }
  body.v5 .v5-menu a { font-size: 1.1rem; padding: 13px 16px; background: #fff; border: 2px solid var(--line); border-radius: var(--r-md); }
  body.v5 .v5-menu a.on { background: var(--lilac); color: var(--grape); border-color: var(--grape); }
  body.v5 .v5-menu .v5-cta { margin: 14px 0 0; text-align: center; background: var(--coral); color: #fff; border-color: var(--coral); }
  body.v5 .v5-scrim {
    position: fixed; inset: 0; background: rgba(59, 51, 85, .45); z-index: 230;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  }
  body.v5 .v5-scrim.open { opacity: 1; visibility: visible; }
  body.v5 .v5-badge-float.top { right: 2%; }
  body.v5 .v5-badge-float.bottom { left: 0; }
}

@media (min-width: 1024px) {
  body.v5 .v5-scrim { display: none; }
}

@media (max-width: 480px) {
  body.v5 .v5-badge-float { display: none; }
}

/* ---------- 18 · reduced motion -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.v5 .v5-reveal { opacity: 1; transform: none; transition: none; }
  body.v5 .v5-pop { opacity: 1; animation: none; }
  body.v5 .blob, body.v5 .sparkle, body.v5 .v5-badge-float { animation: none; }
  body.v5 .v5-marquee-track { animation: none; }
  body.v5 .v5-hero-media img, body.v5 .v5-hero-media .ph, body.v5 .v5-hero-media .ph-img { animation: none; }
  body.v5 .btn5, body.v5 .v5-card, body.v5 .v5-news-card, body.v5 .v5-prod-card,
  body.v5 .v5-place, body.v5 .v5-shot, body.v5 .v5-mission, body.v5 .v5-top { transition: none; }
  body.v5 .btn5:hover, body.v5 .v5-card:hover, body.v5 .v5-news-card:hover,
  body.v5 .v5-prod-card:hover, body.v5 .v5-place:hover, body.v5 .v5-shot:hover { transform: none; }
}

/* ---------- 19 · activities gallery + lightbox -------------------------- */

body.v5 .v5-gal-count {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 3px dashed var(--grape); border-radius: 999px;
  padding: 6px 18px; font-size: .95rem; color: var(--muted); margin: 0;
}
body.v5 .v5-gal-count strong { font-family: var(--fun); font-size: 1.3rem; color: var(--coral); }

body.v5 .v5-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.v5 .v5-gallery-item { margin: 0; min-width: 0; transition-delay: calc(min(var(--i, 0), 8) * .06s); }
body.v5 .v5-gallery-item figcaption { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 7px; }

body.v5 .v5-shot-btn {
  position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--pop);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
body.v5 .v5-shot-btn img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lilac);
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
body.v5 .v5-gallery-item:nth-child(odd) .v5-shot-btn { transform: rotate(-1.3deg); }
body.v5 .v5-gallery-item:nth-child(even) .v5-shot-btn { transform: rotate(1.1deg); }
body.v5 .v5-shot-btn:hover, body.v5 .v5-shot-btn:focus-visible {
  transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: var(--pop-lg);
}
body.v5 .v5-shot-btn:hover img, body.v5 .v5-shot-btn:focus-visible img { transform: scale(1.09); }
body.v5 .v5-shot-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; background: var(--sun);
  border: 2px solid var(--ink); color: var(--ink); font-size: 1.05rem; line-height: 1;
  opacity: 0; transform: scale(.5) rotate(-25deg);
  transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
body.v5 .v5-shot-btn:hover .v5-shot-zoom,
body.v5 .v5-shot-btn:focus-visible .v5-shot-zoom { opacity: 1; transform: none; }

/* one extra menu item: keep the desktop nav comfortable */
@media (min-width: 1024px) and (max-width: 1279px) {
  body.v5 .v5-menu a { font-size: .87rem; padding: 7px 9px; }
  body.v5 .v5-menu .v5-cta { padding: 8px 13px; margin-left: 4px; }
}

@media (min-width: 700px) {
  body.v5 .v5-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) {
  body.v5 .v5-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  body.v5 .v5-gallery-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  body.v5 .v5-gallery-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* lightbox */
body.v5 .v5-lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center; gap: 8px; padding: 64px 14px 24px;
  background: rgba(31, 25, 60, .94); animation: v5lb-in .22s ease;
}
body.v5 .v5-lightbox[hidden] { display: none; }
@keyframes v5lb-in { from { opacity: 0; } to { opacity: 1; } }
body.v5 .v5-lb-figure { margin: 0; text-align: center; min-width: 0; }
body.v5 .v5-lb-figure img {
  max-width: 100%; max-height: 76vh; border-radius: var(--r-md);
  border: 3px solid #fff; box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9);
  animation: v5lb-pop .3s cubic-bezier(.34, 1.56, .64, 1); background: var(--lilac);
}
@keyframes v5lb-pop { from { transform: scale(.92); opacity: .35; } to { transform: none; opacity: 1; } }
body.v5 .v5-lb-figure figcaption { color: #efeaff; font-size: .9rem; margin-top: 10px; }
body.v5 .v5-lb-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink);
  background: var(--sun); color: var(--ink); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--pop);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
body.v5 .v5-lb-btn:hover { transform: scale(1.12); background: var(--coral); color: #fff; }
body.v5 .v5-lb-prev { grid-column: 1; justify-self: center; }
body.v5 .v5-lb-next { grid-column: 3; justify-self: center; }
body.v5 .v5-lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 640px) {
  body.v5 .v5-lightbox { grid-template-columns: minmax(0, 1fr); padding: 64px 14px 76px; }
  body.v5 .v5-lb-figure { grid-row: 1; }
  body.v5 .v5-lb-prev, body.v5 .v5-lb-next {
    position: absolute; bottom: 16px; grid-column: auto;
  }
  body.v5 .v5-lb-prev { left: 18px; }
  body.v5 .v5-lb-next { right: 18px; }
}

/* ---------- 20 · reduced motion (gallery) ------------------------------- */

@media (prefers-reduced-motion: reduce) {
  body.v5 .v5-gallery-item { transition-delay: 0s; }
  body.v5 .v5-shot-btn, body.v5 .v5-shot-btn img, body.v5 .v5-shot-zoom,
  body.v5 .v5-lb-btn { transition: none; }
  body.v5 .v5-shot-btn:hover, body.v5 .v5-shot-btn:focus-visible { transform: none; }
  body.v5 .v5-shot-btn:hover img, body.v5 .v5-shot-btn:focus-visible img { transform: none; }
  body.v5 .v5-shot-zoom { opacity: 1; transform: none; }
  body.v5 .v5-lightbox, body.v5 .v5-lb-figure img { animation: none; }
  body.v5 .v5-lb-btn:hover { transform: none; }
}
