/* ===========================================================
   ARUVI — Malayaga Queer Network
   Shared design system + page styles
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Base palette — warm, clean, elegant */
  --bg: #fdfbfd;
  --bg-soft: #f6f1f7;
  --surface: #ffffff;
  --ink: #1c1424;
  --ink-soft: #5a5165;
  --ink-faint: #8d8499;
  --line: #ece4ef;

  /* Brand */
  --brand: #9b5de5;
  --brand-deep: #7b3fd1;
  --pink: #f15bb5;
  --coral: #ff6b6b;
  --amber: #ffb454;
  --teal: #2ec4b6;
  --blue: #4d96ff;

  /* Pride gradient (used tastefully) */
  --pride: linear-gradient(90deg, #ff6b6b, #ffb454, #ffe066, #2ec4b6, #4d96ff, #9b5de5);
  --pride-soft: linear-gradient(120deg, #26667F 0%, #124170 50%, #26667F 100%);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(28, 20, 36, 0.06);
  --shadow-md: 0 16px 40px rgba(28, 20, 36, 0.10);
  --shadow-lg: 0 30px 70px rgba(123, 63, 209, 0.18);

  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-deep);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(155, 93, 229, 0.10);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pride-soft); }

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.gradient-text {
  background: var(--pride-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gradient { color: #fff; background: var(--brand); background-image: var(--pride-soft); box-shadow: 0 10px 30px rgba(155,93,229,.35); }
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(155,93,229,.45); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===========================================================
   Top pride bar + Navbar
   =========================================================== */
.pride-bar { height: 5px; background: var(--pride); }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 253, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; letter-spacing: 0.06em; }
.brand__mark {
  width: 40px; height: 46px;
  object-fit: cover; object-position: top center;
  /* show the tree portion of the full ARUVI logo */
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-size: 0.96rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.active { color: var(--brand-deep); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--pride-soft);
}
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.hero__blob--1 { width: 460px; height: 460px; background: #ecc777; top: -120px; right: -80px; }
.hero__blob--2 { width: 380px; height: 380px; background: #e7bd5b; bottom: -140px; left: -100px; animation-delay: -5s; }
.hero__blob--3 { width: 300px; height: 300px; background: #ecc777; top: 120px; left: 40%; opacity: .35; animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-30px) scale(1.06); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 22px 0; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__stats { display: flex; gap: 38px; margin-top: 46px; }
.hero__stats .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.hero__stats .lbl { font-size: 0.86rem; color: var(--ink-faint); }

/* Hero collage */
.hero__art { position: relative; }
.hero__art .card-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.hero__art .card-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero__art .float-chip {
  position: absolute; background: var(--surface); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-size: .9rem; font-weight: 600;
  animation: float 9s ease-in-out infinite;
}
.float-chip .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; }
.float-chip--a { top: 8%; left: -34px; }
.float-chip--b { bottom: 12%; right: -30px; animation-delay: -4s; }

/* ===========================================================
   Marquee / partners strip
   =========================================================== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip__track { display: flex; gap: 64px; padding: 22px 0; white-space: nowrap; animation: scroll-x 28s linear infinite; }
.strip__track span { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 14px; }
.strip__track span::after { content: "✦"; color: var(--brand); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ===========================================================
   Trending topics
   =========================================================== */
.trend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trend-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff; box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.trend-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)); z-index: 1; }
.trend-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trend-card > * { position: relative; z-index: 2; }
.trend-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trend-card:hover img { transform: scale(1.07); }
.trend-card .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); margin-bottom: 12px; }
.trend-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.trend-card .meta { font-size: .85rem; opacity: .82; }
.trend-card--lg { grid-row: span 2; min-height: 100%; }

/* ===========================================================
   Featured gallery (masonry-ish)
   =========================================================== */
.gallery { columns: 3; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px 18px 16px;
  color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ===========================================================
   Value / What we do cards
   =========================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px; color: #fff; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; color: var(--brand-deep); font-size: .92rem; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }

/* color variants for icons/accents */
.bg-brand { background: var(--brand); } .bg-pink { background: var(--pink); }
.bg-coral { background: var(--coral); } .bg-amber { background: var(--amber); }
.bg-teal { background: var(--teal); } .bg-blue { background: var(--blue); }

/* ===========================================================
   Donors / supporters
   =========================================================== */
.donors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.donor-card {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; min-height: 130px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.donor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.donor-card img {
  max-height: 64px; width: auto; max-width: 100%; object-fit: contain;
}
@media (max-width: 980px) { .donors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .donors { grid-template-columns: 1fr; } }

/* ===========================================================
   Quote / testimonial
   =========================================================== */
.quote-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pride-soft); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { display: block; font-size: .92rem; }
.quote .who span { font-size: .82rem; color: var(--ink-faint); }

/* ===========================================================
   CTA / Newsletter band
   =========================================================== */
.cta-band {
  border-radius: var(--radius-lg); padding: 64px 48px; color: #fff; text-align: center;
  background: var(--brand-deep); background-image: var(--pride-soft);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 50%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { opacity: .92; max-width: 540px; margin: 0 auto 28px; }
.subscribe { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.subscribe input { flex: 1; padding: 15px 20px; border-radius: 999px; border: none; font-size: 1rem; font-family: inherit; }
.subscribe input:focus { outline: 3px solid rgba(255,255,255,.55); }
.subscribe .btn { background: var(--ink); color: #fff; }

/* ===========================================================
   Footer
   =========================================================== */
.footer { background: #150f1c; color: #cfc7d8; padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p { font-size: .94rem; color: #9c93ab; max-width: 320px; }
.footer-tagline {
  display: block; color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 10px;
}
.footer-tagline::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--pride); vertical-align: middle; margin-right: 10px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: #b6acc4; font-size: .95rem; display: block; padding: 6px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; color: #fff; }
.footer__socials a svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer__socials a:hover { background: var(--pride-soft); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #8a8198; }

/* ===========================================================
   Page header (interior pages)
   =========================================================== */
.page-header { position: relative; padding: 72px 0 64px; text-align: center; overflow: hidden; background: var(--bg-soft); }
.page-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(241,91,181,.16), transparent 45%), radial-gradient(circle at 75% 80%, rgba(77,150,255,.16), transparent 45%); }
.page-header > * { position: relative; }
.page-header h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 18px 0 14px; }
.page-header p { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.crumbs { font-size: .85rem; color: var(--ink-faint); }
.crumbs a:hover { color: var(--brand-deep); }

/* ===========================================================
   About page
   =========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); }
.check-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); background-image: var(--pride-soft); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 2px; }

.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-band .stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-band .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; }
.stat-band .lbl { color: var(--ink-soft); font-size: .92rem; }

.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline .year { font-family: var(--font-display); font-weight: 600; color: var(--brand-deep); font-size: 1.1rem; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .ph img { transform: scale(1.06); }
.team-card b { font-size: 1.05rem; }
.team-card span { color: var(--brand-deep); font-size: .88rem; }

/* ===========================================================
   Blog page
   =========================================================== */
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.pill { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: .9rem; color: var(--ink-soft); transition: all .25s; }
.pill:hover { border-color: var(--brand); color: var(--brand-deep); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post__img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.07); }
.post__cat { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--brand-deep); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .82rem; color: var(--ink-faint); margin-bottom: 10px; }
.post__body h3 { font-size: 1.28rem; margin-bottom: 10px; line-height: 1.25; }
.post__body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.post__foot { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; }
.post__foot .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--pride-soft); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }

.post--feature { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.post--feature .post__img { aspect-ratio: auto; height: 100%; min-height: 340px; }
.post--feature .post__body { padding: 40px; justify-content: center; }
.post--feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ===========================================================
   Blog post (detail / reading) page
   =========================================================== */
.article-narrow { max-width: 760px; }
.article-header { background: var(--bg-soft); padding: 56px 0 40px; position: relative; overflow: hidden; }
.article-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 15%, rgba(241,91,181,.14), transparent 45%), radial-gradient(circle at 80% 90%, rgba(77,150,255,.14), transparent 45%); }
.article-header > * { position: relative; }
.article-header h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 10px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.article-meta .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--pride-soft); color: #fff; display: grid; place-items: center; font-weight: 700; }
.article-meta b { display: block; font-size: .98rem; }
.article-meta span { font-size: .85rem; color: var(--ink-faint); }

.article-hero { width: 100%; border-radius: var(--radius-lg); margin: -36px 0 36px; box-shadow: var(--shadow-md); aspect-ratio: 16/8; object-fit: cover; position: relative; }
.article-body { font-size: 1.12rem; line-height: 1.8; color: #36303f; }
.article-body p { margin-bottom: 22px; }
.article-body p:first-of-type { font-size: 1.22rem; color: var(--ink); }
.article-body h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.article-foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin: 44px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ===========================================================
   What we do page — programs
   =========================================================== */
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.prog:nth-child(even) .prog__media { order: 2; }
.prog__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.prog__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prog__badge { display: inline-flex; width: 52px; height: 52px; border-radius: 15px; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin-bottom: 18px; }
.prog h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.prog p { color: var(--ink-soft); margin-bottom: 16px; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 2.4rem; color: var(--brand); opacity: .25; display: block; margin-bottom: 8px; font-weight: 600; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ===========================================================
   Contact page
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: none; }
.info-item .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; }
.info-item b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.info-item span { color: var(--ink-soft); font-size: .95rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  font-family: inherit; font-size: 1rem; background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(155,93,229,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--ink-faint); margin-top: 6px; }
.form-success { display: none; background: rgba(46,196,182,.12); color: #11796e; border-radius: 14px; padding: 16px 20px; font-weight: 600; margin-bottom: 20px; }
.form-success.show { display: block; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; text-align: left; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q .ico { transition: transform .3s; color: var(--brand); font-size: 1.3rem; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ===========================================================
   Scroll reveal
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero__grid, .split, .prog, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .prog:nth-child(even) .prog__media { order: 0; }
  .trend-grid, .cards, .quote-wrap, .steps, .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .post--feature { grid-column: span 2; grid-template-columns: 1fr; }
  .team-grid, .stat-band { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 2; }
  .hero__art { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 16px 24px 28px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 99;
  }
  .nav.open .nav__links { transform: translateY(0); }
  .nav__links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav__links a.active::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
  .trend-grid, .cards, .quote-wrap, .steps, .blog-grid, .team-grid, .stat-band, .footer__grid { grid-template-columns: 1fr; }
  .post--feature { grid-column: span 1; }
  .gallery { columns: 1; }
  .trend-card--lg { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .cta-band { padding: 44px 24px; }
  .subscribe { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
