@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@400;500&family=Instrument+Serif:ital@1&display=swap');

/* ════════════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════════════ */
:root {
    --bg:          #FFFFFF;
    --bg-page:     #F5F4F0;
    --bg-nav:      #EEECEA;
    --dark:        #1C1B18;
    --mid:         #6A6760;
    --muted:       #ABAAA4;
    --border:      #E4E2DB;
    --border-strong: #CBC8C0;
    --accent:      #C4301A;
    --accent-h:    #A32614;
    --accent-dim:  rgba(196,48,26,.08);
    --green:       #166534;
    --green-bg:    #DCFCE7;
    --header-h:    60px;
    --wrap:        1160px;
    --radius:      7px;
    --radius-sm:   4px;
    --shadow-xs:   0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:   0 2px 6px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,.09), 0 1px 3px rgba(0,0,0,.05);
}

/* ════════════════════════════════════════════════════
   RESET + BASE
════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--dark);
    background: var(--bg-page);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */
.header {
    height: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
}

.header__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header__brand {
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.header__logo {
    height: 30px;
    width: auto;
    display: block;
}

/* keep legacy text brand usable if logo missing */
.header__brand span { color: var(--accent); }

.header__nav {
    display: flex;
    align-items: center;
    gap: .125rem;
}

.header__nav a {
    color: var(--mid);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    padding: .375rem .75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color .12s, background .12s;
}

.header__nav a:hover { color: var(--dark); background: var(--bg-page); }

.header__nav .nav-login {
    border: 1px solid var(--border);
    color: var(--dark);
    margin-left: .375rem;
    font-weight: 600;
}

.header__nav .nav-login:hover {
    border-color: var(--dark);
    background: none;
}

/* ════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════ */
.page-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 2rem;
}

main { flex: 1; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 2rem 0;
    margin-top: auto;
    flex-shrink: 0;
}

.footer__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__brand {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer__logo {
    height: 22px;
    width: auto;
    display: block;
    opacity: .6;
    transition: opacity .15s;
}

.footer__brand:hover .footer__logo { opacity: 1; }

.footer__nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer__nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 500;
    padding: .25rem .625rem;
    transition: color .12s;
}

.footer__nav a:hover { color: var(--dark); }

.footer__copy {
    font-size: .72rem;
    color: var(--muted);
    white-space: nowrap;
}

/* ════════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════════ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .78rem;
    color: var(--muted);
    padding: 1rem 0 0;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--mid); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb__sep { color: var(--border-strong); }

/* ════════════════════════════════════════════════════
   ALERTS
════════════════════════════════════════════════════ */
.alert {
    padding: .875rem 1.125rem;
    border-radius: var(--radius);
    border-left: 3px solid;
    font-size: .9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.alert--success { background: var(--green-bg); color: var(--green); border-color: #16a34a; }
.alert--error   { background: #FEE2E2; color: #991B1B; border-color: #DC2626; }

/* ════════════════════════════════════════════════════
   HOME — MASTHEAD
════════════════════════════════════════════════════ */
.home-masthead {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Decorative target rings — top right */
.home-masthead__deco {
    position: absolute;
    right: max(2rem, calc(50% - var(--wrap)/2));
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    opacity: .05;
    pointer-events: none;
    flex-shrink: 0;
}

.home-masthead .page-wrap { position: relative; z-index: 1; }

.home-masthead__eyebrow {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    margin-bottom: .625rem;
}

.home-masthead__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
    margin-bottom: .5rem;
    color: var(--dark);
}

.home-masthead__sub {
    color: var(--mid);
    font-size: .9rem;
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════
   HOME — SEARCH
════════════════════════════════════════════════════ */
.search-bar {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    max-width: 540px;
}

.search-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .6rem 1rem;
    font-size: .9rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--bg);
    transition: border-color .12s, box-shadow .12s;
    -webkit-appearance: none;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196,48,26,.09);
}

.search-btn {
    padding: .6rem 1.375rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .12s;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

.search-btn:hover { background: var(--accent-h); }

.search-clear {
    display: flex;
    align-items: center;
    padding: .55rem .75rem;
    color: var(--muted);
    font-size: .84rem;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: color .12s, border-color .12s;
    white-space: nowrap;
    font-weight: 500;
}

.search-clear:hover { color: var(--dark); border-color: var(--border-strong); }

/* ════════════════════════════════════════════════════
   HOME — EVENTS SECTION
════════════════════════════════════════════════════ */
.events-section { padding: 2rem 0 4rem; }

.events-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.125rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.events-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}

/* ════════════════════════════════════════════════════
   EVENT LIST + ROWS
════════════════════════════════════════════════════ */
.event-list {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.event-row {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    align-items: stretch;
    background: var(--bg);
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background .1s, box-shadow .1s;
    position: relative;
}

.event-row:last-child { border-bottom: none; }

.event-row:hover {
    background: #faf9f6;
    box-shadow: inset 4px 0 0 var(--accent);
}

/* Date block */
.event-row__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .75rem;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
    font-family: 'DM Mono', monospace;
    text-align: center;
    line-height: 1;
    gap: 3px;
}

.event-row__date-day {
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -.01em;
}

.event-row__date-mon {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-top: 1px;
}

.event-row__date-year {
    font-size: .55rem;
    color: var(--muted);
    opacity: .7;
}

/* Row body */
.event-row__body {
    padding: .9rem 1.25rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
}

.event-row__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.event-row__meta {
    display: flex;
    align-items: center;
    gap: .375rem .75rem;
    font-size: .79rem;
    color: var(--mid);
    flex-wrap: wrap;
}

/* Arrow */
.event-row__arrow {
    display: flex;
    align-items: center;
    padding: .875rem 1.125rem .875rem .5rem;
    color: var(--muted);
    font-size: 1.1rem;
    transition: color .12s, transform .12s;
    flex-shrink: 0;
}

.event-row:hover .event-row__arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* ════════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .18rem .5rem;
    border-radius: 20px;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid transparent;
}

.badge--free   { background: var(--green-bg); color: var(--green); border-color: #bbf7d0; }
.badge--paid   { background: #DBEAFE; color: #1E40AF; border-color: #bfdbfe; }
.badge--online { background: #FEF3C7; color: #92400E; border-color: #fde68a; }
.badge--multi  { background: #F5F3FF; color: #5B21B6; border-color: #ddd6fe; }

/* ════════════════════════════════════════════════════
   EMPTY STATE
════════════════════════════════════════════════════ */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow-xs);
}

.empty-state h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mid);
    margin-bottom: .5rem;
}

.empty-state p { font-size: .9rem; }

/* ════════════════════════════════════════════════════
   EVENT DETAIL — MASTHEAD
════════════════════════════════════════════════════ */
.event-masthead {
    background: linear-gradient(155deg, #111111 0%, #1d0b07 45%, #0e0e0e 100%);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 3.25rem 0 2.75rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Cover image mode */
.event-masthead--cover {
    background: linear-gradient(155deg, #111111 0%, #1d0b07 45%, #0e0e0e 100%);
}

.event-masthead--cover::before {
    display: none;
}

.event-masthead--cover .masthead-target {
    display: none;
}

.event-masthead--cover .masthead-cover-bg {
    display: block;
}

.masthead-cover-bg {
    display: none;
    position: absolute;
    inset: 0;
    background-image: var(--cover-img);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.masthead-cover-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(10,10,10,.92) 0%,
        rgba(10,10,10,.75) 50%,
        rgba(10,10,10,.45) 100%);
}

/* Radial glow behind target rings */
.event-masthead::after {
    content: '';
    position: absolute;
    right: max(-2rem, calc(50% - var(--wrap)/2 - 20px));
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(196,48,26,.13) 0%, transparent 70%);
    pointer-events: none;
}

/* Target rings decoration */
.masthead-target {
    position: absolute;
    right: max(-3rem, calc(50% - var(--wrap)/2 - 60px));
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    opacity: .11;
    pointer-events: none;
    color: #fff;
}

.event-masthead .page-wrap { position: relative; z-index: 1; }

/* Accent bar — left edge with glow */
.event-masthead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
    box-shadow: 0 0 18px 2px rgba(196,48,26,.45);
}

.event-masthead__eyebrow {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: rgba(255,255,255,.4);
    font-family: 'DM Mono', monospace;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .625rem;
}

.event-masthead__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
    margin: 0;
    min-width: 0;
    overflow-wrap: break-word;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.event-masthead__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    font-size: .875rem;
    color: rgba(255,255,255,.55);
}

.event-masthead__meta-item {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.event-masthead__meta-item svg { opacity: .5; }

/* Breadcrumb on dark bg */
.breadcrumb--dark {
    padding: .875rem 0 0;
}

.breadcrumb--dark,
.breadcrumb--dark a { color: rgba(255,255,255,.3); }
.breadcrumb--dark a:hover { color: rgba(255,255,255,.7); }
.breadcrumb--dark .breadcrumb__sep { color: rgba(255,255,255,.15); }

/* ════════════════════════════════════════════════════
   EVENT DETAIL — LAYOUT
════════════════════════════════════════════════════ */
.event-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2.5rem 0 4.5rem;
    align-items: start;
}

.event-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

/* ════════════════════════════════════════════════════
   EVENT DETAIL — CONTENT SECTIONS
════════════════════════════════════════════════════ */
.event-section { margin-bottom: 2.5rem; }

.event-section__title {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    margin-bottom: .875rem;
    padding-bottom: .625rem;
    border-bottom: 1px solid var(--border);
}

.event-section__body {
    font-size: .9375rem;
    line-height: 1.75;
    color: var(--dark);
}

.event-section__body p + p { margin-top: .75em; }

/* ════════════════════════════════════════════════════
   ASIDE CARDS
════════════════════════════════════════════════════ */
.aside-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: .875rem;
    box-shadow: var(--shadow-xs);
}

.aside-card:last-child { margin-bottom: 0; }

.aside-card__header {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--mid);
    font-family: 'DM Mono', monospace;
}

.aside-card__body { padding: 1.25rem; }

/* ════════════════════════════════════════════════════
   TICKET OPTIONS (multi-type selector)
════════════════════════════════════════════════════ */
.ticket-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: .5rem;
    cursor: pointer;
    transition: border-color .12s, background .12s;
    -webkit-user-select: none;
    user-select: none;
}

.ticket-option:last-of-type { margin-bottom: 0; }

.ticket-option:has(input:checked) {
    border-color: #1C1B18;
    background: #f8f7f4;
}

.ticket-option:hover:not(:has(input:checked)) {
    border-color: var(--border-strong);
}

/* Hide native radio — replaced by .ticket-check */
.ticket-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom checkmark indicator */
.ticket-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: #fff;
    transition: border-color .12s, background .12s, color .12s;
}

.ticket-option:has(input:checked) .ticket-check {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

.ticket-option__info { flex: 1; min-width: 0; }

.ticket-option__name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    line-height: 1.3;
}

.ticket-option__desc {
    font-size: .76rem;
    color: var(--muted);
    margin-top: 1px;
}

.ticket-option__cap {
    font-size: .72rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 2px;
}

.ticket-option__price {
    font-family: 'DM Mono', monospace;
    font-size: .9rem;
    color: var(--dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.ticket-option__price.is-free {
    font-family: 'DM Sans', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* Single ticket display strip */
.ticket-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .625rem .875rem;
    background: var(--bg-nav);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.ticket-strip__name {
    font-size: .875rem;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════
   EVENT SECTION — REGISTRATION VARIANT
════════════════════════════════════════════════════ */
.event-section--reg {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--bg);
}

.event-section--reg .event-section__title {
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.reg-unavailable {
    color: var(--muted);
    font-size: .875rem;
    text-align: center;
    padding: 1rem 0;
    line-height: 1.6;
}

/* ── Mode switcher ──────────────────────────────── */
.reg-mode-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.125rem;
}

.reg-mode-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem .5rem;
    background: var(--bg);
    border: none;
    border-right: 1px solid var(--border);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    color: var(--mid);
    cursor: pointer;
    transition: background .12s, color .12s;
    line-height: 1;
    white-space: nowrap;
}

.reg-mode-tab:last-child { border-right: none; }
.reg-mode-tab:hover:not(.is-active) { background: var(--bg-nav); color: var(--dark); }
.reg-mode-tab.is-active { background: var(--accent); color: #fff; }

/* ── Contact row (legacy, kept for compat) ───────── */
.reg-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reg-contact__field {
    flex: 1;
    min-width: 200px;
}

/* ── Club / multi header ─────────────────────────── */
.reg-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding: .875rem 1rem;
    background: var(--bg-nav);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.reg-header__field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* ── Individual card form ────────────────────────── */
.reg-individual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1.25rem;
    margin-bottom: .875rem;
}

.reg-individual-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.reg-individual-tickets {
    margin-bottom: .875rem;
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.reg-individual-email {
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    margin-bottom: .875rem;
    flex-wrap: wrap;
}

.reg-individual-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .2rem;
    padding: .625rem .875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-nav);
    min-width: 140px;
    flex-shrink: 0;
}

.reg-ind-price-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.reg-ind-price-value {
    font-family: 'DM Mono', monospace;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1;
}

/* ── Archer table ────────────────────────────────── */
.reg-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: .75rem;
}

.reg-table-head {
    display: grid;
    grid-template-columns: 32px 90px 1fr 110px 130px 110px 72px 28px;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: .5rem .75rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    align-items: center;
    gap: .5rem;
}

.reg-table-wrap.has-ticket-col .reg-table-head {
    grid-template-columns: 32px 90px 1fr 110px 120px 100px 140px 72px 28px;
}

.reg-table-body { display: flex; flex-direction: column; }

.reg-archer-row {
    display: grid;
    grid-template-columns: 32px 90px 1fr 110px 130px 110px 72px 28px;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-bottom: 1px solid var(--border);
    transition: background .1s;
}

.reg-archer-row:last-child { border-bottom: none; }
.reg-archer-row:hover { background: rgba(0,0,0,.015); }

/* When ticket column exists — added via JS class on wrapper */
.reg-table-wrap.has-ticket-col .reg-archer-row {
    grid-template-columns: 32px 90px 1fr 110px 120px 100px 140px 72px 28px;
}

/* Club mode — shared club in header, hide per-row club column */
.reg-table-wrap.is-club-mode .reg-col-club { display: none; }
.reg-table-wrap.is-club-mode .reg-table-head,
.reg-table-wrap.is-club-mode .reg-archer-row {
    grid-template-columns: 32px 90px 1fr 130px 110px 72px 28px;
}
.reg-table-wrap.is-club-mode.has-ticket-col .reg-table-head,
.reg-table-wrap.is-club-mode.has-ticket-col .reg-archer-row {
    grid-template-columns: 32px 90px 1fr 120px 100px 140px 72px 28px;
}

.reg-col-num {
    font-family: 'DM Mono', monospace;
    font-size: .75rem;
    color: var(--muted);
    text-align: center;
}

.reg-col-regno { display: flex; }
.reg-col-name  { display: flex; }
.reg-col-club  { display: flex; }
.reg-col-div   { display: flex; }
.reg-col-cat   { display: flex; }
.reg-col-ticket{ display: flex; }

.reg-col-price {
    text-align: right;
    font-family: 'DM Mono', monospace;
    font-size: .82rem;
    color: var(--dark);
    white-space: nowrap;
}

.reg-col-act {
    display: flex;
    justify-content: center;
}

.reg-col-num.reg-archer-num { line-height: 1; }

/* Compact inputs inside table */
.reg-archer-row .register-input {
    font-size: .84rem;
    padding: .4rem .6rem;
    height: 34px;
    width: 100%;
    border-radius: var(--radius-sm);
}

.reg-price-cell { display: block; }

.reg-free-badge {
    display: inline-block;
    background: var(--green-bg);
    color: var(--green);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 3px;
    padding: 2px 5px;
    font-family: 'DM Sans', sans-serif;
}

/* Remove button */
.reg-remove-archer {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--mid);
    cursor: pointer;
    transition: background .1s, border-color .1s, color .1s;
    padding: 0;
    flex-shrink: 0;
}

.reg-remove-archer:hover:not(:disabled) {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
}

.reg-remove-archer:disabled { opacity: .25; cursor: not-allowed; }

/* ── CSV feedback banner ─────────────────────────── */
.reg-csv-feedback {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .625rem .875rem;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    margin-bottom: .75rem;
    line-height: 1.4;
}
.reg-csv-feedback span { flex: 1; }
.reg-csv-feedback--ok   { background: #f0faf2; color: #1a6b30; border: 1px solid #b6e4c3; }
.reg-csv-feedback--warn { background: #fffbf0; color: #7a5800; border: 1px solid #f0d980; }
.reg-csv-feedback--error { background: #fff5f5; color: #b91c1c; border: 1px solid #fca5a5; }
.reg-csv-dismiss {
    background: none; border: none; cursor: pointer; padding: 1px 2px;
    opacity: .5; flex-shrink: 0; color: inherit;
}
.reg-csv-dismiss:hover { opacity: 1; }

/* ── Footer: add btn + total ─────────────────────── */
.reg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reg-footer__actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.reg-footer__left {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.reg-add-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .875rem;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 500;
    color: var(--mid);
    cursor: pointer;
    transition: border-color .12s, color .12s, background .12s;
}

.reg-add-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.reg-add-btn:disabled { opacity: .3; cursor: not-allowed; }

.reg-import-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .875rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 500;
    color: var(--mid);
    cursor: pointer;
    transition: border-color .12s, color .12s, background .12s;
}
.reg-import-btn:hover {
    border-color: var(--dark);
    color: var(--dark);
    background: #f5f4f0;
}

.reg-csv-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: .75rem;
    color: var(--muted);
    cursor: pointer;
    padding: .25rem .375rem;
    border-radius: 3px;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color .12s, text-decoration-color .12s;
}
.reg-csv-link:hover {
    color: var(--dark);
    text-decoration-color: currentColor;
}

.reg-footer__mode-hint {
    font-size: .75rem;
    color: var(--muted);
    font-style: italic;
}

.reg-footer__total {
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.reg-total-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.reg-total-amount {
    font-family: 'DM Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
}

/* ── Submit row ──────────────────────────────────── */
.reg-submit-row {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: .25rem;
}

.reg-fine-print {
    font-size: .7rem;
    color: var(--muted);
    text-align: center;
    margin-top: .5rem;
    line-height: 1.5;
}

/* ── Document links (aside) ──────────────────────── */
.doc-link {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: background .1s, color .1s;
}

.doc-link:last-child { border-bottom: none; }

.doc-link:hover {
    background: var(--bg-nav);
    color: var(--accent);
}

.doc-link > svg:first-child {
    flex-shrink: 0;
    color: var(--accent);
}

.doc-link > span { flex: 1; }

.doc-link__arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: color .1s, transform .1s;
}

.doc-link:hover .doc-link__arrow {
    color: var(--accent);
    transform: translate(1px, -1px);
}

/* ── Document rows in event form ─────────────────── */
.doc-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: .5rem;
    margin-bottom: .5rem;
    align-items: center;
}

/* ════════════════════════════════════════════════════
   REGISTRATION FORM
════════════════════════════════════════════════════ */

.register-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--mid);
    display: block;
    margin-bottom: .4rem;
}

.register-label sup {
    color: var(--accent);
    font-size: 1.2em;
    margin-left: 1px;
}

.register-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: .65rem .875rem;
    font-size: .9375rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.4;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none;
    appearance: none;
}

.register-input::placeholder { color: var(--muted); }

.register-input:hover:not(:focus) {
    border-color: var(--border-strong);
}

.register-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(196,48,26,.1);
}

select.register-input {
    cursor: pointer;
}

.register-input.error {
    border-color: #DC2626;
    background: #fff8f8;
}

.reg-lookup-ok  { border-color: #22c55e !important; background: #f0fdf4 !important; }
.reg-lookup-miss { border-color: #f59e0b !important; background: #fffbeb !important; }

.register-btn {
    display: block;
    width: 100%;
    margin-top: 1.125rem;
    padding: .8rem 1rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .12s;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 1px 3px rgba(196,48,26,.25);
}

.register-btn:hover { background: var(--accent-h); }

.register-errors {
    background: #FEE2E2;
    border-left: 3px solid #DC2626;
    color: #991B1B;
    padding: .625rem .875rem;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    margin-bottom: .875rem;
    line-height: 1.5;
}

.register-errors li { margin-left: .875rem; }
.register-errors li:only-child { margin-left: 0; list-style: none; }

/* ════════════════════════════════════════════════════
   REGISTRATION MODE SWITCHER
════════════════════════════════════════════════════ */
.reg-mode-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.reg-mode-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .5rem .25rem;
    background: var(--bg);
    border: none;
    border-right: 1px solid var(--border);
    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;
    color: var(--mid);
    cursor: pointer;
    transition: background .12s, color .12s;
    white-space: nowrap;
    line-height: 1;
}

.reg-mode-tab:last-child { border-right: none; }

.reg-mode-tab:hover:not(.is-active) {
    background: var(--bg-nav);
    color: var(--dark);
}

.reg-mode-tab.is-active {
    background: var(--accent);
    color: #fff;
}

.reg-mode-tab svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════════
   REGISTRATION PANELS
════════════════════════════════════════════════════ */
.reg-tickets { margin-bottom: .875rem; }

.reg-panel { margin-top: .875rem; }

/* ════════════════════════════════════════════════════
   QUANTITY STEPPER
════════════════════════════════════════════════════ */
.reg-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}

.reg-qty__btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-nav);
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: background .1s, color .1s;
    flex-shrink: 0;
    line-height: 1;
    font-family: inherit;
}

.reg-qty__btn:hover { background: var(--border); }

.reg-qty__input {
    flex: 1;
    border: none;
    text-align: center;
    font-family: 'DM Mono', monospace;
    font-size: .95rem;
    font-weight: 500;
    color: var(--dark);
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
    min-width: 0;
}

.reg-qty__input::-webkit-inner-spin-button,
.reg-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ════════════════════════════════════════════════════
   PRICE SUMMARY
════════════════════════════════════════════════════ */
.reg-price-summary {
    min-height: 1.5rem;
    margin-bottom: .75rem;
}

.reg-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-nav);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .45rem .75rem;
    font-size: .82rem;
    color: var(--mid);
}

.reg-summary-line strong {
    font-family: 'DM Mono', monospace;
    font-size: .85rem;
    color: var(--dark);
    font-weight: 500;
}

/* ════════════════════════════════════════════════════
   CLUB MEMBER LIST
════════════════════════════════════════════════════ */
.reg-members {
    margin-top: .875rem;
    margin-bottom: .875rem;
}

.reg-members__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.reg-members__count {
    font-size: .7rem;
    font-family: 'DM Mono', monospace;
    color: var(--muted);
}

.reg-member-list {
    display: flex;
    flex-direction: column;
    gap: .375rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 2px;
}

.reg-member-list::-webkit-scrollbar { width: 4px; }
.reg-member-list::-webkit-scrollbar-track { background: transparent; }
.reg-member-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.reg-member-row {
    display: flex;
    gap: .375rem;
    align-items: center;
}

.reg-member-row .register-input {
    font-size: .84rem;
    padding: .45rem .7rem;
}

.reg-member-remove {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--mid);
    cursor: pointer;
    transition: background .1s, border-color .1s, color .1s;
    padding: 0;
}

.reg-member-remove:hover:not(:disabled) {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #DC2626;
}

.reg-member-remove:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.reg-member-add {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-top: .5rem;
    padding: .4rem .625rem;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 500;
    color: var(--mid);
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: border-color .12s, color .12s, background .12s;
}

.reg-member-add:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

/* ════════════════════════════════════════════════════
   KEY FACTS
════════════════════════════════════════════════════ */
.key-facts { display: flex; flex-direction: column; }

.key-fact {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: .75rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .875rem;
    align-items: start;
}

.key-fact:first-child { padding-top: 0; }
.key-fact:last-child  { border-bottom: none; padding-bottom: 0; }

.key-fact__label {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    padding-top: 2px;
    line-height: 1.3;
}

.key-fact__value {
    color: var(--dark);
    line-height: 1.45;
}

/* ── Capacity block ──────────────────────────────── */
.key-fact--cap { align-items: start; }

.cap-block { width: 100%; }

.cap-total {
    margin-bottom: .5rem;
}

.cap-total__nums {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .3rem;
}

.cap-total__remain {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
}

.cap-total__remain.is-zero {
    color: #DC2626;
}

.cap-total__of {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    color: var(--muted);
}

/* Progress bar */
.cap-bar {
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.cap-bar--sm { height: 3px; }

.cap-bar__fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent);
    transition: width .3s ease;
}

.cap-bar__fill.is-warn     { background: #D97706; }
.cap-bar__fill.is-critical { background: #DC2626; }

/* Per-ticket breakdown */
.cap-tickets {
    border-top: 1px solid var(--border);
    padding-top: .5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.cap-ticket-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: .5rem;
    row-gap: .2rem;
}

.cap-ticket-row__name {
    font-size: .75rem;
    color: var(--mid);
    grid-column: 1;
    grid-row: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cap-ticket-row__nums {
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    color: var(--muted);
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    white-space: nowrap;
}

.cap-sold-out {
    color: #DC2626;
    font-size: .65rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cap-ticket-row .cap-bar {
    grid-column: 1 / 3;
    grid-row: 2;
}

/* ════════════════════════════════════════════════════
   REGISTRATION SUCCESS STATE
════════════════════════════════════════════════════ */
.registration-success {
    text-align: center;
    padding: 1.5rem 1rem;
}

.registration-success__icon {
    width: 44px;
    height: 44px;
    background: var(--green-bg);
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .875rem;
    font-size: 1.25rem;
    color: var(--green);
}

.registration-success__title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--dark);
    margin-bottom: .375rem;
}

.registration-success__sub {
    font-size: .82rem;
    color: var(--mid);
    line-height: 1.5;
}

/* ════════════════════════════════════════════════════
   LOGIN PAGE
════════════════════════════════════════════════════ */
.login-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.login-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-md);
}

.login-card__brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 2rem;
    display: block;
    text-decoration: none;
}

.login-card__brand span { color: var(--accent); }

.login-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
    margin-bottom: .375rem;
    color: var(--dark);
}

.login-subtitle {
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-bottom: 1rem;
}

.form-field:last-of-type { margin-bottom: 1.5rem; }

.form-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--mid);
}

.form-input {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .6rem .8rem;
    font-size: .9rem;
    font-family: inherit;
    color: var(--dark);
    background: var(--bg);
    transition: border-color .12s, box-shadow .12s;
    -webkit-appearance: none;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196,48,26,.09);
}

.form-submit {
    width: 100%;
    padding: .725rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .12s;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 1px 3px rgba(196,48,26,.25);
}

.form-submit:hover { background: var(--accent-h); }

/* ════════════════════════════════════════════════════
   FLAG
════════════════════════════════════════════════════ */
.flag { vertical-align: middle; border-radius: 2px; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .event-layout {
        grid-template-columns: 1fr;
    }
    .event-aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-wrap        { padding: 0 1.25rem; }
    .header__inner    { padding: 0 1.25rem; gap: 1rem; }
    .footer__inner    { padding: 0 1.25rem; }
    .home-masthead    { padding: 2rem 0 1.75rem; }
    .event-masthead   { padding: 2rem 0 1.75rem; }
    .header__nav a    { padding: .375rem .5rem; }
    .header__nav      { gap: 0; }

    .event-row { grid-template-columns: 70px 1fr auto; }
    .event-row__date-day { font-size: 1.4rem; }
    .event-row__title { font-size: .9375rem; white-space: normal; }

    .login-card { padding: 2rem 1.5rem; }

    /* Registration table — collapse to stacked on mobile */
    .reg-table-head { display: none; }

    .reg-archer-row,
    .reg-table-wrap.has-ticket-col .reg-archer-row {
        grid-template-columns: 28px 1fr 28px;
        grid-template-rows: auto auto auto auto auto auto;
        row-gap: .375rem;
        padding: .75rem;
    }

    .reg-col-num    { grid-row: 1; grid-column: 1; }
    .reg-col-name   { grid-row: 1; grid-column: 2; }
    .reg-col-act    { grid-row: 1; grid-column: 3; }
    .reg-col-regno  { grid-row: 2; grid-column: 1 / 4; }
    .reg-col-div    { grid-row: 3; grid-column: 1 / 4; }
    .reg-col-cat    { grid-row: 4; grid-column: 1 / 4; }
    .reg-col-club   { grid-row: 5; grid-column: 1 / 4; }
    .reg-col-ticket { grid-row: 6; grid-column: 1 / 3; }
    .reg-col-price  { grid-row: 6; grid-column: 3; text-align: right; }

    .reg-table-wrap.is-club-mode .reg-col-ticket { grid-row: 5; grid-column: 1 / 3; }
    .reg-table-wrap.is-club-mode .reg-col-price  { grid-row: 5; grid-column: 3; }

    .reg-contact  { flex-direction: column; }
    .reg-header   { flex-direction: column; }

    .reg-individual-grid { grid-template-columns: 1fr; }
    .reg-individual-email { flex-direction: column; align-items: stretch; }
    .reg-individual-price-box { align-items: flex-start; min-width: unset; }

    .doc-row { grid-template-columns: 1fr; }
    .doc-row .btn { width: 100%; }
}

@media (max-width: 480px) {
    .home-masthead__title,
    .event-masthead__title { font-size: 1.875rem; }
    .event-row { grid-template-columns: 60px 1fr 28px; }
    .event-row__date { padding: .75rem .5rem; }
    .header__inner    { gap: .5rem; }
    .header__nav a    { padding: .375rem .375rem; font-size: .8rem; }
}

/* ════════════════════════════════════════════════════
   REDESIGN — MASTHEAD ENHANCEMENTS
════════════════════════════════════════════════════ */

/* Eyebrow: flag + type badges */
.event-masthead__eyebrow {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-bottom: .875rem;
}

.masthead-type-badge {
    display: inline-flex;
    align-items: center;
    padding: .22rem .7rem;
    background: rgba(196,48,26,.2);
    border: 1px solid rgba(196,48,26,.45);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: rgba(255,255,255,.8);
    font-family: 'DM Mono', monospace;
    backdrop-filter: blur(4px);
}

.masthead-type-badge--online {
    background: rgba(234,179,8,.15);
    border-color: rgba(234,179,8,.4);
    color: rgba(234,179,8,.9);
}

/* Title row: title left, logo right */
.masthead-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Stat strip: separated pill blocks */
.masthead-stat-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.masthead-stat {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1;
    padding: .38rem .75rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    
    border-radius: 100px;
    backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s;
}

.masthead-stat:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
}

.masthead-stat svg { flex-shrink: 0; opacity: .65; }

/* Organizer logo in masthead */
.masthead-organizer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(196,48,26,.5), 0 4px 20px rgba(0,0,0,.4);
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow .2s;
}

.masthead-organizer-logo:hover {
    box-shadow: 0 0 0 2px var(--accent), 0 4px 24px rgba(0,0,0,.5);
}

.masthead-organizer-logo__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 6px;
}

/* ════════════════════════════════════════════════════
   REDESIGN — REGISTRATION CARD
════════════════════════════════════════════════════ */

.reg-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.reg-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1.375rem;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
}

.reg-card__title {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--mid);
    font-family: 'DM Mono', monospace;
}

.reg-card__body {
    padding: 1.375rem;
}

.reg-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .22rem .55rem;
    border-radius: 20px;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.reg-status-badge--ok {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid #bbf7d0;
}

.reg-status-badge--off {
    background: #F3F4F6;
    color: var(--mid);
    border: 1px solid var(--border);
}

/* ── Pill mode switcher ──────────────────────────── */
.reg-pill-switcher {
    display: flex;
    gap: .25rem;
    padding: .25rem;
    background: var(--bg-nav);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: fit-content;
    margin-bottom: 1.25rem;
}

.reg-pill-tab {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .45rem .9rem;
    background: transparent;
    border: none;
    border-radius: calc(var(--radius) - 3px);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    color: var(--mid);
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
    line-height: 1;
    white-space: nowrap;
}

.reg-pill-tab:hover:not(.is-active) {
    color: var(--dark);
    background: rgba(0,0,0,.05);
}

.reg-pill-tab.is-active {
    background: var(--bg);
    color: var(--dark);
    box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
}

/* ── Individual form grid ────────────────────────── */
.reg-ind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1.125rem;
    margin-bottom: 1rem;
}

.reg-ind-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.reg-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--muted);
    font-size: .6rem;
    margin-left: .25rem;
    font-style: italic;
}

/* ── Email + total row ───────────────────────────── */
.reg-ind-bottom {
    display: flex;
    align-items: flex-end;
    gap: 1.125rem;
    margin-bottom: .875rem;
    flex-wrap: wrap;
}

.reg-price-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .15rem;
    padding: .6rem .9rem;
    background: var(--bg-nav);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 130px;
    flex-shrink: 0;
}

.reg-price-pill__label {
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
}

.reg-price-pill__amount {
    font-family: 'DM Mono', monospace;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1;
}

/* ── Submit bar ──────────────────────────────────── */
.reg-submit-bar {
    border-top: 1px solid var(--border);
    padding-top: 1.125rem;
    margin-top: .5rem;
}

.reg-cta-btn {
    display: block;
    width: 100%;
    padding: .875rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: .01em;
    line-height: 1.3;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    transition: background .12s, box-shadow .12s, transform .08s;
    box-shadow: 0 2px 8px rgba(196,48,26,.28), 0 1px 2px rgba(196,48,26,.18);
}

.reg-cta-btn:hover {
    background: var(--accent-h);
    box-shadow: 0 4px 14px rgba(196,48,26,.34), 0 2px 4px rgba(196,48,26,.18);
    transform: translateY(-1px);
}

.reg-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(196,48,26,.28);
}

.reg-fine {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    font-size: .7rem;
    color: var(--muted);
    text-align: center;
    margin-top: .625rem;
    line-height: 1.5;
}

.reg-fine svg { flex-shrink: 0; opacity: .6; }

/* ── Success state ───────────────────────────────── */
.reg-success {
    text-align: center;
    padding: 2.75rem 1.5rem;
}

.reg-success__ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--green-bg);
    border: 1.5px solid #86efac;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    animation: reg-pop .45s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes reg-pop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}

.reg-success__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .025em;
    color: var(--dark);
    margin-bottom: .375rem;
    animation: reg-fade-up .35s .1s ease both;
}

.reg-success__sub {
    font-size: .875rem;
    color: var(--mid);
    line-height: 1.6;
    animation: reg-fade-up .35s .18s ease both;
}

@keyframes reg-fade-up {
    from { transform: translateY(8px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

/* ════════════════════════════════════════════════════
   REDESIGN — ASIDE PANEL
════════════════════════════════════════════════════ */

.aside-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: .875rem;
    box-shadow: var(--shadow-sm);
}

.aside-panel:last-child { margin-bottom: 0; }

.aside-panel__head {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--mid);
    font-family: 'DM Mono', monospace;
}

.aside-panel__head::before {
    content: '';
    width: 3px;
    height: 11px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.aside-panel__body { padding: 1.125rem 1.25rem; }

/* ── Fact rows ───────────────────────────────────── */
.fact-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--border);
}

.fact-row:first-child { padding-top: 0; }
.fact-row:last-child  { border-bottom: none; padding-bottom: 0; }

.fact-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--bg-nav);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--mid);
    margin-top: 1px;
}

.fact-content { flex: 1; min-width: 0; }

.fact-label {
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    line-height: 1;
    margin-bottom: .22rem;
}

.fact-value {
    font-size: .875rem;
    color: var(--dark);
    line-height: 1.45;
    font-weight: 500;
}

/* ── Mobile adjustments ──────────────────────────── */
@media (max-width: 768px) {
    .reg-ind-grid     { grid-template-columns: 1fr; }
    .reg-ind-bottom   { flex-direction: column; align-items: stretch; }
    .reg-price-pill   { align-items: flex-start; min-width: unset; }
    .reg-pill-switcher { width: 100%; }
    .reg-pill-tab     { flex: 1; justify-content: center; }
    .masthead-stat-strip { gap: .375rem 1.25rem; }
}

@media (max-width: 480px) {
    .reg-card__body { padding: 1rem; }
    .reg-card__head { padding: .75rem 1rem; }
}

/* ════════════════════════════════════════════════════
   REGISTRATION PAGE LAYOUT
════════════════════════════════════════════════════ */

.reg-page-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 2rem;
    padding: 2rem 0 4.5rem;
    align-items: start;
}

/* Solo: no aside — full width */
.reg-page-layout--solo {
    grid-template-columns: 1fr;
}

.reg-page-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

/* ════════════════════════════════════════════════════
   SLOT COUNTER
════════════════════════════════════════════════════ */

.slot-counter {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: .75rem;
    box-shadow: var(--shadow-xs);
}

.slot-counter__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .625rem;
    flex-wrap: wrap;
}

.slot-counter__label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--dark);
}

.slot-counter__label strong { font-weight: 600; }

.slot-counter__nums {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    color: var(--muted);
    white-space: nowrap;
}

/* Status dot */
.slot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dot-pulse 2.4s ease infinite;
}

.slot-dot--green  { background: #22c55e; }
.slot-dot--orange { background: #f97316; }
.slot-dot--red    { background: #ef4444; animation: none; }

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .45; }
}

/* Progress bar */
.slot-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.slot-bar--sm { height: 4px; }

.slot-bar__fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent);
    transition: width .4s ease;
}

.slot-bar__fill--warn { background: #f97316; }
.slot-bar__fill--crit { background: #ef4444; }

/* Per-ticket breakdown */
.slot-breakdown {
    margin-top: .75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

.slot-breakdown__row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: .5rem .75rem;
}

.slot-breakdown__name {
    font-size: .78rem;
    color: var(--mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.slot-breakdown__nums {
    font-family: 'DM Mono', monospace;
    font-size: .7rem;
    color: var(--muted);
    white-space: nowrap;
}

.slot-sold-out {
    font-size: .65rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-family: 'DM Sans', sans-serif;
}

/* ════════════════════════════════════════════════════
   INDIVIDUAL FORM — EXPANDED
════════════════════════════════════════════════════ */

/* 2-col grid; cells bottom-align so inputs stay on the same row regardless of label height */
.reg-ind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .875rem 1.25rem;
    margin-bottom: 1rem;
    align-items: end;
}

.reg-ind-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

/* Span full width */
.reg-ind-field--wide {
    grid-column: 1 / -1;
}

.reg-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--muted);
    font-size: .6rem;
    margin-left: .2rem;
    font-style: italic;
}

/* Ticket section separator */
.reg-ind-tickets-section {
    margin-bottom: 1rem;
    padding-top: .25rem;
}

/* Total row */
.reg-ind-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    background: var(--bg-nav);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: .875rem;
}

.reg-ind-total-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--mid);
    font-family: 'DM Mono', monospace;
}

.reg-ind-total-amount {
    font-family: 'DM Mono', monospace;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
}

.reg-free-text {
    color: var(--green);
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* ── Language switcher ───────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: .5rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
}
.lang-switcher__current {
    color: var(--dark);
    padding: .25rem .4rem;
    border-radius: 3px;
    background: var(--bg-card, #f4f4f5);
}
.lang-switcher__link {
    color: var(--mid);
    padding: .25rem .4rem;
    border-radius: 3px;
    text-decoration: none;
    transition: color .12s, background .12s;
}
.lang-switcher__link:hover {
    color: var(--dark);
    background: var(--bg-card, #f4f4f5);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .reg-page-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem 0 3rem;
    }
    .reg-page-aside { position: static; }
    .reg-page-layout--solo { max-width: 100%; }
}

@media (max-width: 640px) {
    .reg-ind-grid { grid-template-columns: 1fr; }
    .reg-ind-field--wide { grid-column: 1; }
    .slot-counter__top { flex-direction: column; align-items: flex-start; gap: .375rem; }
    .slot-breakdown__row { grid-template-columns: 1fr auto; }
    .slot-breakdown__row .slot-bar { display: none; }
}

/* ════════════════════════════════════════════════════
   BUTTONS (shared)
════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1;
    padding: .625rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .14s, color .14s, border-color .14s, box-shadow .14s;
    white-space: nowrap;
}
.btn--lg { padding: .875rem 1.75rem; font-size: .95rem; }
.btn--primary  { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-h); }
.btn--ghost    { background: transparent; color: var(--dark); border: 1.5px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--dark); background: var(--bg-nav); }
.btn--white    { background: #fff; color: var(--dark); }
.btn--white:hover { background: var(--bg-page); }
.btn--outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ════════════════════════════════════════════════════
   HOMEPAGE — SHARED TYPOGRAPHY
════════════════════════════════════════════════════ */
.hp-section-label {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    margin-bottom: .625rem;
}
.hp-section-label--light { color: rgba(255,255,255,.5); }

.hp-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 1.25rem;
}
.hp-section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 600px; }
.hp-section-title--light  { color: #fff; }

.hp-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.hp-checklist li {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .9rem;
    color: var(--mid);
    line-height: 1.45;
}
.hp-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1.5px solid var(--accent);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23C4301A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hp-hero {
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0 4rem;
    overflow: hidden;
}
.hp-hero__rings {
    position: absolute;
    right: max(-2rem, calc(50% - var(--wrap)/2 - 80px));
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    opacity: .04;
    pointer-events: none;
    color: var(--dark);
}
.hp-hero__inner {
    display: grid;
    grid-template-columns: 1fr max(42%, 400px);
    gap: 3rem;
    align-items: center;
}
.hp-hero__eyebrow {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    margin-bottom: .875rem;
}
.hp-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: .98;
    color: var(--dark);
    margin-bottom: 1.5rem;
}
.hp-hero__title-accent { color: var(--accent); }
.hp-hero__sub {
    font-size: 1.05rem;
    color: var(--mid);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}
.hp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.hp-hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hp-hero__visual-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.hp-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hp-hero__stat {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .85rem;
    color: var(--mid);
    font-weight: 500;
}
.hp-hero__stat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border: 1px solid rgba(196,48,26,.15);
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════════════ */
.hp-features {
    padding: 5rem 0;
    background: var(--bg-page);
}

.hp-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hp-features__grid .hp-feat-card {
    padding: 1.75rem;
}

.hp-features__grid .hp-feat-card__icon {
    width: 52px;
    height: 52px;
}

.hp-features__grid .hp-feat-card__title { font-size: 1rem; }
.hp-features__grid .hp-feat-card__body  { font-size: .875rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════
   WHAT IS TURNIO
════════════════════════════════════════════════════ */
.hp-what {
    padding: 5rem 0;
    background: var(--bg-page);
}
.hp-what__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.hp-what__text { padding-top: .25rem; }
.hp-what__body {
    font-size: .95rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hp-what__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hp-feat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: box-shadow .16s, border-color .16s;
}
.hp-feat-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
}
.hp-feat-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--accent);
    margin-bottom: .875rem;
    flex-shrink: 0;
}
.hp-feat-card__title { font-size: .875rem; font-weight: 700; color: var(--dark); margin-bottom: .25rem; }
.hp-feat-card__body  { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ════════════════════════════════════════════════════
   WHY TURNIO
════════════════════════════════════════════════════ */
.hp-why {
    padding: 5rem 0;
    background: var(--dark);
}
.hp-why .hp-section-label { color: rgba(255,255,255,.4); }
.hp-why .hp-section-title { color: #fff; }
.hp-why__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.hp-why__item {
    padding: 1.5rem 1.25rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius);
    transition: background .16s, border-color .16s;
}
.hp-why__item:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.hp-why__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: rgba(255,255,255,.8);
    margin-bottom: 1.125rem;
    flex-shrink: 0;
}
.hp-why__title { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: .375rem; }
.hp-why__body  { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ════════════════════════════════════════════════════
   FOR WHO
════════════════════════════════════════════════════ */
.hp-audience {
    padding: 4rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.hp-audience__inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: center;
}
.hp-audience__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    align-items: center;
}
.hp-tag {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: .82rem;
    font-weight: 500;
    color: var(--mid);
    background: var(--bg-page);
    transition: border-color .14s, color .14s;
}
.hp-tag:hover { border-color: var(--border-strong); color: var(--dark); }
.hp-tag--accent {
    background: var(--accent-dim);
    border-color: rgba(196,48,26,.25);
    color: var(--accent);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════ */
.hp-how {
    padding: 5rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hp-how__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3rem;
}
.hp-step {
    flex: 1;
    padding: 1.75rem 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow .16s;
}
.hp-step:hover { box-shadow: var(--shadow-md); }
.hp-step__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border: 1px solid rgba(196,48,26,.2);
    border-radius: 11px;
    color: var(--accent);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.hp-step__num {
    font-family: 'DM Mono', monospace;
    font-size: .72rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: .08em;
    margin-bottom: .75rem;
    display: block;
}
.hp-step__title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .375rem; }
.hp-step__body  { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.hp-step__connector {
    width: 1.5rem;
    height: 1px;
    background: var(--border-strong);
    flex-shrink: 0;
    margin-top: 2.5rem;
    position: relative;
}
.hp-step__connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--border-strong);
    border-top: 1.5px solid var(--border-strong);
    transform: rotate(45deg);
}

/* ════════════════════════════════════════════════════
   EVENTS FEED
════════════════════════════════════════════════════ */
.hp-events {
    padding: 5rem 0;
    background: var(--bg);
}
.hp-events__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hp-events__header .hp-section-title { margin-bottom: 0; }
.hp-events .search-bar { max-width: 380px; }

/* ════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════ */
.hp-pricing {
    padding: 5rem 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border);
}
.hp-pricing__inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
}
.hp-pricing__body {
    font-size: .95rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hp-pricing__box {
    background: var(--dark);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}
.hp-pricing__box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.07);
}
.hp-pricing__box::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.05);
}
.hp-pricing__box-label {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    font-family: 'DM Mono', monospace;
    margin-bottom: .875rem;
    position: relative;
    z-index: 1;
}
.hp-pricing__box-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.hp-pricing__box-body {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════
   FINAL CTA BANNER
════════════════════════════════════════════════════ */
.hp-cta {
    background: var(--accent);
    padding: 4.5rem 0;
}
.hp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.hp-cta__label {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    font-family: 'DM Mono', monospace;
    margin-bottom: .625rem;
}
.hp-cta__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.05;
    color: #fff;
    margin: 0;
}
.hp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   HOMEPAGE RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .hp-why__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .hp-hero__inner    { grid-template-columns: 1fr; }
    .hp-hero__visual   { display: none; }
    .hp-what__inner    { grid-template-columns: 1fr; gap: 2.5rem; }
    .hp-audience__inner { grid-template-columns: 1fr; gap: 2rem; }
    .hp-pricing__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hp-how__steps     { flex-wrap: wrap; gap: 1rem; }
    .hp-step__connector { display: none; }
    .hp-step { flex: 1 1 calc(50% - .5rem); min-width: 200px; }
    .hp-cta__inner { flex-direction: column; align-items: flex-start; }
    .hp-events__header { flex-direction: column; align-items: flex-start; }
    .hp-events .search-bar { max-width: 100%; }
}
@media (max-width: 640px) {
    .hp-hero { padding: 2.5rem 0 2rem; }
    .hp-features__grid { grid-template-columns: 1fr; }
    .hp-what__features { grid-template-columns: 1fr; }
    .hp-why__grid { grid-template-columns: 1fr 1fr; }
    .hp-hero__stats { gap: 1.25rem; }
    .hp-hero__ctas { flex-direction: column; align-items: flex-start; }
    .hp-step { flex: 1 1 100%; }
    .hp-cta__actions { flex-direction: column; }
    .footer__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer__nav { gap: 0; margin: .25rem -.375rem; }
}
@media (max-width: 480px) {
    .hp-why__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════
   EVENTS LIST PAGE — HEADER
════════════════════════════════════════════════════ */
.evlist-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.evlist-header__rings {
    position: absolute;
    right: max(-3rem, calc(50% - var(--wrap)/2 - 120px));
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    opacity: .035;
    color: var(--dark);
    pointer-events: none;
}
.evlist-header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.evlist-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: .875rem;
    transition: color .12s;
}
.evlist-back:hover { color: var(--dark); }
.evlist-header__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: .5rem;
}
.evlist-header__title em { font-style: normal; color: var(--accent); }
.evlist-header__sub {
    font-size: .875rem;
    color: var(--muted);
}
.evlist-clear-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.evlist-clear-link:hover { text-decoration: underline; }

/* Search */
.evlist-search { flex-shrink: 0; width: 340px; max-width: 100%; }
.evlist-search__inner {
    display: flex;
    align-items: center;
    background: var(--bg-page);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0 .5rem 0 .875rem;
    gap: .5rem;
    transition: border-color .14s;
}
.evlist-search__inner:focus-within { border-color: var(--dark); background: var(--bg); }
.evlist-search__icon { color: var(--muted); flex-shrink: 0; }
.evlist-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    color: var(--dark);
    padding: .7rem 0;
    outline: none;
    min-width: 0;
}
.evlist-search__input::placeholder { color: var(--muted); }
.evlist-search__btn {
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    padding: .45rem .9rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .14s;
}
.evlist-search__btn:hover { background: var(--accent); }

/* ════════════════════════════════════════════════════
   EVENTS LIST PAGE — BODY / GRID
════════════════════════════════════════════════════ */
.evlist-body {
    padding: 2.5rem 0 5rem;
    background: var(--bg-page);
    flex: 1;
}

/* Empty state */
.evlist-empty {
    text-align: center;
    padding: 6rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.evlist-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    margin-bottom: .5rem;
}
.evlist-empty__title { font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.evlist-empty__body  { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }

/* Event cards grid */
.evlist-grid {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.ev-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s, border-color .15s, transform .15s;
    position: relative;
}
.ev-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

/* Date badge */
.ev-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-width: 54px;
    height: 62px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    flex-shrink: 0;
    transition: background .15s, border-color .15s;
}
.ev-card:hover .ev-card__date {
    background: var(--accent-dim);
    border-color: rgba(196,48,26,.2);
}
.ev-card__date-day {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}
.ev-card__date-mon {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    line-height: 1.4;
}
.ev-card__date-yr {
    font-size: .6rem;
    color: var(--muted);
    letter-spacing: .04em;
    font-family: 'DM Mono', monospace;
}

/* Card body */
.ev-card__body { flex: 1; min-width: 0; }
.ev-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin-bottom: .5rem;
}
.ev-badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-family: 'DM Mono', monospace;
}
.ev-badge--discipline {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(196,48,26,.18);
}
.ev-badge--online {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.ev-badge--multi {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}
.ev-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ev-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
    align-items: center;
}
.ev-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1;
}
.ev-card__meta-item--org { color: var(--mid); font-weight: 500; }
.ev-card__meta-item svg { flex-shrink: 0; opacity: .7; }

/* Arrow */
.ev-card__arrow {
    color: var(--muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: color .14s, transform .14s;
}
.ev-card:hover .ev-card__arrow { color: var(--accent); transform: translateX(3px); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 700px) {
    .evlist-header__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .evlist-search { width: 100%; }
    .ev-card { padding: 1rem 1.125rem; gap: 1rem; }
    .ev-card__date { width: 48px; min-width: 48px; height: 56px; }
    .ev-card__date-day { font-size: 1.4rem; }
    .ev-card__arrow { display: none; }
    .ev-card__title { white-space: normal; }
}

/* ════════════════════════════════════════════════════
   ABT TAB BAR
════════════════════════════════════════════════════ */
.abt-tab-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--header-h);
    z-index: 100;
}

.abt-tab-inner {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.abt-tab-inner::-webkit-scrollbar { display: none; }

.abt-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .75rem 1.25rem .7rem;
    font-size: .83rem;
    font-weight: 500;
    color: var(--mid);
    text-decoration: none;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
    flex-shrink: 0;
}

.abt-tab svg { opacity: .6; flex-shrink: 0; }
.abt-tab:hover { color: var(--dark); }
.abt-tab:hover svg { opacity: .8; }

.abt-tab--active {
    color: var(--dark);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.abt-tab--active svg { opacity: 1; }

.abt-tab--cta { margin-left: auto; color: var(--accent); font-weight: 600; }
.abt-tab--cta:hover { color: var(--accent-h, var(--accent)); }

/* ════════════════════════════════════════════════════
   MASTHEAD TITLE ROW — MOBILE
════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .masthead-title-row {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: .75rem 1rem;
        margin-bottom: 1rem;
    }
    .masthead-organizer-logo {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
    .abt-tab { padding: .65rem .875rem; }
}

@media (max-width: 480px) {
    .masthead-organizer-logo {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }
    .abt-tab { padding: .6rem .75rem; font-size: .8rem; }
}

/* ════════════════════════════════════════════════════
   EVENT SHOW / REGISTRATION PAGE — MOBILE FIXES
════════════════════════════════════════════════════ */

/* Extras section head: allow title + subtitle to wrap */
.reg-extras__head { flex-wrap: wrap; }

/* Masthead eyebrow (flag + country + type badge): allow wrapping */
.event-masthead__eyebrow { flex-wrap: wrap; }

/* Breadcrumb last segment (event title): truncate long names */
.breadcrumb span:not(.breadcrumb__sep) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 55vw;
}

/* ── 640px ─────────────────────────────────────────── */
@media (max-width: 640px) {
    /* Registration footer: stack action buttons above total */
    .reg-footer {
        flex-direction: column;
        align-items: stretch;
        gap: .625rem;
    }
    .reg-footer__total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .5rem .75rem;
        background: var(--bg-nav);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
    }
    /* Extras head: stack on narrow screens */
    .reg-extras__head {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }
    /* Ticket option: slightly tighter padding */
    .ticket-option {
        padding: .75rem;
        gap: .625rem;
    }
}

/* ── 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
    /* Mode pill tabs: reduce padding so all 3 fit comfortably */
    .reg-pill-tab {
        padding: .4rem .6rem;
        font-size: .72rem;
        gap: .25rem;
    }
    /* Masthead stat chips: compact */
    .masthead-stat {
        font-size: .8rem;
        padding: .3rem .6rem;
    }
    /* Footer action buttons: stretch to fill row for easier tapping */
    .reg-footer__actions {
        flex-direction: column;
    }
    .reg-add-btn,
    .reg-import-btn {
        width: 100%;
        justify-content: center;
    }
    /* Reg card: tighter inner padding on small phones */
    .reg-card__body { padding: .875rem .875rem; }
    .reg-card__head { padding: .625rem .875rem; }
    /* Ticket option price: slightly smaller on narrow screens */
    .ticket-option__price { font-size: .82rem; }
    /* Reg table row: tighter horizontal padding */
    .reg-archer-row { padding: .625rem .5rem; }
}

/* ════════════════════════════════════════════════════
   HOMEPAGE REDESIGN — DARK HERO + PREMIUM COMPONENTS
════════════════════════════════════════════════════ */

/* Hero: dark, single-column, reduced height */
.hp-hero {
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(196,48,26,.1) 0%, var(--dark) 65%);
    border-bottom: none;
    padding: 3.75rem 0 3rem;
}
.hp-hero__inner {
    grid-template-columns: 1fr;
    max-width: 820px;
}
.hp-hero__sub {
    max-width: 600px;
}
.hp-hero__eyebrow { color: rgba(255,255,255,.38); }
.hp-hero__title   { color: #fff; }
.hp-hero__title-accent { color: var(--accent); }
.hp-hero__sub     { color: rgba(255,255,255,.5); }
.hp-hero__stats   { border-top-color: rgba(255,255,255,.1); }
.hp-hero__stat    { color: rgba(255,255,255,.5); }
.hp-hero__stat-icon {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
}

/* Section label — horizontal line prefix */
.hp-section-label {
    display: flex;
    align-items: center;
    gap: .625rem;
}
.hp-section-label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    flex-shrink: 0;
    opacity: .7;
    border-radius: 1px;
}

/* Features: crisp white bg, premium gradient-icon cards */
.hp-features { background: var(--bg); border-top: 1px solid var(--border); }
.hp-features__grid .hp-feat-card {
    transition: box-shadow .22s, transform .22s, border-color .22s;
}
.hp-features__grid .hp-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    border-color: rgba(196,48,26,.3);
}
.hp-features__grid .hp-feat-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196,48,26,.12) 0%, rgba(196,48,26,.04) 100%);
    border: 1.5px solid rgba(196,48,26,.22);
    margin-bottom: 1.25rem;
}
.hp-features__grid .hp-feat-card__title { font-size: 1.05rem; }
.hp-features__grid .hp-feat-card__body  { font-size: .9rem; line-height: 1.7; }

/* How it Works: off-white bg, giant decorative step numbers */
.hp-how {
    background: var(--bg-page);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hp-step { position: relative; overflow: hidden; }
.hp-step::before {
    content: attr(data-step);
    position: absolute;
    bottom: -.5rem;
    right: .625rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--dark);
    opacity: .045;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Pricing: white bg for section contrast */
.hp-pricing { background: var(--bg); }

/* Events feed: off-white bg */
.hp-events { background: var(--bg-page); border-top: 1px solid var(--border); }

/* ── Hero refinements: lighter, less robust ───────── */
/* (v1 rules kept but superseded by v2 below) */

/* ════════════════════════════════════════════════════
   HOMEPAGE V2 — EDITORIAL PRECISION
   Warm parchment · DM Sans bold + Instrument Serif italic
   Spec-sheet features · Animated hero
════════════════════════════════════════════════════ */

/* ── Palette ── */
:root {
    --v2-bg:     #F5F2EB;
    --v2-bg-alt: #FDFCF9;
    --v2-dark:   #1A1916;
    --v2-mid:    #6A6760;
    --v2-line:   #D8D5CC;
    --v2-accent: #C4301A;
    --v2-accent-h: #A82716;
}

/* ── Entry animations ── */
@keyframes v2-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes v2-pulse-ring {
    0%, 100% { transform: scale(1);   opacity: .8; }
    50%       { transform: scale(1.9); opacity: 0; }
}

/* ── Hero ── */
.v2-hero {
    background: var(--v2-bg);
    background-image: radial-gradient(circle, rgba(26,25,22,.065) 1px, transparent 1px);
    background-size: 22px 22px;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--v2-line);
    position: relative;
    overflow: hidden;
}
.v2-hero::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--v2-accent);
}
.v2-hero::after {
    content: '10';
    position: absolute;
    right: -1rem;
    bottom: -3rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22rem;
    font-weight: 900;
    color: var(--v2-dark);
    opacity: .028;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -.02em;
}
.v2-hero__inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Eyebrow */
.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    font-family: 'DM Mono', monospace;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--v2-mid);
    margin-bottom: 1.75rem;
    animation: v2-up .5s ease both .05s;
}
.v2-eyebrow__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--v2-accent);
    flex-shrink: 0;
    position: relative;
}
.v2-eyebrow__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(196,48,26,.4);
    animation: v2-pulse-ring 2.2s ease-in-out infinite;
}

/* Title — DM Sans bold + Instrument Serif italic */
.v2-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.028em;
    color: var(--v2-dark);
    margin-bottom: 1.5rem;
    animation: v2-up .6s ease both .15s;
}
.v2-title em {
    font-style: italic;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    color: var(--v2-accent);
    letter-spacing: -.01em;
}

.v2-sub {
    font-size: .975rem;
    color: var(--v2-mid);
    line-height: 1.72;
    max-width: 480px;
    margin-bottom: 2.25rem;
    animation: v2-up .6s ease both .28s;
}

.v2-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: v2-up .6s ease both .38s;
}

/* Buttons */
.v2-btn {
    display: inline-flex;
    align-items: center;
    padding: .7rem 1.5rem;
    background: var(--v2-dark);
    color: #fff;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s, transform .12s;
    border: none;
    cursor: pointer;
}
.v2-btn:hover { background: var(--v2-accent); transform: translateY(-1px); }
.v2-btn--accent { background: var(--v2-accent); }
.v2-btn--accent:hover { background: var(--v2-accent-h); }
.v2-btn--white { background: #fff; color: var(--v2-dark); }
.v2-btn--white:hover { background: var(--v2-bg); color: var(--v2-accent); }

.v2-textlink {
    font-size: .875rem;
    font-weight: 500;
    color: var(--v2-mid);
    text-decoration: none;
    transition: color .15s;
    white-space: nowrap;
}
.v2-textlink:hover { color: var(--v2-dark); }
.v2-textlink--dark { color: var(--v2-dark); }
.v2-textlink--dark:hover { color: var(--v2-accent); }

/* Target visual */
.v2-hero__vis {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v2-up .7s ease both .25s;
}
.v2-target {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}
.v2-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.v2-ring--1 { width: 260px; height: 260px; border: 1px solid rgba(26,25,22,.1); }
.v2-ring--2 { width: 196px; height: 196px; border: 1px solid rgba(26,25,22,.15); }
.v2-ring--3 { width: 138px; height: 138px; border: 1px solid rgba(26,25,22,.2); }
.v2-ring--4 { width: 84px;  height: 84px;  border: 1px solid rgba(26,25,22,.28); }
.v2-ring--5 { width: 38px;  height: 38px;  background: var(--v2-accent); }
.v2-ring__score {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'DM Mono', monospace;
    font-size: .58rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
    z-index: 1;
    pointer-events: none;
}

/* Hero bottom bar */
.v2-hero__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--v2-line);
    font-size: .78rem;
    color: var(--v2-mid);
    font-weight: 500;
    animation: v2-up .5s ease both .5s;
}
.v2-hero__bar-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--v2-line);
    flex-shrink: 0;
}

/* ── Shared section elements ── */
.v2-label {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--v2-mid);
    margin-bottom: 1rem;
    display: block;
}
.v2-label__n { color: var(--v2-accent); }
.v2-h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--v2-dark);
    margin-bottom: .5rem;
}
.v2-sh { margin-bottom: 3rem; }

/* ── Features — horizontal spec rows ── */
.v2-features {
    background: var(--v2-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--v2-line);
    border-bottom: 1px solid var(--v2-line);
}
.v2-rows { border-top: 1px solid var(--v2-line); }
.v2-row {
    display: grid;
    grid-template-columns: 2.25rem 3rem 1fr auto;
    gap: 1.75rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--v2-line);
    transition: padding-left .18s;
    border-left: 3px solid transparent;
}
.v2-row:hover {
    border-left-color: var(--v2-accent);
    padding-left: .875rem;
}
.v2-row__n {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    font-weight: 700;
    color: var(--v2-accent);
    letter-spacing: .1em;
    flex-shrink: 0;
}
.v2-row__icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-bg);
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    color: var(--v2-dark);
    flex-shrink: 0;
    transition: border-color .18s, background .18s;
}
.v2-row:hover .v2-row__icon { border-color: rgba(196,48,26,.3); background: rgba(196,48,26,.04); color: var(--v2-accent); }
.v2-row__title {
    font-size: .975rem;
    font-weight: 700;
    color: var(--v2-dark);
    margin-bottom: .3rem;
}
.v2-row__text {
    font-size: .845rem;
    color: var(--v2-mid);
    line-height: 1.6;
}
.v2-row__tag {
    font-family: 'DM Mono', monospace;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--v2-mid);
    border: 1px solid var(--v2-line);
    border-radius: 100px;
    padding: .3rem .8rem;
    white-space: nowrap;
    transition: border-color .18s, color .18s;
}
.v2-row:hover .v2-row__tag { border-color: rgba(196,48,26,.3); color: var(--v2-accent); }

/* ── How it Works ── */
.v2-how {
    background: var(--v2-bg);
    padding: 5rem 0;
    border-bottom: 1px solid var(--v2-line);
}
.v2-how__wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 6rem;
    align-items: start;
}
.v2-how__sub {
    font-size: .875rem;
    color: var(--v2-mid);
    line-height: 1.65;
    margin-top: .75rem;
}
.v2-steps { display: flex; flex-direction: column; }
.v2-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--v2-line);
}
.v2-step:first-child { padding-top: 0; }
.v2-step:last-child  { border-bottom: none; padding-bottom: 0; }
.v2-step__n {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    font-weight: 700;
    color: var(--v2-accent);
    letter-spacing: .1em;
    flex-shrink: 0;
    padding-top: .15rem;
    width: 2rem;
}
.v2-step__title {
    font-size: .975rem;
    font-weight: 700;
    color: var(--v2-dark);
    margin-bottom: .3rem;
}
.v2-step__text {
    font-size: .845rem;
    color: var(--v2-mid);
    line-height: 1.6;
}

/* ── Pricing ── */
.v2-pricing {
    background: var(--v2-bg-alt);
    padding: 5rem 0;
    border-bottom: 1px solid var(--v2-line);
}
.v2-pricing__inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 5rem;
    align-items: center;
}
.v2-pricing__body {
    font-size: .925rem;
    color: var(--v2-mid);
    line-height: 1.72;
    margin: 1rem 0 1.5rem;
}
.v2-checklist {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.v2-checklist li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    color: var(--v2-dark);
    font-weight: 500;
}
.v2-checklist li::before {
    content: '';
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(196,48,26,.1);
    border: 1.5px solid var(--v2-accent);
    flex-shrink: 0;
}
.v2-pricing__card {
    background: var(--v2-dark);
    border-radius: 8px;
    padding: 2.5rem 2.25rem;
    position: relative;
    overflow: hidden;
}
.v2-pricing__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(196,48,26,.22) 0%, transparent 65%);
    pointer-events: none;
}
.v2-pricing__card-label {
    font-family: 'DM Mono', monospace;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.32);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.v2-pricing__card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.v2-pricing__card-body {
    font-size: .845rem;
    color: rgba(255,255,255,.42);
    line-height: 1.65;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ── Events ── */
.v2-events {
    background: var(--v2-bg);
    padding: 5rem 0;
    border-bottom: 1px solid var(--v2-line);
}
.v2-events__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.v2-events__head .v2-h2 { margin-bottom: 0; }
.v2-events .search-bar { max-width: 380px; }

/* ── Final CTA ── */
.v2-cta {
    background: var(--v2-bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--v2-line);
}
.v2-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}
.v2-cta__label {
    font-family: 'DM Mono', monospace;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--v2-accent);
    margin-bottom: .625rem;
    display: block;
}
.v2-cta__title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    color: var(--v2-dark);
    margin: 0;
}
.v2-cta__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── V2 Responsive ── */
@media (max-width: 960px) {
    .v2-hero__inner  { grid-template-columns: 1fr; gap: 0; }
    .v2-hero__vis    { display: none; }
    .v2-how__wrap    { grid-template-columns: 1fr; gap: 2.5rem; }
    .v2-pricing__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .v2-row          { grid-template-columns: 2.25rem 3rem 1fr; }
    .v2-row__tag     { display: none; }
}
@media (max-width: 640px) {
    .v2-hero         { padding: 3rem 0 2.5rem; }
    .v2-hero::after  { display: none; }
    .v2-row          { grid-template-columns: 2.25rem 1fr; }
    .v2-row__icon    { display: none; }
    .v2-cta__inner   { flex-direction: column; align-items: flex-start; }
    .v2-events__head { flex-direction: column; align-items: flex-start; }
    .v2-events .search-bar { max-width: 100%; }
    .v2-hero__bar    { flex-wrap: wrap; gap: .625rem; }
}

/* Eyebrow → pill badge */
.hp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .3rem .875rem;
    border: 1px solid rgba(196,48,26,.35);
    border-radius: 100px;
    background: rgba(196,48,26,.09);
    color: rgba(255,145,120,.95);
    font-size: .68rem;
    letter-spacing: .1em;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

/* Title: mixed case, lighter weight, tighter size */
.hp-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    text-transform: none;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

/* CTA row: vertically center the text link with the button */
.hp-hero__ctas {
    align-items: center;
    gap: 1.5rem;
}

/* Text link CTA */
.hp-hero__link {
    color: rgba(255,255,255,.42);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: color .18s;
    white-space: nowrap;
}
.hp-hero__link:hover { color: rgba(255,255,255,.75); }

/* Stats: hide icon boxes, use vertical dividers instead */
.hp-hero__stat-icon { display: none; }
.hp-hero__stats {
    gap: 0;
    margin-top: 2rem;
    padding-top: 1.5rem;
}
.hp-hero__stat { font-size: .78rem; }
.hp-hero__stat + .hp-hero__stat {
    margin-left: 1.75rem;
    padding-left: 1.75rem;
    border-left: 1px solid rgba(255,255,255,.12);
}
