/* Events page only. Edit this finished file directly; no build is needed. */
.events-page {
  --event-plum: #352342;
  --event-orange: #ffc17b;
  --event-teal: #175958;
  background: #fffaf3;
}
.events-page main { overflow: clip; }
.event-kicker {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 18px;
}
.events-hero {
  background: radial-gradient(ellipse at 0 80%, #ffe3cd, transparent 55%), #f1eafa;
  padding: 66px 0 0;
}
.events-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 65px;
}
.events-hero h1 { font-size: clamp(3rem, 5.1vw, 4.8rem); }
.events-hero h1 span { color: #8a3c68; }
.events-hero .event-intro { font-size: 1.15rem; margin-top: 25px; max-width: 39ch; }
.events-hero .actions { margin-top: 28px; gap: 14px; }
.event-hero-photo { position: relative; transform: rotate(2deg); }
.event-hero-photo > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 100px 24px 100px 24px;
  border: 8px solid #fffaf3;
  box-shadow: 0 16px 45px #3e12501c;
}
.event-hero-photo figcaption {
  position: absolute;
  bottom: 20px;
  left: -22px;
  background: #fffaf3;
  padding: 15px 24px;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 6px 22px #3523421c;
  transform: rotate(-4deg);
}
.event-flower {
  position: absolute;
  top: -35px;
  right: -20px;
  width: 96px;
  height: 96px;
  transform: rotate(12deg);
}
.events-jump { background: #fffaf3; border-bottom: 1px solid #eadfda; }
.events-jump .container { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-block: 19px; }
.events-jump a { color: var(--event-plum); font-size: .92rem; font-weight: 900; text-decoration: none; padding-block: 5px; }
.events-jump a:hover { text-decoration: underline; }
.events-jump span { color: #965230; }
.event-feature { padding-block: 80px; }
.event-fall {
  color: #fffaf3;
  background: radial-gradient(ellipse at 0 0, #704064, transparent 65%), var(--event-plum);
}
.event-feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  background: #ffc17b;
  color: #352342;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 19px;
}
.event-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.event-fall h2 { color: #ffcb93; font-size: clamp(3rem, 5vw, 4.7rem); }
.event-date { font-size: 1.35rem; font-weight: 900; margin-top: 16px; }
.event-location { font-size: .91rem; margin-top: 5px; }
.event-feature-copy > p:not(.event-date):not(.event-location) { margin-top: 21px; }
.event-feature-copy .actions { margin-top: 27px; flex-wrap: wrap; gap: 15px 22px; }
.event-fall .button { color: #352342; background: #ffc17b; }
.event-fall .button:hover { background: #ffdaaf; }
.event-fall .text-link { color: #fffaf3; }
.event-fall .event-detail-note { color: #eddfed; font-size: .87rem; }
.event-fall-program { margin-top: 45px; padding-top: 32px; border-top: 1px solid #ffffff30; }
.event-fall-program > h3 { color: #ffcb93; font-family: var(--display); font-weight: 400; font-size: 1.85rem; }
.event-program-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 22px; }
.event-program-group { background: #ffffff09; border: 1px solid #ffffff20; padding: 24px; border-radius: 18px; }
.event-program-group h4 { font-size: 1rem; color: #ffcb93; margin: 0 0 15px; }
.event-program-group ul { list-style: none; padding: 0; margin: 0; }
.event-program-group li { position: relative; padding-left: 17px; margin-top: 10px; font-size: .92rem; }
.event-program-group li::before { content: '✦'; position: absolute; left: 0; color: #ffcb93; font-size: .7rem; top: 3px; }
.event-program-group small { display: block; font-size: .79rem; color: #eddfed; }
.event-carving-note { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 24px; color: #ffdfba; font-size: .93rem; }
.event-feature-photo { position: relative; }
.event-feature-photo img { width: 100%; height: 425px; object-fit: cover; border-radius: 24px; }
.event-feature-photo figcaption { margin-top: 12px; font-size: .8rem; line-height: 1.5; }
.event-photo-stamp {
  position: absolute;
  top: -22px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 13px 23px;
  border-radius: 16px;
  background: #ffc17b;
  color: #352342;
  font-weight: 900;
  box-shadow: 0 8px 22px #0002;
  transform: rotate(5deg);
}
.event-photo-stamp strong { font-family: var(--display); font-size: 3rem; line-height: 1; }
.event-photo-stamp span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.event-connection { background: radial-gradient(ellipse at 0 30%, #ffe2c8, transparent 75%), #fff0e3; color: var(--ink); }
.event-connection .event-feature-grid { grid-template-columns: 1.1fr .9fr; }
.event-connection .event-status { background: var(--ink); color: white; }
.event-connection h2 { color: var(--ink); font-size: clamp(2.5rem, 4vw, 3.7rem); }
.event-connection .event-feature-photo .event-connection-crop { overflow: hidden; border-radius: 24px 90px 24px 24px; }
.event-connection .event-feature-photo img { height: 410px; border-radius: 0; transform: scale(1.35); transform-origin: 52% 54%; object-position: 52% 54%; }
.event-connection .button { background: var(--ink); color: white; }
.event-connection .button:hover { background: #2b0c38; }
.event-invitation { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.event-invitation span { border: 1px solid var(--ink); border-radius: 100px; padding: 5px 11px; font-size: .82rem; font-weight: 800; }
/* Giant Color by Numbers: videos share a row; photos open in the shared viewer. */
.event-color {
  position: relative;
  background:
    radial-gradient(ellipse at 8% 12%, #f8dce899, transparent 45%),
    radial-gradient(ellipse at 95% 18%, #e7ddf7b3, transparent 48%),
    radial-gradient(ellipse at 40% 50%, #fff0c299, transparent 55%),
    radial-gradient(ellipse at 8% 85%, #ffe1c9b3, transparent 46%),
    radial-gradient(ellipse at 90% 90%, #dceafb99, transparent 50%),
    #fffaf3;
  color: var(--event-plum);
}
.event-color::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, #e799af 0% 20%, #ffc17b 20% 40%, #e2c96d 40% 60%, #79b9af 60% 80%, #a59acb 80%);
}
.event-color-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 62px; align-items: center; }
.event-color .event-status { background: #175958; color: white; }
.event-color h2 { color: #175958; font-size: clamp(2.5rem, 4vw, 3.7rem); }
.event-color-next { padding: 32px; background: #fffaf3; border: 1px solid #c4dcd3; border-radius: 24px 60px 24px 24px; box-shadow: 0 10px 30px #1759580a; }
.event-color-next .event-kicker { color: #175958; }
.event-color-next h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; }
.event-color-next .event-date { color: #175958; margin-block: 16px 8px; }
.event-color-next .actions { margin-top: 23px; }
.event-color .button { background: #175958; color: white; }
.event-color .button:hover { background: #104240; }
.event-color-history { margin-top: 25px; padding-top: 20px; border-top: 1px solid #dfded5; font-size: .9rem; line-height: 1.8; }
.event-color-media { margin-top: 45px; }
.event-color-media > h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2rem); color: #175958; }
.event-color-videos { margin-top: 22px; gap: 26px; }
.event-color-videos .festival-video { background: #fffaf3; border-color: #c4dcd3; }
.event-color-videos h4 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; }
.event-color-videos .video-meta { color: #175958; }
.event-color-gallery-note { margin-top: 10px; font-size: .95rem; }
.event-color-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin-top: 22px; }
.event-color-photo { min-width: 0; }
.event-color-photo > a { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #175958; }
.event-color-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.event-color-photo > a:hover img { filter: brightness(1.07); }
.event-color-zoom { position: absolute; right: 8px; bottom: 8px; background: #fffaf3f2; color: #175958; border-radius: 6px; padding: 4px 8px; font-size: .72rem; font-weight: 900; }
.event-color-photo figcaption { margin-top: 10px; font-size: .83rem; line-height: 1.5; }
@media (max-width: 1100px) {
  .event-color-heading { gap: 35px; }
  .event-color-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .event-color-heading { grid-template-columns: 1fr; gap: 28px; }
  .event-color-next { padding: 26px; }
  .event-color-media { margin-top: 32px; }
  .event-color-videos { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .event-color-gallery { grid-template-columns: 1fr; gap: 22px; }
}

.event-past { padding-block: 90px; background: #fffaf3; }
.event-history-heading { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: end; margin-bottom: 34px; }
.event-history-heading h2 { max-width: 15ch; }
.event-history-heading .event-kicker { color: #925035; }
.event-history-heading > p { color: #68546b; font-size: 1.06rem; }
.event-history-ribbon { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 35px; color: #69506b; font-size: .88rem; font-weight: 800; }
.event-history-ribbon span::before { content: '✦'; color: #9b4972; margin-right: 9px; }
.event-summer {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: #fce6bd;
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 32px;
}
.event-summer-image { position: relative; min-height: 400px; }
.event-summer-image img { width: 100%; height: 100%; object-fit: cover; }
.event-summer-image figcaption { position: absolute; bottom: 15px; left: 18px; right: 18px; width: fit-content; padding: 7px 13px; border-radius: 7px; background: #fffaf3f2; color: #352342; font-size: .78rem; }
.event-summer-copy { padding: 42px; align-self: center; }
.event-summer-copy h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; }
.event-summer-copy p:not(.event-card-date) { margin-top: 17px; }
.event-summer-copy .text-link { margin-top: 24px; display: inline-flex; }
.event-card-date { font-size: .79rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; color: #684334; }
.event-summer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.event-summer-tags span { font-size: .78rem; font-weight: 800; background: #fffaf380; border-radius: 100px; padding: 5px 10px; }
.event-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.event-card { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #f0e7f7; border: 1px solid #eadfda; }
.event-card:nth-child(3n + 2) { background: #e3eee7; }
.event-card:nth-child(3n) { background: #ffe8d7; }
.event-card figure { background: #fffaf3; }
.event-card figure > a { display: block; aspect-ratio: 2.05; overflow: hidden; }
.event-card img { width: 100%; height: 100%; aspect-ratio: 2.05; object-fit: cover; transition: filter .2s; }
.event-card a:hover img { filter: brightness(1.07); }
.event-card-copy { padding: 24px; flex: 1; }
.event-card h3 { font-size: 1.4rem; color: #352342; }
.event-card-copy > p:not(.event-card-date) { font-size: .96rem; line-height: 1.65; margin-top: 13px; }
.event-card-copy .event-card-date { color: #6a4465; }
.event-card-copy .text-link { display: inline-flex; margin-top: 18px; font-size: .9rem; }
.event-history-note { background: #eee7f4; border-left: 4px solid #92507c; padding: 24px 28px; border-radius: 0 16px 16px 0; margin-top: 32px; }
.event-history-note h3 { font-size: 1.12rem; }
.event-history-note p { margin-top: 9px; font-size: .95rem; max-width: 95ch; }
.event-join { background: #eee4f4; padding-top: 65px; }
.event-join-portrait { position: relative; margin-top: 32px; }
.event-join-portrait::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 16%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #eee4f4 0%, #eee4f400 100%);
}
.event-join-grid { display: block; }
.event-join-copy { max-width: 780px; margin-inline: auto; text-align: center; }
.event-join h2 { max-width: 26ch; margin-inline: auto; }
.event-join p { margin: 20px auto 0; }
.event-join .event-kicker { margin: 0 auto 18px; }
.events-page .event-join .actions { margin-top: 25px; justify-content: center; align-items: center; }
.event-join .event-join-background { display: block; width: 100%; height: auto; max-width: none; border-radius: 0; }
.events-page main :focus-visible { outline-color: #8c3d72; }
.events-page .event-fall :focus-visible { outline-color: #ffdfae; }
@media (min-width: 1500px) { .events-hero-grid { gap: 80px; } }
@media (max-width: 1100px) {
  .events-hero-grid, .event-feature-grid, .event-connection .event-feature-grid { gap: 35px; }
  .event-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-summer-copy { padding: 30px; }
}
@media (max-width: 760px) {
  .events-hero { padding-top: 38px; }
  .events-hero-grid, .event-feature-grid, .event-connection .event-feature-grid, .event-history-heading, .event-summer, .event-join-grid { grid-template-columns: 1fr; gap: 32px; }
  .events-hero-grid { padding-bottom: 40px; }
  .events-hero h1 { max-width: 13ch; }
  .event-hero-photo { margin: 10px 4px 6px; }
  .event-hero-photo > img { height: 330px; border-radius: 60px 20px 60px 20px; }
  .event-hero-photo figcaption { left: -4px; padding: 10px 16px; font-size: .86rem; }
  .event-flower { width: 72px; height: 72px; top: -22px; right: -10px; }
  .events-jump .container { gap: 7px 20px; padding-block: 13px; }
  .events-jump a { font-size: .83rem; }
  .event-feature { padding-block: 48px; }
  .event-program-grid { grid-template-columns: 1fr; gap: 15px; }
  .event-program-group { padding: 22px; }
  .event-fall-program { margin-top: 30px; }
  .event-feature-photo img, .event-connection .event-feature-photo img { height: 300px; }
  .event-connection .event-feature-copy { order: -1; }
  .event-fall .event-feature-photo { margin-top: 16px; }
  .event-history-heading { gap: 21px; }
  .event-past { padding-block: 52px; }
  .event-history-ribbon { gap: 9px 20px; }
  .event-summer { gap: 0; }
  .event-summer-image { min-height: 0; height: 290px; }
  .event-summer-copy { padding: 27px; }
  .event-archive-grid { gap: 20px; }
  .event-card-copy { padding: 22px; }
  .event-card h3 { font-size: 1.3rem; }
  .event-history-note { padding: 22px; }
  .event-join { padding-top: 45px; }
  .event-join-portrait { margin-top: 25px; }
}
@media (max-width: 560px) {
  .event-archive-grid { grid-template-columns: 1fr; }
  .event-feature-photo img, .event-connection .event-feature-photo img { height: 245px; }
  .event-hero-photo > img { height: 280px; }
  .event-date { font-size: 1.15rem; }
  .events-page .actions { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .event-card img { transition: none; } }
