/* HNA Charity: colours, type and spacing taken from the Framer project (16/11/2026) */
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/fonts/inter-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-700.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --white: #fff;
  --black: #000;
  --bg: #f0f1f2;
  --red: #c50502;
  --green: #378f49;
  --grey-100: #3d3d3d;
  --grey-90: #808080;
  --grey-80: #b3b3b3;
  --dark-90: #121212;
  --dark-60: #333;
  --white-20: rgba(255, 255, 255, .2);
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--black); font-family: var(--text); font-size: 16px; line-height: 1.4; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; }
button { font: inherit; color: inherit; }
.red { color: var(--red); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.section { padding: 100px var(--pad); }
img.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border-radius: 999px; font-family: var(--text); font-weight: 500; font-size: 16px; line-height: 1.2; letter-spacing: 0; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn .i { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--white); border: 1px solid var(--red); }
.btn-red:hover { background: #a90402; }
.btn-white { background: var(--white); color: var(--black); border: 1px solid var(--black); }
.btn-white:hover { background: var(--bg); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); min-width: 156px; justify-content: flex-start; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-text { color: var(--red); padding: 0; min-height: 0; background: none; border: 0; }
.btn-text:hover .i { transform: translate(2px, -2px); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- section heads ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--black); }
.tag .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; }
.tag-light { color: var(--white); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sec-head h2, .about-lead { font-family: var(--display); font-weight: 600; font-size: 42px; line-height: 1.3; letter-spacing: -0.03em; max-width: 610px; }
.sec-head .sub { color: var(--grey-100); max-width: 380px; }
.sec-head .btn { margin-top: 8px; }
.sec-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.sec-head.split > div { display: flex; flex-direction: column; gap: 16px; }
.sec-head.split .sub { padding-bottom: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col.center-y { align-items: center; }
.framed { border: 4px solid var(--white); border-radius: var(--radius); overflow: hidden; background: var(--dark-60); }
.framed-none { border: 0; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; position: relative; width: 700px; max-width: 100%; height: 80px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 28px; border-radius: 999px; background: rgba(5, 5, 5, .55); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); }
.logo { font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.is-home .logo { color: var(--red); }
.logo-long { display: none; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 500; font-size: 16px; }
.nav-links > a:not(.btn) { opacity: .95; transition: opacity .2s; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"] { opacity: .7; }
.nav-donate { margin-left: 74px; }
.nav-donate .i { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-toggle .close { display: none; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 100px var(--pad) 80px; color: var(--white); background: var(--black); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.95) 100%), linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.hero-tagline { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--green); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: 96px; line-height: 1.1; letter-spacing: -0.04em; max-width: 90%; }
.hero-sub { max-width: 400px; margin-top: 8px; font-size: 16px; }
.hero .btn-row { margin-top: 40px; }

/* ---------- inner page heroes ---------- */
.hero-inner, .hero-project { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 180px var(--pad) 40px; }
.hero-inner-bg { position: absolute; inset: 0; }
.hero-inner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: blur(4px); -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.22) 0%, #000 30%, rgba(0,0,0,.77) 70%, rgba(0,0,0,.11) 100%); mask-image: linear-gradient(0deg, rgba(0,0,0,.22) 0%, #000 30%, rgba(0,0,0,.77) 70%, rgba(0,0,0,.11) 100%); }
.hero-inner-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: rgba(5, 5, 5, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
.hero-inner-content, .hero-project-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-inner-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-inner-text { display: flex; flex-direction: column; gap: 24px; }
.hero-inner h1, .hero-project h1 { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1.2; letter-spacing: -0.04em; max-width: 640px; }
.hero-inner-sub { color: var(--grey-80); max-width: 380px; }
.hero-shape { width: 200px; height: 200px; flex: none; opacity: .7; }
.pill { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 16px; color: var(--white); }
.pill-red { color: var(--red); border-color: rgba(197, 5, 2, .35); background: rgba(5, 5, 5, .4); }

/* project hero */
.hero-project { padding-bottom: 0; }
.hero-project h1 { max-width: 760px; }
.hero-date { color: var(--grey-80); font-size: 16px; }
.project-img { width: 100%; height: 460px; margin-top: 24px; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-project::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: var(--bg); z-index: 0; }

/* ---------- home: about teaser ---------- */
.about-teaser-img { height: 354px; }

/* ---------- home: impact ---------- */
.impact-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.impact-card { position: relative; height: 300px; border-radius: 20px; overflow: hidden; border: 4px solid var(--white); background: var(--dark-60); color: var(--white); }
.impact-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%); }
.impact-text { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.impact-num { font-family: var(--display); font-weight: 600; font-size: 48px; line-height: 52px; letter-spacing: -0.02em; }
.impact-label { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.4; margin-top: 4px; }
.impact-sub { color: var(--grey-80); font-size: 14px; }

/* ---------- home: how you can help ---------- */
.help { background: var(--black); color: var(--white); }
.help .sec-head h2 { color: var(--white); }
.help .sub { color: var(--grey-80); }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; margin: -2px; }
.carousel-track::-webkit-scrollbar { display: none; }
.help-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; height: 552px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 20px; overflow: hidden; border: 3px solid var(--white); background: #1a1a1a; }
.help-img { position: absolute; inset: 0; }
.help-img img { filter: grayscale(.2); }
.help-body { position: relative; z-index: 1; padding: 120px 24px 26px; background: linear-gradient(180deg, rgba(197,5,2,0) 0%, rgba(197,5,2,.75) 45%, #c50502 100%); display: flex; flex-direction: column; gap: 10px; }
.help-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--white-20); display: grid; place-items: center; margin-bottom: 6px; }
.help-icon svg { width: 22px; height: 22px; }
.help-card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.3; }
.help-card p { font-size: 14px; color: rgba(255,255,255,.88); }
.carousel-arrows { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--black); display: grid; place-items: center; cursor: pointer; transition: opacity .2s; }
.arrow svg { width: 20px; height: 20px; }
.arrow[disabled] { opacity: .4; cursor: default; }
.help-foot { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.help-foot .sub { max-width: 380px; flex: none; }
.help-foot .line { flex: 1; height: 1px; background: var(--grey-80); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: linear-gradient(100deg, #fff 45%, #fdf1f0 100%); border-radius: 16px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.9), 0 0 0 1px rgba(197,5,2,.06), 0 4px 14px rgba(197,5,2,.06); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 20px; height: 20px; flex: none; color: var(--grey-100); transition: transform .25s; }
.faq-item[open] summary .i { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--grey-100); }

/* ---------- join us ---------- */
.join-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 24px; }
.join-card { position: relative; border-radius: 20px; overflow: hidden; border: 4px solid var(--white); background: var(--dark-60); }
.join-big { min-height: 580px; }
.join-big img { position: absolute; inset: 0; }
.join-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.75) 100%); }
.join-big-text { position: absolute; left: 28px; bottom: 28px; z-index: 1; color: var(--white); font-family: var(--display); font-weight: 500; font-size: 32px; line-height: 1.3; }
.join-side { display: flex; flex-direction: column; gap: 24px; }
.join-small { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join-small .join-card { height: 250px; }
.join-dark { flex: 1; background: var(--black); color: var(--white); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.join-dark-title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.4; max-width: 360px; }
.join-count { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 58px; color: var(--red); letter-spacing: -0.02em; }
.join-count-label { margin: 8px 0 16px; font-size: 14px; }

/* ---------- about page ---------- */
.about-story .container { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.about-lead { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; text-align: center; max-width: 1000px; }
.about-story-img { width: 100%; height: 470px; }
.about-text { max-width: 1100px; text-align: center; color: var(--grey-100); display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.mission-img { height: 330px; }
.vision { background: var(--black); color: var(--white); }
.vision .sec-head h2 { color: var(--white); }
.vision .sub { color: var(--grey-80); }
.vision-img { height: 330px; }

/* ---------- contact ---------- */
.contact .container { display: flex; flex-direction: column; gap: 24px; }
.contact-img { height: 480px; }
.info-cards { display: flex; flex-direction: column; gap: 20px; }
.info-card { display: flex; align-items: center; gap: 20px; background: var(--white); border-radius: 16px; padding: 14px 16px; }
.info-card strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; }
.info-card span span { font-size: 14px; }
a.info-card:hover strong { color: var(--red); }
.info-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--red); color: var(--white); display: grid; place-items: center; flex: none; }
.info-icon svg { width: 22px; height: 22px; }

/* ---------- projects ---------- */
.causes { background: var(--white); }
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cause-card { background: var(--white); border-radius: 20px; padding: 18px; border: 4px solid #f3f3f3; box-shadow: 0 2px 10px rgba(0,0,0,.03); display: flex; flex-direction: column; gap: 22px; }
.cause-img { display: block; height: 240px; border-radius: 12px; overflow: hidden; }
.cause-img img { transition: transform .4s; }
.cause-card:hover .cause-img img { transform: scale(1.04); }
.cause-card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; flex: 1; }
.similar .cause-card { border-color: var(--white); }

/* project detail */
.project-body { padding-top: 60px; }
.project-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.rich-text { color: var(--grey-100); font-size: 16px; display: flex; flex-direction: column; gap: 14px; }
.rich-text .rt-h { color: var(--black); margin-top: 22px; }
.rich-text .rt-h:first-child { margin-top: 0; }
.rich-text strong { color: var(--dark-90); font-weight: 600; }
.rich-text ul { padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.donate-card { position: sticky; top: 120px; background: linear-gradient(170deg, #fdeeee 0%, #fff 55%); border-radius: 20px; padding: 24px 20px 20px; border: 4px solid var(--white); box-shadow: 0 4px 18px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 12px; }
.donate-cat { font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--red); }
.donate-goal { font-weight: 600; margin-bottom: 4px; }

/* ---------- 404 ---------- */
.notfound { padding: 220px var(--pad) 180px; text-align: center; }
.notfound .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nf-oops { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--grey-100); }
.nf-code { font-family: var(--display); font-weight: 700; font-size: 240px; line-height: .9; letter-spacing: -0.06em; color: #0d0d0d; margin: 8px 0 24px; }
.nf-text { color: var(--grey-100); margin-bottom: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 80px var(--pad) 60px; }
.footer-top { display: flex; flex-direction: column; gap: 32px; margin-bottom: 56px; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 42px; line-height: 1.3; letter-spacing: -0.03em; max-width: 340px; }
.footer-lead { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--grey-90); max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-60); }
.footer-h { color: var(--grey-80); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer ul a .i { width: 16px; height: 16px; transition: transform .2s; }
.footer ul a:hover .i { transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.credit, .footer-charity { color: var(--grey-80); }
.credit a, .footer-charity a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- animations (from the Framer project's appear effects; timings tightened for a quicker flow) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.split .tw { display: inline-block; white-space: nowrap; }
.split .tk { display: inline-block; }
:root { --ease-out: cubic-bezier(.12, .23, .5, 1); --ease-soft: cubic-bezier(.22, 1, .36, 1); }

@keyframes heroZoom { from { opacity: 0; transform: scale(1.25); filter: blur(16px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes heroZoomInner { from { opacity: 0; transform: scale(1.25); filter: blur(16px); } to { opacity: .4; transform: scale(1); filter: blur(4px); } }
@keyframes tokenIn { from { opacity: 0; transform: translateY(10px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(var(--y, 21px)); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes shapeIn { from { opacity: 0; transform: translateX(109px) scale(.3) rotate(-45deg); } to { opacity: .7; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(1.3); } to { opacity: 1; transform: none; } }

/* Hero picture: starts 1.25x and blurred, settles to the section size and sharpens */
.js .hero-zoom { animation: heroZoom 1.3s var(--ease-soft) .05s both; will-change: transform, filter; }
.js .hero-inner-bg .hero-zoom { animation-name: heroZoomInner; }
/* Headlines: letters (home) or words (other pages) blur in one after another */
.js .split-char .tk { animation: tokenIn .4s cubic-bezier(.44, 0, .56, 1) var(--t, 0s) both; }
.js .split-word .tk { animation: tokenIn .55s cubic-bezier(.44, 0, .56, 1) var(--t, 0s) both; }
/* On-load rises */
.js .m-up { animation: riseIn var(--mdur, .4s) var(--ease-out) var(--d, 0s) both; }
.m-y20 { --y: 20px; --mdur: .55s; }
.m-y24 { --y: 24px; --mdur: .7s; }
.js .m-pop { animation: popIn .6s var(--ease-soft) both; }
.js .nav { animation: navIn .3s var(--ease-out) .1s both; }
.js .hero-shape { animation: shapeIn .9s var(--ease-soft) .3s both; }
/* On-scroll reveals */
.js .reveal { opacity: 0; transform: var(--from, translateY(20px)); transition: opacity var(--dur, .6s) var(--ease, var(--ease-out)) var(--d, 0s), transform var(--dur, .6s) var(--ease, var(--ease-out)) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.r-x20 { --from: translateX(20px); }
.r-xm40 { --from: translateX(-40px); }
.r-scale { --from: scale(.9); --dur: .8s; --ease: var(--ease-soft); }
.r-y48 { --from: translateY(48px); --dur: .9s; --ease: cubic-bezier(.34, 1.3, .64, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-zoom, .js .split .tk, .js .m-up, .js .m-pop, .js .nav, .js .hero-shape { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { scroll-behavior: auto; }
  * { transition-duration: 0s !important; }
}

/* ---------- tablet (810–1199) ---------- */
@media (max-width: 1199px) {
  :root { --pad: 32px; }
  .hero h1 { font-size: 72px; }
  .help-card { flex-basis: calc((100% - 24px) / 2); }
}

/* ---------- tablet and phone: centred layout (EZM standard) ---------- */
@media (max-width: 1023px) {
  .section { padding: 80px var(--pad); }
  .two-col, .project-grid, .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-head, .sec-head.split, .sec-head.split > div { align-items: center; text-align: center; }
  .sec-head.split { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .sec-head h2, .sec-head .sub { margin-left: auto; margin-right: auto; }
  .hero { text-align: center; }
  .hero-content { align-items: center; }
  .hero h1 { max-width: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero-inner, .hero-project { text-align: center; padding-top: 150px; }
  .hero-inner-content, .hero-project-content { align-items: center; }
  .hero-inner-row { flex-direction: column; }
  .hero-inner-text { align-items: center; }
  .hero-inner-sub { margin: 0 auto; }
  .hero-shape { width: 120px; height: 120px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-card:first-child { grid-column: 1 / -1; }
  .impact-text { text-align: center; }
  .help-card { text-align: center; }
  .help-body { align-items: center; }
  .help-foot { flex-direction: column; text-align: center; }
  .help-foot .line { width: 100%; flex: none; }
  .faq-item summary { text-align: left; }
  .cause-grid { grid-template-columns: 1fr 1fr; }
  .cause-card { text-align: center; }
  .rich-text { text-align: center; }
  .rich-text ul { list-style-position: inside; padding-left: 0; }
  .donate-card { position: static; text-align: center; align-items: stretch; }
  .info-card { flex-direction: column; text-align: center; padding: 20px; }
  .join-big { min-height: 460px; }
  .join-big-text { left: 0; right: 0; text-align: center; }
  .join-dark { text-align: center; align-items: center; }
  .join-dark .btn { width: 100%; }
  .footer, .footer-top, .footer-cols, .footer-bottom { text-align: center; }
  .footer-top { align-items: center; }
  .footer-name, .footer-lead { margin: 0 auto; }
  .footer ul { align-items: center; }
  .footer-bottom { justify-content: center; flex-direction: column; align-items: center; }
}

/* ---------- phone nav and layout (under 810) ---------- */
@media (max-width: 809px) {
  :root { --pad: 16px; --radius: 20px; }
  .nav-wrap { top: 0; padding: 0; }
  .nav { width: 100%; height: 64px; border-radius: 0; padding: 0 12px 0 16px; border-width: 0 0 1px; }
  .logo { font-size: 20px; letter-spacing: -0.02em; color: var(--red); }
  .logo-short { display: none; }
  .logo-long { display: inline; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 16px 24px; background: rgba(5,5,5,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 20px; text-align: center; }
  .nav-links > a:not(.btn) { padding: 12px; }
  .nav-donate { margin: 12px 0 0; width: 100%; }
  .nav.open .nav-links { display: flex; }
  .nav.open .nav-toggle .open { display: none; }
  .nav.open .nav-toggle .close { display: block; }
  .section { padding: 64px var(--pad); }
  .hero { padding: 100px var(--pad) 48px; }
  .hero-tagline { font-size: 18px; }
  .hero h1 { font-size: 46px; }
  .hero .btn-row { flex-direction: column; gap: 12px; width: 100%; margin-top: 28px; }
  .hero .btn-row .btn { width: 100%; }
  .sec-head h2 { font-size: 32px; }
  .about-lead { font-size: 24px; }
  .hero-inner, .hero-project { padding: 110px var(--pad) 40px; }
  .hero-project { padding-bottom: 0; }
  .hero-inner h1, .hero-project h1 { font-size: 40px; }
  .hero-shape { display: none; }
  .project-img { height: 240px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { height: 240px; }
  .help-card { flex-basis: 86%; height: 500px; }
  .about-teaser-img, .mission-img, .vision-img { height: 260px; }
  .about-story-img, .contact-img { height: 260px; }
  .about-text { font-size: 14px; }
  .cause-grid { grid-template-columns: 1fr; }
  .join-small .join-card { height: 180px; }
  .join-big { min-height: 400px; }
  .join-big-text { font-size: 26px; }
  .join-count { font-size: 48px; line-height: 50px; }
  .nf-code { font-size: 140px; }
  .notfound { padding: 160px var(--pad) 120px; }
  .footer { padding: 64px var(--pad) 40px; }
  .footer-name { font-size: 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .btn { white-space: normal; }
}

/* generated by build.mjs */
.dl-0{--d:0.0s}.dl-1{--d:0.1s}.dl-2{--d:0.2s}.dl-3{--d:0.3s}.dl-4{--d:0.4s}.dl-5{--d:0.5s}.dl-6{--d:0.6s}.dl-7{--d:0.7s}.dl-8{--d:0.8s}.dl-9{--d:0.9s}.dl-10{--d:1.0s}.dl-11{--d:1.1s}.dl-12{--d:1.2s}
.t0{--t:0.00s}.t1{--t:0.05s}.t2{--t:0.10s}.t3{--t:0.15s}.t4{--t:0.20s}.t5{--t:0.25s}.t6{--t:0.30s}.t7{--t:0.35s}.t8{--t:0.40s}.t9{--t:0.45s}.t10{--t:0.50s}.t11{--t:0.55s}.t12{--t:0.60s}.t13{--t:0.65s}.t14{--t:0.70s}.t15{--t:0.75s}.t16{--t:0.80s}.t17{--t:0.85s}.t18{--t:0.90s}.t19{--t:0.95s}.t20{--t:1.00s}.t21{--t:1.05s}.t22{--t:1.10s}.t23{--t:1.15s}.t24{--t:1.20s}.t25{--t:1.25s}.t26{--t:1.30s}.t27{--t:1.35s}.t28{--t:1.40s}.t29{--t:1.45s}.t30{--t:1.50s}.t31{--t:1.55s}.t32{--t:1.60s}.t33{--t:1.65s}.t34{--t:1.70s}.t35{--t:1.75s}.t36{--t:1.80s}.t37{--t:1.85s}.t38{--t:1.90s}.t39{--t:1.95s}.t40{--t:2.00s}.t41{--t:2.05s}.t42{--t:2.10s}.t43{--t:2.15s}.t44{--t:2.20s}.t45{--t:2.25s}.t46{--t:2.30s}.t47{--t:2.35s}.t48{--t:2.40s}.t49{--t:2.45s}.t50{--t:2.50s}.t51{--t:2.55s}.t52{--t:2.60s}.t53{--t:2.65s}.t54{--t:2.70s}.t55{--t:2.75s}.t56{--t:2.80s}.t57{--t:2.85s}.t58{--t:2.90s}.t59{--t:2.95s}.t60{--t:3.00s}
