@font-face {
  font-family: "TheBlock";
  src: url("./fonts/TheBlock.woff") format("woff"),
       url("./fonts/TheBlock.woff2") format("woff2"),
       url("./fonts/TheBlock.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Perandory";
  src: url("./fonts/Perandory.woff") format("woff"),
       url("./fonts/Perandory.woff2") format("woff2"),
       url("./fonts/Perandory.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aminute";
  src: url("./fonts/Aminute.woff2") format("woff2"),
       url("./fonts/Aminute.woff") format("woff"),
       url("./fonts/Aminute.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aminute";
  src: url("./fonts/Aminute-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ice: #ecffb6;
  --lime: #d6fb00;
  --teal: #00545f;
  --bg: #f6faf4;
  --surface: #ffffff;
  --surface-2: #eef6ea;
  --surface-glass: rgba(255, 255, 255, 0.52);
  --text: #0c1f1c;
  --text-muted: #4a615c;
  --green: #0a6b55;
  --green-light: #ecffb6;
  --green-dark: #032428;
  --border: rgba(0, 84, 95, 0.14);
  --glow: rgba(214, 251, 0, 0.22);
  --shadow: 0 18px 40px rgba(0, 84, 95, 0.08);
  --radius: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "TheBlock", "Anton", sans-serif;
  --font-heading: "Perandory", "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Aminute", "Plus Jakarta Sans", sans-serif;
  --font-pressure: "Roboto Flex", "Aminute", sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #041614;
  --surface: #0a2422;
  --surface-2: #08302c;
  --surface-glass: rgba(8, 36, 34, 0.55);
  --text: #f4ffe8;
  --text-muted: #a8c5b8;
  --green: #d6fb00;
  --green-light: #ecffb6;
  --green-dark: #021110;
  --border: rgba(236, 255, 182, 0.14);
  --glow: rgba(214, 251, 0, 0.14);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.page-glow {
  position: fixed;
  inset: -20% auto auto 20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(236, 255, 182, 0.28), transparent 68%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .page-glow {
  background: radial-gradient(circle, rgba(214, 251, 0, 0.08), transparent 68%);
}

.organic-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.blob-a {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 30%;
  background: #00545f;
}

.blob-b {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: 10%;
  background: #d6fb00;
  opacity: 0.18;
}

.leaf-line {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 1px;
  height: 220px;
  background: linear-gradient(var(--teal), transparent);
  opacity: 0.25;
}

header, footer, .modal, .mobile-nav {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
}

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.icon-btn {
  --icon-btn-size: 2.55em;
  background: transparent;
  outline: none;
  position: relative;
  width: var(--icon-btn-size);
  height: var(--icon-btn-size);
  perspective: 18em;
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  color: #fff;
}

.icon-btn__back,
.icon-btn__front,
.icon-btn__label {
  transition:
    opacity 0.45s cubic-bezier(0.83, 0, 0.17, 1),
    transform 0.45s cubic-bezier(0.83, 0, 0.17, 1);
}

.icon-btn__back,
.icon-btn__front {
  border-radius: 0.85em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.icon-btn__back {
  box-shadow: 0.28em -0.28em 0.5em hsla(223, 10%, 10%, 0.12);
  display: block;
  transform: rotate(15deg);
  transform-origin: 100% 100%;
  will-change: transform;
  background: linear-gradient(#00545f, #0a6b55);
}

.icon-btn__front {
  background-color: hsla(0, 0%, 100%, 0.16);
  box-shadow: 0 0 0 0.08em hsla(0, 0%, 100%, 0.28) inset;
  backdrop-filter: blur(0.75em);
  -webkit-backdrop-filter: blur(0.75em);
  display: flex;
  transform-origin: 80% 50%;
  will-change: transform;
}

.icon-btn__icon {
  margin: auto;
  width: 1.15em;
  height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.icon-btn__icon .icon {
  width: 100%;
  height: 100%;
}

.icon-btn:focus-visible .icon-btn__back,
.icon-btn:hover .icon-btn__back {
  transform: rotate(25deg) translate3d(-0.28em, -0.28em, 0.28em);
}

.icon-btn:focus-visible .icon-btn__front,
.icon-btn:hover .icon-btn__front {
  transform: translate3d(0, 0, 1.15em);
}

.gi {
  --gi: var(--teal);
  --gi-size: 2.55em;
  position: relative;
  width: var(--gi-size);
  height: var(--gi-size);
  display: inline-grid;
  place-items: center;
  perspective: 18em;
  transform-style: preserve-3d;
  flex-shrink: 0;
  color: #fff;
}

.gi-sm { --gi-size: 2.15em; }

.gi-back,
.gi-front {
  position: absolute;
  inset: 0;
  border-radius: 0.72em;
  transition: transform 0.45s cubic-bezier(0.83, 0, 0.17, 1);
}

.gi-back {
  background: var(--gi);
  transform: rotate(15deg);
  transform-origin: 100% 100%;
  box-shadow: 0.22em -0.22em 0.4em color-mix(in srgb, var(--gi) 22%, transparent);
}

.gi-front {
  display: grid;
  place-items: center;
  background: hsla(0, 0%, 100%, 0.16);
  backdrop-filter: blur(0.75em);
  -webkit-backdrop-filter: blur(0.75em);
  box-shadow: 0 0 0 0.08em hsla(0, 0%, 100%, 0.28) inset;
}

.gi .icon {
  width: 14px;
  height: 14px;
}

.gi-sm .icon {
  width: 13px;
  height: 13px;
}

.gi:hover .gi-back,
article:hover .gi-back,
a:hover .gi-back,
summary:hover .gi-back {
  transform: rotate(25deg) translate3d(-0.18em, -0.18em, 0.18em);
}

.gi:hover .gi-front,
article:hover .gi-front,
a:hover .gi-front,
summary:hover .gi-front {
  transform: translate3d(0, 0, 1.05em);
}

.icon-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 84, 95, 0.28);
}

[data-theme="dark"] .btn-primary {
  background: var(--lime);
  color: #032428;
  box-shadow: 0 10px 30px rgba(214, 251, 0, 0.18);
}

.btn-ghost {
  background: var(--surface-glass);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  overflow: visible;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled .header-inner {
  border-bottom-color: var(--border);
}

.brand {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.brand-orbit {
  position: absolute;
  inset: -6px;
  animation: orbit 28s linear infinite;
}

.orbit-text {
  fill: var(--teal);
  font-size: 11px;
  font-family: var(--font-heading);
  letter-spacing: 1.6px;
}

[data-theme="dark"] .orbit-text {
  fill: var(--ice);
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.nav-desktop {
  margin-left: auto;
  display: flex;
  gap: 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.94rem;
}

.nav-desktop a {
  opacity: 0.72;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  overflow: visible;
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; }

.menu-toggle .icon-close { display: none; }

body.nav-open .menu-toggle .icon-menu { display: none; }
body.nav-open .menu-toggle .icon-close { display: block; }

body.nav-open .site-header {
  z-index: 70;
}

body.nav-open .mobile-nav-panel {
  padding-top: calc(var(--header-h) + 0.35rem);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: rgba(4, 22, 20, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mobile-nav-panel {
  position: relative;
  right: 0;
  top: 0;
  height: 100%;
  height: 100dvh;
  width: min(420px, 100%);
  max-width: 100vw;
  margin: 0;
  margin-left: auto;
  background: #06201d;
  color: #f4ffe8;
  padding:
    max(0.85rem, env(safe-area-inset-top))
    max(0.85rem, env(safe-area-inset-right))
    max(0.85rem, env(safe-area-inset-bottom))
    0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-radius: 22px 0 0 22px;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  animation: slideInRight 0.4s var(--ease) forwards;
}

[data-theme="dark"] .mobile-nav-panel {
  background: #041614;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.95rem 0.35rem;
  flex-shrink: 0;
}

.mobile-nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  filter: none;
}

.mobile-nav-close {
  color: #f4ffe8;
}

.mobile-nav-donate {
  flex-shrink: 0;
  margin: 0.35rem 0.95rem 0.2rem;
  width: calc(100% - 1.9rem);
  background: var(--lime);
  color: #032428;
  box-shadow: 0 0 14px rgba(214, 251, 0, 0.18);
}

.mobile-nav-donate:hover {
  transform: translateY(-1px);
}

.menu-wrap {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.menu-wrap .menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__item {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(236, 255, 182, 0.18);
  min-height: 52px;
}

.menu__item:first-child {
  border-top: none;
}

.menu__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 1;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 3.6vh, 1.55rem);
  letter-spacing: 0.04em;
  color: #f4ffe8;
  padding: 0 0.8rem;
}

.menu__item-link:hover,
.menu__item-link:focus-visible {
  color: #f4ffe8;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(0, 101%, 0);
  background: #d6fb00;
  z-index: 2;
}

.marquee__inner-wrap {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.marquee__inner {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: fit-content;
  will-change: transform;
}

.marquee__part {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee span {
  white-space: nowrap;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 3.6vh, 1.55rem);
  line-height: 1;
  padding: 0 1vw;
  color: #032428;
}

.marquee__img {
  width: min(160px, 38vw);
  height: clamp(28px, 5.5vh, 48px);
  margin: 0 1.2vw;
  border-radius: 50px;
  background-size: cover;
  background-position: 50% 50%;
  flex-shrink: 0;
}

body.nav-open {
  overflow: hidden;
}

@keyframes slideInRight {
  from { opacity: 0.6; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 3.2rem;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: visible;
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  gap: clamp(0.6rem, 3vw, 2.4rem);
  position: relative;
  z-index: 3;
}

.hero-copy {
  text-align: left;
  max-width: 760px;
  margin: 0;
  position: relative;
}

.hero-tree {
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: transparent;
}

.hero-tree img {
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 22px 36px rgba(0, 84, 95, 0.22));
  animation: treeSway 10s ease-in-out infinite;
  transform-origin: 50% 100%;
}

[data-theme="dark"] .hero-tree img {
  filter: drop-shadow(0 18px 40px rgba(214, 251, 0, 0.16));
}

@keyframes treeSway {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(1.6deg) translateY(-6px); }
}

.fade-in-start {
  animation: fadeInStart 1.25s var(--ease) both;
}

.hero-tree.fade-in-start {
  animation-delay: 0.16s;
}

@keyframes fadeInStart {
  from {
    opacity: 0;
    transform: translateX(-56px);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--teal);
  margin: 0 0 0.8rem;
}

[data-theme="dark"] .eyebrow {
  color: var(--lime);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--lime);
  font-style: normal;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.pressure-band {
  margin: 0.4rem 0 0.2rem;
  min-height: 4.2rem;
}

.text-pressure {
  font-family: var(--font-pressure);
  font-size: clamp(2.4rem, 8vw, 5.2rem);
  line-height: 1;
  margin: 0;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.04em;
  color: var(--teal);
  user-select: none;
  -webkit-user-select: none;
}

[data-theme="dark"] .text-pressure {
  color: var(--ice);
}

.text-pressure .p-char {
  display: inline-block;
  font-variation-settings: "wght" 400, "wdth" 100, "ital" 0;
  will-change: font-variation-settings;
}

.blur-text .char {
  display: inline-block;
  will-change: transform, filter, opacity;
  animation: unblur 0.7s var(--ease) both;
}

@keyframes unblur {
  0% { filter: blur(10px); opacity: 0; transform: translateY(-50px); }
  50% { filter: blur(5px); opacity: 0.5; transform: translateY(5px); }
  100% { filter: blur(0); opacity: 1; transform: translateY(0); }
}

.shiny-text {
  background: linear-gradient(120deg, var(--text) 32%, var(--lime) 50%, var(--text) 68%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5.4s linear infinite;
}

.hero-title .shiny-text {
  background: linear-gradient(120deg, var(--lime) 28%, #fff 50%, var(--lime) 72%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.scroll-float {
  overflow: hidden;
}

.scroll-float .char {
  display: inline-block;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
}

.warp-text {
  display: inline-block;
  animation: warp 6s ease-in-out infinite;
}

@keyframes warp {
  0%, 100% { transform: translateY(0) skewX(0); }
  50% { transform: translateY(-2px) skewX(-2deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

.cards-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.85rem;
}

.cards-stage {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 0.2rem;
  z-index: 5;
  pointer-events: auto;
  touch-action: pan-y;
  overflow: hidden;
}
.cards-stage.is-picking {
  z-index: 35;
  overflow: visible;
}

.cards-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 92%);
  height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(214, 251, 0, 0.3), rgba(0, 84, 95, 0.14) 45%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.cards-stage.is-picking .cards-glow {
  opacity: 0.55;
}

.cards-track {
  position: relative;
  height: 100%;
  width: 100%;
}

.member-card {
  --c1: #00545f;
  --c2: #0a6b55;
  --c3: #021c1e;
  --glow-local: rgba(214, 251, 0, 0.4);
  position: absolute;
  left: 50%;
  top: 50%;
  width: 176px;
  height: 278px;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s var(--ease),
    opacity 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.member-card.is-dragging {
  transition: none;
}

.card-scene {
  width: 100%;
  height: 100%;
  perspective: 1400px;
  -webkit-perspective: 1400px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 18px;
  will-change: transform;
}

.member-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(1px);
  overflow: hidden;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.18),
    0 0 16px var(--glow-local),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.card-back {
  transform: rotateY(180deg) translateZ(1px);
  background: linear-gradient(160deg, #05363c, #02181b);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
}

.card-back::before {
  content: "";
  position: absolute;
  inset: 18% 8% 22%;
  background: radial-gradient(circle, rgba(214, 251, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.card-back-seal {
  position: absolute;
  width: 92px;
  height: 92px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.card-seal-orbit {
  position: absolute;
  inset: 0;
  overflow: visible;
  animation: cardSealSpin 18s linear infinite;
}

.card-seal-text {
  fill: #ecffb6;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2.6px;
  filter: drop-shadow(0 0 3px rgba(214, 251, 0, 0.45));
}

.card-back-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  height: 36%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(214, 251, 0, 0.28));
}

.card-back > *:not(.card-back-seal) {
  position: relative;
  z-index: 1;
}

@keyframes cardSealSpin {
  to { transform: rotate(360deg); }
}

.card-front {
  padding: 1rem 0.95rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(0deg) translateZ(1px);
  background:
    radial-gradient(120px 80px at 80% 0%, var(--glow-local, rgba(255,255,255,.25)), transparent 70%),
    linear-gradient(155deg, var(--c1), var(--c2) 55%, var(--c3));
}

.card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 120'%3E%3Cpath d='M40 110 C20 70 28 40 40 18 C52 40 60 70 40 110Z' fill='none' stroke='rgba(255,255,255,.14)' stroke-width='1'/%3E%3C/svg%3E")
    right -10px bottom -16px / 90px no-repeat;
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.card-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.card-tier {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  margin: 0.4rem 0 0;
  transition: font-size 0.55s var(--ease);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.95;
}

.card-meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.card-holder {
  margin: 0 0 0.15rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-extra {
  margin-top: 0.18rem;
  opacity: 1;
  max-height: none;
  overflow: visible;
  letter-spacing: 0.01em;
  color: #ecffb6;
  font-weight: 700;
}

.card-facts {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: none;
  gap: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}

.member-card.is-selected .card-facts {
  display: grid;
}

.member-card.is-selected .card-back {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  padding-right: 34%;
}

.member-card.is-selected .card-back-seal {
  left: auto;
  right: 12px;
  top: 46%;
  width: min(150px, 36%);
  height: min(150px, 64%);
  transform: translateY(-50%);
}

.member-card.is-selected .card-back > div:first-child,
.member-card.is-selected .card-facts {
  flex: 1 1 100%;
}

.card-back h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
}

.card-back p {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  opacity: 0.82;
}

.card-cta {
  min-height: 38px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  pointer-events: auto;
}

.qr-placeholder {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #ecffb6 0 4px, transparent 4px 8px),
    repeating-linear-gradient(#ecffb6 0 4px, transparent 4px 8px);
  opacity: 0.85;
}

.card-back-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}

.member-card[data-slug="bronze"] {
  --c1: #c48a4a;
  --c2: #8b5a2b;
  --c3: #3e2723;
  --glow-local: rgba(201, 162, 39, 0.55);
}
.member-card[data-slug="argent"] {
  --c1: #f3f7f8;
  --c2: #9bb0b3;
  --c3: #4f7370;
  --glow-local: rgba(168, 197, 192, 0.7);
}
.member-card[data-slug="argent"] .card-front {
  color: #16302e;
}
.member-card[data-slug="gold"] {
  --c1: #f3d36a;
  --c2: #c9a227;
  --c3: #1f4d32;
  --glow-local: rgba(232, 197, 71, 0.6);
}
.member-card[data-slug="argent"] .card-meta {
  color: #16302e;
  text-shadow: none;
}

.member-card[data-slug="argent"] .card-extra {
  color: #00545f;
}

.member-card[data-slug="premium"] {
  --c1: #8b5a2b;
  --c2: #c9a227;
  --c3: #00545f;
  --glow-local: rgba(214, 251, 0, 0.5);
}

.member-card[data-slug="premium"] .card-front {
  color: #fff;
  background:
    linear-gradient(
      145deg,
      #8b5a2b 0%,
      #c48a4a 18%,
      #d4dce0 34%,
      #7a9a98 50%,
      #f3d36a 66%,
      #c9a227 78%,
      #0a6b55 90%,
      #00545f 100%
    );
}

.choose-card[data-slug="premium"] .mini {
  background: linear-gradient(
    145deg,
    #8b5a2b 0%,
    #c48a4a 18%,
    #d4dce0 34%,
    #7a9a98 50%,
    #f3d36a 66%,
    #c9a227 78%,
    #0a6b55 90%,
    #00545f 100%
  );
}

.member-card:hover:not(.is-selected):not(.is-dragging) {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.member-card.is-selected {
  z-index: 30 !important;
  filter: none !important;
  opacity: 1 !important;
}

.member-card.is-selected .card-face {
  filter: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.member-card.is-selected .card-tier {
  font-size: 1.85rem;
}

.member-card.is-selected .card-face {
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.22),
    0 0 18px var(--glow-local),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cards-stage.is-picking .member-card:not(.is-selected) {
  filter: saturate(0.65) brightness(0.88);
  pointer-events: none;
}

.cards-nav {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
  z-index: 8;
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  pointer-events: auto;
  overflow: visible;
}

.cards-nav .icon-btn {
  --icon-btn-size: 3.05em;
}

.cards-flip-hint {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cards-nav [data-card-prev] .icon-flip {
  transform: rotate(180deg);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 1.2rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-head h2,
.about-copy h2,
.donate-panel h2,
.contact-grid h2,
.modal h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-lead,
.about-copy p,
.contact-grid p {
  color: var(--text-muted);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.choose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 220px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.choose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.choose-card .mini {
  height: 86px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--c1), var(--c3));
}

.choose-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.choose-card .price {
  font-family: var(--font-heading);
  background: linear-gradient(110deg, var(--text), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.choose-card .validity {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}

.choose-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.choose-card .validity {
  flex: 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.about-visual {
  margin: 0;
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  max-height: 520px;
  filter: saturate(1.05);
  transition: transform 0.6s var(--ease);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 22, 20, 0.35));
  pointer-events: none;
}

.about-visual:hover img {
  transform: scale(1.03);
}

.about-visual figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-points {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.about-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.about-points h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.about-points p {
  margin: 0;
  font-size: 0.95rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
  color: inherit;
}

.media-card .thumb {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface-2);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card .body {
  padding: 1rem 1.1rem 1.2rem;
}

.media-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-family: var(--font-heading);
}

.media-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2.2rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.skeleton-card,
.skeleton-media {
  min-height: 180px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2));
  background-size: 200% 100%;
  animation: skeleton 1.2s ease infinite;
}

.skeleton-media { min-height: 240px; }

@keyframes skeleton {
  to { background-position: -200% 0; }
}

.donate-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  border-radius: clamp(18px, 4vw, 28px);
  position: relative;
  overflow: hidden;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.donate-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.amount-picks {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .amount-picks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.amount-btn,
.amount-free {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: clamp(0.82rem, 2.8vw, 0.92rem);
  padding: 0.55rem 0.65rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.amount-btn.is-on {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
}

.amount-free {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  cursor: default;
}

.amount-free span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.amount-free input {
  width: min(160px, 48%);
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  text-align: right;
  font-size: 16px;
}

.donate-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  min-width: 0;
}

.donate-form .form-grid label,
.donate-form .form-grid .full {
  min-width: 0;
}

.donate-form .form-grid input,
.donate-form .form-grid textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.donate-panel::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(214, 251, 0, 0.14), transparent 70%);
  pointer-events: none;
}

.donate-intro {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.donate-shine {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.2vw, 1.15rem);
  margin: 0 0 0.7rem;
  display: inline-block;
  max-width: 100%;
}

.donate-perks {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.donate-perks li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.donate-perks strong {
  display: block;
  font-family: var(--font-heading);
}

.donate-perks span {
  color: var(--text-muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.section-donate {
  overflow-x: clip;
}

.section-donate .consent-block {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.section-donate .consent-row {
  align-items: flex-start;
  gap: 0.65rem;
}

.section-donate .consent-row span {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-grid .full { grid-column: 1 / -1; }

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

input, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.opt { opacity: 0.6; }

.form-error { color: #b42318; font-size: 0.9rem; }
.form-ok { color: var(--teal); }

.contact-mail,
.contact-phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
}

.contact-phones {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.contact-phones a {
  margin-top: 0.55rem;
}

.contact-form {
  padding: 1.4rem;
  border-radius: 24px;
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  padding: 3rem 1.2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-heading);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-quote {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.15rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 1.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.92rem;
}

.footer-contact,
.footer-legal {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.copyright,
.footer-dev {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-dev a {
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
}

[data-theme="dark"] .footer-dev a {
  color: var(--lime);
}

.linkish {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 18px;
  padding: 0.2rem 1rem 0.2rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  min-height: 64px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0 0 1rem 3rem;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 20px;
}

.cookie-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.cookie-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-points {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.card-overlay,
.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 22, 20, 0.42);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.card-overlay {
  z-index: 20;
  pointer-events: auto;
  cursor: pointer;
}

.modal {
  z-index: 50;
}

.cards-stage.is-picking {
  z-index: 35;
  overflow: visible;
}

.card-overlay[hidden],
.modal[hidden],
.mobile-nav[hidden],
.cookie-banner[hidden] { display: none; }

.modal-panel {
  width: min(560px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 1.5rem;
  border-radius: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.order-summary {
  background: var(--bg);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin: 0.8rem 0 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
}

.confirm-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.thanks-panel {
  text-align: center;
  padding-top: 1.8rem;
}

.thanks-panel .eyebrow {
  justify-content: center;
  text-align: center;
}

.thanks-panel h2 {
  margin-top: 0.35rem;
}

.thanks-panel p {
  color: var(--text-muted);
}

.thanks-panel .btn {
  margin-top: 0.6rem;
}

.news-article img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 0.8rem;
  max-height: 280px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .choose-grid,
  .stats-row,
  .media-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid,
  .contact-grid,
  .donate-panel,
  .hero-banner,
  .cookie-inner {
    grid-template-columns: 1fr;
  }
  .donate-panel {
    padding: 1.35rem 1.15rem;
    gap: 1.5rem;
  }
  .donate-form .form-grid {
    grid-template-columns: 1fr;
  }
  .donate-form .form-grid .full,
  .donate-form .form-grid label {
    grid-column: 1 / -1;
  }
  .donate-perks {
    margin-top: 1rem;
  }
  .hero {
    padding: 1.1rem clamp(0.85rem, 3vw, 1.2rem) 2.4rem;
    min-height: auto;
  }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-tree { order: -1; }
  .hero-tree img { width: min(58%, 320px); }
  .cards-stage { height: 440px; }
  .cards-nav { display: flex; }
  .section {
    padding: 3.2rem clamp(0.85rem, 3vw, 1.2rem);
  }
  .header-inner {
    padding: 0.65rem clamp(0.75rem, 2.5vw, 1.2rem);
  }
}

@media (max-width: 900px) {
  .nav-desktop,
  .btn-donate { display: none; }
  .menu-toggle { display: inline-flex; }
  .cards-stage { height: 400px; }
  .mobile-nav-panel {
    width: min(400px, 86vw);
  }
  .text-pressure {
    font-size: clamp(1.8rem, 10vw, 3.4rem);
    letter-spacing: 0.02em;
  }
}

@media (max-width: 768px) {
  .choose-grid,
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .media-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards-stage { height: 380px; }
  .member-card.is-selected .card-back {
    flex-direction: column;
    flex-wrap: nowrap;
    padding-right: 1rem;
  }
  .member-card.is-selected .card-back-seal {
    width: 78px;
    height: 78px;
    right: 8px;
    top: 10px;
    transform: none;
  }
  .member-card.is-selected .card-back > div:first-child,
  .member-card.is-selected .card-facts {
    flex: 0 1 auto;
  }
  .lookup-form,
  .choose-card .btn,
  .donate-panel .btn {
    width: 100%;
  }
  .choose-card {
    min-height: 0;
  }
  .mobile-nav-panel {
    width: min(380px, 88vw);
    border-radius: 20px 0 0 20px;
  }
  .section-head {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .choose-grid,
  .stats-row,
  .media-grid,
  .form-grid,
  .amount-picks,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 0.35rem 0.9rem 2rem; }
  .hero-tree img { width: min(72%, 260px); }
  .hero-title { font-size: clamp(1.7rem, 8.4vw, 2.5rem); }
  .hero-lead { font-size: 0.98rem; }
  .cards-stage { height: min(420px, 58vh); }
  .cards-stage.is-picking { height: min(460px, 64vh); }
  .member-card.is-selected .card-tier {
    font-size: 1.28rem;
  }
  .member-card.is-selected .card-front {
    padding: 0.7rem 0.75rem 0.65rem;
  }
  .member-card.is-selected .card-back {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0.65rem 4.4rem 0.65rem 0.72rem;
    gap: 0.28rem;
  }
  .member-card.is-selected .card-back-seal {
    width: 68px;
    height: 68px;
    right: 6px;
    top: 8px;
    transform: none;
  }
  .member-card.is-selected .card-back > div:first-child,
  .member-card.is-selected .card-facts {
    flex: 0 1 auto;
    width: 100%;
  }
  .member-card.is-selected .card-back h3 {
    font-size: 0.68rem;
  }
  .member-card.is-selected .card-back p {
    margin: 0.15rem 0 0;
    font-size: 0.58rem;
  }
  .member-card.is-selected .card-back > p {
    display: none;
  }
  .member-card.is-selected .card-facts {
    font-size: 0.56rem;
    gap: 0.06rem;
    letter-spacing: 0.03em;
  }
  .member-card.is-selected .card-cta {
    min-height: 32px;
    width: 100%;
    font-size: 0.7rem;
    padding: 0.3rem 0.55rem;
  }
  .member-card.is-selected .qr-placeholder {
    display: none;
  }
  .member-card.is-selected .card-back-foot {
    width: 100%;
  }
  .member-card.is-selected .card-holder {
    font-size: 0.78rem;
  }
  .member-card.is-selected .card-meta {
    font-size: 0.64rem;
  }
  .faq-item p { margin-left: 0; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .section-head h2,
  .scroll-float {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
    word-wrap: break-word;
  }
  .menu__item-link,
  .marquee span {
    font-size: clamp(0.92rem, 3.6vh, 1.2rem);
  }
  .mobile-nav-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .lookup-form,
  .form-grid,
  .donate-panel {
    width: 100%;
    max-width: 100%;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .btn {
    width: auto;
    max-width: 100%;
  }
  .hero-cta .btn,
  .choose-card .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .header-inner { gap: 0.45rem; }
  .brand { width: 48px; height: 48px; }
  .brand-logo { width: 34px; height: 34px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cards-stage { height: min(400px, 56vh); }
  .cards-stage.is-picking { height: min(430px, 62vh); }
  .cards-nav .icon-btn {
    --icon-btn-size: 2.7em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .brand-orbit,
  .card-seal-orbit { animation: none; }
  .shiny-text, .warp-text, .hero-tree img { animation: none; color: inherit; background: none; }
  .member-card,
  .card-inner {
    transition: none !important;
  }
  .fade-in-start {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .mobile-nav-panel {
    animation: none;
    transform: none;
  }
  .marquee {
    display: none;
  }
}

.consent-block {
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem 0 0.2rem;
}

.consent-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}

.consent-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--teal);
}

.consent-row a {
  color: var(--teal);
  text-decoration: underline;
}

[data-theme="dark"] .consent-row a {
  color: var(--lime);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-body .brand-orbit { display: none; }

.privacy-main {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.4rem) 1.2rem 3rem;
}

.privacy-article {
  display: grid;
  gap: 1.4rem;
}

.privacy-article h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
  line-height: 1.15;
}

.privacy-updated {
  color: var(--text-muted);
  margin: 0;
}

.privacy-article section {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-glass);
}

.privacy-article h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin: 0;
}

.privacy-article p,
.privacy-article li {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.privacy-article ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.privacy-article strong { color: var(--text); }

.theme-toggle-label {
  font-size: 0.78rem;
  padding: 0 0.35rem;
}

.card-access {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
}

.card-access a {
  color: var(--teal);
  font-weight: 600;
}

.confirm-card-link {
  margin: 0.4rem 0 0.8rem;
  color: var(--text-muted);
}

.confirm-card-link a {
  color: var(--teal);
  font-weight: 600;
}

.virtual-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(214, 251, 0, 0.18);
  color: #ecffb6;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-viewer-body .brand-orbit { display: none; }

.card-viewer-main {
  max-width: 920px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 1.2rem 3rem;
}

.card-viewer {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
}

.card-viewer h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
}

.card-viewer .section-lead {
  max-width: 640px;
}

.lookup-form {
  width: min(560px, 100%);
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem 1.15rem;
  text-align: left;
  margin: 0 auto 1rem;
}

.section-mycard .form-error,
.section-mycard .viewer-hint {
  text-align: center;
}

.viewer-member {
  margin: 0.55rem 0 0;
  font-weight: 700;
  color: var(--teal);
}

.lookup-form input {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-viewer-stage {
  position: relative;
  width: min(420px, 94vw);
  height: min(68vh, 280px);
  margin: 0.6rem auto 0;
}

.card-viewer-stage .member-card {
  width: min(360px, 90vw);
  height: calc(min(360px, 90vw) * 0.62);
  cursor: grab;
}

.card-viewer-stage .member-card:active {
  cursor: grabbing;
}

.card-viewer-stage .member-card.is-selected .card-facts {
  display: grid;
}

.viewer-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.forget-card-wrap {
  margin: 0.75rem 0 0;
  text-align: center;
}

.forget-card-btn {
  min-height: 40px;
  padding: 0.4rem 1rem;
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  .card-viewer-stage {
    height: min(52vh, 260px);
    width: min(100%, 94vw);
  }
  .card-viewer-stage .member-card {
    width: min(320px, 88vw);
    height: calc(min(320px, 88vw) * 0.68);
  }
  .donate-panel {
    padding: 1.1rem 0.9rem;
    gap: 1.25rem;
    border-radius: 18px;
  }
  .donate-intro h2 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }
  .donate-perks li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.6rem;
  }
  .amount-picks {
    grid-template-columns: 1fr 1fr;
  }
  .amount-free {
    flex-wrap: wrap;
    padding: 0.55rem 0.75rem;
  }
  .amount-free span {
    width: 100%;
  }
  .amount-free input {
    width: 100%;
    text-align: left;
  }
  .section-donate .consent-row {
    font-size: 0.88rem;
  }
}

.wave-pay {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  margin: 1rem 0 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.wave-pay img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.wave-pay-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  color: var(--teal);
}

[data-theme="dark"] .wave-pay-kicker {
  color: var(--lime);
}

.wave-pay p {
  margin: 0;
}

.wave-number {
  margin: 0.45rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  user-select: all;
}

#confirm-wave {
  display: grid;
  justify-items: start;
  gap: 0.2rem;
  margin: 0.4rem 0 0.8rem;
}

#confirm-wave[hidden],
#wa-confirm[hidden],
#confirm-card-link[hidden] {
  display: none !important;
}

.thanks-body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 251, 0, 0.16), transparent 34%),
    var(--bg);
  color: var(--text);
  overflow: hidden;
}

.thanks-stage {
  width: min(640px, calc(100% - 1.5rem));
  text-align: center;
  padding: 1.2rem 0 2.4rem;
  position: relative;
  z-index: 1;
}

.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-heading);
}

.thanks-brand img {
  width: 42px;
  height: 42px;
}

.thanks-grove {
  position: relative;
  height: min(340px, 58vw);
  margin: 0.4rem auto 0.2rem;
}

.thanks-tree {
  position: absolute;
  bottom: 18px;
  width: min(230px, 46vw);
  height: auto;
  transform-origin: 50% 100%;
  animation: thanks-grow 1.5s var(--ease) both;
  filter: drop-shadow(0 18px 18px rgba(0, 40, 36, 0.28));
  user-select: none;
  pointer-events: none;
}

.thanks-tree-a { left: 4%; width: min(150px, 30vw); animation-delay: 0.05s; }
.thanks-tree-b { left: 50%; width: min(250px, 52vw); margin-left: calc(min(250px, 52vw) / -2); animation-delay: 0.18s; }
.thanks-tree-c { right: 2%; width: min(130px, 26vw); animation-delay: 0.32s; }

.thanks-ground {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 14px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--lime), var(--teal), transparent);
  opacity: 0.55;
}

.thanks-leaf {
  position: absolute;
  top: -8px;
  left: var(--x, 20%);
  width: 12px;
  height: 16px;
  border-radius: 0 80% 0 80%;
  background: var(--lime);
  animation: thanks-fall 5.2s linear infinite;
  animation-delay: var(--d, 0s);
  opacity: 0.85;
}

.thanks-kicker {
  margin: 0.2rem 0 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.thanks-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.3rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.thanks-name strong {
  font-weight: 700;
}

.thanks-grace {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  line-height: 0.95;
  color: var(--lime);
  text-shadow: 0 10px 30px rgba(214, 251, 0, 0.18);
}

.thanks-line {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.thanks-home {
  display: inline-block;
  margin-top: 1.2rem;
}

@keyframes thanks-grow {
  from { opacity: 0; transform: translateY(24px) scale(0.2); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes thanks-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(320px) rotate(140deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .thanks-tree,
  .thanks-leaf {
    animation: none;
  }
  .thanks-leaf { display: none; }
}
