/* ============================ TOKENS (same system as the homepage) ============================ */
:root {
    --ink: #0B0A08;
    --bone: #FAF8F3;
    --bone-2: #F2EEE4;
    --bone-3: #ECE7DA;
    --gold: #C29B3C;
    --gold-soft: #D8B968;
    --muted: #5A554B;
    --muted-ink: #B9B2A4;
    --line: #E3DDD0;
    --line-ink: #2A2822;
    --maxw: 1180px;
    --gutter: 22px;
    --fs-body: 17px;
    --lh: 1.72;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 76px
}

body {
    background: var(--bone);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: var(--fs-body);
    line-height: var(--lh);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit
}

h1,
h2,
h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.01em
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter)
}

.section-pad {
    padding: 96px 0
}

.label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 20px
}

.on-ink {
    background: var(--ink);
    color: var(--bone)
}

.on-ink .label {
    color: var(--gold-soft)
}

.lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 46ch;
    line-height: 1.7
}

.on-ink .lead {
    color: var(--muted-ink)
}

.italic {
    font-style: italic;
    color: var(--gold)
}

.sec-head {
    font-size: clamp(2rem, 5.2vw, 3.1rem);
    max-width: 22ch;
    margin-bottom: 14px
}

/* ============================ BUTTONS ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 28px;
    border-radius: 2px;
    transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap
}

.btn-primary {
    background: var(--gold);
    color: var(--ink)
}

.btn-primary:hover {
    background: var(--ink);
    color: var(--bone);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -12px rgba(11, 10, 8, .5)
}

.on-ink .btn-primary:hover {
    background: var(--bone);
    color: var(--ink)
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--line-ink)
}

.on-ink .btn-ghost {
    border-color: #4A473F;
    color: var(--bone)
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--bone);
    transform: translateY(-2px)
}

.on-ink .btn-ghost:hover {
    background: var(--bone);
    color: var(--ink)
}

.link-quiet {
    font-size: 15px;
    color: var(--muted-ink);
    border-bottom: 1px solid #3A372F;
    padding-bottom: 2px;
    transition: color .2s, border-color .2s
}

.link-quiet:hover {
    color: var(--gold);
    border-color: var(--gold)
}

/* ============================ HEADER ============================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
    padding: 18px 0
}

header.scrolled {
    background: var(--ink);
    box-shadow: 0 1px 0 var(--line-ink);
    padding: 12px 0
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bone)
}

.brand .mark {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: var(--bone);
    object-fit: cover;
    padding: 2px
}

.brand .word {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--bone)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px
}

.nav-links a {
    color: var(--bone);
    font-size: 15px;
    font-weight: 500;
    opacity: .85;
    transition: opacity .2s, color .2s;
    position: relative
}

.nav-links a:not(.nav-box)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width .25s var(--ease)
}

.nav-links a:not(.nav-box):hover {
    opacity: 1;
    color: var(--gold-soft)
}

.nav-links a:not(.nav-box):hover::after {
    width: 100%
}

.nav-box {
    border: 1px solid var(--gold);
    border-radius: 2px;
    padding: 9px 18px;
    opacity: 1 !important;
    transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease)
}

.nav-box:hover {
    background: var(--gold);
    color: var(--ink) !important;
    transform: translateY(-2px)
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--bone);
    transition: .3s
}

.mobile-menu {
    display: none
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center
}

.nav-item>button {
    font-size: 15px;
    font-weight: 500;
    color: var(--bone);
    opacity: .85;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: opacity .2s, color .2s
}

.nav-item.has-drop>button::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .25s
}

.nav-item.has-drop:hover>button {
    opacity: 1;
    color: var(--gold-soft)
}

.nav-item.has-drop:hover>button::after {
    transform: rotate(-135deg);
    margin-top: 2px
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: var(--ink);
    border: 1px solid var(--line-ink);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 22px 44px -22px rgba(0, 0, 0, .75);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    z-index: 120
}

.nav-item.has-drop:hover .dropdown,
.nav-item.has-drop:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

.dropdown a {
    display: block;
    padding: 11px 14px;
    border-radius: 5px;
    font-size: 14.5px;
    white-space: nowrap
}

.dropdown a::after {
    display: none !important
}

.dropdown a:hover {
    background: rgba(194, 155, 60, .12)
}

.mobile-menu .m-group {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--gold-soft);
    padding: 18px 0 4px
}

.mobile-menu .m-sub {
    display: block;
    color: var(--bone);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    padding: 11px 0 11px 20px;
    border-bottom: 1px solid var(--line-ink);
    opacity: .9
}

/* ============================ HERO ============================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 110px;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.halo {
    position: absolute;
    left: 50%;
    top: 44%;
    width: min(760px, 124vw);
    height: min(760px, 124vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    will-change: transform
}

.halo::before,
.halo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%
}

.halo::before {
    background: radial-gradient(circle, rgba(216, 185, 104, .36) 0%, rgba(194, 155, 60, .13) 38%, rgba(11, 10, 8, 0) 68%);
    filter: blur(16px);
    animation: halopulse 6.5s ease-in-out infinite
}

.halo::after {
    background: radial-gradient(circle, rgba(216, 185, 104, .22) 0%, rgba(194, 155, 60, 0) 60%);
    filter: blur(34px);
    animation: halopulse 9s ease-in-out infinite reverse
}

@keyframes halopulse {

    0%,
    100% {
        opacity: .5;
        transform: scale(.9)
    }

    50% {
        opacity: 1;
        transform: scale(1.1)
    }
}

.hero .wrap {
    position: relative;
    z-index: 1;
    width: 100%
}

.hero-center {
    max-width: 920px;
    margin: 0 auto
}

.hero .label {
    background: rgba(250, 248, 243, .10);
    border: 1px solid rgba(217, 188, 114, .40);
    color: var(--gold-soft);
    padding: 9px 18px;
    border-radius: 100px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px)
}

@media(max-width:560px) {
    .hero .label {
        font-size: 9px;
        letter-spacing: .08em;
        padding: 7px 13px
    }
}

.hero h1 {
    font-size: clamp(2.85rem, 8.4vw, 5.4rem);
    margin-bottom: 24px
}

.hero h1 .accent {
    color: var(--gold);
    font-style: italic
}

.hero .sub {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--muted-ink);
    max-width: 34ch;
    margin: 0 auto 36px;
    line-height: 1.6
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.eyebrow-dots {
    color: var(--gold-soft)
}

.cue-v {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted-ink);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase
}

.cue-v .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(var(--gold), rgba(194, 155, 60, 0));
    animation: cueV 2.4s ease-in-out infinite
}

@keyframes cueV {

    0%,
    100% {
        opacity: .4;
        transform: scaleY(.7)
    }

    50% {
        opacity: 1;
        transform: scaleY(1)
    }
}

/* ============================ REVEAL ============================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.reveal.in {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .16s
}

.d3 {
    transition-delay: .24s
}

/* ============================ UPCOMING ============================ */
.up-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 48px
}

.wcard {
    position: relative;
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.wcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -30px rgba(11, 10, 8, .35);
    border-color: var(--gold)
}

.wcard.next {
    border-color: var(--gold)
}

.wdate {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3FA65A;
    position: relative;
    flex: none
}

.dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #3FA65A;
    animation: pulse 2s ease-out infinite
}

@keyframes pulse {
    0% {
        opacity: .7;
        transform: scale(.6)
    }

    100% {
        opacity: 0;
        transform: scale(1.6)
    }
}

.wcard h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    line-height: 1.12
}

.wtag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 14px
}

.chip {
    display: inline-block;
    background: var(--gold);
    color: var(--ink);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px
}

.wtag .rest {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--muted);
    text-transform: uppercase
}

.wcard p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 20px
}

.wtime {
    display: block;
    background: var(--bone-2);
    border-left: 3px solid var(--gold);
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .01em;
    margin-bottom: 24px
}

.wcard .btn {
    margin-top: auto;
    justify-content: center
}

/* ============================ REGISTER ============================ */
.reg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 8px;
    align-items: start
}

.rform {
    margin-top: 36px;
    max-width: 520px
}

/* accuracy info box */
.info-box {
    margin-top: 36px;
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(194, 155, 60, .10), rgba(194, 155, 60, .03));
    padding: 30px 30px 32px;
    position: relative;
    overflow: hidden
}

.info-box .ib-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.info-box .ib-head .dot {
    background: var(--gold)
}

.info-box .ib-head .dot::after {
    border-color: var(--gold)
}

.info-box .ib-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-soft)
}

.info-box h3 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    line-height: 1.25;
    color: var(--bone);
    margin-bottom: 14px
}

.info-box h3 b {
    color: var(--gold-soft);
    font-weight: 600
}

.info-box p {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--muted-ink)
}

.info-box p b {
    color: var(--bone);
    font-weight: 600
}

.info-box .ib-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 14px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--muted-ink)
}

.info-box .ib-row .tk {
    color: var(--gold);
    font-weight: 700;
    flex: none;
    line-height: 1.6
}

.info-box .ib-row b {
    color: var(--bone)
}

.rform label {
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-ink);
    display: block;
    margin: 18px 0 8px
}

.rform input,
.rform select {
    width: 100%;
    padding: 15px 16px;
    background: #111009;
    border: 1px solid var(--line-ink);
    border-radius: 4px;
    color: var(--bone);
    font-size: 16px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease)
}

.rform input:focus,
.rform select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(194, 155, 60, .15)
}

.rform select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23C29B3C' stroke-width='1.5' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center
}

.rform .btn {
    width: 100%;
    justify-content: center;
    margin-top: 26px
}

.rform .err {
    color: #E08A7A;
    font-size: 13.5px;
    margin-top: 12px;
    display: none
}

.success {
    display: none;
    margin-top: 36px;
    max-width: 560px
}

.success.show {
    display: block
}

.success h3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--gold-soft);
    margin-bottom: 14px
}

.success p {
    color: var(--muted-ink);
    font-size: 16px;
    max-width: 52ch
}

.cal-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}

.cal-row .btn {
    font-size: 14.5px;
    padding: 13px 20px
}

/* ============================ PAST ============================ */
.past {
    background: var(--bone-2)
}

.past-list {
    margin-top: 44px;
    border-top: 1px solid var(--line)
}

.prow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 28px;
    padding: 26px 8px;
    border-bottom: 1px solid var(--line);
    transition: background .25s
}

.prow:hover {
    background: rgba(194, 155, 60, .06)
}

.prow .pwhen {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold)
}

.prow h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    line-height: 1.2
}

.prow .pdesc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 66ch
}

/* ============================ FINAL ============================ */
.final {
    background: var(--ink);
    color: var(--bone);
    text-align: center;
    padding: 104px 0
}

.final h2 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    max-width: 18ch;
    margin: 0 auto 16px
}

.final .lead {
    margin: 0 auto 38px;
    text-align: center
}

.final-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto
}

.foot {
    background: var(--ink);
    color: var(--muted-ink);
    border-top: 1px solid var(--line-ink);
    padding: 38px 0;
    text-align: center;
    font-size: 13px
}

.foot .gold {
    color: var(--gold)
}

/* ============================ RESPONSIVE ============================ */
@media(min-width:760px) {
    :root {
        --fs-body: 18px;
        --gutter: 32px
    }

    .up-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .prow {
        grid-template-columns: 150px 1fr
    }

    .prow h3 {
        margin-bottom: 4px
    }

    .final-actions {
        flex-direction: row;
        max-width: none;
        justify-content: center
    }
}

@media(min-width:1000px) {
    .reg-grid {
        grid-template-columns: 520px 1fr;
        gap: 64px
    }

    .info-box {
        position: sticky;
        top: 100px
    }
}

@media(max-width:999px) {
    .info-box {
        order: -1;
        margin-top: 28px
    }

    /* on phones the warning reads BEFORE the form */
}

@media(max-width:759px) {
    .nav-links {
        display: none
    }

    .burger {
        display: flex
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--ink);
        z-index: 99;
        transform: translateY(-100%);
        transition: transform .4s var(--ease);
        padding: 90px 32px 32px;
        overflow: auto;
    }

    .mobile-menu.open {
        transform: translateY(0)
    }

    .mobile-menu a {
        display: block;
        color: var(--bone);
        font-family: 'Fraunces', serif;
        font-size: 1.6rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--line-ink)
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}