.mobile-hero { display: none; }

@media (max-width: 900px) {
  .hero { display: none !important; }
  .mobile-hide { display: none !important; }

  .topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2.05rem 4vw 0;
    background: transparent;
  }

  .brand strong {
    font-size: clamp(2.8rem, 10.8vw, 3.75rem);
    line-height: .8;
    letter-spacing: -.055em;
  }

  .brand span {
    display: block;
    margin-top: .42rem;
    font-size: clamp(.78rem, 3vw, .98rem);
    letter-spacing: .3em;
    text-align: left;
  }

  .menu-toggle {
    display: block;
    min-width: clamp(7.1rem, 28vw, 8.5rem);
    min-height: clamp(3.45rem, 11.6vw, 4.15rem);
    padding: .78rem 1rem;
    border: 2px solid var(--gold2);
    border-radius: .5rem;
    background: rgba(3, 24, 43, .72);
    color: white;
    font-size: clamp(1.05rem, 4vw, 1.35rem);
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
  }

  .nav { display: none; }

  .nav.is-open {
    position: absolute;
    display: grid;
    top: 78px;
    left: 4vw;
    right: 4vw;
    background: #03182b;
    border: 1px solid rgba(255,255,255,.18);
    padding: .75rem;
  }

  .nav.is-open a {
    padding: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .nav.is-open a:last-child { border-bottom: 0; }

  .mobile-hero {
    position: relative;
    display: block;
    min-height: 100svh;
    overflow: hidden;
    padding: 0 4vw;
    background: #020202;
    color: #fff;
    isolation: isolate;
  }

  .mobile-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
      linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 56%, rgba(0,0,0,.58) 100%),
      linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.42) 58%, rgba(0,0,0,.9) 100%),
      url('https://raw.githubusercontent.com/arcendrix/feher-for-mayor/main/assets/london-hero.jpg') center / cover no-repeat;
  }

  .mobile-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 17rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.82) 58%, #020202 100%);
    pointer-events: none;
  }

  .mobile-hero-copy {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: clamp(16.7rem, 32svh, 19.2rem);
  }

  .mobile-kicker {
    margin: 0 0 1.55rem;
    color: var(--gold2);
    font-size: clamp(1rem, 3.9vw, 1.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .36em;
  }

  .mobile-hero h1 {
    margin: 0;
    max-width: 82%;
    font-family: var(--cond);
    font-size: clamp(3.45rem, 13.9vw, 4.65rem);
    line-height: .94;
    text-transform: uppercase;
    letter-spacing: -.047em;
    color: #fff;
    text-shadow: 0 5px 18px rgba(0,0,0,.45);
  }

  .mobile-hero h1 span,
  .mobile-hero h1 em {
    display: block;
    font-style: normal;
  }

  .mobile-hero h1 em {
    background: linear-gradient(180deg, #ffd76a, #c9881d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }

  .mobile-hero-copy p:not(.mobile-kicker) {
    margin-top: 1.35rem;
    max-width: 84%;
    color: white;
    font-size: clamp(1.15rem, 4.45vw, 1.42rem);
    line-height: 1.32;
    font-weight: 800;
    text-shadow: 0 3px 12px rgba(0,0,0,.48);
  }

  img.mobile-hero-person {
    display: block;
    position: absolute;
    z-index: 3;
    right: -10vw;
    bottom: calc(9.25rem + env(safe-area-inset-bottom));
    width: clamp(21.45rem, 83vw, 31.2rem);
    height: auto;
    max-height: 61svh;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    background: none !important;
    filter: drop-shadow(-14px 14px 34px rgba(0,0,0,.72));
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.8) 96%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.8) 96%, rgba(0,0,0,0) 100%);
  }

  .mobile-hero-actions {
    position: absolute;
    z-index: 8;
    left: 4vw;
    right: 4vw;
    bottom: calc(2.45rem + env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    width: auto;
  }

  .mobile-hero-actions .button {
    min-height: clamp(4.45rem, 11vw, 5rem);
    border-radius: .5rem;
    padding: .85rem .55rem;
    font-size: clamp(1rem, 3.8vw, 1.22rem);
    white-space: nowrap;
  }

  .priority-strip { margin-top: 0; }
}

@media (max-width: 390px) {
  .topbar { padding-top: 1.7rem; }
  .brand strong { font-size: 2.55rem; }
  .brand span { font-size: .7rem; }
  .menu-toggle { min-width: 6.8rem; min-height: 3.25rem; font-size: 1rem; }

  .mobile-hero-copy {
    padding-top: 14.85rem;
  }

  .mobile-kicker {
    margin-bottom: 1.1rem;
    font-size: .86rem;
  }

  .mobile-hero h1 {
    max-width: 82%;
    font-size: 3rem;
  }

  .mobile-hero-copy p:not(.mobile-kicker) {
    max-width: 82%;
    font-size: 1rem;
  }

  img.mobile-hero-person {
    right: -10vw;
    bottom: calc(8.45rem + env(safe-area-inset-bottom));
    width: 88vw;
    max-height: 57svh;
  }

  .mobile-hero-actions {
    bottom: calc(2.05rem + env(safe-area-inset-bottom));
    gap: .8rem;
  }

  .mobile-hero-actions .button {
    min-height: 4rem;
    font-size: .92rem;
  }
}

@media (max-width: 900px) and (max-height: 760px) {
  .topbar { padding-top: 1.45rem; }
  .brand strong { font-size: 2.35rem; }
  .brand span { font-size: .64rem; }
  .menu-toggle { min-width: 6.6rem; min-height: 3.2rem; font-size: .96rem; }

  .mobile-hero-copy {
    padding-top: 12.9rem;
  }

  .mobile-kicker {
    margin-bottom: .85rem;
    font-size: .78rem;
  }

  .mobile-hero h1 {
    max-width: 80%;
    font-size: clamp(2.75rem, 11.5vw, 3.55rem);
    line-height: .92;
  }

  .mobile-hero-copy p:not(.mobile-kicker) {
    margin-top: .8rem;
    max-width: 78%;
    font-size: .9rem;
  }

  img.mobile-hero-person {
    right: -9vw;
    bottom: calc(7.45rem + env(safe-area-inset-bottom));
    width: 75vw;
    max-height: 52svh;
  }

  .mobile-hero-actions {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    gap: .75rem;
  }

  .mobile-hero-actions .button {
    min-height: 3.55rem;
    font-size: .85rem;
  }
}

/* Desktop donation e-transfer email sizing fix */
@media (min-width: 901px) {
  .donate-clean .donate-box strong {
    font-size: clamp(1.2rem, 2vw, 1.8rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}
