/*
Theme Name: Willcocks Group Giving Drive
Theme URI: https://willcockgiving.wpenginepowered.com
Author: Studio Mon Mon
Author URI: https://studiomonmon.com
Description: One-page theme for the Willcocks Group Giving Drive. Three vetted charities a month, one vote each, in partnership with The Life You Can Save.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: willcocks-giving-drive
*/
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  :root {
    --ink: #14180f;
    --ink-2: #1f2a1c;
    --paper: #fafaf7;
    --cream: #f3efe6;
    --accent: #4f9470;   /* the one accent: 3.2-3.5:1 on light grounds, 4.3-5:1 on dark */
    --sage: var(--accent);
    --mint: var(--accent);
    --sage-deep: var(--accent);
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --line: #ece8de;
  }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }

  /* shared display type */
  .display {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -1.2px;
    line-height: 1.04;
  }
  .display em {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.5px;
  }
  .label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sage-deep);
  }

  /* ============ NAV ============ */
  .topbar {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 10;
    color: white;
    padding: 28px 48px;
  }
  .topbar-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0;
  }
  .topbar .brand {
    font-size: 17px; font-weight: 500;
    letter-spacing: 0.3px;
  }
  .topbar .brand em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 400;
  }
  .topbar a.cta {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 11px 22px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 600;
    transition: all .2s;
  }
  .topbar a.cta:hover { background: white; color: var(--ink-2); border-color: white; }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    height: 100vh; min-height: 720px;
    overflow: hidden; color: white;
    display: flex; align-items: center;
    padding: 120px 48px 60px;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: url('giving-drive-hero-kids.jpg');
    background-size: cover; background-position: center right;
    background-color: #14281a;
  }
  .hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,40,26,0.9) 0%, rgba(20,40,26,0.55) 30%, rgba(20,40,26,0.1) 55%, rgba(20,40,26,0) 70%);
  }
  .hero-inner {
    position: relative; z-index: 2;
    max-width: 1320px; width: 100%; margin: 0 auto;
    padding: 0;
  }
  .hero-eyebrow {
    font-size: 13px; letter-spacing: 2.8px; text-transform: uppercase;
    margin-bottom: 36px; font-weight: 700;
    color: white;
  }
  .hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(56px, 8vw, 124px);
    line-height: 0.98; letter-spacing: -2px;
    margin-bottom: 36px;
    max-width: 1100px;
  }
  .hero h1 em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 400;
    letter-spacing: -1px;
  }
  .hero-sub {
    font-size: 18px; max-width: 640px;
    opacity: 1; font-weight: 600; line-height: 1.5;
    color: white;
  }

  /* ============ STATS ============ */
  .impact {
    background: var(--ink);
    color: white;
    padding: 140px 48px;
    position: relative; overflow: hidden;
  }
  .impact-inner {
    max-width: 1320px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .impact .label { color: var(--sage); margin-bottom: 48px; }

  .impact-statement {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    max-width: 1080px;
    margin-bottom: 120px;
    color: white;
  }
  .impact-statement em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 500;
    color: var(--accent);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
  }
  .impact-statement em::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.08em;
    height: 2px;
    background: rgba(184, 224, 200, 0.35);
    border-radius: 1px;
  }
  .impact-statement .big {
    display: inline-block;
    font-weight: 500;
    color: white;
  }

  .impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    padding-top: 56px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .stat-num {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(64px, 7.5vw, 120px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: var(--accent);
  }
  .stat-lbl {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    max-width: 240px;
    font-weight: 400;
  }

  .impact-foot {
    margin-top: 96px; padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.14);
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: clamp(20px, 1.9vw, 26px);
    color: var(--accent);
    max-width: 820px;
    line-height: 1.45;
    letter-spacing: -0.3px;
  }

  /* ============ sections ============ */
  section { padding: 140px 48px; }
  .container { max-width: 1320px; margin: 0 auto; }

  h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05; letter-spacing: -1.2px;
    margin-bottom: 36px;
    max-width: 880px;
  }
  h2 em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 500;
    letter-spacing: -0.4px;
  }

  .why-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 64px; align-items: start;
  }
  .why-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
  .why-text h2 {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.8px;
  }
  .why-text .label { margin-bottom: 24px; }
  .why-text p {
    font-size: 17px; margin-bottom: 20px; color: var(--text);
    line-height: 1.65; font-weight: 400;
  }
  .why-text p:last-child { margin-bottom: 0; }

  /* ============ TLYS ============ */
  .tlys { background: var(--cream); }
  .tlys-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 96px; align-items: center;
  }
  .tlys-text .label { margin-bottom: 24px; }
  .tlys-text p {
    font-size: 17px; color: var(--text);
    margin-bottom: 18px; line-height: 1.65;
  }
  .tlys-card {
    background: white;
    padding: 52px 44px;
    border: 1px solid #e8e2d3;
  }
  .tlys-logo {
    height: 44px; margin-bottom: 36px;
    filter: brightness(0.85);
  }
  .tlys-headline {
    font-family: 'Inter', sans-serif;
    font-size: 24px; font-weight: 500;
    line-height: 1.25; letter-spacing: -0.5px;
    margin-bottom: 20px;
  }
  .tlys-card p {
    font-size: 15px; color: #4a4a4a;
    margin-bottom: 14px; line-height: 1.6;
  }
  .tlys-meta {
    margin-top: 32px; padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-bottom: 28px;
  }
  .tlys-meta-item .k {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px; font-weight: 500;
  }
  .tlys-meta-item .v {
    font-size: 17px; font-weight: 500;
  }
  .tlys-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ink-2); font-weight: 600;
    padding-bottom: 4px; border-bottom: 1px solid var(--ink-2);
  }

  /* ============ HOW IT WORKS ============ */
  .process {
    background-color: #f6f2e4;
    background-image: url('giving-drive-jars.jpg');
    background-size: cover;
    background-position: right 0%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
  }
  .process-mobile-img {
    display: none;
    width: 100%;
    height: auto;
  }
  .process .label { margin-bottom: 24px; }
  .process > .container > p {
    font-size: 18px; color: var(--muted); max-width: 620px;
    line-height: 1.65;
  }

  .journey {
    margin-top: 96px;
    position: relative;
  }
  .journey-track {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px;
    position: relative;
  }
  .journey-line {
    position: absolute; top: 24px; left: 12.5%; right: 12.5%;
    height: 1px; background: var(--line); z-index: 0;
  }
  .journey-step {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
  }
  .journey-node {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink-2);
    border: 1px solid var(--ink-2);
    display: grid; place-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
  }
  .journey-step h3 {
    font-size: 19px; font-weight: 500;
    margin-bottom: 12px; line-height: 1.3;
    letter-spacing: -0.3px;
  }
  .journey-step p {
    color: var(--muted); font-size: 15px;
    line-height: 1.6; font-weight: 400;
  }

  /* ============ Quote banners ============ */
  .divider-img {
    min-height: 480px;
    background-size: cover; background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 32px;
  }
  .divider-singer {
    background-image: url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=2400&q=80');
  }
  .divider-burke {
    background-image: url('https://www.thelifeyoucansave.org.au/wp-content/uploads/2024/02/FF_TLYCSWebPhotoUpdate_202603-scaled.jpg');
  }
  .divider-img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,24,15,0.35), rgba(20,24,15,0.6));
  }
  .quote-block {
    position: relative;
    width: 100%; max-width: 1200px;
    color: white;
    text-align: center;
    z-index: 2;
  }
  .quote-block .quote {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(22px, 2.8vw, 40px);
    line-height: 1.3;
    letter-spacing: -1px;
    margin: 0 auto 28px;
  }
  .quote-block .quote span {
    display: block;
    white-space: nowrap;
  }
  .quote-attr {
    font-family: 'Inter', sans-serif;
    font-size: 13px; letter-spacing: 2.5px;
    text-transform: uppercase; font-weight: 600;
    color: white; opacity: 0.9;
  }
  .quote-attr::before { content: '— '; opacity: 0.7; }

  /* ============ TLYS CHARITIES (master/detail) ============ */
  .charities { background: var(--paper); }
  .charities .label { margin-bottom: 24px; }
  .charities-intro {
    max-width: 660px; color: var(--muted); font-size: 17px;
    line-height: 1.65; margin-bottom: 48px;
  }
  .charity-search {
    margin-bottom: 12px;
    position: relative; max-width: 320px;
  }
  .charity-search input {
    width: 100%; padding: 13px 16px 13px 42px;
    border: 1px solid var(--line);
    background: white;
    font-size: 14px; font-family: inherit;
    outline: none;
    transition: border-color .2s;
  }
  .charity-search input::placeholder { color: #aaa; }
  .charity-search input:focus { border-color: var(--ink-2); }
  .charity-search::before {
    content: '⌕'; position: absolute;
    left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--sage-deep); font-size: 16px;
  }
  .charity-count {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); margin: 16px 0 32px; font-weight: 500;
  }

  .master-detail {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    border-top: 1px solid var(--line);
  }
  .md-list {
    max-height: 640px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    padding-right: 4px;
  }
  .md-list::-webkit-scrollbar { width: 4px; }
  .md-list::-webkit-scrollbar-track { background: transparent; }
  .md-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

  .md-tab {
    display: grid;
    grid-template-columns: 32px 1fr 12px;
    gap: 18px; align-items: center;
    width: 100%;
    padding: 18px 12px;
    background: none; border: none;
    border-bottom: 1px solid var(--line);
    text-align: left; cursor: pointer;
    transition: background .15s, padding .15s;
  }
  .md-tab:hover { background: white; }
  .md-tab.active {
    background: white;
    padding-left: 16px;
    box-shadow: inset 2px 0 0 var(--ink-2);
  }
  .md-tab-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    justify-self: center;
  }
  .md-tab-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.1px;
  }
  .md-tab-arrow {
    color: #c7c1ae;
    font-size: 13px;
    transition: transform .2s, color .2s;
  }
  .md-tab.active .md-tab-arrow {
    color: var(--ink-2);
    transform: translateX(3px);
  }

  .md-detail { padding: 32px 0; }
  .md-img-wrap {
    height: 320px;
    margin-top: 40px;
    overflow: hidden;
    background: var(--cream);
  }
  .md-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity .25s;
  }
  .md-img-wrap.loading img { opacity: 0.2; }
  .md-tag {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .md-name {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -1px;
  }
  .md-desc {
    font-size: 17px;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 600px;
  }
  .md-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ink-2); font-weight: 700;
    border-bottom: 1px solid var(--ink-2);
    padding-bottom: 4px;
  }

  /* ============ ONGOING BENEFICIARIES (compact) ============ */
  .beneficiaries {
    background: var(--cream);
    padding: 96px 48px;
  }
  .beneficiaries .label { margin-bottom: 20px; }
  .beneficiaries h2 {
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.6px;
    margin-bottom: 28px;
  }
  .beneficiaries .explainer {
    max-width: 760px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 56px;
  }
  .beneficiary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 48px;
    border-top: 1px solid #d8d0c2;
  }
  .beneficiary-list span {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid #ece8de;
    font-weight: 500;
  }
  .beneficiary-list span::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sage-deep);
    flex-shrink: 0;
    opacity: 0.55;
  }

  /* ============ FORM ============ */
  .form-section {
    color: white; position: relative;
    background-image:
      linear-gradient(rgba(20,24,15,0.93), rgba(20,24,15,0.95)),
      url('https://www.thelifeyoucansave.org.au/wp-content/uploads/2025/10/Mask-Group-57.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
  }
  .form-section h2 { color: white; }
  .form-section .label { color: var(--sage); }
  form { max-width: 720px; }
  .form-section > .container > p {
    font-size: 17px; max-width: 600px;
    margin-bottom: 64px; opacity: 0.75; line-height: 1.6;
    font-weight: 300;
  }
  .field { margin-bottom: 28px; }
  .field label {
    display: block; font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 12px;
    color: rgba(255,255,255,0.65); font-weight: 500;
  }
  .field input, .field select, .field textarea {
    width: 100%; padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    color: white; font-size: 16px; font-family: inherit;
    outline: none; transition: border-color .2s;
  }
  .field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--sage);
  }
  .field select { appearance: none; cursor: pointer; }
  .field select option { color: var(--text); background: white; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .consent-field {
    margin: 36px 0;
  }
  .consent-field .consent-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin-bottom: 18px;
    text-transform: none;
    letter-spacing: 0;
    max-width: 600px;
  }
  .yes-no {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 4px;
    background: rgba(255,255,255,0.04);
  }
  .yes-no input { display: none; }
  .yes-no label {
    cursor: pointer;
    padding: 10px 28px;
    font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; font-weight: 700;
    color: rgba(255,255,255,0.7);
    border-radius: 999px;
    transition: background .2s, color .2s;
    margin: 0;
  }
  .yes-no input:checked + label {
    background: var(--sage);
    color: var(--ink-2);
  }
  .submit-btn {
    background: var(--sage); color: var(--ink-2);
    padding: 18px 40px; border: none;
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    font-weight: 700; cursor: pointer;
    transition: background .2s;
  }
  .submit-btn:hover { background: white; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--ink); color: rgba(255,255,255,0.5);
    padding: 56px 48px;
    font-size: 13px; line-height: 1.8;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px;
  }
  footer strong { color: rgba(255,255,255,0.85); font-weight: 500; }
  footer .right { text-align: right; opacity: 0.7; }

  /* ============ responsive ============ */
  @media (max-width: 1100px) {
    .tlys-grid { grid-template-columns: 1fr; gap: 56px; }
    .impact-stats { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .why-grid img { aspect-ratio: 3/2; height: auto; }
    .singer-block {
      grid-template-columns: 1fr;
      gap: 48px;
      margin-top: 64px;
      padding-top: 64px;
    }
    .singer-block img { aspect-ratio: 3/2; }
    .journey-track { grid-template-columns: repeat(2, 1fr); gap: 56px; }
    .journey-line { display: none; }
    .master-detail { grid-template-columns: 1fr; gap: 0; }
    .md-list {
      max-height: 380px;
      border-right: none;
      border-bottom: 1px solid var(--line);
      padding-right: 0;
      margin-bottom: 40px;
    }
    .beneficiary-list { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  }
  @media (max-width: 760px) {
    .topbar-inner { padding: 20px 24px; }
    .topbar a.cta { padding: 9px 16px; font-size: 10px; }
    .topbar .brand { font-size: 12px; }
    .hero { padding: 90px 24px 40px; }
    .hero-inner { padding: 0; }
    .impact { padding: 88px 24px; }
    .impact-statement { margin-bottom: 64px; }
    .impact-foot { margin-top: 64px; }
    section { padding: 88px 24px; }
    .why-grid img { aspect-ratio: 3/2; }
    .tlys-card { padding: 36px 28px; }
    .singer-block { margin-top: 48px; padding-top: 48px; }
    .quote-block .quote span { white-space: normal; }
    .journey-track { grid-template-columns: 1fr; gap: 40px; }
    .process {
      background-image: none;
      background-color: var(--cream);
      padding: 0 24px 72px;
    }
    .process-mobile-img {
      display: block;
      max-width: none;
      width: calc(100% + 48px);
      margin: 0 -24px 40px;
    }
    .md-detail { padding: 24px 0 0; }
    .md-img-wrap { height: 220px; margin-top: 24px; }
    .md-name { font-size: 26px; }
    .md-desc { font-size: 16px; }
    .beneficiaries { padding: 72px 24px; }
    .beneficiary-list { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-section { background-attachment: scroll; }
    footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
    footer .right { text-align: left; }
  }

  /* ============ THIS MONTH (3 JARS) ============ */
  .this-month {
    background: var(--paper);
    background-image:
      radial-gradient(ellipse at 15% 0%, rgba(199,212,184,0.18) 0%, transparent 55%),
      radial-gradient(ellipse at 85% 100%, rgba(107,125,92,0.08) 0%, transparent 50%);
    padding: 140px 48px;
    position: relative;
  }
  .this-month-inner { max-width: 1320px; margin: 0 auto; }
  .this-month-head {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: end; margin-bottom: 72px;
  }
  .this-month-head .label { margin-bottom: 16px; }
  .this-month h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.02; letter-spacing: -1.8px;
  }
  .this-month h2 em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 400;
    color: var(--sage-deep);
  }
  .this-month-meta { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
  .this-month-meta .window { font-size: 14px; color: var(--muted); line-height: 1.55; }
  .this-month-meta .window strong { color: var(--ink-2); font-weight: 600; }
  .jars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
  .jar-card {
    background: white;
    border: 1px solid var(--line);
    padding: 40px 32px 32px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform .25s, box-shadow .25s;
  }
  .jar-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(31,42,28,0.08); }
  .jar-rank {
    position: absolute; top: 24px; right: 28px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700; color: var(--muted);
  }
  .jar-rank.leading { color: var(--sage-deep); }
  .jar-cause {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 600; color: var(--sage-deep);
    margin-bottom: 14px;
  }
  .jar-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px; line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: var(--ink-2);
  }
  .jar-blurb {
    font-size: 15px; color: var(--muted);
    line-height: 1.6; margin-bottom: 10px;
    min-height: 90px;
  }
  .jar-vessel {
    display: flex; align-items: flex-end; justify-content: center;
    margin-bottom: 24px; height: 180px;
  }
  .jar-vessel svg { height: 180px; width: auto; }
  .jar-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .jar-stat .big {
    font-family: 'Inter', sans-serif;
    font-weight: 500; font-size: 30px;
    line-height: 1; letter-spacing: -0.8px;
    color: var(--ink-2); margin-bottom: 6px;
  }
  .jar-stat .lbl {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
  }
  .jar-stat.right { text-align: right; }
  .jar-note {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-style: normal; color: var(--muted);
    font-size: 16px;
  }

  /* ============ REDEEM TOKEN BAND ============ */
  .redeem {
    background: var(--ink);
    color: white;
    padding: 140px 48px;
    position: relative; overflow: hidden;
  }
  .redeem::before {
    content: '';
    position: absolute; top: -20%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(184,224,200,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .redeem-inner {
    max-width: 980px; margin: 0 auto;
    position: relative; z-index: 2; text-align: center;
  }
  .redeem .label { color: var(--sage); margin-bottom: 24px; }
  .redeem h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05; letter-spacing: -1.8px;
    margin: 0 auto 24px;
    color: white;
    max-width: 820px;
  }
  .redeem .label {
    display: block;
    text-align: center;
  }
  .redeem h2 em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 400;
    color: var(--sage);
  }
  .redeem p {
    font-size: 18px; line-height: 1.55;
    opacity: 0.8; margin-bottom: 48px;
    max-width: 560px; margin-left: auto; margin-right: auto;
  }
  .token-form {
    display: flex; gap: 0;
    max-width: 540px; margin: 0 auto 24px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
  }
  .token-form input {
    flex: 1; padding: 20px 24px;
    background: transparent; border: none;
    color: white; font-size: 16px;
    letter-spacing: 2px; text-transform: uppercase;
    font-family: 'Inter', sans-serif; font-weight: 500;
    outline: none;
  }
  .token-form input::placeholder {
    color: rgba(255,255,255,0.4); letter-spacing: 1.5px;
  }
  .token-form button {
    background: var(--sage); color: var(--ink);
    border: none; padding: 0 32px;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700; cursor: pointer;
    transition: background .2s;
  }
  .token-form button:hover { background: white; }
  .token-note {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0 auto !important;
    max-width: 440px !important;
    letter-spacing: 0.1px;
    display: block;
  }

  /* ---- voting state ---- */
  .jar-vote-btn {
    display: none;
    width: calc(100% + 64px);
    margin: 28px -32px -32px -32px;
    padding: 22px 16px;
    background: var(--ink-2);
    color: white;
    border: none;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background .2s, letter-spacing .2s;
  }
  .jar-vote-btn:hover,
  .jar-vote-btn:focus-visible {
    background: #000;
    letter-spacing: 3px;
    outline: none;
  }
  body.voting-ready .jar-vote-btn { display: block; }
  body.voting-ready .jar-card {
    outline: 2px solid transparent;
    transition: outline-color .25s, transform .25s, box-shadow .25s;
  }
  body.voting-ready .jar-card:hover {
    outline-color: var(--mint);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(31,42,28,0.1);
  }

  /* ---- coin drop animation ---- */
  .jar-vessel { position: relative; }
  .falling-coin {
    position: absolute;
    top: 0; left: 50%;
    width: 26px; height: 26px;
    margin-left: -13px;
    pointer-events: none;
    z-index: 20;
    animation: coinDrop 0.95s cubic-bezier(0.5, 0.05, 0.65, 1) forwards;
  }
  @keyframes coinDrop {
    0%   { transform: translateY(-80px) rotate(0deg) scale(1.05); opacity: 0; }
    15%  { transform: translateY(-60px) rotate(60deg) scale(1.05); opacity: 1; }
    75%  { transform: translateY(var(--coin-land, 135px)) rotate(520deg) scale(1); opacity: 1; }
    85%  { transform: translateY(calc(var(--coin-land, 135px) - 7px)) rotate(540deg) scale(1); opacity: 1; }
    100% { transform: translateY(calc(var(--coin-land, 135px) - 3px)) rotate(548deg) scale(1); opacity: 1; }
  }
  @keyframes jarShake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
  }
  .jar-vessel.landed svg { animation: jarShake .18s ease-out; }
  @keyframes voteBump {
    0% { transform: scale(1); color: var(--ink-2); }
    15% { transform: scale(1.4); color: var(--accent); }
    45% { transform: scale(1.25); color: var(--accent); }
    100% { transform: scale(1); color: var(--accent); }
  }
  .jar-stat .big.bumped {
    animation: voteBump 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
    color: var(--accent);
  }

  /* token form "used" state */
  .token-form.used {
    border-color: var(--sage);
    background: rgba(199,212,184,0.08);
  }
  .token-form.used input { color: var(--sage); }
  .token-form.used button {
    background: transparent; color: var(--sage);
    pointer-events: none;
  }

  /* vote confirmation overlay */
  .vote-overlay {
    position: fixed; inset: 0;
    background: rgba(20,24,15,0.78);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center; justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity .3s;
    padding: 24px;
  }
  .vote-overlay.open { display: flex; opacity: 1; }
  .vote-overlay .card {
    background: var(--paper);
    max-width: 520px; width: 100%;
    padding: 56px 48px 48px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .vote-overlay.open .card { transform: translateY(0); }
  .vote-overlay .tick {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--mint);
    display: grid; place-items: center;
    margin: 0 auto 28px;
    font-size: 26px; color: var(--ink-2);
    font-weight: 700;
  }
  .vote-overlay .label {
    color: var(--sage-deep);
    margin-bottom: 14px;
  }
  .vote-overlay h3 {
    font-family: 'Inter', sans-serif;
    font-size: 28px; font-weight: 500;
    line-height: 1.2; letter-spacing: -0.6px;
    margin-bottom: 20px;
    color: var(--ink-2);
  }
  .vote-overlay h3 em {
    font-family: 'Inter', sans-serif;
    font-style: normal; font-weight: 400;
    color: var(--sage-deep);
  }
  .vote-overlay p {
    font-size: 15px; color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 400px; margin-left: auto; margin-right: auto;
  }
  .vote-overlay .close-btn {
    background: var(--ink-2); color: white;
    border: none;
    padding: 14px 32px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
  }
  .vote-overlay .close-btn:hover { background: #000; }
  @media (max-width: 500px) {
    .vote-overlay .card { padding: 40px 28px 32px; }
  }

  @media (max-width: 1100px) {
    .this-month-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
    .jars { grid-template-columns: 1fr; gap: 24px; }
  }
  @media (max-width: 760px) {
    .this-month, .redeem { padding: 80px 24px; }
    .jar-card { padding: 32px 24px 24px; }
    .jar-name { font-size: 22px; }
    .jar-vote-btn {
      width: calc(100% + 48px);
      margin: 24px -24px -24px -24px;
    }
    .token-form { flex-direction: column; }
    .token-form input { padding: 18px 16px; text-align: center; }
    .token-form button { padding: 18px 16px; width: 100%; }
  }

  .jar-learn {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sage-deep);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--sage-deep);
    margin-bottom: 28px;
    transition: color .2s, border-color .2s, transform .2s;
    align-self: flex-start;
  }
  .jar-learn:hover {
    color: var(--ink-2);
    border-color: var(--ink-2);
  }

  @keyframes livePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
  }
  .jar-rank.leading::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--sage-deep);
    margin-right: 8px;
    vertical-align: middle;
    animation: livePulse 1.8s ease-in-out infinite;
  }

  /* ============ MOBILE PASS (appended; desktop untouched) ============ */
  /* back-to-list link only exists for the stacked master/detail layout */
  .md-back { display: none; }

  @keyframes coinDropSm {
    0%   { transform: translateY(-62px) rotate(0deg) scale(1.05); opacity: 0; }
    15%  { transform: translateY(-47px) rotate(60deg) scale(1.05); opacity: 1; }
    75%  { transform: translateY(105px) rotate(520deg) scale(1); opacity: 1; }
    85%  { transform: translateY(100px) rotate(540deg) scale(1); opacity: 1; }
    100% { transform: translateY(103px) rotate(548deg) scale(1); opacity: 1; }
  }

  /* touch devices: no sticky hover lift after a tap */
  @media (hover: none) {
    .jar-card:hover,
    body.voting-ready .jar-card:hover { transform: none; box-shadow: none; outline-color: transparent; }
    .jar-vote-btn:hover { background: var(--ink-2); letter-spacing: 2.4px; }
  }

  @media (max-width: 1100px) {
    .md-detail { scroll-margin-top: 16px; }
    .md-list { scroll-margin-top: 16px; }
    .md-back {
      display: inline-flex; align-items: center; gap: 8px;
      background: none; border: none; cursor: pointer;
      font: inherit; font-size: 11px; letter-spacing: 2px;
      text-transform: uppercase; font-weight: 700;
      color: var(--sage-deep);
      padding: 14px 0; margin-bottom: 8px;
    }
  }

  /* portrait tablets: copy anchored low on a vertical scrim, faces and jars stay clear */
  @media (max-width: 1100px) and (orientation: portrait) {
    .hero {
      height: auto;
      min-height: 100vh; min-height: 100svh;
      align-items: flex-end;
      padding: 120px 48px 56px;
    }
    .hero::before { background-position: 62% top; }
    .hero::after {
      background: linear-gradient(180deg,
        rgba(20,40,26,0.5) 0%, rgba(20,40,26,0) 18%,
        rgba(20,40,26,0.25) 40%, rgba(20,40,26,0.9) 66%, rgba(20,40,26,0.97) 100%);
    }
    .hero h1 { font-size: clamp(56px, 10vw, 84px); }
    .manifesto { font-size: clamp(56px, 10vw, 84px); }
    .hero-sub { font-size: 17px; }
  }

  @media (max-width: 760px) {
    /* nav: padding lives on .topbar so brand lines up with the 24px page gutter */
    .topbar { padding: 20px 24px; }
    .topbar-inner { padding: 0; }
    .topbar a.cta { padding: 12px 16px; }

    /* hero: copy anchored low on a vertical scrim, face stays clear */
    .hero {
      height: auto;
      min-height: 100vh; min-height: 100svh;
      align-items: flex-end;
      padding: 96px 24px 40px;
    }
    .hero::before { background-position: 66% top; }
    .hero::after {
      background: linear-gradient(180deg,
        rgba(20,40,26,0.5) 0%, rgba(20,40,26,0) 20%,
        rgba(20,40,26,0.3) 42%, rgba(20,40,26,0.9) 68%, rgba(20,40,26,0.97) 100%);
    }
    .hero-eyebrow { font-size: 11px; letter-spacing: 2.2px; margin-bottom: 20px; line-height: 1.6; }
    .hero h1 { font-size: clamp(46px, 14vw, 64px); letter-spacing: -1.5px; margin-bottom: 20px; }
    .hero-sub { font-size: 16px; line-height: 1.55; }

    /* type scale */
    .impact-statement { font-size: clamp(28px, 8vw, 34px); letter-spacing: -0.8px; }
    h2, .this-month h2, .redeem h2 { font-size: clamp(32px, 9vw, 40px); letter-spacing: -1px; margin-bottom: 24px; }
    .redeem p, .process > .container > p { font-size: 16px; }
    .why-text p, .tlys-text p, .charities-intro, .md-desc { font-size: 16px; }

    /* stats: three across instead of three stacked */
    .impact-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 32px; }
    .stat-num { font-size: 44px; letter-spacing: -1.5px; margin-bottom: 12px; }
    .stat-lbl { font-size: 12px; line-height: 1.45; }
    .impact-foot { margin-top: 48px; padding-top: 28px; }

    /* jars: smaller vessel, rank in flow so it cannot collide with the cause line */
    .this-month-head { margin-bottom: 40px; }
    .jar-rank { position: static; display: block; margin-bottom: 12px; }
    .jar-blurb { min-height: 0; }
    .jar-vessel { height: 140px; margin-bottom: 20px; }
    .jar-vessel svg { height: 140px; }
    .falling-coin { animation-name: coinDropSm; }
    .jar-stat .big { font-size: 26px; }

    /* tap targets: grow the hit area without changing the look */
    .jar-learn, .tlys-link, .md-link { position: relative; }
    .jar-learn::after, .tlys-link::after, .md-link::after {
      content: ''; position: absolute; left: -8px; right: -8px; top: -14px; bottom: -14px;
    }
    .vote-overlay .close-btn { padding: 16px 36px; }
    .submit-btn { padding: 18px 32px; }

    /* token form */
    .token-form input { font-size: 16px; }

    /* charities list */
    .md-list { max-height: 360px; }
    .md-tab { padding: 16px 12px; min-height: 56px; }
    .md-name { font-size: 24px; }
    .charity-search { max-width: none; }
    .charity-search input { font-size: 16px; }

    /* quote banners */
    .divider-img { min-height: 380px; padding: 72px 24px; }
    .quote-block .quote { font-size: clamp(20px, 6vw, 26px); letter-spacing: -0.5px; }
    .quote-attr { font-size: 11px; letter-spacing: 2px; }
  }
  /* ============ V2 DESIGN PASS (one typeface, grid-led) ============ */
  :root { --tone: var(--accent); --tone-dark: var(--accent); --bleed: min(-48px, calc((1320px - 100vw) / 2)); }

  /* section labels: sentence case with a running index, no boxes or markers */
  body { counter-reset: sec; }
  .label { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--muted); display: flex; gap: 14px; align-items: baseline; }
  .impact .label, .process .label, .this-month .label, .redeem .label,
  .why-text .label, .tlys-text .label, .charities .label, .beneficiaries .label { counter-increment: sec; }
  .impact .label::before, .process .label::before, .this-month .label::before, .redeem .label::before,
  .why-text .label::before, .tlys-text .label::before, .charities .label::before, .beneficiaries .label::before {
    content: '(' counter(sec, decimal-leading-zero) ')'; color: var(--sage-deep); font-variant-numeric: tabular-nums;
  }
  .impact .label, .redeem .label { color: rgba(255,255,255,0.6); }
  .impact .label::before, .redeem .label::before { color: var(--sage); }
  .redeem .label { justify-content: center; }
  .vote-overlay .label { justify-content: center; }
  .hero-eyebrow { font-weight: 500; font-size: 12px; letter-spacing: 0.14em; }

  /* display type: tight, light-handed, one family. Emphasis is a tone shift. */
  .hero h1 { font-weight: 500; line-height: 0.94; letter-spacing: -0.045em; margin-left: -0.055em; }
  .hero h1 em { color: var(--accent); }
  h2 em, .impact-statement em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--tone); }
  .impact-statement em, .redeem h2 em { color: var(--tone-dark); }
  .impact-statement em::after { display: none; }
  .impact-foot { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -0.01em; color: rgba(255,255,255,0.7); }
  .jar-note { font-size: 14px; letter-spacing: 0; }
  .topbar .brand em { font-weight: 400; opacity: 0.7; }

  @media (min-width: 761px) {
    h2, .this-month h2, .redeem h2 { font-size: clamp(40px, 5.4vw, 88px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.98; }
    .why-text h2, .beneficiaries h2 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
    .quote-block .quote { font-size: clamp(26px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1.12; font-weight: 500; }
  }

  @media (min-width: 1101px) {
    .hero-sub { max-width: 440px; font-weight: 500; }

    /* rail: the label hangs in a left column, content starts a third of the way across */
    .rail { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; column-gap: 64px; align-items: start; }
    .rail > .label { grid-column: 1; grid-row: 1; margin: 0; padding-top: 1.1em; }
    .rail > *:not(.label) { grid-column: 2; }
    .rail .beneficiary-list { grid-template-columns: repeat(2, 1fr); }

    /* stats: each figure sits under its own rule */
    .impact-stats { gap: 40px; border-top: none; padding-top: 0; }
    .impact-stats > div { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 28px; }
    .stat-num { font-weight: 400; letter-spacing: -0.06em; font-size: clamp(80px, 9.5vw, 156px); margin-bottom: 20px; }
    .impact-statement { font-size: clamp(40px, 5.2vw, 84px); letter-spacing: -0.045em; font-weight: 400; }
  }

  /* ============ HERO PHOTO (kids) ============ */
  /* full-bleed photo, dark green tint over the whole frame (heavier behind the copy) so the type holds */
  .hero { background: #14281a; }
  .hero::before { inset: 0; background-size: cover; background-position: 50% 38%; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(20,40,26,0.78) 0%, rgba(20,40,26,0.62) 45%, rgba(20,40,26,0.5) 100%),
      linear-gradient(180deg, rgba(20,40,26,0.35) 0%, rgba(20,40,26,0) 25%, rgba(20,40,26,0.25) 100%);
  }
  @media (min-width: 761px) and (orientation: landscape) {
    .hero h1 { font-size: clamp(52px, 7vw, 112px); max-width: none; }
    .manifesto { font-size: clamp(52px, 7vw, 112px); }
    .hero-sub { max-width: 600px; }
  }

  /* portrait tablet and phone: full-width tinted photo up top, fading into solid green where the copy sits */
  @media (max-width: 1100px) and (orientation: portrait) {
    .hero::before { inset: 0 0 auto 0; height: 64%; background-position: 42% 30%; }
    .hero::after {
      background: linear-gradient(180deg, rgba(20,40,26,0.5) 0%, rgba(20,40,26,0.34) 22%,
        rgba(20,40,26,0.42) 40%, #14281a 62%, #14281a 100%);
    }
  }

  /* ============ V3 RESTRUCTURE (why first, jars up, no amounts) ============ */
  .impact-statement { margin-bottom: 0; max-width: 1200px; }
  .impact-foot { margin-top: 56px; max-width: 760px; }
  .this-month { padding-top: 140px; }

  /* jar cards: charity photo on top, rank as a chip over the photo, bigger vessel, votes only */
  .jar-card { padding-top: 0; }
  .jar-photo {
    display: block; width: calc(100% + 64px); margin: 0 -32px 28px;
    aspect-ratio: 3 / 2; object-fit: cover; max-width: none;
  }
  .jar-rank {
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.94); color: var(--ink-2);
    padding: 9px 12px; border-radius: 2px;
  }
  .jar-rank.leading { color: var(--ink-2); }
  .jar-vessel { height: 300px; margin-bottom: 28px; }
  .jar-vessel svg { height: 300px; }
  .jar-stats { grid-template-columns: 1fr; }
  .jar-stat .big { font-size: 40px; letter-spacing: -1.2px; }

  /* recent causes */
  .recent { background: var(--paper); border-top: 1px solid var(--line); padding: 140px 48px; }
  .recent .label { margin-bottom: 24px; counter-increment: sec; }
  .recent .label::before { content: '(' counter(sec, decimal-leading-zero) ')'; color: var(--sage-deep); font-variant-numeric: tabular-nums; }
  .recent-intro { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 560px; margin-bottom: 56px; }
  .recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 28px; }
  .recent-item { display: block; color: inherit; }
  .recent-item img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    margin-bottom: 18px; transition: opacity .2s;
  }
  .recent-item:hover img { opacity: 0.88; }
  .recent-month { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--sage-deep); margin-bottom: 8px; }
  .recent-item h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.2; color: var(--ink-2); margin-bottom: 6px; }
  .recent-item p { font-size: 14px; color: var(--muted); }
  .recent-note { font-size: 14px; color: var(--muted); }

  /* this month: a cream band that reads as the main event */
  .this-month { background: var(--cream); background-image: none; border-top: 4px solid var(--accent); }
  .this-month h2 { margin-bottom: 20px; }
  .this-month-head { gap: 28px 80px; align-items: start; }
  .this-month-head > .label { grid-column: 1 / -1; margin-bottom: 0; }
  .this-month-meta { padding-bottom: 0; padding-top: 4px; gap: 12px; }
  .this-month-meta .month-tag { align-self: flex-start; margin-bottom: 10px; }
  .process { border-top: 1px solid var(--line); }
  .month-tag {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px; padding: 9px 16px 8px;
    line-height: 1; white-space: nowrap; vertical-align: middle;
  }
  .this-month-sub { font-size: clamp(20px, 2vw, 28px); color: var(--muted); letter-spacing: -0.02em; line-height: 1.2; }
  .this-month-meta .window { color: var(--ink-2); }
  .this-month-meta .window strong { color: var(--accent); }
  .jar-card { border-color: transparent; box-shadow: 0 1px 0 rgba(31,42,28,0.06), 0 12px 32px rgba(31,42,28,0.06); }
  .jar-note { color: var(--muted); }

  /* help so far: white, so it bands against the cream above */
  .recent { background: #fff; border-top: none; border-bottom: 1px solid var(--line); }

  /* token entry inside the programme band */
  .impact-redeem { margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,0.14); max-width: 760px; }
  .impact-redeem h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; color: white; margin-bottom: 28px; }
  .impact-redeem h3 em { font-style: normal; color: var(--accent); }
  .impact-redeem .token-form { margin: 0 0 18px; max-width: 540px; }
  .impact-redeem .token-note { text-align: left; margin: 0 !important; max-width: 540px !important; }
  .impact-redeem .token-form.used ~ .token-note { opacity: 0.6; }

  /* help so far: photo tiles, five across */
  .recent .container { display: block; }
  .jar-vessel { --coin-land: 220px; }
  @media (max-width: 1100px) { .jar-vessel { --coin-land: 190px; } }
  @media (max-width: 760px) { .jar-vessel { --coin-land: 161px; } .falling-coin { animation-name: coinDrop; } }
  .jar-vessel .falling-coin svg { width: 26px; height: 26px; display: block; }
  .recent h2 { margin-bottom: 28px; }
  .impact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; row-gap: 48px; margin-bottom: 40px; }
  .impact-tile { display: block; color: inherit; }
  .impact-tile img, .impact-tile-blank { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; transition: opacity .2s; }
  .impact-tile-blank { background: var(--accent); }
  .impact-tile:hover img { opacity: 0.88; }
  .impact-tile h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.2px; line-height: 1.2; color: var(--ink-2); margin-bottom: 8px; }
  .impact-tile p { font-size: 14px; line-height: 1.5; color: var(--muted); }

  @media (max-width: 1100px) {
    .recent-grid { grid-template-columns: repeat(2, 1fr); }
    .jar-photo { aspect-ratio: 16 / 9; }
    .impact-grid { grid-template-columns: repeat(3, 1fr); }
    .jar-vessel { height: 260px; }
    .jar-vessel svg { height: 260px; }
  }
  @media (max-width: 760px) {
    .recent { padding: 80px 24px; }
    .recent-grid { gap: 16px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; row-gap: 32px; }
    .impact-tile h3 { font-size: 16px; }
    .impact-tile p { font-size: 13px; }
    .impact-redeem { margin-top: 48px; padding-top: 40px; }
    .month-tag { font-size: 11px; padding: 8px 12px 7px; }
    .this-month-sub { font-size: 18px; }
    .impact-redeem h3 { font-size: 24px; }
    .jar-vessel { height: 220px; }
    .jar-vessel svg { height: 220px; }
    .recent-item h3 { font-size: 16px; }
    .jar-photo { width: calc(100% + 48px); margin: 0 -24px 24px; }
    .jar-rank { position: absolute; top: 14px; right: 14px; margin: 0; }
    .jar-stat .big { font-size: 34px; }
    .impact-foot { margin-top: 40px; }
  }

  /* v3 jar redesign */
  .jar-rank { display: none !important; }
  .jar-vessel {
    display: flex; align-items: flex-end; justify-content: center;
    height: 320px; margin: 4px 0 24px; padding: 0;
    background: linear-gradient(180deg, #f8f5ee 0%, #efe9db 100%);
    border-radius: 20px; overflow: hidden;
  }
  .jar-vessel svg { height: 284px; width: auto; display: block; margin-bottom: 14px; }
  .jar-vessel { --coin-land: 208px; margin-top: auto; }
  .jar-learn { margin-bottom: 28px; }
  .jar-stats {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 22px; border-top: 1px solid var(--line);
  }
  .jar-stat .big { font-size: 44px; letter-spacing: -1.6px; font-weight: 500; margin-bottom: 8px; }
  .jar-stat .lbl { font-size: 11px; letter-spacing: 1.8px; }
  .jar-share { position: relative; width: 84px; height: 84px; flex: none; }
  .jar-share svg { width: 84px; height: 84px; transform: rotate(-90deg); display: block; }
  .jar-share .track { fill: none; stroke: #ece8dd; stroke-width: 4.5; }
  .jar-share .arc {
    fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round;
    stroke-dasharray: 0 200;
    transition: stroke-dasharray 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  }
  .jar-card.in-view .jar-share .arc { stroke-dasharray: calc(var(--pct) * 1.2566) 200; }
  .jar-share .share-val {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding-bottom: 12px; font-size: 19px; font-weight: 600; letter-spacing: -0.5px; color: var(--ink-2);
  }
  .jar-share .share-val span { font-size: 11px; font-weight: 600; margin-left: 1px; color: var(--muted); }
  .jar-share .share-lbl {
    position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
    font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600;
  }
  @media (max-width: 1100px) {
    .jar-vessel { height: 280px; --coin-land: 184px; }
    .jar-vessel svg { height: 246px; }
  }
  @media (max-width: 760px) {
    .jar-vessel { height: 236px; margin-bottom: 20px; --coin-land: 152px; }
    .jar-vessel svg { height: 206px; }
    .jar-stat .big { font-size: 36px; }
    .jar-share, .jar-share svg { width: 72px; height: 72px; }
    .jar-share .share-val { font-size: 16px; padding-bottom: 10px; }
    .jar-share .share-lbl { bottom: 18px; }
  }
  .impact-lead { margin-top: 56px; max-width: 760px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: rgba(255,255,255,0.92); font-weight: 400; }
  .impact-lead + .impact-foot { margin-top: 32px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: rgba(255,255,255,0.8); }
  @media (max-width: 760px) { .impact-lead { margin-top: 36px; font-size: 18px; } }
  /* token block now lives under the This Month headline (cream background) */
  .this-month .impact-redeem { margin-top: 40px; padding-top: 0; border-top: none; max-width: 560px; }
  .this-month .impact-redeem h3 { font-size: clamp(22px, 2vw, 28px); color: var(--ink-2); margin-bottom: 20px; }
  .this-month .impact-redeem h3 em { color: var(--accent); }
  .this-month .token-form { border: 1px solid rgba(31,42,28,0.22); background: #fff; max-width: 540px; }
  .this-month .token-form input { color: var(--ink-2); }
  .this-month .token-form input::placeholder { color: rgba(31,42,28,0.42); }
  .this-month .token-form button { background: var(--accent); color: #fff; }
  .this-month .token-form button:hover { background: var(--ink-2); color: #fff; }
  .this-month .token-form.used { border-color: var(--accent); background: rgba(79,148,112,0.06); }
  .this-month .token-form.used input { color: var(--accent); }
  .this-month .token-form.used button { background: transparent; color: var(--accent); }
  .this-month .token-note { color: var(--muted); }
  @media (max-width: 760px) {
    .this-month .impact-redeem { margin-top: 28px; }
    .this-month .impact-redeem h3 { font-size: 22px; }
  }
  .this-month-head .this-month-meta { margin-top: 32px; padding-top: 0; }
  @media (max-width: 760px) { .this-month-head .this-month-meta { margin-top: 24px; } }
  .this-month-side { padding-top: 6px; }
  .this-month-side .impact-redeem { margin-top: 0; max-width: 560px; }
  @media (min-width: 1101px) { .this-month-side { justify-self: end; width: 100%; max-width: 560px; } }
  @media (max-width: 1100px) { .this-month-side .impact-redeem { margin-top: 8px; } }
  /* stat band: docked to the bottom of the dark programme section */
  .impact { padding-bottom: 0; }
  .stat-band { background: var(--ink); color: #fff; padding: 0 48px; }
  .stat-band-inner { max-width: 1320px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.14); }
  .stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 56px 32px 64px; border-left: 1px solid rgba(255,255,255,0.14); }
  .stat:first-child { padding-left: 0; border-left: none; }
  .stat-num {
    font-size: clamp(44px, 4.6vw, 72px); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
    color: var(--accent); margin-bottom: 16px; font-variant-numeric: tabular-nums;
  }
  .stat-num .affix { color: var(--accent); font-weight: 400; }
  .stat-lbl { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; color: #fff; }
  @media (max-width: 1100px) { .stat { padding: 40px 24px 44px; } }
  @media (max-width: 760px) {
    .impact { padding-bottom: 0; }
    .stat-band { padding: 0 24px; }
    .stat-strip { grid-template-columns: 1fr 1fr; }
    .stat { padding: 28px 0 28px 20px; border-bottom: 1px solid rgba(255,255,255,0.14); }
    .stat:nth-child(odd) { padding-left: 0; border-left: none; }
    .stat:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 44px; }
    .stat-num { font-size: 40px; margin-bottom: 10px; }
  }
  /* ---- programme band redesign ---- */
  .impact { padding-top: 150px; }
  .impact-glow {
    position: absolute; top: -30%; right: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle at center, rgba(79,148,112,0.28) 0%, rgba(79,148,112,0.08) 35%, transparent 65%);
    pointer-events: none; z-index: 1;
  }
  .impact .label { margin-bottom: 48px; }
  .manifesto {
    font-weight: 500; letter-spacing: -0.05em; line-height: 0.94;
    font-size: clamp(56px, 8vw, 124px); margin: 0; display: block;
  }
  .m-row.m-head { padding-bottom: 104px; }
  .m-head .label { margin: 0; padding-top: 0.55em; }
  .m-line { display: block; }
  .m-accent { color: var(--accent); font-weight: 400; }
  .m-grid { display: flex; flex-direction: column; }
  .m-row {
    display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; column-gap: 64px; align-items: start;
    padding: 0 0 72px; border-top: none;
  }
  .m-row:last-child { padding-bottom: 112px; }
  .m-kicker {
    display: flex; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.6);
    padding-top: 0.55em;
  }
  .m-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px rgba(79,148,112,0.18); }
  .m-copy { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.55; color: rgba(255,255,255,0.8); max-width: 820px; margin: 0; }
  .m-copy-lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.4; color: #fff; font-weight: 400; letter-spacing: -0.01em; }
  .ticker { overflow: hidden; border-top: 1px solid rgba(255,255,255,0.14); padding: 26px 0; margin-top: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .ticker-track { display: flex; align-items: center; width: max-content; animation: tickerMove 48s linear infinite; }
  .ticker-track span { font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.78); white-space: nowrap; }
  .ticker-track i { font-style: normal; color: var(--accent); margin: 0 28px; font-size: 20px; line-height: 1; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .stat-band-inner { border-top: 1px solid rgba(255,255,255,0.14); }
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,1,.36,1) var(--d, 0s), transform .9s cubic-bezier(.22,1,.36,1) var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ticker-track { animation: none; } }
  @media (max-width: 1100px) {
    .m-row.m-head { padding-bottom: 72px; }
    .m-head .label { margin-bottom: 8px; padding-top: 0; }
    .m-row:last-child { padding-bottom: 80px; }
    .m-row { grid-template-columns: 1fr; row-gap: 18px; padding: 0 0 56px; }
    .m-kicker { padding-top: 0; }
  }
  @media (max-width: 760px) {
    .impact { padding-top: 96px; }
    .impact .label { margin-bottom: 32px; }
    .manifesto { font-size: clamp(46px, 14vw, 64px); }
    .m-row.m-head { padding-bottom: 48px; }
    .m-row:last-child { padding-bottom: 56px; }
    .m-row { padding: 0 0 44px; }
    .m-copy-lead { font-size: 21px; }
    .m-copy { font-size: 17px; }
    .ticker { padding: 18px 0; margin-top: 8px; }
    .ticker-track span { font-size: 12px; }
    .ticker-track i { margin: 0 18px; }
  }
  /* ---- how it works: link + modal ---- */
  .how-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    background: none; border: none; padding: 0 0 4px; cursor: pointer; font-family: inherit;
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--accent);
    border-bottom: 1px solid currentColor; transition: color .2s;
  }
  .how-link span { transition: transform .2s; }
  .how-link:hover { color: var(--ink-2); }
  .how-link:hover span { transform: translateX(3px); }
  .how-modal {
    position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
    padding: 24px; background: rgba(20,24,15,0.78); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s;
  }
  .how-modal.open { display: flex; opacity: 1; }
  .how-card {
    position: relative; width: 100%; max-width: 980px; max-height: calc(100vh - 48px); overflow: auto;
    background: var(--paper); display: grid; grid-template-columns: 2fr 3fr;
    transform: translateY(20px); transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .how-modal.open .how-card { transform: none; }
  .how-media { background: #e9e4d6; }
  .how-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .how-body { padding: 56px 56px 48px; }
  .how-kicker { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
  .how-body h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink-2); margin: 0 0 16px; }
  .how-body h3 em { font-style: normal; font-weight: 400; color: var(--accent); }
  .how-intro { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0 0 32px; }
  .how-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
  .how-steps li { display: flex; gap: 14px; align-items: flex-start; }
  .how-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink-2); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
  .how-steps strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink-2); margin: 7px 0 6px; letter-spacing: -0.2px; }
  .how-steps p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
  .how-done {
    background: var(--ink-2); color: #fff; border: none; padding: 16px 32px; cursor: pointer; font-family: inherit;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; transition: background .2s;
  }
  .how-done:hover { background: var(--accent); }
  .how-close {
    position: absolute; top: 14px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.92); border: none; cursor: pointer; font-size: 26px; line-height: 1; color: var(--ink-2);
  }
  body.modal-open { overflow: hidden; }
  @media (max-width: 760px) {
    .how-card { grid-template-columns: 1fr; max-height: calc(100vh - 32px); }
    .how-media { aspect-ratio: 16 / 9; }
    .how-body { padding: 32px 24px 28px; }
    .how-steps { grid-template-columns: 1fr; gap: 20px; }
    .how-modal { padding: 16px; align-items: flex-end; }
  }
  /* ---- footer ---- */
  footer.site-footer { display: block; padding: 0; background: var(--ink); color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; border-top: 4px solid var(--accent); overflow: hidden; }
  .footer-inner { max-width: 1320px; margin: 0 auto; padding: 120px 48px 0; }
  .footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 88px; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .footer-cta h2 { font-size: clamp(44px, 6vw, 96px); font-weight: 500; letter-spacing: -0.045em; line-height: 0.96; color: #fff; margin: 0; }
  .footer-cta h2 em { font-style: normal; font-weight: 400; color: var(--accent); }
  .footer-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; flex: none; padding-bottom: 8px; }
  .footer-btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 20px 36px; font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700; transition: background .2s, transform .2s; }
  .footer-btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
  .footer-link { background: none; border: none; padding: 0 0 4px; cursor: pointer; font-family: inherit; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.35); display: inline-flex; gap: 8px; align-items: center; transition: color .2s, border-color .2s; }
  .footer-link:hover { color: var(--accent); border-color: var(--accent); }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding: 72px 0 96px; }
  .footer-col { display: flex; flex-direction: column; gap: 10px; }
  .footer-col p { margin: 0; max-width: 360px; color: rgba(255,255,255,0.55); }
  .footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; width: fit-content; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
  .footer-col a:hover { color: #fff; border-color: var(--accent); }
  .footer-h { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
  .footer-brand .brand { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -0.2px; margin-bottom: 6px; }
  .footer-brand .brand em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.6); }
  .footer-mark { font-size: clamp(64px, 13.6vw, 212px); font-weight: 500; letter-spacing: -0.055em; line-height: 1.02; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.16); white-space: nowrap; user-select: none; margin: 0 -4px 12px; transition: color .6s; }
  footer.site-footer:hover .footer-mark { color: rgba(79,148,112,0.12); }
  .footer-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0 32px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 12px; color: rgba(255,255,255,0.45); }
  @media (max-width: 1100px) {
    .footer-inner { padding-top: 88px; }
    .footer-cta { flex-direction: column; align-items: flex-start; gap: 36px; padding-bottom: 64px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 72px; }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 760px) {
    .footer-inner { padding: 72px 24px 0; }
    .footer-cta { gap: 28px; padding-bottom: 48px; }
    .footer-cta-actions { width: 100%; }
    .footer-btn { width: 100%; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 56px; }
    .footer-base { flex-direction: column; gap: 6px; padding: 22px 0 28px; }
  }
  .stat-num .affix.word { font-size: 0.36em; font-weight: 500; letter-spacing: -0.01em; margin-left: 0.25em; color: var(--accent); vertical-align: baseline; }
  @media (max-width: 760px) { .stat-num .affix.word { display: block; margin: 4px 0 0; font-size: 0.42em; line-height: 1; } }
