/* Story — warm editorial */
.story {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.story-figure {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.story-figure .imgph { width: 100%; height: 100%; }
.story-figure .frame {
  position: absolute;
  inset: 14px;
  border: 1px solid oklch(0.97 0.02 70 / 0.6);
  border-radius: var(--r-lg);
  pointer-events: none;
  z-index: 2;
}

.story-copy h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 14px 0 24px;
}
.story-copy h2 em { font-style: italic; color: var(--wine); }
.story-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 18px;
}
.story-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-credentials .item .n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 350;
  letter-spacing: -0.02em;
  color: var(--wine);
}
.story-credentials .item .n em { font-style: italic; }
.story-credentials .item .l {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-credentials { grid-template-columns: repeat(2, 1fr); }
}

/* ========= Impact ========= */
.impact {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.impact-band {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.impact-band h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 16px auto 0;
}
.impact-band h2 em { font-style: italic; color: var(--wine); }

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-stat {
  background: var(--bg);
  padding: 36px 24px;
  text-align: left;
}
.impact-stat .n {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 350;
}
.impact-stat .n em { font-style: italic; color: var(--wine); }
.impact-stat .n sub {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--ink-mute);
  vertical-align: super;
  margin-left: 4px;
  font-weight: 500;
}
.impact-stat .label {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 22ch;
}

.impact-map {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 32px;
  background: var(--paper);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.impact-map .map-vis {
  aspect-ratio: 16/9;
  background: var(--bg);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.country-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--wine);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px oklch(0.42 0.12 25 / 0.15);
  animation: pulse 3s var(--ease-out) infinite;
}
.country-dot::after {
  content: attr(data-name);
  position: absolute;
  left: 16px; top: -4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  white-space: nowrap;
  border: 1px solid var(--line);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px oklch(0.42 0.12 25 / 0.15); }
  50% { box-shadow: 0 0 0 14px oklch(0.42 0.12 25 / 0); }
}

@media (max-width: 920px) {
  .impact-stats { grid-template-columns: repeat(2, 1fr); }
  .impact-map { grid-template-columns: 1fr; }
}

/* ========= Events ========= */
.events {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.events-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.events-head h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
}
.events-head h2 em { font-style: italic; color: var(--wine); }
@media (max-width: 560px) {
  .events-head { grid-template-columns: 1fr; align-items: start; }
  .events-head > div:last-child { flex-wrap: wrap; }
}

.events-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease);
  position: relative;
}
.event-row:hover { padding-left: 16px; }
.event-row .date {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.event-row .date .yr { font-size: 13px; color: var(--ink-mute); display: block; margin-top: 4px; letter-spacing: 0.06em; font-family: var(--font-mono); }
.event-row .info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  text-wrap: balance;
}
.event-row .info h3 em { font-style: italic; color: var(--wine); }
.event-row .info .meta {
  font-size: 13.5px;
  color: var(--ink-mute);
  display: flex; gap: 16px; align-items: center;
}
.event-row .info .meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-row .badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.event-row .badge.featured { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.event-row .go {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.event-row:hover .go { background: var(--wine); color: var(--bg); border-color: var(--wine); }

@media (max-width: 720px) {
  .event-row { grid-template-columns: minmax(0, 1fr) auto; }
  .event-row > * { min-width: 0; }
  .event-row .info .meta { flex-wrap: wrap; gap: 4px 12px; }
  .event-row .badge, .event-row .date { grid-column: 1 / -1; }
  .event-row .date { font-size: 18px; }
}

/* ========= App promo ========= */
.app-promo {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: oklch(0.92 0.02 70);
  overflow: hidden;
  position: relative;
}
.app-promo::before {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, oklch(0.42 0.12 25 / 0.3), transparent 60%);
  pointer-events: none;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.app-copy .eyebrow { color: var(--gold); }
.app-copy h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 14px 0 24px;
  color: oklch(0.97 0.02 70);
}
.app-copy h2 em { font-style: italic; color: var(--gold); }
.app-copy p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: oklch(0.78 0.02 70);
  max-width: 52ch;
  margin: 0 0 32px;
}
.app-features {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}
.app-feature {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.app-feature .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: oklch(0.28 0.02 60);
  display: grid; place-items: center;
  color: var(--gold);
}
.app-feature .ttl {
  font-family: var(--font-display);
  font-size: 18px;
  color: oklch(0.95 0.02 70);
  letter-spacing: -0.01em;
}
.app-feature .desc {
  font-size: 14px;
  color: oklch(0.72 0.02 70);
  line-height: 1.5;
  margin-top: 2px;
}
.app-stores {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  background: oklch(0.95 0.02 70);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.2s var(--ease);
}
.app-store:hover { transform: translateY(-2px); }
.app-store .label small { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* phone mock */
.phone-stack {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 520px;
  margin: 0 auto;
}
.phone {
  position: absolute;
  width: 260px;
  aspect-ratio: 9/19;
  border-radius: 36px;
  background: oklch(0.1 0.005 60);
  border: 8px solid oklch(0.14 0.005 60);
  padding: 6px;
  box-shadow: var(--shadow-3);
}
.phone .screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.phone-1 { left: 0; bottom: 0; transform: rotate(-6deg); z-index: 2; }
.phone-2 { right: 0; top: 0; transform: rotate(6deg); z-index: 1; }

.phone-screen-content {
  padding: 28px 18px 18px;
  height: 100%;
  background: linear-gradient(180deg, var(--paper), var(--bg) 60%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-screen-content .ph-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.phone-screen-content .ph-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.05;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.phone-screen-content .ph-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.phone-screen-content .ph-card .ph-thumb {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--ink);
  flex: 0 0 36px;
}
.phone-screen-content .ph-card .ph-meta-l { font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wine); font-family: var(--font-mono); }
.phone-screen-content .ph-card .ph-meta-t { font-size: 11px; font-weight: 600; color: var(--ink); margin-top: 2px; line-height: 1.2; }
.phone-tab {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  background: var(--ink);
  border-radius: 14px;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 14px;
  z-index: 3;
}
.phone-tab .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: oklch(0.5 0 0);
  margin: 0 auto;
}
.phone-tab .dot.on { background: var(--gold); width: 18px; border-radius: 4px; }

@media (max-width: 920px) {
  .app-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    position: relative;
  }
  .app-grid > .app-copy,
  .app-grid > .phone-stack {
    grid-column: 1;
    grid-row: 1;
  }
  .phone-stack {
    max-width: 420px;
    z-index: 0;
    opacity: 0.32;
    margin: 0 auto;
    align-self: center;
    pointer-events: none;
  }
  .app-copy {
    position: relative;
    z-index: 1;
    padding: 28px 22px;
    border-radius: var(--r-md);
    background: oklch(0.18 0.015 60 / 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* ========= Newsletter ========= */
.newsletter {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: var(--paper);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.newsletter-inner::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, oklch(0.72 0.085 80 / 0.3), transparent 60%);
  pointer-events: none;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 16px;
  position: relative;
}
.newsletter h2 em { font-style: italic; color: var(--wine); }
.newsletter p { color: var(--ink-soft); max-width: 44ch; margin: 0; position: relative; }
.nl-form {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px;
  position: relative;
}
.nl-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.nl-form input::placeholder { color: var(--ink-mute); }
.nl-form button { padding: 12px 22px; }
.nl-bonus {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nl-bonus .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--wine); display: inline-block; }

.nl-success {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .newsletter-inner { grid-template-columns: 1fr; }
}

/* ========= Footer ========= */
.footer {
  background: var(--ink);
  color: oklch(0.78 0.02 70);
  padding: clamp(60px, 8vw, 100px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 70);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: oklch(0.85 0.02 70); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--gold); }

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-brand .footer-logo img {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.55;
  color: oklch(0.7 0.02 70);
  max-width: 36ch;
}
.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid oklch(0.32 0.015 60);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-socials a:hover { background: oklch(0.25 0.015 60); border-color: var(--gold); }

.footer-give-cta {
  background: oklch(0.25 0.015 60);
  border-radius: var(--r-md);
  padding: 24px;
}
.footer-give-cta h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.footer-give-cta p { font-size: 13.5px; line-height: 1.5; color: oklch(0.72 0.02 70); margin: 0 0 16px; }

.footer-bottom {
  border-top: 1px solid oklch(0.28 0.015 60);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12.5px;
  color: oklch(0.55 0.02 70);
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-give-cta { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ========= Donate modal ========= */
.donate-modal h3, .subscribe-modal h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.donate-modal h3 em, .subscribe-modal h3 em { font-style: italic; color: var(--wine); }
.donate-modal .sub { color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin: 0 0 24px; }
.donate-frequency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-bottom: 18px;
}
.donate-frequency button {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.donate-frequency button.on { background: var(--ink); color: var(--bg); }
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.donate-amounts button {
  padding: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.donate-amounts button:hover { border-color: var(--ink); }
.donate-amounts button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.donate-custom {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.donate-custom .dollar {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-mute);
}
.donate-custom input {
  border: 0;
  outline: none;
  background: transparent;
  flex: 1;
  padding: 16px 8px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
}
.donate-impact {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.donate-impact .ic {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--bg);
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.donate-impact .txt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.donate-impact .txt strong { color: var(--ink); font-family: var(--font-display); font-style: italic; font-weight: 400; }

.donate-cta { display: flex; gap: 8px; }
.donate-cta .btn { flex: 1; justify-content: center; }
.donate-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease);
}
.donate-close:hover { background: var(--line); }
.modal { position: relative; }

.donate-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.donate-footer .secure { display: inline-flex; align-items: center; gap: 6px; }


/* App access-code callout (AppPromo) */
.app-code {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 4px 0 26px; padding: 10px 16px 10px 18px;
  border: 1px dashed oklch(0.55 0.05 250 / 0.6); border-radius: var(--r-md);
}
.app-code .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.app-code .code { font-family: var(--font-mono); font-size: 18px; font-weight: 500; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }

/* App how-to-join steps (AppPromo) */
.app-steps { list-style: none; margin: -8px 0 28px; padding: 0; display: grid; gap: 10px; }
.app-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.app-steps .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--gold);
  border: 1px solid oklch(0.55 0.05 250 / 0.6);
}
.app-steps a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* App QR code beside the steps (hidden on phones: you can't scan your own screen) */
.app-join { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 28px; }
.app-join .app-steps { margin-bottom: 0; flex: 1; }
.app-qr { flex: none; display: grid; justify-items: center; gap: 8px; margin-top: -8px; }
.app-qr img { width: 112px; height: 112px; padding: 8px; background: #fff; border-radius: var(--r-md); image-rendering: pixelated; }
.app-qr span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); max-width: 128px; text-align: center; line-height: 1.4; }
@media (max-width: 720px) { .app-qr { display: none; } }

/* Newsletter sign-up modal (Constant Contact inline form inside) */
.subscribe-modal .sub { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.subscribe-form .ctct-form-embed.form_0 .ctct-form-defaults { background: transparent !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.subscribe-form .ctct-form-header,
.subscribe-form .ctct-form-text:not(.ctct-gdpr-text) { display: none !important; }
.subscribe-form .ctct-form-label { font-family: var(--font-sans) !important; font-size: 13px !important; color: var(--ink) !important; }
.subscribe-form .ctct-form-element {
  font-family: var(--font-sans) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
}
.subscribe-form .ctct-form-element:focus { border-color: var(--ink) !important; outline: none; }
.subscribe-form .ctct-form-button {
  font-family: var(--font-sans) !important;
  background: var(--wine) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}
.subscribe-form .ctct-gdpr-text { font-size: 11px !important; color: var(--ink-mute) !important; }
.subscribe-form .ctct-form-success { color: var(--ink) !important; }
.sub-dismiss {
  display: block; margin: 14px auto 0; padding: 10px 16px;
  font-size: 14px; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px;
  background: none; border: 0; cursor: pointer;
}
.modal-back { cursor: pointer; }
.modal { cursor: auto; }
/* No page scrolling behind an open pop-up */
html:has(.modal-back.open) { overflow: hidden; }
@media (max-width: 560px) {
  .modal-back { padding: 12px; }
  .subscribe-modal, .donate-modal {
    padding: 56px 20px 24px;
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  /* Close button pinned to the top corner of the screen, big enough to tap,
     so it never scrolls away inside a tall pop-up. */
  .modal-back.open .donate-close {
    position: fixed; z-index: 5;
    top: calc(env(safe-area-inset-top, 0px) + 18px); right: 18px;
    width: 44px; height: 44px;
    background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  }
  .modal-back.open .donate-close svg { width: 16px; height: 16px; }
}
/* iPhone zooms into any form field under 16px and stays zoomed */
@media (max-width: 820px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
