:root {
  --bg-dark: #05100d; --bg-dark2: #0a1c17; --teal: #12b196; --teal-d: #0b6b5a; --teal-xd: #073f35;
  --amber: #f6a821; --amber-l: #ffc861; --paper: #f6f5ef; --white: #fff; --ink: #0d1b17; --muted: #52645e; --line: #e3e1d8;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --shadow: 0 18px 50px rgba(5, 30, 24, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
h3 { font-size: 1.28rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- announcement + nav ---------- */
.announce { background: linear-gradient(90deg, var(--teal-d), var(--teal-xd)); color: #fff; text-align: center; font-size: .9rem; padding: 9px 16px; font-weight: 500; }
.announce a { color: var(--amber-l); font-weight: 700; margin-left: 8px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 16, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); transition: background .25s; }
.nav.scrolled { background: rgba(5, 16, 13, .94); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 20px rgba(18, 177, 150, .25); }
.brand b { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.links { display: flex; gap: 6px; align-items: center; }
.links a { text-decoration: none; color: rgba(255, 255, 255, .74); font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.links a:hover, .links a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .2); color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 940px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .links { position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; align-items: stretch; background: rgba(5, 16, 13, .98); padding: 12px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); display: none; }
  .links.open { display: flex; }
  .links a { padding: 14px 12px; font-size: 1.05rem; }
}

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: #2a1a00; box-shadow: 0 10px 30px rgba(246, 168, 33, .32); }
.btn-amber:hover { background: var(--amber-l); box-shadow: 0 14px 36px rgba(246, 168, 33, .42); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-teal { background: var(--teal-d); color: #fff; }
.btn-teal:hover { background: var(--teal-xd); box-shadow: var(--shadow); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; margin-top: -74px; padding: 170px 0 150px;
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(18, 177, 150, .26), transparent 62%),
    radial-gradient(640px 420px at 96% 78%, rgba(246, 168, 33, .2), transparent 62%),
    linear-gradient(180deg, #05100d, #071813); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--teal); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--amber-l); }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .74); max-width: 560px; margin-bottom: 34px; line-height: 1.6; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-art > img.glow { width: min(400px, 78%); height: auto; filter: drop-shadow(0 30px 60px rgba(18,177,150,.28)); animation: float 9s ease-in-out infinite; }
.hero-art > img.custom { width: min(360px, 80%); border-radius: 28px; animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.glass { position: absolute; left: -2%; bottom: 4%; width: 270px; padding: 16px 18px; border-radius: 20px; background: rgba(10, 28, 23, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.glass small { color: rgba(255, 255, 255, .6); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.glass .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.glass .row b { font-size: 1.05rem; }
.glass .row em { font-style: normal; color: #5ff0cf; font-weight: 800; font-size: 1.15rem; }
.glass .tag { display: inline-flex; margin-top: 10px; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(95, 240, 207, .14); color: #5ff0cf; }
@media (max-width: 900px) {
  .hero { padding: 130px 0 120px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; order: -1; margin-bottom: -20px; }
  .hero-art > img.glow { width: min(300px, 80%); }
  .glass { display: none; }
}

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -70px; }
.stats-in { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); background: #fff; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 34px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--teal-d); line-height: 1.1; font-weight: 600; }
.stat span { color: var(--muted); font-weight: 500; font-size: .95rem; }
@media (max-width: 700px) { .stats-in { grid-template-columns: 1fr; } .stat + .stat::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; } }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec.white { background: #fff; }
.sec.dark { background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark2)); color: #fff; }
.sec.dark .eyebrow { color: var(--amber-l); }
.sec.dark .muted { color: rgba(255, 255, 255, .66); }
.muted { color: var(--muted); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head p { font-size: 1.1rem; }
.sec-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .sec { padding: 72px 0; } .sec-head { margin-bottom: 36px; } }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-text { display: grid; gap: 18px; font-size: 1.1rem; color: #33463f; }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.pillar .ico { flex: none; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } }

.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(18, 177, 150, .16), rgba(18, 177, 150, .06)); color: var(--teal-d); border: 1px solid rgba(18, 177, 150, .22); }
.ico svg { width: 26px; height: 26px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(18, 177, 150, .4); }
.card .ico { margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- impact stories ---------- */
.stories { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.story { display: flex; flex-direction: column; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; transition: transform .25s, border-color .25s, background .25s; }
.story:hover { transform: translateY(-6px); border-color: rgba(246, 168, 33, .5); background: rgba(255, 255, 255, .07); }
.story .pic { aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--teal-d), var(--teal-xd)); position: relative; overflow: hidden; }
.story .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.story:hover .pic img { transform: scale(1.05); }
.story .pic.empty { display: grid; place-items: center; }
.story .pic.empty img { width: 38%; height: auto; opacity: .8; object-fit: contain; }
.story .chip { position: absolute; left: 14px; top: 14px; background: rgba(5, 16, 13, .72); backdrop-filter: blur(8px); color: var(--amber-l); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.story .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.story h3 { font-size: 1.35rem; }
.story p { color: rgba(255, 255, 255, .68); font-size: .97rem; }
.story .meta { margin-top: auto; padding-top: 8px; font-size: .82rem; color: rgba(255, 255, 255, .5); display: flex; gap: 10px; flex-wrap: wrap; }
.story.featured, .story.wide { flex-direction: row; }
.story.featured { grid-column: span 2; }
.story.wide .pic { flex: 1; aspect-ratio: auto; min-height: 240px; }
.story.wide .body { flex: 1; justify-content: center; padding: 30px; }
.story.wide h3 { font-size: 1.6rem; }
.story.featured .pic { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.story.featured .body { flex: 1; padding: 34px; justify-content: center; }
.story.featured h3 { font-size: 1.9rem; }
.story.featured .meta { margin-top: 12px; }
@media (max-width: 960px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stories { grid-template-columns: 1fr; } .story.featured, .story.wide { grid-column: auto !important; flex-direction: column; } .story.wide .pic { min-height: 0; aspect-ratio: 16 / 11; flex: none; } .story.wide .body { padding: 24px; } .story.featured .pic { min-height: 0; aspect-ratio: 16 / 11; flex: none; } .story.featured .body { padding: 24px; } .story.featured h3 { font-size: 1.5rem; } }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: var(--r); color: rgba(255, 255, 255, .66); }
.empty-state img { width: 120px; margin: 0 auto 10px; }
.more-row { margin-top: 40px; text-align: center; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: #2a1a00; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- app ---------- */
.app { position: relative; overflow: hidden; color: #fff; background: radial-gradient(700px 400px at 90% 20%, rgba(246, 168, 33, .2), transparent 60%), linear-gradient(135deg, var(--teal-d), var(--teal-xd)); }
.app-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.app .eyebrow { color: var(--amber-l); }
.app .btn { margin-top: 28px; }
.app .fine { margin-top: 14px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.ticks { list-style: none; margin: 0; padding: 30px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; display: grid; gap: 16px; backdrop-filter: blur(6px); }
.ticks li { padding-left: 36px; position: relative; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%232a1a00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (max-width: 860px) { .app-in { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(18, 177, 150, .5); box-shadow: 0 10px 30px rgba(5, 30, 24, .08); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; padding: 22px 36px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--teal-d); font-family: var(--sans); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info { display: grid; gap: 14px; margin-top: 32px; }
.info a, .info div.i { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, transform .2s; }
.info a:hover { border-color: var(--teal); transform: translateX(4px); }
.info .ico { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.info .ico svg { width: 22px; height: 22px; }
.info small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.info b { font-weight: 600; word-break: break-word; }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-xd); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--amber); color: #2a1a00; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form h3 { font-size: 1.5rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea { font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); min-height: 52px; width: 100%; transition: border-color .15s, background .15s; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(18, 177, 150, .15); }
.form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form .msg { padding: 14px 16px; border-radius: 14px; font-weight: 600; display: none; }
.form .msg.ok { display: block; background: #dcf5ec; color: #0b5f4c; }
.form .msg.err { display: block; background: #fde8e6; color: #a1281d; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form { padding: 26px; } .form .two { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--bg-dark); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot .brand { margin-bottom: 18px; }
.foot h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--amber-l); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .86rem; color: rgba(255, 255, 255, .5); }
.foot .legal { max-width: 620px; }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- impact list + story page ---------- */
.page-hero { margin-top: -74px; padding: 150px 0 70px; color: #fff; background: radial-gradient(800px 360px at 80% 20%, rgba(18, 177, 150, .22), transparent 60%), linear-gradient(180deg, #05100d, #08201a); }
.page-hero .eyebrow { color: var(--amber-l); }
.page-hero p { color: rgba(255, 255, 255, .72); font-size: 1.15rem; max-width: 640px; margin-top: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; transition: all .15s; }
.filters button:hover { border-color: #fff; color: #fff; }
.filters button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #2a1a00; }
.article { max-width: 820px; margin: 0 auto; }
.article .cover { aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; margin: -70px 0 40px; box-shadow: var(--shadow); background: var(--teal-xd); position: relative; z-index: 2; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-bottom: 14px; font-weight: 500; }
.article .meta .chip { background: var(--teal-xd); color: var(--amber-l); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.article h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 28px; color: var(--ink); }
.prose { font-size: 1.15rem; line-height: 1.8; color: #2a3b36; display: grid; gap: 22px; }
.prose p { white-space: pre-line; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.gallery button { padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--teal-xd); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.share { display: flex; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 8, 6, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .x { top: 20px; right: 20px; } .lightbox .p { left: 20px; top: 50%; } .lightbox .n { right: 20px; top: 50%; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
.load-error { padding: 120px 24px; text-align: center; color: #fff; background: var(--bg-dark); }
