/* AI Weekend — warm & friendly, a little techy (light) */
:root {
  color-scheme: light;
  --bg: #fbf8f2;
  --white: #ffffff;
  --ink: #231b24;
  --muted: #6b5f6c;
  --line: #e7e2d8;
  --berry: #86198f;       /* main accent (plum) */
  --mintbg: #f3e3f4;
  --berry-dark: #6b1272;
  --peach: #ffe1cc;
  --butter: #fff0b8;
  --sage: #dcefd6;
  --lav: #e8e1fa;
  --sky: #dbeefa;
  --ok: #2f7a45;
  --err: #c0362c;
  --r: 18px;
  --shadow: 0 1px 2px rgba(50, 15, 50, .05), 0 6px 20px rgba(50, 15, 50, .06);
  --round: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mint: #19b38a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--berry); color: #fff; }
main, .foot { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { main, .foot { padding: 0 16px; } }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 10; padding: 12px 16px; }
.nav {
  max-width: 1112px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--white) 88%, transparent); backdrop-filter: blur(12px);
  border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font: 600 21px var(--round); text-decoration: none; }
.sun { width: 30px; height: 30px; flex: none; fill: #f5b82e; stroke: #f5b82e; }
.links { display: flex; gap: 4px; }
.links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.links a:hover { background: var(--peach); color: var(--ink); }
@media (max-width: 760px) { .links { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--berry); color: #fff; font: 600 17px var(--round); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--berry-dark); transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--berry-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--berry-dark); }
.btn.soft { background: var(--white); color: var(--ink); box-shadow: 0 4px 0 #e3cfe4; }
.btn.soft:hover { box-shadow: 0 6px 0 #e3cfe4; }
.btn.sm { padding: 9px 20px; font-size: 15px; box-shadow: 0 3px 0 var(--berry-dark); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* panels */
.panel { border-radius: var(--r); padding: 36px; }
@media (max-width: 640px) { .panel { padding: 24px 20px; } }
.peach { background: var(--peach); }
.butter { background: var(--butter); }
.sage { background: var(--sage); }
.lav { background: var(--lav); }
.sky { background: var(--sky); }
.ink { background: var(--ink); color: var(--bg); }

/* hero */
.hero { display: grid; gap: 24px; align-items: center; margin-top: 12px; padding: 56px 48px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.35fr 1fr; } }
@media (max-width: 640px) { .hero { padding: 32px 20px; } }
.pill { display: inline-block; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; }
h1 { font: 600 clamp(42px, 6.4vw, 80px)/1.04 var(--round); letter-spacing: -.01em; margin: 0 0 20px; }
.hl { color: var(--berry); white-space: nowrap; position: relative; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em; background: #ffd36b; border-radius: 99px; z-index: -1; }
.hero-text { position: relative; z-index: 0; }
.lede { font-size: clamp(18px, 1.9vw, 21px); color: #544a55; max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.small { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0; }
.hero-art svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; }
@media (max-width: 899px) { .hero-art svg { max-width: 240px; } }

/* countdown + day */
.row-2 { display: grid; gap: 16px; margin-top: 16px; }

.mini { font: 600 18px var(--round); margin: 0 0 16px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cd div { background: var(--white); border-radius: 18px; padding: 14px 6px 10px; text-align: center; }
.cd b { display: block; font: 600 clamp(28px, 4vw, 40px)/1 var(--round); font-variant-numeric: tabular-nums; }
.cd span { font-size: 12px; font-weight: 700; color: var(--muted); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.stops::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #9cc6e4 0 10px, transparent 10px 18px); }
.stops li { display: grid; justify-items: center; text-align: center; gap: 2px; position: relative; }
.stops .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); margin-bottom: 6px; }
.stops b { font: 600 15px var(--round); }
.stops li > span:last-child { font-size: 14px; color: var(--muted); font-weight: 700; }
@media (max-width: 480px) { .stops .dot { width: 38px; height: 38px; font-size: 18px; } .stops::before { top: 18px; } .stops b { font-size: 13px; } .stops li > span:last-child { font-size: 12px; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.stats > div { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.stats b { display: block; font: 600 clamp(36px, 5vw, 56px)/1.05 var(--round); color: var(--berry); }
.stats span { font-size: 15px; font-weight: 700; color: var(--muted); }
@media (max-width: 560px) { .stats > div { padding: 16px 8px; } .stats span { font-size: 12px; } }

/* sections */
.sec { padding-top: 88px; }
h2 { font: 600 clamp(32px, 4.4vw, 50px)/1.1 var(--round); margin: 0 0 28px; }
h2 small { font: 700 16px var(--body); color: var(--muted); margin-left: 8px; }
h3 { font: 600 23px/1.25 var(--round); margin: 0 0 8px; }
.sub { color: var(--muted); max-width: 600px; margin: -14px 0 28px; }
p { margin: 0 0 12px; }

.cards3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card p { color: var(--muted); margin: 0; }
.icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; font-size: 28px; margin-bottom: 18px; }

/* schedule */
.part { box-shadow: none; }
.sage-bg { background: var(--sage); }
.butter-bg { background: var(--butter); }
.lav-bg { background: var(--lav); }
.part ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.part li { display: grid; grid-template-columns: 58px 1fr; gap: 6px; background: rgba(255,255,255,.7); padding: 10px 14px; border-radius: 14px; font-size: 16px; }
.part time { font: 600 15px/1.65 var(--round); color: var(--berry); }

/* tracks */
.tracks { display: grid; gap: 16px; }
@media (min-width: 720px) { .tracks { grid-template-columns: 1fr 1fr; } }
.trk { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .2s; }
.trk:hover { transform: translateY(-4px); }
.trk .icon { margin: 0; flex: none; }
.trk p { color: var(--muted); margin: 0; }

/* who */
.who-panel { display: grid; gap: 24px; padding: 48px; }
@media (min-width: 900px) { .who-panel { grid-template-columns: 1fr 1.3fr; gap: 48px; } }
@media (max-width: 640px) { .who-panel { padding: 28px 20px; } }
.who-panel .sub { margin: 0; }
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.who li { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: 18px; padding: 12px 18px; }
.who li > span { font-size: 24px; }
.who p { margin: 0; font-size: 16px; }

/* forms */
.form-sec { display: grid; gap: 28px; }
@media (min-width: 900px) { .form-sec { grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; } }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.note { font-weight: 700; color: var(--berry); }
.form { display: grid; gap: 20px; background: var(--white); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
#apply .form { outline: 6px solid var(--peach); }
@media (max-width: 520px) { .form { padding: 22px 16px; } }
.row2 { display: grid; gap: 20px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 6px; font-weight: 800; font-size: 15px; }
label small { font-weight: 400; color: var(--muted); font-size: 14px; }
input, select, textarea {
  font: 400 17px var(--body); color: var(--ink); background-color: var(--bg); width: 100%;
  border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--berry); background-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--berry) 15%, transparent); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 800; font-size: 15px; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; font-weight: 700; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--bg); border: 2px solid var(--line); font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chips span:hover { border-color: var(--berry); }
.chips input:checked + span { background: var(--berry); border-color: var(--berry); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--berry) 40%, transparent); outline-offset: 2px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; min-height: 1.4em; font-weight: 700; font-size: 15px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

/* faq */
.faq { display: grid; gap: 10px; }
details { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 0 24px; }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 600 20px/1.3 var(--round); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; font: 600 20px var(--round); transition: transform .2s; }
details[open] summary::after { content: '−'; background: var(--berry); color: #fff; }
details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
details a { color: var(--berry); font-weight: 700; }

/* footer */
.foot { margin-top: 96px; padding-bottom: 24px; }
.foot-panel { display: grid; gap: 20px; }
@media (min-width: 760px) { .foot-panel { grid-template-columns: 1fr auto; align-items: end; } }
.foot-panel p { margin: 10px 0 0; color: #c4b3c5; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; font-size: 15px; color: #c4b3c5; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.countdown .mini { margin-bottom: 10px; }
.pill.when { margin: 0 0 16px; }

/* host */
.host-panel { display: grid; gap: 28px; padding: 48px; }
@media (min-width: 900px) { .host-panel { grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; } }
@media (max-width: 640px) { .host-panel { padding: 28px 16px; } }
.host-panel .form { box-shadow: none; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.7); border-radius: 18px; padding: 12px 16px; }
.perks li > span { font-size: 22px; }
.perks p { margin: 0; font-size: 16px; }

/* events */
.events { display: grid; gap: 16px; }
@media (min-width: 720px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .events { grid-template-columns: repeat(3, 1fr); } }
.ev-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.ev-card:hover { transform: translateY(-4px); }
.ev-date { flex: none; width: 72px; text-align: center; background: var(--peach); border-radius: 20px; padding: 10px 4px; }
.ev-date span { display: block; font: 600 13px var(--round); text-transform: uppercase; color: var(--berry); }
.ev-date b { display: block; font: 600 34px/1 var(--round); margin: 2px 0; }
.ev-body h3 { margin-bottom: 2px; }
.ev-body p { margin: 0; color: var(--muted); font-size: 16px; }
.ev-venue { font-size: 14px !important; }
.ev-status { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--sage); color: #2f6b3a; }
.ev-status.s-soon { background: var(--butter); color: #7a5a00; }
.ev-status.s-full { background: #f6e3e7; color: #a5243f; }
.host-card { flex-direction: column; gap: 6px; background: transparent; box-shadow: none; border: 2px dashed #dcb5df; }
.host-card .icon { margin-bottom: 6px; }
.host-card p { margin: 0; color: var(--muted); font-size: 16px; }
.ev-go { font: 600 16px var(--round); color: var(--berry); margin-top: 6px; }

[hidden] { display: none !important; }
.no-events { align-content: start; }
.no-events .icon { margin-bottom: 0; }
.no-events h3, .no-events p { margin: 0; }
.no-events p { color: var(--muted); }

/* event page */
.back { margin: 8px 0 12px; font-weight: 700; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--berry); }
.ev-hero { padding: 48px; }
@media (max-width: 640px) { .ev-hero { padding: 28px 20px; } }
.ev-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .ev-facts { grid-template-columns: 1fr 1fr; } }
.ev-facts li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.7); border-radius: 18px; padding: 12px 16px; }
.ev-facts li > span { font-size: 22px; }
.ev-facts b { font-weight: 700; }
.ev-card .ev-go { display: block; margin-top: 10px; font-size: 15px; }

/* event about */
.about { padding-top: 56px; }
.about h2 { margin-bottom: 16px; }
.about-text { background: var(--white); border-radius: var(--r); padding: 28px 32px; box-shadow: var(--shadow); max-width: 820px; }
.about-text p { margin: 0 0 14px; font-size: 18px; }
.about-text p:last-child { margin-bottom: 0; }
#ev-about + #ev-day { margin-top: 40px !important; }
@media (max-width: 640px) { .about-text { padding: 20px; } }

/* cities */
.city-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.city-card { display: flex; flex-direction: column; gap: 4px; background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.city-card:hover { transform: translateY(-4px); }
.city-card h3 { margin: 6px 0 0; }
.city-card p { margin: 0; color: var(--muted); font-size: 15px; }
.city-card .ev-status { align-self: flex-start; }
.city-card.host-card { box-shadow: none; }
.city-flag { font-size: 40px; line-height: 1; }
.ev-status.s-past { background: #eee; color: var(--muted); }
.ev-card.is-past { opacity: .75; }
.muted-note { color: var(--muted); font-weight: 600; }
.help-panel { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .help-panel { grid-template-columns: 1fr auto; } }
.help-panel h2 { margin-bottom: 8px; }
.help-panel .sub { margin: 0; }
.city-link { color: inherit; text-decoration: none; }
.city-link:hover .hl { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.back .sep { color: var(--line); margin: 0 6px; }

/* accounts */
.acct-links { display: flex; align-items: center; gap: 4px; }
.acct-links a:not(.btn), .link-btn { text-decoration: none; font: 700 15px var(--body); color: var(--muted); padding: 8px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.acct-links a:not(.btn):hover, .link-btn:hover { background: var(--peach); color: var(--ink); }
.inline-form { display: inline; margin: 0; }
.acct-main { max-width: 1000px; padding-top: 24px; }
.auth { display: grid; place-items: center; padding: 32px 0 64px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font: 600 32px/1.15 var(--round); margin: 0 0 6px; }
.stack { display: grid; gap: 16px; }
.stack.tight { gap: 8px; }
.narrow { max-width: 680px; }
.small-links { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.small-links a { color: var(--berry); font-weight: 700; }
.flash { border-radius: 16px; padding: 12px 16px; font-weight: 700; margin: 0 0 16px; }
.flash.ok { background: var(--sage); color: #2f6b3a; }
.flash.err { background: #f8dde4; color: var(--berry-dark); }
.flash.warn { background: var(--butter); color: #6a5000; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.acct-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; margin: 8px 0 8px; }
.acct-head h1 { font: 600 clamp(30px, 4vw, 42px)/1.1 var(--round); margin: 0; }
.acct-sec { padding-top: 36px; }
.acct-sec h2, .form h2 { font: 600 24px var(--round); margin: 0 0 14px; }
.acct-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .acct-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.acct-item { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; background: var(--white); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 10px; }
.acct-item h3 { margin: 0 0 2px; font-size: 20px; }
.acct-item h3 a { text-decoration: none; }
.acct-item h3 a:hover { color: var(--berry); }
.acct-item p { margin: 2px 0; }
.acct-item-main { flex: 1 1 320px; min-width: 0; }
.acct-item-side { display: grid; gap: 8px; justify-items: end; align-content: start; }
@media (max-width: 560px) { .acct-item-side { justify-items: start; } }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.danger { background: #a5243f; box-shadow: 0 3px 0 #7d1a30; }
.empty-card { background: var(--white); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); text-align: center; }
.empty-card p { color: var(--muted); }
.st { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--sky); white-space: nowrap; }
.st-accepted, .st-open { background: var(--sage); color: #2f6b3a; }
.st-waitlist, .st-soon, .st-draft { background: var(--butter); color: #6a5000; }
.st-rejected, .st-full { background: #f6e3e7; color: #a5243f; }
.st-withdrawn { background: #eee; color: var(--muted); }
.withdraw summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted); list-style: none; text-align: right; }
.withdraw summary::-webkit-details-marker { display: none; }
.withdraw[open] { background: var(--bg); border-radius: 16px; padding: 12px; max-width: 300px; }
.check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 600 !important; font-size: 14px !important; }
.check input { width: auto; margin-top: 3px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 16px; }
.tab { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; color: var(--muted); box-shadow: var(--shadow); }
.tab.on { background: var(--berry); color: #fff; }
.acct-item-side select { padding: 8px 32px 8px 12px; font-size: 15px; }
.applying-as { background: var(--sage); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 15px; margin: 0; }
.applying-as a { color: var(--berry); }
@media (max-width: 760px) { .acct-links > a:not(.btn):not(.acct-primary) { display: none; } }

/* ---------- techy layer ---------- */
body {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(100, 30, 100, .08) 1px, transparent 0);
  background-size: 22px 22px;
}
h1, h2, h3, .brand, summary { letter-spacing: -.02em; }
h1 { font-weight: 700; }
.hero h1::after { content: '_'; color: var(--berry); font-family: var(--mono); font-weight: 500; margin-left: .06em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hl::after { height: .14em; background: #ffe27a; border-radius: 2px; }

/* mono accents */
.pill, .small, .cd span, .stops li > span:last-child, .stats span, .ev-date span, .ev-status, .st, .tab, .part time, h2 small, .ev-venue, .back, .mini {
  font-family: var(--mono); letter-spacing: 0;
}
.pill { font-size: 13px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.pill::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent); }
.small { font-size: 13px; font-weight: 500; }
.mini { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.cd b, .stats b, .ev-date b { font-family: var(--mono); font-weight: 700; letter-spacing: -.03em; }
.cd div { border: 1px solid var(--line); border-radius: 12px; }
.cd span, .stats span { font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.ev-date { border-radius: 12px; }
.ev-date span { font-weight: 500; font-size: 12px; }
.ev-status, .st { font-weight: 500; font-size: 12px; border-radius: 6px; }
.part time { font-weight: 500; font-size: 14px; }
.part li { border-radius: 10px; }
.sec h2:not(.mini)::before { content: '//'; font: 500 .5em var(--mono); color: var(--berry); vertical-align: .45em; margin-right: .5em; }
.back { font-size: 14px; font-weight: 500; }

/* shapes: a bit crisper */
.nav { border-radius: 16px; border: 1px solid var(--line); }
.links a, .acct-links a:not(.btn), .link-btn { border-radius: 10px; font-weight: 600; }
.links a:hover, .acct-links a:not(.btn):hover, .link-btn:hover { background: var(--mintbg); }
.btn { border-radius: 12px; font-weight: 600; }
.btn.sm { border-radius: 10px; }
.card, .trk, .ev-card, .city-card, .stats > div, .form, details, .about-text, .acct-item, .empty-card { border: 1px solid var(--line); }
.host-card { border: 2px dashed #dcb5df; }
.icon { border-radius: 12px; }
.who li, .perks li, .ev-facts li, .flash, .applying-as { border-radius: 12px; }
input, select, textarea { border-radius: 10px; border-width: 1.5px; }
.chips span { border-radius: 8px; border-width: 1.5px; }
details { border-radius: 14px; }
summary::after { border-radius: 8px; font-family: var(--mono); font-size: 18px; }
.stops .dot { border-radius: 12px; border: 1px solid var(--line); }
.stops::before { background: repeating-linear-gradient(90deg, #d9a3de 0 6px, transparent 6px 12px); height: 2px; top: 23px; }
.ink { background: #22142a; }
#apply .form { outline: 4px solid var(--mintbg); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--berry) 14%, transparent); }
@media (prefers-reduced-motion: reduce) { .hero h1::after { animation: none; } }
h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; }
.ev-date { background: var(--mintbg); }
.mint .pill, .mint .ev-facts li { background: rgba(255,255,255,.75); }

/* logo */
.brand .logo { display: block; height: 28px; width: auto; }
.foot .brand .logo { height: 32px; }
@media (max-width: 640px) { .brand .logo { height: 24px; } }

.mint { background: var(--mintbg); }

/* nav: keep on one line when logged in */
.nav { gap: 12px; }
.links { gap: 2px; flex: 1; justify-content: center; }
.links a, .acct-links a, .link-btn { white-space: nowrap; }
.links a { padding: 8px 10px; }
.acct-links { flex: none; }
@media (max-width: 1180px) { .links a, .acct-links a:not(.btn), .link-btn { padding: 8px 8px; font-size: 14px; } }
@media (max-width: 1080px) { .links a:nth-child(3), .links a:nth-child(4) { display: none; } }
@media (max-width: 920px) { .links a:nth-child(7) { display: none; } }

/* profile dropdown */
.me-menu { position: relative; }
.me-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 600 15px var(--body); color: var(--ink); transition: background .15s, border-color .15s; }
.me-menu summary::-webkit-details-marker { display: none; }
.me-menu summary::after { content: none; }
.me-menu summary:hover, .me-menu[open] summary { background: var(--mintbg); border-color: transparent; }
.me-menu summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--berry) 40%, transparent); outline-offset: 2px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--berry); color: #fff; font: 700 12px var(--mono); letter-spacing: .02em; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.me-menu[open] .chev { transform: rotate(180deg); }
.me-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(50, 15, 50, .14); padding: 6px; display: grid; z-index: 20; }
.me-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: grid; gap: 2px; }
.me-head b { font: 600 15px var(--round); }
.me-head span { font: 500 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.me-pop a, .me-pop button { display: block; width: 100%; text-align: left; text-decoration: none; padding: 9px 12px; border-radius: 9px; font: 600 15px var(--body); color: var(--ink); background: none; border: 0; cursor: pointer; }
.me-pop a:hover, .me-pop button:hover { background: var(--mintbg); }
.me-pop form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.me-pop button { color: var(--muted); }
@media (max-width: 760px) { .me-name { display: none; } .me-menu summary { padding-right: 8px; } }
details.me-menu { background: none; box-shadow: none; padding: 0; border: 0; border-radius: 0; }
.me-menu summary::after, .me-menu[open] summary::after { content: none !important; display: none; }
.acct-links .me-pop a, .acct-links .me-pop button { display: block; color: var(--ink); font: 600 15px var(--body); padding: 9px 12px; border-radius: 9px; }
.acct-links .me-pop a:hover, .acct-links .me-pop button:hover { background: var(--mintbg); color: var(--ink); }
.acct-links .me-pop button { color: var(--muted); }

/* ticket */
.ticket { max-width: 420px; margin: 16px auto 48px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; text-align: center; box-shadow: var(--shadow); position: relative; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 58%; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket::before { left: -13px; } .ticket::after { right: -13px; }
.ticket h1 { font: 700 34px/1.1 var(--round); margin: 4px 0 6px; }
.eyebrow-mono { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--berry); margin: 0; }
.qr { width: 240px; max-width: 80%; margin: 18px auto 10px; }
.qr svg { display: block; width: 100%; height: auto; }
.ticket-name { font: 600 22px var(--round); margin: 6px 0 2px; }
.ticket-code { font: 500 14px var(--mono); color: var(--muted); margin: 0 0 14px; }
.ticket-code b { color: var(--ink); font-size: 20px; letter-spacing: .12em; margin-left: 6px; }

/* google sign-in */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid #dadce0; border-radius: 12px; background: #fff; color: #1f1f1f; font: 600 16px var(--body); text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn-google:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 12px var(--mono); text-transform: uppercase; margin: 16px 0 !important; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* event: join cards + form pages */
.join-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .join-grid { grid-template-columns: 1fr 1fr; } }
.join-card { display: grid; gap: 6px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, border-color .2s; }
.join-card:hover { transform: translateY(-4px); border-color: var(--berry); }
.join-card h3 { margin: 6px 0 0; } .join-card p { margin: 0; color: var(--muted); }
.form-head { margin: 4px 0 8px; }
.form-head h1 { font-size: clamp(34px, 5vw, 54px); margin: 6px 0 0; }
.form-head + .sec { padding-top: 24px; }

/* host questions on the apply form */
.ev-questions { display: grid; gap: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.q-head { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--berry); margin: 0; }

/* home: get involved cards */
.get-involved { display: grid; gap: 16px; }
@media (min-width: 760px) { .get-involved { grid-template-columns: 1fr 1fr; } }
.get-involved .join-card { scroll-margin-top: 100px; }
summary::after { background: var(--mintbg); color: var(--berry); }

/* sponsor scope picker */
.scope-pick { display: grid; gap: 10px; }
@media (min-width: 600px) { .scope-pick { grid-template-columns: 1fr 1fr; } }
.scope-opt { display: flex !important; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600 !important; }
.scope-opt input { width: auto; margin-top: 4px; accent-color: var(--berry); }
.scope-opt span { display: grid; gap: 2px; } .scope-opt small { color: var(--muted); font-weight: 400; font-size: 14px; }
.scope-opt:has(input:checked) { border-color: var(--berry); background: var(--mintbg); }

/* prices */
.ev-price { display: inline-block; margin: 10px 0 0 6px; padding: 4px 10px; border-radius: 6px; font: 500 12px var(--mono); background: var(--mintbg); color: var(--berry); }
.price-note { background: var(--butter); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 15px; margin: 0 0 12px; }

@media (min-width: 1000px) { .join-grid:has(#join-volunteer:not([hidden])) { grid-template-columns: repeat(3, 1fr); } }

/* event: venue, mentors, sponsors */
.venue-box { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
@media (min-width: 820px) { .venue-box { grid-template-columns: 1fr 1.6fr; align-items: center; } }
.venue-info h3 { margin: 0 0 4px; } .venue-info p { margin: 0 0 12px; }
#ev-map { width: 100%; height: 280px; border: 0; border-radius: 14px; background: var(--mintbg); }
.people { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.person { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.person .av { width: 44px; height: 44px; border-radius: 50%; background: var(--mintbg); color: var(--berry); display: grid; place-items: center; font: 700 14px var(--mono); flex: none; }
.person div { display: grid; } .person span:not(.av) { color: var(--muted); font-size: 14px; }
.sponsor-list { display: flex; flex-wrap: wrap; gap: 12px; }
.sponsor { display: grid; gap: 2px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; min-width: 160px; box-shadow: var(--shadow); }
.sponsor b { font: 600 18px var(--round); } .sponsor small { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--berry); }
a.sponsor:hover { border-color: var(--berry); }
