/* ============================================================
   Beatus Vita — modern foundation site
   Design tokens, dark mode, motion, typography
   ============================================================ */

:root {
  /* palette — warm + healing */
  --bg:        #FAF6EE;
  --surface:   #FFFCF5;
  --surface-2: #F4EEDF;
  --line:      #E7DFCB;
  --ink:       #1B2520;
  --ink-2:     #4A5751;
  --muted:     #7B847E;

  --primary:   #0E5C4A;
  --primary-2: #1B7A63;
  --accent:    #E8A04A;
  --accent-2:  #F2C26E;
  --coral:     #C24B5C;
  --sky:       #3B6BA8;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-1: 0 1px 2px rgba(20,30,28,.04), 0 6px 24px rgba(20,30,28,.06);
  --shadow-2: 0 4px 12px rgba(20,30,28,.06), 0 24px 64px rgba(14,92,74,.10);

  --ff-display: "Fraunces", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ff-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
}

[data-theme="dark"] {
  --bg:        #0E1614;
  --surface:   #131F1B;
  --surface-2: #1A2823;
  --line:      #25342E;
  --ink:       #ECEFEA;
  --ink-2:     #B8C2BC;
  --muted:     #8A938D;
  --primary:   #46C5A6;
  --primary-2: #6FD6BC;
  --accent:    #F2B266;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 6px 24px rgba(0,0,0,.4);
  --shadow-2: 0 4px 12px rgba(0,0,0,.3), 0 24px 64px rgba(70,197,166,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  transition: background-color .35s ease, color .35s ease;
}
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .amount:focus-visible, .copy-row:focus-visible {
  outline-offset: 4px;
}

.container { width: 100%; max-width: var(--maxw); padding: 0 24px; margin: 0 auto; }

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,160,74,.18), transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .cursor-glow { mix-blend-mode: screen; background: radial-gradient(circle, rgba(70,197,166,.28), transparent 60%); }
@media (max-width: 900px) { .cursor-glow { display: none; } }

/* ---------- MESH BACKGROUND ---------- */
.mesh {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  filter: blur(80px);
  opacity: .55;
}
.mesh .m {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  will-change: transform;
  animation: float 40s ease-in-out infinite;
}
.mesh .m1 { background: #B7D8C9; top: -10%; left: -10%; }
.mesh .m2 { background: #F4D6A8; top: 20%; right: -15%; animation-delay: -12s; }
.mesh .m3 { background: #EAB8C0; bottom: -15%; left: 30%; animation-delay: -24s; }
.mesh .m4 { background: #C3D5EA; top: 60%; left: 5%; animation-delay: -6s; }
[data-theme="dark"] .mesh { opacity: .22; }
[data-theme="dark"] .mesh .m1 { background: #1B7A63; }
[data-theme="dark"] .mesh .m2 { background: #E8A04A; }
[data-theme="dark"] .mesh .m3 { background: #C24B5C; }
[data-theme="dark"] .mesh .m4 { background: #3B6BA8; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(60px,-40px) scale(1.08); }
  66%     { transform: translate(-40px,50px) scale(.96); }
}
@media (max-width: 720px) { .mesh { display: none; } }

/* ---------- RIBBON ---------- */
.ribbon {
  position: relative; z-index: 5;
  background: var(--ink);
  color: var(--surface);
  font-size: 13.5px;
  padding: 10px 24px;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  text-align: center;
}
.ribbon a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent-2); }
.ribbon .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232,160,74,.7);
  animation: pulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,160,74,.7); }
  70%  { box-shadow: 0 0 0 14px rgba(232,160,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,160,74,0); }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 32px;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
@supports (backdrop-filter: blur(1px)) {
  .nav {
    backdrop-filter: saturate(140%) blur(18px);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
  }
}
.brand { display: flex; align-items: center; gap: 12px; position: relative; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; position: relative; }
.brand-text strong {
  font-family: var(--ff-display); font-weight: 600; font-size: 19px;
  font-variation-settings: "opsz" 32, "SOFT" 50;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.brand-text strong::after {
  content: attr(data-latin);
  position: absolute;
  left: 0; top: 100%;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--primary);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.brand:hover .brand-text strong::after,
.brand:focus-visible .brand-text strong::after {
  opacity: 1;
  transform: translateY(0);
}
.brand-text em { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s ease, background .3s ease;
}
.theme-toggle:hover { transform: rotate(20deg); background: var(--surface-2); }

.nav-burger {
  display: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-burger span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 49;
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.7,0,.2,1);
  pointer-events: none;
}
.nav-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
.nav-drawer a {
  font-family: var(--ff-display);
  font-size: 28px;
  padding: 14px 0;
  font-weight: 400;
  letter-spacing: -.01em;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

@media (max-width: 960px) {
  .nav { padding: 12px 18px; }
  .nav-links { display: none; }
  .nav-cta-link { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 500; font-size: 14.5px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  position: relative; overflow: hidden;
}
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 24px rgba(14,92,74,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,92,74,.36); background: var(--primary-2); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--surface); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; z-index: 2;
  padding: 70px 24px 120px;
  display: grid; place-items: center;
}
.hero-inner { max-width: 1080px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-2);
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}

.title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  color: var(--ink);
  margin-bottom: 36px;
}
.title-line { display: block; }
.title em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(120deg, var(--primary), var(--accent) 60%, var(--coral));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.title-line.line-3 {
  font-size: .58em;
  color: var(--ink-2);
  font-weight: 400;
  margin-top: 12px;
}

.hero-lede {
  max-width: 640px; margin: 0 auto 36px;
  font-size: 19px; color: var(--ink-2); line-height: 1.55;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  list-style: none;
  margin: 0 auto 60px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.trust-row li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.trust-mark {
  width: 16px; height: 16px;
  display: inline-grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; max-width: 760px; margin: 0 auto;
  padding: 24px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
@supports (backdrop-filter: blur(1px)) {
  .hero-stats { backdrop-filter: blur(10px); }
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
  font-family: var(--ff-display); font-size: clamp(28px, 4vw, 40px);
  font-variation-settings: "opsz" 60, "SOFT" 20;
  font-weight: 500; color: var(--primary); letter-spacing: -.02em;
}
.stat-label { font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 720px) {
  .hero { padding: 40px 18px 80px; }
  .hero-stats { grid-template-columns: 1fr; }
  .trust-row { margin-bottom: 40px; }
}

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid var(--ink-2);
  border-radius: 12px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 7px; border-radius: 2px;
  background: var(--ink-2);
  transform: translateX(-50%);
  animation: scrolly 1.8s ease-in-out infinite;
}
@keyframes scrolly { 0%,100%{top:8px;opacity:1} 50%{top:20px;opacity:.2} }

/* ---------- MANIFESTO ---------- */
.manifesto {
  position: relative; z-index: 2;
  padding: 120px 24px;
  text-align: center;
}
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 18px;
  font-weight: 600;
}
.manifesto-text {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 920px; margin: 0 auto 40px;
}
.manifesto-text em {
  font-style: italic; color: var(--primary);
  font-weight: 400;
}
[data-reveal] {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal]:nth-child(2) { transition-delay: .12s; }
[data-reveal]:nth-child(3) { transition-delay: .24s; }

.manifesto-sign {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--ink-2); font-size: 14px;
  font-style: italic;
}

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  font-variation-settings: "opsz" 90, "SOFT" 30;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink);
}
.section-head p {
  max-width: 580px; margin: 0 auto;
  color: var(--ink-2);
  font-size: 17px;
}

/* ---------- PROGRAMS ---------- */
.programs { padding: 100px 0; position: relative; z-index: 2; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.program {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.program::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in oklab, var(--tone) 12%, transparent), transparent 50%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in oklab, var(--tone) 50%, var(--line)); }
.program:hover::before { opacity: 1; }
.program-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: color-mix(in oklab, var(--tone) 14%, transparent);
  color: var(--tone);
  margin-bottom: 22px;
}
.program h3 { font-family: var(--ff-display); font-weight: 500; font-size: 24px; margin-bottom: 10px; letter-spacing: -.015em; }
.program > p { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.program-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.program-meta > span { color: var(--muted); }
.program-meta a { color: var(--tone); font-weight: 500; }

/* ---------- IMPACT ---------- */
.impact {
  margin: 60px 24px; padding: 90px 40px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-lg);
  position: relative; z-index: 2;
  overflow: hidden;
}
.impact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(232,160,74,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(70,197,166,.18), transparent 40%);
  pointer-events: none;
}
.impact .container { position: relative; }
.section-head.light h2 { color: var(--surface); }
.section-head.light p { color: rgba(255,255,255,.7); }
.section-head.light .kicker { color: var(--accent-2); }

.impact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.impact-card {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.impact-num {
  display: block;
  font-family: var(--ff-display); font-size: clamp(38px, 5vw, 56px);
  font-variation-settings: "opsz" 120, "SOFT" 20;
  font-weight: 400; letter-spacing: -.025em;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.impact-lbl { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.impact-card p { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.78); }
.report-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--accent-2);
  border-bottom: 1px solid color-mix(in oklab, var(--accent-2) 50%, transparent);
  padding-bottom: 2px;
}
.report-link:hover { color: #fff; border-color: #fff; }

/* ---------- HOW STEPS ---------- */
.how { padding: 100px 0; position: relative; z-index: 2; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none; counter-reset: step;
}
.steps li {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
}
.step-num {
  font-family: var(--ff-display); font-size: 14px;
  letter-spacing: .25em;
  color: var(--accent);
  font-weight: 500;
  display: block; margin-bottom: 14px;
}
.steps h3 { font-family: var(--ff-display); font-weight: 500; font-size: 22px; letter-spacing: -.015em; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- LAIMINGOS ISTORIJOS ---------- */
.happy { padding: 100px 0; position: relative; z-index: 2; }
.happy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.happy-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.happy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in oklab, var(--tone) 50%, var(--line));
}
.happy-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  overflow: hidden;
}
.happy-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.22), transparent 50%);
}
.happy-numeral {
  position: absolute;
  bottom: -12px; left: 20px;
  font-family: var(--ff-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 300;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.32);
  line-height: 1;
  font-variation-settings: "opsz" 144, "WONK" 1;
  pointer-events: none;
}
.happy-art {
  position: absolute;
  top: 50%; right: 20px;
  transform: translateY(-50%);
  width: 96px; height: 96px;
  opacity: .9;
}
.happy-body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.happy-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.happy-tag {
  padding: 4px 10px;
  background: color-mix(in oklab, var(--tone) 12%, transparent);
  color: var(--tone);
  border-radius: 999px;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.happy-card h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.happy-body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.happy-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--tone);
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap .25s ease;
}
.happy-card:hover .happy-link {
  letter-spacing: .01em;
}

.happy-foot {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.happy-note {
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
  max-width: 460px;
}

@media (max-width: 720px) {
  .happy-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- GPM ---------- */
.gpm { padding: 100px 0; position: relative; z-index: 2; }
.gpm-inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 60px; align-items: start;
}
.gpm-copy h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  font-variation-settings: "opsz" 90, "SOFT" 30;
  letter-spacing: -.025em; line-height: 1.05;
  margin-bottom: 18px;
}
.gpm-copy h2 em {
  font-style: italic; color: var(--accent);
  font-weight: 300;
}
.gpm-copy p { color: var(--ink-2); margin-bottom: 28px; font-size: 16px; }
.gpm-copy a:not(.btn) { color: var(--primary); border-bottom: 1px solid currentColor; }
.gpm-copy strong { color: var(--ink); font-weight: 600; }

.copy-code {
  font-family: var(--ff-mono);
  background: var(--surface-2);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease;
  position: relative;
}
.copy-code:hover { background: color-mix(in oklab, var(--primary) 14%, var(--surface-2)); }
.copy-code.copied::after {
  content: "Nukopijuota ✓";
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-family: var(--ff-body); font-weight: 500; font-size: 11.5px;
  padding: 3px 8px; border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}

.gpm-steps { list-style: none; counter-reset: gpm; }
.gpm-steps li {
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--line);
  counter-increment: gpm;
  color: var(--ink-2);
  font-size: 15.5px;
}
.gpm-steps li::before {
  content: counter(gpm, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-family: var(--ff-display); font-weight: 500;
  color: var(--accent); font-size: 16px;
  letter-spacing: .1em;
}
.gpm-steps li strong { color: var(--ink); }

.gpm-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--primary) 0%, #084238 100%);
  color: #fff;
  box-shadow: 0 24px 64px rgba(14,92,74,.28);
  position: relative; overflow: hidden;
}
.gpm-card::before {
  content: ""; position: absolute; top: -30%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232,160,74,.36), transparent 60%);
  border-radius: 50%;
}
.gpm-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  font-family: var(--ff-display); font-size: 22px;
  letter-spacing: -.01em;
  position: relative;
}
.gpm-card-pin {
  font-family: var(--ff-body); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  background: rgba(255,255,255,.12);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 500;
}
.gpm-card dl {
  display: grid; gap: 14px;
  margin-bottom: 24px;
  position: relative;
}
.gpm-card dl > div {
  display: flex; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 14.5px;
}
.gpm-card dt { color: rgba(255,255,255,.7); }
.gpm-card dd { font-weight: 600; }
.gpm-card .btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 6px 16px rgba(232,160,74,.32);
}
.gpm-card .btn-primary:hover { background: var(--accent-2); }
@media (max-width: 880px) { .gpm-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- GIVE ---------- */
.give { padding: 100px 0; position: relative; z-index: 2; }
.give-tabs {
  display: flex; gap: 2px; margin: 0 auto 24px;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  justify-content: center;
}
.give-tabs button {
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: all .25s ease;
}
.give-tabs button[aria-selected="true"] {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(14,92,74,.24);
}

.give-amounts {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; max-width: 760px; margin: 0 auto 24px;
}
.amount {
  padding: 22px 12px; border-radius: var(--radius);
  font-family: var(--ff-display); font-size: 22px; font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all .25s ease;
}
.amount:hover { border-color: var(--primary); transform: translateY(-2px); }
.amount.selected {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(14,92,74,.28);
}
.amount.custom { font-family: var(--ff-body); font-size: 15px; font-style: italic; }
.amount.custom.editing {
  font-style: normal;
  padding: 8px 12px;
}
.amount.custom input {
  width: 100%;
  background: transparent;
  border: 0;
  font: inherit;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: inherit;
  text-align: center;
  outline: none;
}
@media (max-width: 720px) { .give-amounts { grid-template-columns: repeat(2, 1fr); } }

.give-preview {
  max-width: 720px; margin: 0 auto 30px;
  padding: 22px 26px;
  background: var(--surface-2);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px; color: var(--ink-2);
}
.give-impact { display: block; font-family: var(--ff-display); font-style: italic; font-size: 17px; margin-top: 6px; color: var(--ink); }
.give-source { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }
.give-source a { border-bottom: 1px dotted currentColor; }

/* Bank details card */
.bank-card {
  max-width: 720px; margin: 0 auto 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.bank-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap; gap: 10px;
}
.bank-card-head h3 {
  font-family: var(--ff-display); font-weight: 500; font-size: 22px;
  letter-spacing: -.01em; color: var(--ink);
}
.bank-card-pin {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 600;
}
.bank-details {
  display: grid; gap: 4px;
}
.bank-details > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.bank-details > div:last-child { border-bottom: 0; }
.bank-details dt {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.bank-details dd { font-size: 15px; color: var(--ink); }
.bank-details .bank-amount-row dd { font-size: 18px; }
.bank-details .bank-amount-row strong { font-family: var(--ff-display); font-weight: 600; color: var(--primary); font-size: 22px; }
.bank-details .bank-amount-row small { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 6px; }

.copy-row {
  text-align: left;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  transition: background .2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.copy-row.mono { font-family: var(--ff-mono); font-size: 14.5px; letter-spacing: .02em; }
.copy-row::after {
  content: "📋";
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s ease;
}
.copy-row:hover { background: var(--surface-2); }
.copy-row:hover::after { opacity: .6; }
.copy-row.copied {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
}
.copy-row.copied::after {
  content: "✓ Nukopijuota";
  opacity: 1;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.bank-tip {
  margin-top: 24px;
  padding: 14px 18px;
  background: color-mix(in oklab, var(--accent) 8%, var(--surface-2));
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.bank-tip strong { color: var(--ink); font-weight: 600; }

.give-fine {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.give-fine em { font-style: normal; font-weight: 600; color: var(--ink-2); }
.give-fine a { border-bottom: 1px solid var(--muted); }

/* ---------- PARTNERS ---------- */
.partners { padding: 70px 0; text-align: center; position: relative; z-index: 2; }
.partners .kicker { margin-bottom: 28px; display: block; }
.partner-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 34px; list-style: none;
}
.partner-row li {
  font-family: var(--ff-display); font-size: 18px;
  color: var(--ink-2);
  letter-spacing: -.005em;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.partner-row li:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.foot {
  margin-top: 80px;
  padding: 80px 0 32px;
  background: var(--ink);
  color: rgba(255,255,255,.86);
  position: relative; z-index: 2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.foot-brand .brand-mark svg { background: var(--surface); padding: 4px; border-radius: 12px; }
.foot-tag { font-family: var(--ff-display); font-size: 22px; margin-top: 16px; color: #fff; line-height: 1.3; max-width: 280px; }
.foot-quote { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); font-style: italic; }
.foot h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent-2);
  margin-bottom: 18px; font-weight: 600;
}
.foot-list, .foot-social { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot-list a:hover, .foot-social a:hover { color: var(--accent-2); }
.foot-list strong { color: #fff; }
.foot-form { margin-top: 18px; }
.foot-form label { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.foot-form div { display: flex; }
.foot-form input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 999px 0 0 999px;
  font: inherit; font-size: 14px;
  outline: none;
}
.foot-form input:focus { border-color: var(--accent); }
.foot-form button {
  padding: 10px 16px;
  background: var(--accent); color: var(--ink);
  border-radius: 0 999px 999px 0;
  font-weight: 500; font-size: 14px;
  transition: background .25s ease;
}
.foot-form button:hover { background: var(--accent-2); }

.foot-base {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.5);
  max-width: var(--maxw); margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
}
.foot-base .heart { color: var(--coral); }

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .bank-details > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .bank-card { padding: 24px 20px; }
}

/* ---------- A11Y MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor-glow { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- SELECTION ---------- */
::selection { background: var(--accent); color: var(--ink); }
