/* A quiet pearl surface lets the event artwork and people's identities carry the color. */
:root {
  --ink: #202337;
  --blue: #4247a3;
  --line: #cbd0df;
  --muted: #565b72;
  --glass-fill: linear-gradient(155deg, #ffffffed, #f8f9ffcb);
  --glass-edge: 1px solid #ffffffed;
  --glass-depth: inset 0 1px 0 white, 0 0 0 1px #777da41e, 0 12px 30px -19px #49548268;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
body, body:has(.home) {
  min-height: 100vh;
  background: radial-gradient(ellipse at 5% 7%, #e3e3fa, transparent 38rem),
              radial-gradient(ellipse at 97% 19%, #d9e9f0, transparent 36rem), #f3f4f9;
  color: var(--ink);
}
.mast { position: sticky; top: 0; background: #f6f7fceF; border-bottom: 1px solid #ffffffc2; box-shadow: 0 1px 0 #72778d29; z-index: 5; }
@supports (backdrop-filter: blur(12px)) {
  .mast { background: #f7f8fbb8; backdrop-filter: saturate(145%) blur(18px); }
}
.mast-inner { max-width: 1280px; padding-block: .78rem; }
.wordmark { font: 660 clamp(1rem, 2vw, 1.4rem)/1 Montserrat, system-ui, sans-serif; letter-spacing: -.065em; gap: .52rem; }
.wordmark img { width: clamp(4.1rem, 7vw, 5.8rem); }
.wide-nav { border-radius: 100px; background: #ffffff83; border: 1px solid #fffd; padding: .45rem 1.4rem; gap: 1.8rem; }
.wide-nav a { font-size: .91rem; }
.menu nav, .ev-shell .ev-panel, .ev-shell .ev-section, .interior .ev-event, .ev-empty,
.m-panel, .m-card, .m-row, .m-empty, .doors>a, .insights .panel, .insights .card {
  border: var(--glass-edge); border-radius: 1.35rem; background: var(--glass-fill); box-shadow: var(--glass-depth);
}
.menu nav { background: #f9faff; }
.menu summary { background: #ffffffa6; }
.pill, button:not(.bare), .m-shell button, .m-button, .ev-shell .ev-button, input[type=submit], .button, .btn { border-radius: 100px; }
.pill, .ev-shell button:not(.ev-secondary), .ev-shell .ev-button, .m-shell button:not(.m-secondary) { background: #292c46; color: white; border-color: #292c46; }
.ev-shell .ev-secondary { color: #282d4c; background: #fff; }
button:active, .pill:active, .m-button:active { transform: scale(.98); }
.hero { max-width: 96rem; grid-template-columns: minmax(0,1.42fr) minmax(0,1fr); margin: clamp(.8rem,3vw,2.7rem) auto; background: var(--glass-fill); border: var(--glass-edge); border-radius: 2rem; overflow: hidden; box-shadow: var(--glass-depth); }
.hero-copy { padding-inline: clamp(1.5rem,3.6vw,4rem); }
.hero-copy h1 { font-size: clamp(3.7rem,6.55vw,7.2rem); font-weight: 650; line-height: 1.02; letter-spacing: -0.05em; }
@media (min-width:761px) {
  .hero-art { position: relative; min-height: clamp(22rem,34vw,35rem); }
  .hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
}
.community { max-width: 96rem; }
.doors>a { padding: 1.5rem; }
.foot { max-width: 1280px; }
.interior:has(.ev-shell) { max-width: 1200px; padding-top: clamp(.75rem,2vw,2rem); }
.ev-shell { --ev-muted: #525970; --ev-ink: #464aa1; }
.ev-shell .ev-section { padding: clamp(1.05rem, 2.6vw, 1.8rem); }
.ev-shell .ev-layout { gap: clamp(1rem, 2.5vw, 1.8rem); }
.ev-layout > * { min-width: 0; }
.ev-shell .ev-layout > .ev-section:first-child, .ev-layout > div > .ev-section:first-child { margin-top: 0; }
.ev-shell .ev-section, .ev-shell .ev-panel { box-shadow: var(--glass-depth), 0 4px 34px -15px #b4a9ea82; }
.ev-shell .ev-header { border: 0; margin-bottom: .75rem; }
.ev-shell .ev-header h1, .m-shell h1 { font-weight: 660; letter-spacing: -.058em; }
.ev-back, .ev-meta { font-weight: 560; }
.ev-event .ev-date { text-align: center; padding: .7rem .2rem; background: linear-gradient(140deg,#e6e1fc,#e7f0f7); border-radius: .9rem; color: #353857; }
.ev-details div { padding: .55rem 0; }
.ev-details dt { font-weight: 600; }
.ev-details dd { font-weight: 570; }
.ev-shell progress { accent-color: #655cb4; width: 100%; }
.ev-banner { border-radius: 1.4rem; }
.m-avatar { background: linear-gradient(135deg,#ddd9ff,#d1e7ec); }
.m-card a, .m-card .m-link { color: #35375d; }
.insights { font-family: inherit; }
.insights header { background: #292d49; }
.insights .cards { gap: .85rem; background: none; border: 0; padding: 2px; overflow: visible; }
.insights .card:first-child { background: linear-gradient(145deg,#eae8ff,#f9faff); }
.event-cover { isolation: isolate; position: relative; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; min-height: clamp(20rem,40vw,28rem); overflow: hidden; border-radius: clamp(1.5rem,4vw,2.75rem); border: 1px solid #ffffffb0; background: radial-gradient(ellipse at 90% 5%,#d8e1f9,transparent 46%),radial-gradient(ellipse at 72% 105%,#9894c8,transparent 55%),linear-gradient(115deg,#25283e 6%,#4d506d 52%,#8898b0); color: white; box-shadow: inset 0 1px 1px #fff8, 0 14px 42px -18px #4e4e79a0; }
.cover-copy { z-index: 1; padding: clamp(1.6rem,5vw,4rem); }
.ev-shell .cover-copy h1 { font-size: clamp(3.4rem,7.3vw,6rem); line-height: .97; letter-spacing: -.066em; max-width: 7.7em; font-weight: 625; }
.cover-date { font-size: .88rem; font-weight: 620; color: #f4f2ff; }
.ev-shell .cover-place { margin: 1.1rem 0 1.6rem; }
.ev-shell .cover-copy button { background: #fbfaff; color: #25263a; border-color: #ffffffa0; }
.cover-art { position: absolute; inset: -15% -8% -12% 49%; display: grid; place-items: center; pointer-events: none; }
.cover-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px #17213666); }
.landing-doors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.2rem; }
.ev-shell .landing-doors section { margin: 0; }
.landing-doors a { display: inline-block; padding-block: .5rem; font-weight: 600; }
@media(max-width:700px) {
  .hero { border-radius: 1.3rem; }
  .landing-doors { grid-template-columns: 1fr; }
  .event-cover { min-height: 23rem; grid-template-columns: 1fr; align-items: end; }
  .cover-copy { padding: 8rem 1.35rem 1.55rem; background: linear-gradient(0deg,#292b44 10%,#292b44dc 52%,transparent 100%); }
  .ev-shell .cover-copy h1 { font-size: clamp(2.9rem,12vw,4rem); }
  .cover-art { inset: -23% -19% 22% 20%; }
  .doors>a { padding: 1rem; }
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  :root { --glass-fill: #fff; --glass-edge: 1px solid #85899d; --glass-depth: none; }
  .mast, .menu nav, .wide-nav { background: #fff; backdrop-filter: none; }
  .ev-shell .ev-section,.ev-shell .ev-panel { box-shadow: none; }
}

.join-community { scroll-margin-top: 5rem; }
.member-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
/* The wordmark's triangle and rounded D bleed through the left trim. */
.member-benefits section {
  --benefit-padding: clamp(1.3rem,3vw,2.4rem);
  --mark-size: clamp(3rem, 7vw, 7rem);
  --mark-crop: calc(var(--mark-size) * .22);
  position: relative;
  overflow: hidden;
  padding: var(--benefit-padding);
  padding-left: calc(var(--mark-size) - var(--mark-crop) + clamp(.85rem,1.5vw,1.5rem));
  border: var(--glass-edge);
  border-radius: 1.4rem;
  background: var(--glass-fill);
  box-shadow: var(--glass-depth);
}
.member-benefits section::before {
  content: "";
  position: absolute;
  left: calc(0px - var(--mark-crop));
  top: 50%;
  transform: translateY(-50%);
  width: var(--mark-size);
  height: var(--mark-size);
  pointer-events: none;
}
.benefit-alumni::before {
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.benefit-friends::before {
  background: var(--yellow);
  border-radius: 0 53% 53% 0 / 0 50% 50% 0;
}
.member-benefits h3, .membership-steps h3 { margin: 0; font-size: clamp(1.35rem,2vw,1.8rem); }
.member-benefits p { margin: .6rem 0 0; max-width: 48ch; }
.membership-steps { max-width: 44rem; margin: clamp(2rem,4vw,3.5rem) 0 0; }
.membership-steps p { margin: .75rem 0 1.2rem; }
.hero-copy form { margin: 0; }
.hero-copy button.preview-action { color: var(--ink); background: transparent; border: 1px solid #9a9db0; }
@media (max-width:760px) {
  .hero { display: flex; flex-direction: column; margin: .5rem .25rem 0; }
  .hero-art { order: -1; height: clamp(11rem,50vw,20rem); flex: none; width: 100%; }
  .hero-art svg { display: block; width: 100%; height: auto; aspect-ratio: 1; max-height: none; min-height: 100%; align-self: center; transform: translateY(-11%); }
  .hero-copy { padding: 1.65rem clamp(.9rem,3.5vw,1.65rem) 2rem; }
  .hero-copy h1 { font-size: clamp(2.55rem,10.25vw,4.4rem); }
  .member-benefits { grid-template-columns: 1fr; }
  .member-benefits section::before {
    /* Match the visible cap line of the mobile heading. */
    top: calc(var(--benefit-padding) + .14rem);
    transform: none;
  }
}
