:root {
    --ink: #0f2e2c;
    --ink-2: #12433f;
    --deep: #0a201e;
    --paper: #fbfaf6;
    --paper-2: #f3f1e8;
    --line: #e4e1d4;
    --accent: #b5483d;
    --accent-d: #8e342b;
    --accent-soft: #fbe7e3;
    --gold: #c8a24a;
    --gold-soft: #f6efd9;
    --violet: #6d52c4;
    --violet-soft: #efeafc;
    --green: #2f8f5b;
    --green-soft: #e3f3ea;
    --text: #1d2b29;
    --muted: #5d6c69;
    --maxw: 1400px;
    --sh: 0 24px 48px -28px rgba(15, 46, 44, .4);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--paper);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

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

button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer
}

.serif {
    font-family: 'Fraunces', serif
}

.topbar {
    background: var(--deep);
    color: #cfe0dc;
    font-size: .78rem;
    letter-spacing: .04em
}

.topbar .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: .5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem
}

.topbar .uiz {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 500;
    color: #e9efed
}

.topbar .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold)
}

.topbar a {
    color: #9fc3bd;
    transition: color .2s
}

.topbar a:hover {
    color: #fff
}

header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(251, 250, 246, .9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.nav {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: .9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem
}


.brand-txt b {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--ink);
    display: block;
    line-height: 1.1
}

.brand-txt small {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .05em;
    text-transform: uppercase
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    list-style: none
}

.nav-links a {
    font-size: .92rem;
    font-weight: 500;
    position: relative;
    transition: color .2s;
    padding: .3rem 0
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent)
}

.nav-links a.active::after, .nav-links a:hover::after {
    width: 100%
}

.nav-actions {
    display: flex;
    gap: .7rem;
    align-items: center
}

.btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .65rem 1.3rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 8px 20px -8px rgba(181, 72, 61, .7);
    white-space: nowrap;
    display: inline-block
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--accent-d)
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    border: 1.5px solid var(--line)
}

.btn-ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.btn-sm {
    padding: .5rem 1rem;
    font-size: .82rem
}

.btn-gold {
    background: var(--gold);
    color: var(--ink);
    box-shadow: 0 8px 20px -8px rgba(200, 162, 74, .6)
}

.btn-gold:hover {
    background: #b6913f
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: .85rem;
    font-size: .95rem
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 2rem
}

.section {
    padding: 4rem 0
}

.hero {
    position: relative;
    background: radial-gradient(900px 500px at 85% -10%, rgba(109, 82, 196, .16), transparent 60%), radial-gradient(700px 600px at -5% 30%, rgba(200, 162, 74, .12), transparent 55%), linear-gradient(180deg, var(--paper), var(--paper-2));
    overflow: hidden
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 46, 44, .05) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 80%)
}

.hero-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 4.5rem 2rem 4rem;
    display: grid;
    grid-template-columns:1.15fr .85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--violet-soft);
    color: var(--violet);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .42rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem
}

.pill .blink {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--violet);
    animation: blink 2s infinite
}

@keyframes blink {
    0% {
        box-shadow: 0 0 0 0 rgba(109, 82, 196, .5)
    }
    70% {
        box-shadow: 0 0 0 8px rgba(109, 82, 196, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(109, 82, 196, 0)
    }
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 1.2rem
}

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

.hero .lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 1.8rem
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.6rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line)
}

.hero-stats .s b {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    color: var(--ink);
    display: block;
    line-height: 1
}

.hero-stats .s span {
    font-size: .8rem;
    color: var(--muted)
}

.hero-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--sh);
    overflow: hidden;
    animation: float 6s ease-in-out infinite
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

.hc-top {
    background: linear-gradient(150deg, var(--ink), var(--ink-2));
    padding: 1.5rem;
    color: #fff;
    position: relative
}

.hc-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(200, 162, 74, .3), transparent 55%)
}

.cal {
    width: 60px;
    height: 62px;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .4);
    position: relative;
    z-index: 1
}

.cal .m {
    background: var(--accent);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    text-align: center;
    padding: .2rem;
    letter-spacing: .04em
}

.cal .d {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    line-height: 1.55
}

.cal .d small {
    font-size: .6rem;
    color: var(--accent);
    letter-spacing: .1em
}

.hc-top .label {
    position: relative;
    z-index: 1;
    font-size: .72rem;
    letter-spacing: .05em;
    color: #a9cbc5;
    margin-top: 1rem
}

.hc-top .title {
    position: relative;
    z-index: 1;
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: .2rem
}

.hc-body {
    padding: 1.4rem
}

.hc-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .65rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .88rem
}

.hc-row:last-child {
    border-bottom: none
}

.hc-row .ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--violet-soft);
    color: var(--violet);
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.hc-row .ic.g {
    background: var(--gold-soft);
    color: var(--gold)
}

.hc-row .ic.r {
    background: var(--accent-soft);
    color: var(--accent)
}

.sec-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem
}

.sec-head.left {
    text-align: left;
    margin-left: 0
}

.sec-head .tag {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .7rem
}

.sec-head h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3.3vw, 2.5rem);
    color: var(--ink);
    line-height: 1.1
}

.sec-head p {
    color: var(--muted);
    margin-top: .8rem;
    font-size: 1.02rem
}

.features {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1.3rem
}

.feat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.8rem;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden
}

.feat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s
}

.feat:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent
}

.feat:hover::before {
    transform: scaleX(1)
}

.feat .fic {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    background: var(--ink);
    color: var(--gold)
}

.feat:nth-child(2) .fic {
    background: var(--violet);
    color: #fff
}

.feat:nth-child(3) .fic {
    background: var(--accent);
    color: #fff
}

.feat:nth-child(4) .fic {
    background: var(--gold);
    color: var(--ink)
}

.feat h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.18rem;
    color: var(--ink);
    margin-bottom: .5rem
}

.feat p {
    color: var(--muted);
    font-size: .92rem
}

.band {
    background: var(--deep);
    position: relative;
    overflow: hidden
}

.band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 26px 26px
}

.band .container {
    position: relative;
    z-index: 1
}

.band .sec-head h2 {
    color: #fff
}

.band .sec-head p {
    color: #9fc3bd
}

.band .sec-head .tag {
    color: var(--gold)
}

.ev-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.5rem
}

.ev {
    background: #0f2e2c;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, border-color .3s;
    cursor: pointer
}

.ev:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 162, 74, .5)
}

.ev-top {
    padding: 1.4rem 1.4rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.ev-date {
    font-family: 'Fraunces', serif;
    color: #fff
}

.ev-date b {
    font-size: 2rem;
    display: block;
    line-height: .9
}

.ev-date b.txt {
    font-size: 1.4rem;
    letter-spacing: .04em
}

.ev-date span {
    font-size: .74rem;
    color: var(--gold);
    letter-spacing: .06em;
    text-transform: uppercase
}

.ev-stat {
    font-size: .7rem;
    font-weight: 600;
    padding: .32rem .65rem;
    border-radius: 999px
}

.open {
    background: rgba(80, 180, 120, .18);
    color: #7fd9a0
}

.soon {
    background: rgba(200, 162, 74, .18);
    color: var(--gold)
}

.closed {
    background: rgba(255, 255, 255, .1);
    color: #9fc3bd
}

.ev-body {
    padding: 0 1.4rem 1.5rem
}

.ev-body .type {
    font-size: .72rem;
    color: #9fc3bd;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .4rem
}

.ev-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.12rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: .5rem
}

.ev-body p {
    font-size: .85rem;
    color: #8aa9a3;
    margin-bottom: 1rem
}

.ev-link {
    color: var(--gold);
    font-size: .84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap .25s
}

.ev:hover .ev-link {
    gap: .8rem
}

.evl-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 1.4rem
}

.evl {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    display: flex
}

.evl:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh)
}

.evl-side {
    width: 120px;
    flex-shrink: 0;
    background: linear-gradient(160deg, var(--ink), var(--ink-2));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden
}

.evl-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 10%, rgba(200, 162, 74, .3), transparent 60%)
}

.evl-side b {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    line-height: 1;
    z-index: 1
}

.evl-side span {
    font-size: .72rem;
    color: var(--gold);
    letter-spacing: .06em;
    text-transform: uppercase;
    z-index: 1;
    margin-top: .3rem
}

.evl-main {
    padding: 1.3rem 1.4rem;
    flex: 1
}

.evl-main .type {
    font-size: .72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase
}

.evl-main h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.18rem;
    color: var(--ink);
    margin: .35rem 0 .5rem;
    line-height: 1.2
}

.evl-main p {
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: .8rem
}

.evl-meta {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center
}

.badge {
    font-size: .7rem;
    font-weight: 600;
    padding: .3rem .65rem;
    border-radius: 999px
}

.badge-green {
    background: var(--green-soft);
    color: var(--green)
}

.badge-gold {
    background: var(--gold-soft);
    color: #9a7b2e
}

.badge-grey {
    background: var(--paper-2);
    color: var(--muted)
}

.badge-violet {
    background: var(--violet-soft);
    color: var(--violet)
}

.badge-red {
    background: var(--accent-soft);
    color: var(--accent)
}

.badge-lang {
    background: var(--ink);
    color: #fff;
    text-transform: uppercase
}

.filters {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem
}

.filter {
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--muted);
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    transition: .2s
}

.filter:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.filter.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink)
}

.crumb {
    font-size: .85rem;
    color: var(--muted);
    padding: 1.5rem 0 .5rem;
    display: flex;
    gap: .5rem;
    align-items: center
}

.crumb a {
    color: var(--accent);
    font-weight: 500
}

.crumb a:hover {
    text-decoration: underline
}

.ev-hero {
    background: linear-gradient(150deg, var(--ink), var(--ink-2));
    color: #fff;
    border-radius: 20px;
    padding: 2.8rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem
}

.ev-hero::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -5%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(200, 162, 74, .18), transparent 60%)
}

.ev-hero .inner {
    position: relative;
    z-index: 1;
    max-width: 42rem
}

.ev-hero .type {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    color: var(--gold);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: 999px;
    margin-bottom: 1.1rem
}

.ev-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1rem
}

.ev-hero .meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #bcd6d0;
    font-size: .92rem;
    margin-top: 1.4rem
}

.ev-hero .meta div b {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gold);
    margin-bottom: .15rem
}

.detail-grid {
    display: grid;
    grid-template-columns:1.6fr .9fr;
    gap: 2.5rem;
    align-items: start
}

.prose h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--ink);
    margin: 2rem 0 .8rem
}

.prose h3:first-child {
    margin-top: 0
}

.prose p {
    color: var(--text);
    margin-bottom: 1rem
}

.prose ul {
    margin: 0 0 1rem 1.2rem;
    color: var(--text)
}

.theme-chip {
    display: inline-block;
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: .84rem;
    padding: .4rem .8rem;
    border-radius: 8px;
    margin: 0 .4rem .5rem 0
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 12px 28px -22px rgba(15, 46, 44, .4);
    position: sticky;
    top: 90px
}

.side-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 1rem
}

.dl-row {
    display: flex;
    justify-content: space-between;
    padding: .65rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .88rem
}

.dl-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem
}

.dl-row span {
    color: var(--muted)
}

.dl-row b {
    color: var(--ink);
    text-align: right
}

.timeline {
    margin: 1rem 0 1.5rem;
    position: relative;
    padding-left: 1.4rem
}

.timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line)
}

.tl-item {
    position: relative;
    padding-bottom: 1rem;
    font-size: .86rem
}

.tl-item:last-child {
    padding-bottom: 0
}

.tl-item::before {
    content: "";
    position: absolute;
    left: -1.4rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--line)
}

.tl-item.done::before {
    background: var(--green);
    border-color: var(--green)
}

.tl-item.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft)
}

.tl-item b {
    display: block;
    color: var(--ink)
}

.tl-item span {
    color: var(--muted)
}

.comm-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 1.2rem
}

.person {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.4rem;
    text-align: center;
    transition: transform .3s, box-shadow .3s
}

.person:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh)
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto .9rem;
    display: grid;
    place-items: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(150deg, var(--ink), var(--ink-2))
}

.avatar.v {
    background: linear-gradient(150deg, var(--violet), #5240a0)
}

.avatar.r {
    background: linear-gradient(150deg, var(--accent), var(--accent-d))
}

.avatar.g {
    background: linear-gradient(150deg, var(--gold), #a8862f)
}

.person b {
    font-family: 'Fraunces', serif;
    color: var(--ink);
    font-size: 1rem;
    display: block
}

.person .role {
    font-size: .78rem;
    color: var(--accent);
    font-weight: 600;
    margin: .2rem 0
}

.person .aff {
    font-size: .8rem;
    color: var(--muted)
}

.stepper {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .5rem
}

.step-tab {
    flex: 1;
    text-align: center;
    padding: .8rem .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 10px;
    transition: .25s
}

.step-tab.active {
    background: var(--ink);
    color: #fff
}

.step-tab.done {
    color: var(--green)
}

.step-tab .num {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--muted);
    font-size: .78rem;
    margin-right: .4rem;
    vertical-align: middle
}

.step-tab.active .num {
    background: var(--gold);
    color: var(--ink)
}

.step-tab.done .num {
    background: var(--green);
    color: #fff
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 14px 32px -26px rgba(15, 46, 44, .4)
}

.form-step {
    display: none
}

.form-step.active {
    display: block;
    animation: fade .35s ease
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.form-step h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: .4rem
}

.form-step .sub {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 1.6rem
}

.field {
    margin-bottom: 1.3rem
}

.field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .4rem
}

.field label .req {
    color: var(--accent)
}

.field input, .field textarea, .field select {
    width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    padding: .75rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--text);
    transition: .2s
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--accent-soft)
}

.field textarea {
    resize: vertical;
    min-height: 120px
}

.field .hint {
    font-size: .78rem;
    color: var(--muted);
    margin-top: .35rem
}

.field .count {
    float: right;
    font-size: .76rem;
    color: var(--muted)
}

.form-errors {
    background: var(--accent-soft);
    border: 1px solid #f0c8c2;
    border-radius: 12px;
    padding: .9rem 1.2rem;
    margin-bottom: 1.5rem
}

.form-error {
    color: var(--accent);
    font-size: .88rem;
    margin: .2rem 0
}

.field-err input, .field-err input:focus {
    border-color: var(--accent);
    background: #fff6f4
}

.grid-2 {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1.1rem
}

.radio-cards {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: .8rem
}

.radio-card {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: .2s;
    background: var(--paper)
}

.radio-card:hover {
    border-color: var(--accent)
}

.radio-card.sel {
    border-color: var(--accent);
    background: var(--accent-soft)
}

.radio-card b {
    display: block;
    font-size: .92rem;
    color: var(--ink);
    margin-bottom: .2rem
}

.radio-card span {
    font-size: .78rem;
    color: var(--muted)
}

.dropzone {
    border: 2px dashed var(--line);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    background: var(--paper)
}

.dropzone:hover {
    border-color: var(--accent);
    background: var(--accent-soft)
}

.dropzone .dz-ic {
    font-size: 2rem;
    margin-bottom: .5rem
}

.dropzone b {
    color: var(--ink);
    display: block
}

.dropzone span {
    font-size: .82rem;
    color: var(--muted)
}

.file-chip {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: var(--green-soft);
    border: 1px solid #bfe3cd;
    border-radius: 10px;
    padding: .7rem .9rem;
    margin-top: .8rem;
    font-size: .88rem;
    color: var(--ink)
}

.file-chip .x {
    margin-left: auto;
    cursor: pointer;
    color: var(--muted);
    font-weight: 700
}

.author-row {
    display: grid;
    grid-template-columns:1fr 1fr 1fr auto;
    gap: .7rem;
    align-items: end;
    margin-bottom: .8rem
}

.author-row .rm {
    background: var(--accent-soft);
    color: var(--accent);
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 42px;
    font-size: 1.1rem
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.8rem;
    gap: 1rem
}

.info-box {
    background: var(--violet-soft);
    border: 1px solid #d9cdf5;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: .86rem;
    color: #42357e;
    margin-bottom: 1.5rem;
    display: flex;
    gap: .7rem
}

.info-box .ib-ic {
    flex-shrink: 0;
    font-size: 1.1rem
}

.rev-row {
    display: flex;
    padding: .7rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .9rem
}

.rev-row span {
    width: 160px;
    flex-shrink: 0;
    color: var(--muted)
}

.rev-row b {
    color: var(--ink)
}

.success {
    text-align: center;
    padding: 1rem
}

.success .ok {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.4rem
}

.success h3 {
    font-size: 1.6rem
}

.ref-code {
    display: inline-block;
    background: var(--ink);
    color: var(--gold);
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    letter-spacing: .05em;
    padding: .5rem 1.2rem;
    border-radius: 10px;
    margin: 1rem 0
}

.dash-head {
    background: linear-gradient(150deg, var(--ink), var(--ink-2));
    color: #fff;
    border-radius: 18px;
    padding: 2rem 2.4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden
}

.dash-head::after {
    content: "";
    position: absolute;
    top: -40%;
    right: 0;
    width: 40%;
    height: 180%;
    background: radial-gradient(circle, rgba(200, 162, 74, .2), transparent 60%)
}

.dash-head .inner {
    position: relative;
    z-index: 1
}

.dash-head h1 {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    margin-bottom: .3rem
}

.dash-head p {
    color: #bcd6d0;
    font-size: .95rem
}

.stat-row {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem
}

.stat-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.3rem
}

.stat-box b {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    color: var(--ink);
    display: block;
    line-height: 1
}

.stat-box span {
    font-size: .82rem;
    color: var(--muted)
}

.stat-box .ic {
    float: right;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.1rem
}

.sub-table {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden
}

.sub-table .th {
    display: grid;
    grid-template-columns:2.5fr 1.3fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.4rem;
    background: var(--paper-2);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted)
}

.sub-table .tr {
    display: grid;
    grid-template-columns:2.5fr 1.3fr 1fr 1fr;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    border-top: 1px solid var(--line);
    align-items: center;
    font-size: .9rem;
    transition: background .2s
}

.sub-table .tr:hover {
    background: var(--paper)
}

.sub-table .tr .ttl {
    font-weight: 600;
    color: var(--ink)
}

.sub-table .tr .ev-n {
    font-size: .8rem;
    color: var(--muted)
}

.cta-box {
    background: linear-gradient(135deg, var(--accent), var(--accent-d));
    border-radius: 26px;
    padding: 3.5rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%)
}

.cta-box h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 3.3vw, 2.4rem);
    position: relative;
    z-index: 1;
    margin-bottom: .9rem
}

.cta-box p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .85);
    max-width: 34rem;
    margin: 0 auto 1.8rem
}

.cta-box .btn {
    background: #fff;
    color: var(--accent)
}

.cta-box .btn:hover {
    background: var(--paper)
}

.bridge {
    background: var(--gold-soft);
    border: 1px solid #e8d9a8;
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start
}

.bridge .b-ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0
}

.bridge b {
    font-family: 'Fraunces', serif;
    color: var(--ink);
    font-size: 1.1rem;
    display: block;
    margin-bottom: .3rem
}

.bridge p {
    font-size: .9rem;
    color: #6b5a2e;
    margin: 0
}

.auth-wrap {
    max-width: 440px;
    margin: 3rem auto;
    padding: 0 1.5rem
}

.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.4rem;
    box-shadow: var(--sh)
}

.auth-card h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--ink);
    margin-bottom: .3rem;
    text-align: center
}

.auth-card .sub {
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 1.8rem
}

.auth-err {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid #f0c8c2;
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .86rem;
    margin-bottom: 1.2rem;
    text-align: center
}

.auth-alt {
    text-align: center;
    font-size: .88rem;
    color: var(--muted);
    margin-top: 1.4rem
}

.auth-alt a {
    color: var(--accent);
    font-weight: 600
}

.demo-hint {
    background: var(--violet-soft);
    border: 1px solid #d9cdf5;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: .82rem;
    color: #42357e;
    margin-top: 1.4rem;
    text-align: center
}

footer {
    background: var(--ink);
    color: #bcd2ce;
    margin-top: 4rem
}

.foot {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
    display: grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr;
    gap: 2.5rem
}

.foot .brand-txt b {
    color: #fff
}

.foot .brand-txt small {
    color: #7fa39c
}

.foot p.about {
    font-size: .88rem;
    margin-top: 1.1rem;
    max-width: 22rem;
    color: #9fc3bd
}

.foot h5 {
    font-family: 'Fraunces', serif;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem
}

.foot ul {
    list-style: none
}

.foot ul li {
    margin-bottom: .6rem
}

.foot a {
    color: #9fc3bd;
    font-size: .9rem;
    transition: color .2s
}

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

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2.2rem;
    padding: 1.4rem 2rem;
    text-align: center;
    font-size: .82rem;
    color: #7fa39c
}

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

.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    padding: .9rem 1.4rem;
    border-radius: 12px;
    font-size: .9rem;
    z-index: 300;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.toast.show {
    opacity: 1
}

@media (max-width: 980px) {
    .hero-wrap {
        grid-template-columns:1fr;
        gap: 2.5rem
    }

    .features {
        grid-template-columns:1fr 1fr
    }

    .ev-grid {
        grid-template-columns:1fr
    }

    .evl-grid {
        grid-template-columns:1fr
    }

    .detail-grid {
        grid-template-columns:1fr
    }

    .comm-grid {
        grid-template-columns:1fr 1fr
    }

    .stat-row {
        grid-template-columns:1fr 1fr
    }

    .nav-links {
        display: none
    }

    .side-card {
        position: static
    }

    .foot {
        grid-template-columns:1fr 1fr
    }
}

@media (max-width: 600px) {
    .container, .hero-wrap {
        padding-left: 1.2rem;
        padding-right: 1.2rem
    }

    .features, .comm-grid, .stat-row, .foot {
        grid-template-columns:1fr
    }

    .grid-2, .author-row {
        grid-template-columns:1fr
    }

    .radio-cards {
        grid-template-columns:1fr
    }

    .stepper {
        flex-direction: column
    }

    .sub-table .th {
        display: none
    }

    .sub-table .tr {
        grid-template-columns:1fr;
        gap: .3rem
    }

    .form-card, .ev-hero {
        padding: 1.5rem
    }

    .hero-stats {
        gap: 1.4rem
    }
}

.crest {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.crest img.logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}


/* ---------------------------- */
/* Desktop                      */
/* ---------------------------- */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #0d4a3e;
    padding: 4px 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ---------------------------- */
/* Mobile                       */
/* ---------------------------- */

@media (max-width: 900px) {


    .nav {
        position: relative;
        flex-wrap: wrap;
        padding: .9rem 1rem;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .1);

        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
        z-index: 1000;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-links {
        margin-bottom: 15px;
    }

    .nav-links a,
    .nav-actions a {
        width: 100%;
        text-align: left;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
