/* tenant-home-member presentation styles. Rebuild utilities with npm run build:templates. */
html { scroll-behavior: smooth; }
        body.t3 { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--t3-text); background: #fff; -webkit-font-smoothing: antialiased; }
        .t3-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
        .t3-section { padding: 88px 0; }
        .t3-section--surface { background: var(--t3-surface); }
        .t3-section--line { border-top: 1px solid var(--t3-line); }
        .t3-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t3-primary); margin-bottom: 18px; }
        .t3-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--t3-primary); border-radius: 2px; }
        .t3-eyebrow--center { justify-content: center; width: 100%; }
        .t3-h1 { font-size: 54px; line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; color: var(--t3-ink); }
        .t3-h2 { font-size: 36px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; color: var(--t3-ink); }
        .t3-h3 { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; color: var(--t3-ink); }
        .t3-lead { font-size: 18px; line-height: 1.55; color: var(--t3-muted); }
        .t3-sub { font-size: 15px; line-height: 1.6; color: var(--t3-muted); }
        .t3-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; margin-bottom: 40px; }
        .t3-head .t3-sub { max-width: 380px; justify-self: end; }
        .t3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 8px; font-size: 14.5px; font-weight: 600; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, filter .15s; white-space: nowrap; text-decoration: none; }
        .t3-btn--primary { background: var(--t3-primary); color: #fff; border-color: var(--t3-primary); }
        .t3-btn--primary:hover { filter: brightness(.92); }
        .t3-btn--secondary { background: #fff; color: var(--t3-ink); border-color: var(--t3-line-strong); }
        .t3-btn--secondary:hover { border-color: var(--t3-ink); }
        .t3-btn--white { background: #fff; color: var(--t3-primary); }
        .t3-btn--white:hover { background: var(--t3-tint); }
        .t3-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
        .t3-btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
        .t3-link { color: var(--t3-primary); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
        .t3-link:hover { text-decoration: underline; text-underline-offset: 3px; }
        .t3-card { background: #fff; border: 1px solid var(--t3-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
        .t3-card:hover { border-color: var(--t3-line-strong); box-shadow: 0 14px 34px -22px rgba(11,18,32,.25); }
        .t3-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--t3-line); color: var(--t3-muted); background: #fff; }
        .t3-chip--brand { color: var(--t3-primary); background: var(--t3-tint); border-color: var(--t3-tint-line); }
        .t3-chip--green { color: var(--t3-green); background: var(--t3-green-tint); border-color: #BBE7C9; }
        .t3-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--t3-tint); color: var(--t3-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }

        /* Hero */
        .t3-hero { position: relative; overflow: hidden; padding: 72px 0 80px; border-bottom: 1px solid var(--t3-line); }
        .t3-hero--media { color: #fff; border-bottom: 0; }
        .t3-hero-media { position: absolute; inset: 0; z-index: 0; }
        .t3-hero-media img, .t3-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
        .t3-hero-overlay { position: absolute; inset: 0; z-index: 1; }
        .t3-hero > .t3-wrap { position: relative; z-index: 2; }
        .t3-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
        .t3-hero--media .t3-h1, .t3-hero--media .t3-eyebrow { color: #fff; }
        .t3-hero--media .t3-eyebrow::before { background: #fff; }
        .t3-hero--media .t3-lead { color: rgba(255,255,255,.85); }
        .t3-hero--media .t3-btn--secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
        .t3-hero--media .t3-trust { color: rgba(255,255,255,.8); }
        .t3-hero .t3-lead { margin: 22px 0 30px; max-width: 520px; }
        .t3-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--t3-muted); margin-top: 20px; }
        .t3-trust span { display: inline-flex; align-items: center; gap: 6px; }
        .t3-trust i { color: var(--t3-green); font-size: 11px; }
        .t3-event-card { padding: 26px 28px; background: #fff; color: var(--t3-text); border: 1px solid var(--t3-line); border-radius: 14px; box-shadow: 0 24px 60px -30px rgba(11,18,32,.35); }
        .t3-event-card .t3-h3 { font-size: 22px; margin: 10px 0 8px; }
        .t3-event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--t3-muted); }
        .t3-event-meta i { color: var(--t3-faint); margin-right: 6px; }
        .t3-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 18px; }
        .t3-count div { background: var(--t3-surface); border: 1px solid var(--t3-line); border-radius: 10px; padding: 10px 6px; text-align: center; }
        .t3-count b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--t3-ink); line-height: 1; font-variant-numeric: tabular-nums; }
        .t3-count small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3-faint); font-weight: 600; }
        .t3-member-card { padding: 26px 28px; border-radius: 14px; background: var(--t3-ink); color: #fff; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 60px -30px rgba(11,18,32,.5); position: relative; overflow: hidden; }
        .t3-member-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--t3-primary); opacity: .35; filter: blur(30px); }
        .t3-member-card > * { position: relative; }
        .t3-member-card .t3-tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
        .t3-member-card .t3-name { font-size: 22px; font-weight: 700; margin: 8px 0 22px; letter-spacing: -0.015em; }
        .t3-member-benefits { display: grid; gap: 10px; }
        .t3-member-benefits li { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,.88); }
        .t3-member-benefits i { color: #fff; width: 16px; text-align: center; margin-top: 3px; }
        .t3-member-card .t3-qr { display: grid; grid-template-columns: repeat(7, 6px); gap: 2px; position: absolute; right: 26px; bottom: 26px; opacity: .9; }
        .t3-member-card .t3-qr i { width: 6px; height: 6px; background: #fff; display: block; border-radius: 1px; }
        .t3-member-card .t3-qr i:nth-child(3n) { opacity: .25; }

        /* Membership tiers */
        .t3-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .t3-tiers--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
        .t3-tiers--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
        .t3-tiers--4 { grid-template-columns: repeat(4, 1fr); }
        .t3-tier { padding: 26px; display: flex; flex-direction: column; position: relative; }
        .t3-tier--hot { border-color: var(--t3-primary); box-shadow: 0 0 0 1px var(--t3-primary), 0 20px 40px -24px color-mix(in srgb, var(--t3-primary) 40%, transparent); }
        .t3-tier .t3-h3 { font-size: 19px; }
        .t3-tier-desc { font-size: 13.5px; color: var(--t3-muted); margin-top: 6px; line-height: 1.5; }
        .t3-price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
        .t3-price b { font-size: 38px; font-weight: 800; letter-spacing: -0.035em; color: var(--t3-ink); line-height: 1; }
        .t3-price span { font-size: 13px; color: var(--t3-muted); }
        .t3-price-alt { font-size: 12.5px; color: var(--t3-faint); margin-top: 6px; }
        .t3-price-alt em { font-style: normal; color: var(--t3-green); font-weight: 600; }
        .t3-perks { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--t3-line); display: grid; gap: 9px; align-content: start; flex: 1; }
        .t3-perks li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; }
        .t3-perks i { color: var(--t3-primary); margin-top: 3px; font-size: 12px; }
        .t3-tier .t3-btn { margin-top: 22px; width: 100%; }
        .t3-tier .t3-btn + .t3-btn { margin-top: 8px; }
        .t3-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
        .t3-benefit { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
        .t3-benefit b { display: block; font-size: 14px; color: var(--t3-ink); font-weight: 600; }
        .t3-benefit small { display: block; font-size: 12.5px; color: var(--t3-muted); margin-top: 2px; line-height: 1.45; }

        /* Stats band */
        .t3-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .t3-stat { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; }
        .t3-stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--t3-ink); line-height: 1.05; }
        .t3-stat small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3-faint); font-weight: 600; }

        /* Events */
        .t3-events { display: grid; gap: 12px; }
        .t3-event { display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; text-decoration: none; color: inherit; }
        .t3-date { width: 76px; height: 76px; border-radius: 10px; background: var(--t3-tint); border: 1px solid var(--t3-tint-line); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--t3-primary); }
        .t3-date b { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
        .t3-date small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
        .t3-event .t3-h3 { margin-bottom: 6px; }
        .t3-event-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--t3-primary); font-weight: 600; font-size: 14px; white-space: nowrap; }

        /* Grids */
        .t3-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .t3-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .t3-tile { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
        .t3-tile-img { aspect-ratio: 4/3; background: var(--t3-surface); border-bottom: 1px solid var(--t3-line); position: relative; overflow: hidden; }
        .t3-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
        .t3-tile:hover .t3-tile-img img { transform: scale(1.03); }
        .t3-tile-img .t3-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--t3-faint); font-size: 28px; }
        .t3-tile-logo { position: absolute; left: 14px; bottom: -18px; width: 44px; height: 44px; border-radius: 10px; background: #fff; border: 1px solid var(--t3-line); overflow: hidden; box-shadow: 0 6px 16px -8px rgba(11,18,32,.3); }
        .t3-tile-logo img { width: 100%; height: 100%; object-fit: cover; }
        .t3-tile-body { padding: 24px 16px 16px; }
        .t3-tile-body .t3-h3 { font-size: 15.5px; }
        .t3-tile-body small { display: block; font-size: 12.5px; color: var(--t3-muted); margin-top: 3px; }
        .t3-price-tag { position: absolute; top: 10px; right: 10px; background: #fff; border: 1px solid var(--t3-line); border-radius: 6px; padding: 4px 8px; font-size: 12.5px; font-weight: 700; color: var(--t3-ink); }
        .t3-artist { text-align: center; padding: 24px 16px 20px; }
        .t3-artist img.t3-avatar, .t3-artist .t3-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 1px solid var(--t3-line); background: var(--t3-tint); color: var(--t3-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
        .t3-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
        .t3-gallery button { aspect-ratio: 1; border: 1px solid var(--t3-line); border-radius: 10px; overflow: hidden; background: var(--t3-surface); padding: 0; cursor: zoom-in; }
        .t3-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
        .t3-gallery button:hover img { transform: scale(1.04); }

        /* CTA */
        .t3-cta { background: var(--t3-primary); color: #fff; padding: 88px 0; text-align: center; }
        .t3-cta .t3-h2 { color: #fff; }
        .t3-cta .t3-lead { color: rgba(255,255,255,.82); margin: 18px auto 30px; max-width: 560px; }
        .t3-cta .t3-eyebrow { color: rgba(255,255,255,.75); }
        .t3-cta .t3-eyebrow::before { background: rgba(255,255,255,.75); }

        /* Sponsors */
        .t3-sponsor-tier { margin-bottom: 30px; }
        .t3-sponsor-tier h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3-faint); font-weight: 600; text-align: center; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
        .t3-sponsor-tier h4::before, .t3-sponsor-tier h4::after { content: ""; flex: 1; height: 1px; background: var(--t3-line); }
        .t3-sponsors { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
        .t3-sponsor { width: 168px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px; text-decoration: none; }
        .t3-sponsor img { max-width: 100%; max-height: 100%; object-fit: contain; }
        .t3-sponsor span { font-size: 13px; font-weight: 600; color: var(--t3-muted); text-align: center; line-height: 1.3; }

        /* Lightbox */
        .t3-lightbox { position: fixed; inset: 0; background: rgba(11,18,32,.9); z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
        .t3-lightbox.is-open { display: flex; }
        .t3-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }

        .t3-reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
        .t3-reveal.is-in { opacity: 1; transform: none; }
        @media (prefers-reduced-motion: reduce) { .t3-reveal { opacity: 1; transform: none; transition: none; } }

        @media (max-width: 1024px) { .t3-h1 { font-size: 44px; } .t3-h2 { font-size: 30px; } .t3-tiers, .t3-tiers--4, .t3-grid-4, .t3-stats, .t3-benefits { grid-template-columns: repeat(2, 1fr); } .t3-gallery { grid-template-columns: repeat(3, 1fr); } .t3-grid-3 { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 860px) { .t3-hero { padding: 56px 0 64px; } .t3-hero-grid { grid-template-columns: 1fr; gap: 32px; } .t3-head { grid-template-columns: 1fr; gap: 12px; } .t3-head .t3-sub { justify-self: start; } .t3-section { padding: 64px 0; } }
        @media (max-width: 600px) { .t3-h1 { font-size: 36px; } .t3-h2 { font-size: 27px; } .t3-tiers, .t3-tiers--2, .t3-tiers--4, .t3-grid-4, .t3-grid-3, .t3-stats, .t3-benefits { grid-template-columns: 1fr; } .t3-gallery { grid-template-columns: repeat(2, 1fr); } .t3-event { grid-template-columns: 60px 1fr; } .t3-event .t3-event-cta { grid-column: 2; } .t3-date { width: 60px; height: 60px; } .t3-date b { font-size: 22px; } .t3-count b { font-size: 20px; } }
