/* ═══════════════════════════════════════════════════════════
   PuniCodex — Flagship Patron Page
   The temple patron wall: twenty plaques, gold on dark marble.
   Mobile-first; honors prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════ */

:root {
    --patron-gold: #d4af37;
    --patron-gold-bright: #f0d878;
    --patron-gold-dim: #bfa05f;
    --patron-ink: #ece9e2;
    --patron-muted: #a8a49b;
    --patron-faint: #8f8b82;
    --patron-void: #050505;
    --patron-surface: #0c0c0e;
    --patron-surface-raised: #111113;
    --patron-border: rgba(212, 175, 55, 0.16);
    --patron-border-strong: rgba(212, 175, 55, 0.34);
    --patron-radius: 3px;
    --patron-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
    --global-strip-height: 54px;
}

@media (max-width: 640px) {
    :root {
        --global-strip-height: 72px;
    }
}

.temple-patron-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 46%),
        linear-gradient(180deg, #050505 0%, #08080a 44%, #050505 100%);
    color: var(--patron-ink);
}

/* ── Hero ─────────────────────────────────────────────── */

.patron-hero-section {
    padding: calc(var(--global-strip-height) + var(--nav-height) + 64px) 0 64px;
    text-align: center;
    position: relative;
    isolation: isolate;
}

.patron-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 22%, rgba(212, 175, 55, 0.1) 0%, transparent 56%);
    pointer-events: none;
    z-index: 0;
}

.patron-hero-section .container {
    position: relative;
    z-index: 1;
}

.patron-hero-seal {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
}

.patron-seal-svg {
    width: 100%;
    height: 100%;
    animation: patron-seal-rotate 72s linear infinite;
}

.patron-seal-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--patron-gold);
}

@keyframes patron-seal-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.patron-hero-section .section-eyebrow {
    color: var(--patron-gold-dim);
    letter-spacing: 0.28em;
    margin-bottom: 18px;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.patron-hero-section .section-title {
    font-size: clamp(2.3rem, 6vw, 4.4rem);
    margin-bottom: 22px;
    color: var(--patron-ink);
    letter-spacing: 0.04em;
}

.patron-hero-section .section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--patron-gold), transparent);
}

.patron-hero-lead {
    max-width: 660px;
    margin: 0 auto 44px;
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.85;
    color: var(--patron-muted);
    font-weight: 300;
}

.patron-hero-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.patron-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 128px;
    padding: 22px 18px;
    background: var(--patron-surface);
    border: 1px solid var(--patron-border);
    border-top: 2px solid var(--patron-gold);
    border-radius: var(--patron-radius);
}

.patron-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--patron-gold);
    line-height: 1;
}

.patron-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--patron-faint);
}

/* ── Section headers ──────────────────────────────────── */

.patron-wall-header,
.patron-form-header {
    text-align: center;
}

.patron-wall-header {
    margin-bottom: 48px;
}

.patron-wall-header .section-eyebrow,
.patron-form-header .section-eyebrow {
    color: var(--patron-gold-dim);
    letter-spacing: 0.22em;
    margin-bottom: 14px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.patron-wall-header .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
}

.patron-wall-subtitle {
    color: var(--patron-muted);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Wall ─────────────────────────────────────────────── */

.patron-wall-section {
    padding: 72px 0 80px;
    position: relative;
}

.patron-wall-section::before,
.patron-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 72%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.22), transparent);
}

.patron-wall {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.patron-wall[aria-busy='true'] {
    cursor: progress;
}

/* ── Plaques ──────────────────────────────────────────── */

.patron-plaque {
    position: relative;
    min-height: 240px;
    background: linear-gradient(160deg, var(--patron-surface-raised) 0%, #09090b 58%, var(--patron-surface) 100%);
    border: 1px solid var(--patron-border);
    border-radius: var(--patron-radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--patron-shadow);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.patron-plaque::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 55, 0.07);
    border-radius: 1px;
    pointer-events: none;
}

.plaque-number {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    color: var(--patron-gold-dim);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 50%;
    z-index: 1;
}

.plaque-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.plaque-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--patron-gold);
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.24);
    margin-bottom: 18px;
}

.plaque-name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.plaque-name a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.plaque-name a:hover {
    color: var(--patron-gold-bright);
    border-bottom-color: var(--patron-gold);
}

.plaque-title {
    font-size: 0.74rem;
    font-style: italic;
    color: var(--patron-gold-dim);
    margin: 0 0 14px;
    letter-spacing: 0.03em;
}

.plaque-message {
    font-size: 0.82rem;
    color: var(--patron-muted);
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plaque-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--patron-faint);
}

.plaque-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Claimed plaque */
.patron-plaque--claimed {
    border-color: var(--patron-border-strong);
}

.patron-plaque--claimed::before {
    border-color: rgba(212, 175, 55, 0.13);
}

.patron-plaque--claimed .plaque-number {
    color: var(--patron-gold);
    border-color: rgba(212, 175, 55, 0.32);
}

.patron-plaque--claimed:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5), 0 0 34px rgba(212, 175, 55, 0.07);
}

/* Available plaque */
.patron-plaque--available {
    border-style: dashed;
    border-color: rgba(212, 175, 55, 0.14);
    background: rgba(9, 9, 11, 0.6);
    box-shadow: none;
    cursor: pointer;
}

.patron-plaque--available .plaque-content {
    opacity: 0.72;
    transition: opacity 0.3s ease;
}

.patron-plaque--available:hover,
.patron-plaque--available:focus-visible {
    border-color: rgba(212, 175, 55, 0.36);
}

.patron-plaque--available:hover .plaque-content,
.patron-plaque--available:focus-visible .plaque-content {
    opacity: 1;
}

.patron-plaque--available:focus-visible {
    outline: 2px solid var(--patron-gold);
    outline-offset: 3px;
}

.patron-plaque--available .plaque-available-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--patron-gold-dim);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 16px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.patron-plaque--available:hover .plaque-available-icon,
.patron-plaque--available:focus-visible .plaque-available-icon {
    color: var(--patron-gold);
    border-color: var(--patron-gold);
}

.patron-plaque--available .plaque-name {
    color: var(--patron-gold-dim);
    font-weight: 500;
}

.patron-plaque--available .plaque-title {
    color: var(--patron-faint);
}

/* First available plaque — the invitation */
.patron-plaque--first {
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(160deg, rgba(24, 20, 10, 0.9) 0%, #0b0a07 60%, #09090b 100%);
}

.patron-plaque--first .plaque-content {
    opacity: 1;
}

.patron-plaque--first .plaque-available-icon {
    color: var(--patron-gold);
    border-color: rgba(212, 175, 55, 0.45);
}

.patron-plaque--first .plaque-name {
    color: var(--patron-gold-bright);
}

.patron-plaque--first .plaque-title {
    color: var(--patron-gold-dim);
}

/* Loading skeleton */
.patron-plaque--skeleton {
    pointer-events: none;
    box-shadow: none;
}

.skeleton-block {
    display: block;
    border-radius: 2px;
    background: rgba(212, 175, 55, 0.07);
    animation: patron-skeleton-pulse 1.6s ease-in-out infinite;
}

.skeleton-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-bottom: 18px;
}

.skeleton-line {
    width: 52%;
    height: 11px;
    margin-top: 10px;
}

.skeleton-line--wide {
    width: 72%;
    height: 14px;
    margin-top: 0;
}

@keyframes patron-skeleton-pulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

/* ── Wall states (invite / unavailable) ───────────────── */

.patron-wall-invite {
    max-width: 640px;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 22px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--patron-radius);
    background: rgba(212, 175, 55, 0.04);
}

.patron-wall-invite-seal {
    color: var(--patron-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.patron-wall-invite-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--patron-muted);
    line-height: 1.6;
}

.patron-wall-state {
    max-width: 520px;
    margin: 24px auto 0;
    text-align: center;
    padding: 48px 28px;
    border: 1px solid var(--patron-border);
    border-radius: var(--patron-radius);
    background: var(--patron-surface);
}

.patron-wall-state-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--patron-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.patron-wall-state-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--patron-ink);
    margin: 0 0 10px;
}

.patron-wall-state-body {
    color: var(--patron-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 26px;
}

.patron-wall-retry {
    padding: 12px 30px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    background: transparent;
    color: var(--patron-gold);
    border: 1px solid var(--patron-gold);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.patron-wall-retry:hover {
    background: var(--patron-gold);
    color: #000;
}

/* ── Form ─────────────────────────────────────────────── */

.patron-form-section {
    padding: 72px 0 88px;
    position: relative;
}

.patron-form-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}

.patron-form-card {
    background: linear-gradient(165deg, var(--patron-surface-raised) 0%, #08080a 100%);
    border: 1px solid var(--patron-border);
    border-radius: var(--patron-radius);
    padding: 32px 24px;
    box-shadow: var(--patron-shadow);
    position: relative;
}

.patron-form-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212, 175, 55, 0.07);
    border-radius: 1px;
    pointer-events: none;
}

.patron-form-header {
    margin-bottom: 34px;
}

.patron-form-header .section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.2rem);
    margin-bottom: 8px;
}

.patron-form-subtitle {
    color: var(--patron-muted);
    font-size: 0.94rem;
    margin-top: 10px;
    line-height: 1.65;
}

/* Sold-out state */
.patron-sold-out {
    text-align: center;
    padding: 52px 20px;
}

.patron-sold-out-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--patron-gold);
    font-size: 1.6rem;
}

.patron-sold-out-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    color: #fff;
    margin-bottom: 12px;
}

.patron-sold-out-body {
    max-width: 440px;
    margin: 0 auto 28px;
    color: var(--patron-muted);
    line-height: 1.7;
}

/* Fields */
.patron-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.patron-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.patron-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.patron-field label,
.patron-social-field > label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--patron-gold-bright);
}

.patron-field input,
.patron-field textarea,
.patron-social-input-wrap input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--patron-radius);
    padding: 13px 15px;
    color: #f0f0f0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.patron-field input:hover,
.patron-field textarea:hover,
.patron-social-input-wrap:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.patron-field input:focus,
.patron-field textarea:focus,
.patron-social-input-wrap input:focus {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.patron-field-hint {
    color: var(--patron-faint);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.7rem;
}

/* Fixed price */
.patron-fixed-price {
    text-align: center;
    padding: 22px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: var(--patron-radius);
}

.patron-price-mark {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.patron-price-amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--patron-gold);
    line-height: 1;
}

.patron-price-period {
    font-size: 0.85rem;
    color: var(--patron-muted);
    letter-spacing: 0.04em;
}

.patron-price-note {
    font-size: 0.75rem;
    color: var(--patron-faint);
    margin: 0;
}

/* Social link field */
.patron-social-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patron-social-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.patron-social-tabs button {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.14);
    color: var(--patron-muted);
    padding: 7px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.patron-social-tabs button:hover,
.patron-social-tabs button.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.42);
    color: var(--patron-gold-bright);
}

.patron-social-input-wrap {
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: var(--patron-radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.patron-social-input-wrap:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.patron-social-prefix {
    display: flex;
    align-items: center;
    padding: 0 13px;
    background: rgba(212, 175, 55, 0.05);
    border-right: 1px solid rgba(212, 175, 55, 0.12);
    color: var(--patron-gold-dim);
    font-size: 0.78rem;
    font-family: var(--font-mono, monospace);
    white-space: nowrap;
}

.patron-social-input-wrap input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.patron-social-help {
    font-size: 0.78rem;
    color: var(--patron-faint);
    margin: 0;
}

.patron-social-error,
.patron-form-error {
    color: #ff9a8a;
    font-size: 0.85rem;
    margin: 0;
}

.patron-submit {
    width: 100%;
    margin-top: 6px;
    padding: 16px 24px;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    background: linear-gradient(135deg, var(--patron-gold) 0%, #a8873a 100%);
    color: #000;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.patron-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.22);
}

.patron-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.patron-form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--patron-faint);
    margin: 0;
}

/* ── Preview ──────────────────────────────────────────── */

.patron-preview-card {
    position: relative;
    background: linear-gradient(160deg, var(--patron-surface-raised) 0%, #09090b 100%);
    border: 1px solid var(--patron-border);
    border-radius: var(--patron-radius);
    padding: 26px;
    box-shadow: var(--patron-shadow);
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.patron-preview-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 55, 0.07);
    pointer-events: none;
}

.patron-preview-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--patron-gold-dim);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.patron-preview-seal {
    color: var(--patron-gold);
}

.patron-preview-plaque {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, #101012 0%, #09090b 100%);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: var(--patron-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.patron-preview-plaque::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.patron-preview-number {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.64rem;
    color: var(--patron-gold-dim);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 50%;
}

.patron-preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.patron-preview-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--patron-gold);
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.22);
    margin-bottom: 16px;
}

.patron-preview-name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

.patron-preview-title {
    font-size: 0.72rem;
    font-style: italic;
    color: var(--patron-gold-dim);
    margin: 0 0 12px;
}

.patron-preview-message {
    font-size: 0.78rem;
    color: var(--patron-muted);
    line-height: 1.55;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.patron-preview-message.is-placeholder {
    color: var(--patron-faint);
}

.patron-preview-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--patron-faint);
}

.patron-preview-platform {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.patron-preview-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--patron-faint);
    margin: 18px 0 0;
    line-height: 1.5;
}

/* ── Stripe return flourish ───────────────────────────── */

.patron-benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--patron-gold);
    font-size: 1.5rem;
}

/* ── Sponsor CTA ──────────────────────────────────────── */

.patron-sponsor-section {
    padding: 64px 0 104px;
}

.patron-sponsor-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background: var(--patron-surface);
    border: 1px solid var(--patron-border);
    border-radius: var(--patron-radius);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--patron-shadow);
}

.patron-sponsor-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212, 175, 55, 0.07);
    pointer-events: none;
}

.patron-sponsor-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.patron-sponsor-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.patron-sponsor-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--patron-muted);
    font-size: 0.92rem;
}

.patron-sponsor-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--patron-gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ── Focus visibility (keyboard users) ────────────────── */

.patron-submit:focus-visible,
.patron-wall-retry:focus-visible,
.patron-social-tabs button:focus-visible,
.patron-sponsor-card a:focus-visible {
    outline: 2px solid var(--patron-gold);
    outline-offset: 3px;
}

/* ── Responsive (mobile-first) ────────────────────────── */

@media (min-width: 560px) {
    .patron-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .patron-plaque {
        aspect-ratio: 3 / 4;
        min-height: 0;
    }

    .patron-form-row {
        grid-template-columns: 1fr 1fr;
    }

    .patron-hero-stats {
        gap: 20px;
    }

    .patron-stat {
        min-width: 148px;
        padding: 24px 26px;
    }
}

@media (min-width: 768px) {
    .patron-hero-section {
        padding: calc(var(--global-strip-height) + var(--nav-height) + 88px) 0 80px;
    }

    .patron-hero-seal {
        width: 136px;
        height: 136px;
    }

    .patron-stat-value {
        font-size: 2.3rem;
    }

    .patron-form-card {
        padding: 46px;
    }

    .patron-sponsor-card {
        padding: 46px;
        gap: 44px;
    }
}

@media (min-width: 900px) {
    .patron-wall {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .patron-form-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }

    .patron-preview-card {
        position: sticky;
        top: calc(var(--global-strip-height) + var(--nav-height) + 24px);
    }

    .patron-sponsor-card {
        grid-template-columns: 1.3fr 1fr;
    }
}

@media (min-width: 1200px) {
    .patron-wall {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 559px) {
    .plaque-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .patron-social-tabs button {
        padding: 6px 9px;
        font-size: 0.7rem;
    }
}

/* ── Reduced motion ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .patron-seal-svg,
    .skeleton-block {
        animation: none;
    }

    .patron-plaque,
    .patron-submit,
    .patron-wall-retry,
    .patron-social-tabs button,
    .plaque-name a,
    .patron-plaque--available .plaque-content,
    .patron-plaque--available .plaque-available-icon {
        transition: none;
    }

    .patron-plaque--claimed:hover,
    .patron-submit:hover {
        transform: none;
    }
}
