/* Francovilla Egyesület */

:root {
  --yellow: #e39035;
  --yellow-soft: #fbeedd;
  --blue: #006b91;
  --blue-dark: #00506d;
  --blue-soft: #e3f0f4;
  --bg: #faf6f0;
  --text: #1f2a30;
  --muted: #56646b;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(31, 42, 48, .25);
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--yellow); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  color: var(--text);
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; }

p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 107, 145, .08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img.brand-logo { width: 44px; height: 44px; border-radius: 10px; }
.brand img.brand-text { width: 150px; height: auto; }
.brand-text, .hero-title-img { mix-blend-mode: multiply; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--bg);
  padding: 1rem 1.25rem 2rem;
  box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.nav-open .main-nav { transform: none; visibility: visible; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .85rem .5rem;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static; transform: none; visibility: visible;
    background: none; box-shadow: none; padding: 0;
  }
  .main-nav ul { display: flex; gap: .25rem; }
  .main-nav a {
    font-size: 1rem; padding: .5rem .9rem; border: 0; border-radius: 999px;
  }
  .main-nav a:hover { background: var(--blue-soft); color: var(--blue); }
  .main-nav a.nav-cta { background: var(--yellow); color: #fff; }
  .main-nav a.nav-cta:hover { background: var(--blue); color: #fff; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; line-height: 1.2;
  background: var(--blue); color: #fff;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--yellow); color: #fff; transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); }
.btn-yellow:hover { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 10vw, 7.5rem) 0; position: relative; }
.section[id] { scroll-margin-top: var(--header-h); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h2, .section-blue h3 { color: #fff; }
.section-soft { background: var(--yellow-soft); }
.section-blue-soft { background: var(--blue-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}
.section-blue .eyebrow { color: #ffd29e; }

.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.6; color: var(--muted); }
.section-blue .lead { color: rgba(255, 255, 255, .85); }

.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }

/* ---------- Hero ---------- */

.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; position: relative; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-title-img { width: min(420px, 85%); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-collage { position: relative; min-height: 360px; }
.hero-collage figure {
  position: absolute; margin: 0; background: #fff; padding: 8px 8px 30px;
  border-radius: 6px; box-shadow: var(--shadow);
}
.hero-collage figure img { border-radius: 3px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-collage .p1 { width: 66%; top: 0; left: 0; transform: rotate(-4deg); z-index: 2; }
.hero-collage .p2 { width: 52%; top: 18%; right: 0; transform: rotate(5deg); z-index: 1; }
.hero-collage .p3 { width: 48%; top: 52%; left: 18%; transform: rotate(-1deg); z-index: 3; }
.hero-collage figcaption {
  position: absolute; bottom: 6px; left: 12px; right: 12px;
  font-family: var(--font-head); font-size: .85rem; color: var(--muted);
}

.sun {
  position: absolute; pointer-events: none; color: var(--yellow); opacity: .14;
}
.sun svg { width: 100%; height: 100%; }
.hero .sun { width: 300px; height: 300px; right: -120px; top: -90px; opacity: .1; }
@media (min-width: 900px) { .hero .sun { width: 520px; height: 520px; right: -160px; top: -140px; opacity: .14; } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; }
  .hero-collage { min-height: 520px; }
}

/* ---------- Intro ---------- */

.split { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.origin-card {
  display: flex; gap: 1.25rem; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow);
  margin: 2rem 0;
}
.origin-card img { width: 84px; height: 84px; border-radius: 14px; flex: none; }
.origin-card p { margin: 0; font-size: .97rem; color: var(--muted); }

.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.principles li {
  position: relative; padding: 1rem 1.25rem 1rem 3.2rem;
  background: #fff; border-radius: var(--radius-sm); box-shadow: 0 2px 0 rgba(0, 107, 145, .08);
}
.principles li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.4rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 5px var(--yellow-soft);
}
.principles-title { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 1rem; color: var(--blue); }

/* ---------- Goals ---------- */

.goals { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goal {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 1.75rem;
  transition: background .25s, transform .25s;
}
.goal:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.goal-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: var(--yellow); color: #fff;
}
.goal-icon svg { width: 26px; height: 26px; }
.goal p { margin: 0; font-size: 1.08rem; line-height: 1.55; }

/* ---------- Values ---------- */

.values { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.values li {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  padding: .7rem 1.4rem; border-radius: 999px;
  background: #fff; color: var(--blue); box-shadow: var(--shadow);
}
.values li:nth-child(3n+2) { background: var(--yellow); color: #fff; }
.values li:nth-child(3n) { background: var(--blue); color: #fff; }
.values li:nth-child(odd) { transform: rotate(-1.5deg); }
.values li:nth-child(even) { transform: rotate(1.5deg); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 52ch; }

/* ---------- Project cards ---------- */

.cards { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards .card { grid-column: span 2; }
  .cards .card.wide { grid-column: span 3; }
}
.card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); color: var(--text); box-shadow: 0 22px 40px -18px rgba(31, 42, 48, .35); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--blue-soft); position: relative; }
.card.wide .card-media { aspect-ratio: 16/9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media.graphic { display: grid; place-items: center; background: var(--blue); color: rgba(255, 255, 255, .9); }
.card-media.graphic svg { width: 42%; height: auto; }
.card-media.graphic.yellow { background: var(--yellow); }
.card-tag {
  position: absolute; left: 1rem; top: 1rem;
  background: rgba(255, 255, 255, .92); color: var(--blue);
  font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: 999px;
}
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--muted); font-size: .98rem; margin-bottom: 1.2rem; }
.card-more { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .4rem; }
.card:hover .card-more { color: var(--yellow); }

/* ---------- Contact block ---------- */

.contact-box {
  background: var(--blue); color: #fff; border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden;
  display: grid; gap: 2rem;
}
.contact-box h2 { color: #fff; }
.contact-box .lead { color: rgba(255, 255, 255, .85); }
.contact-box .sun { width: 380px; height: 380px; right: -120px; bottom: -160px; color: #fff; opacity: .1; }
.contact-links { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; }
.contact-box .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.contact-box .btn-ghost:hover { background: #fff; color: var(--blue); }
.contact-mail {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.6rem); color: #fff; text-decoration: none;
  word-break: break-word;
}
.contact-mail:hover { color: #ffd29e; }

/* ---------- Footer ---------- */

.site-footer { background: #10262f; color: rgba(255, 255, 255, .75); padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 64px; border-radius: 12px; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem;
}

/* ---------- Subpages ---------- */

.page-hero { position: relative; color: #fff; background: var(--blue); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 40, 56, .25) 0%, rgba(0, 40, 56, .78) 100%);
}
.page-hero .wrap { position: relative; padding: clamp(6rem, 18vw, 12rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .9); max-width: 46ch; margin: 0; }
.page-hero.plain { background: var(--blue); }
.page-hero.plain.yellow { background: var(--yellow); }
.page-hero.plain .wrap { padding-top: clamp(4rem, 10vw, 7rem); }
.page-hero .sun { width: 460px; height: 460px; right: -120px; top: -120px; color: #fff; opacity: .12; }

.breadcrumb { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: #fff; opacity: .85; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; color: #ffd29e; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-top: 2.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--yellow); }

.facts { display: grid; gap: 1rem; margin: 2.5rem 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: #fff; border-radius: var(--radius-sm); padding: 1.25rem 1.4rem; box-shadow: 0 2px 0 rgba(0, 107, 145, .08); }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--blue); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .92rem; }

.datasheet { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); margin: 2rem 0; }
.datasheet dl { margin: 0; display: grid; gap: 0; }
.datasheet div { display: grid; gap: .2rem; padding: .9rem 0; border-bottom: 1px dashed rgba(0, 107, 145, .2); }
.datasheet div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .datasheet div { grid-template-columns: 220px 1fr; gap: 1.5rem; } }
.datasheet dt { color: var(--muted); font-size: .92rem; }
.datasheet dd { margin: 0; font-weight: 600; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 2rem 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: rgba(0, 107, 145, .18); }
.timeline li { position: relative; padding: 0 0 1.4rem 2.2rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--yellow);
}
.timeline time { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .95rem; }

/* Event blocks (e.g. BICAJ) */
.event { padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid rgba(0, 107, 145, .12); }
.event:first-of-type { border-top: 0; padding-top: 0; }
.event-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1rem; }
.event-head h2 { margin: 0; }
.event-date { background: var(--yellow-soft); color: #9c5a12; font-weight: 600; font-size: .9rem; padding: .3rem .8rem; border-radius: 999px; }
.event-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .event-grid { grid-template-columns: 1.3fr .7fr; } }
.poster { margin: 0; background: #fff; padding: 10px; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(2deg); max-width: 320px; }
.poster img { border-radius: 4px; }
.poster figcaption { font-size: .85rem; color: var(--muted); padding-top: .5rem; text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 2rem 0; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .9rem; } }
@media (min-width: 1100px) { .gallery.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--blue-soft); }
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery-title { font-family: var(--font-head); font-size: 1.15rem; color: var(--blue); margin: 2.5rem 0 0; }

.links-box { background: var(--blue-soft); border-radius: var(--radius); padding: 1.75rem; margin: 2.5rem 0; }
.links-box h3 { font-size: 1.1rem; margin-bottom: .8rem; color: var(--blue); }
.links-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.links-box a { word-break: break-word; font-size: .95rem; }

.note { border-left: 4px solid var(--yellow); background: var(--yellow-soft); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 2rem 0; }

.funding-grid { display: grid; gap: 1.5rem; align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.funding-grid .datasheet { margin: 0; }
@media (min-width: 640px) { .funding-grid .datasheet div { grid-template-columns: 170px 1fr; } }
.prose .eyebrow + h2 { margin-top: 0; }
.funding-grid { max-width: 720px; }
.funding-logo { margin: 0; width: 100%; max-width: 420px; background: #fff; padding: 1rem; border-radius: var(--radius-sm); }

.more-projects { background: var(--blue-soft); }
.more-projects .cards { margin-top: 2rem; }
@media (min-width: 1000px) { .more-projects .cards { grid-template-columns: repeat(3, 1fr); } .more-projects .cards .card { grid-column: auto; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 22, 28, .94); padding: 3.5rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; border-radius: 6px; object-fit: contain; }
.lightbox button {
  position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--yellow); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .9rem; padding: 0 4rem; }

/* Funding badge */
.funding-badge {
  position: fixed; right: 0; top: 75px; z-index: 90;
  display: block; width: 400px; max-height: 25vh; aspect-ratio: 1339 / 940;
  animation: badge-in .7s cubic-bezier(.2, .8, .2, 1) .6s both;
  transition: transform .2s;
}
.funding-badge:hover { transform: translateY(-3px); }
.funding-badge img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.funding-badge--scroll { position: absolute; }
@media (max-width: 640px) {
  .funding-badge { width: auto; height: 20vh; max-height: 20vh; max-width: 45vw; animation-name: badge-up; }
  .funding-badge:not(.funding-badge--scroll) { top: auto; bottom: 0; }
}
@keyframes badge-in { from { opacity: 0; transform: translateY(-20px); } }
@keyframes badge-up { from { opacity: 0; transform: translateY(100%); } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
