/* Wedding celebrations — midnight indigo and saffron */
#schedule {
  --schedule-ink: #192944;
  --schedule-ink-soft: #304362;
  --schedule-saffron: #f2ae68;
  --schedule-cream: #fffaf1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
  background: radial-gradient(circle at 11% 19%, rgba(242, 174, 104, .2) 0 2px, transparent 3px), radial-gradient(circle at 86% 76%, rgba(255, 250, 241, .14) 0 1px, transparent 2px), radial-gradient(ellipse at 50% -20%, #3b5277 0%, transparent 53%), linear-gradient(145deg, #14233b 0%, #1f3152 57%, #162641 100%);
  background-size: 82px 82px, 118px 118px, auto, auto;
}
#schedule::before { content: ''; position: absolute; z-index: -1; width: min(47vw, 560px); height: min(47vw, 560px); right: -17vw; top: -18vw; border: 1px solid rgba(242, 174, 104, .28); border-radius: 50%; opacity: 1; animation: schedule-orbit 18s ease-in-out infinite; }
#schedule::after { content: ''; position: absolute; z-index: -1; width: min(35vw, 390px); height: min(35vw, 390px); left: -13vw; bottom: -16vw; border: 1px solid rgba(229, 237, 244, .2); border-radius: 50%; opacity: 1; }
#schedule .schedule__bg, #schedule .schedule__intro-gif, #schedule .sched__turtle, #schedule .sched__star, #schedule .schedule__corner { display: none; }
#schedule .schedule__frame { position: relative; z-index: 1; width: min(100%, 1120px); max-width: 1120px; margin: 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; opacity: 1; transform: none; }
#schedule .schedule__title { width: 100%; color: var(--schedule-cream); font-family: var(--font-script); font-size: clamp(2.35rem, 8vw, 6.25rem); font-weight: 400; line-height: .92; margin: 0 0 .9rem; text-shadow: 0 8px 24px rgba(4, 12, 27, .28); white-space: nowrap; }
#schedule .schedule__subtitle { width: 100%; max-width: none; margin: 0 auto clamp(2.7rem, 5vw, 4.25rem); color: #f7c994; font-family: var(--font-body); font-size: clamp(.48rem, 1.4vw, .94rem); font-weight: 700; letter-spacing: clamp(.04em, .18vw, .18em); line-height: 1.35; text-transform: uppercase; white-space: nowrap; }
#schedule .schedule__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; text-align: left; }
#schedule .schedule__item { position: relative; display: grid; grid-template-columns: minmax(6.2rem, .72fr) 2.8rem minmax(0, 1.3fr); gap: clamp(.7rem, 1.5vw, 1.15rem); align-items: start; min-height: 8.35rem; padding: clamp(1.2rem, 2.4vw, 1.65rem); overflow: hidden; border: 1px solid rgba(229, 237, 244, .24); border-radius: 14px; background: rgba(255, 250, 241, .97); box-shadow: 0 13px 24px rgba(5, 15, 33, .18); transform: translateY(0); transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease, border-color .45s ease, background-color .45s ease; }
#schedule .schedule__item::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--schedule-saffron); transform: scaleY(.24); transform-origin: center; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
#schedule .schedule__item::after { content: ''; position: absolute; right: 1.25rem; top: 1.25rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--schedule-saffron); box-shadow: 0 0 0 5px rgba(242, 174, 104, .16); transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease; }
#schedule .schedule__time { display: block; color: #9b522f; font-family: var(--font-body); font-size: clamp(.72rem, 1.2vw, .84rem); font-weight: 800; letter-spacing: .07em; line-height: 1.45; }
#schedule .schedule__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-top: -.35rem; border-radius: 50%; color: #a74e2c; background: #fff0d9; transition: color .35s ease, background-color .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
#schedule .schedule__icon svg { width: 1.7rem; height: 1.7rem; overflow: visible; }
#schedule .schedule__icon svg * { stroke-linecap: round; stroke-linejoin: round; }
#schedule .schedule__event { color: var(--schedule-ink); font-family: var(--font-display); font-size: clamp(1.35rem, 2.25vw, 1.72rem); font-weight: 700; line-height: 1.05; transition: color .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
#schedule .schedule__item > div { min-width: 0; }
#schedule .schedule__event-sub { width: 100%; box-sizing: border-box; margin-top: .7rem; padding: .55rem .7rem; border-left: 4px solid var(--schedule-saffron); border-radius: 0 .55rem .55rem 0; background: rgba(242, 174, 104, .16); color: var(--schedule-ink-soft); font-family: var(--font-body); font-size: clamp(.79rem, 1.25vw, .91rem); line-height: 1.45; text-align: center; }
#schedule .schedule__event-sub strong { color: #8d4528; font-weight: 900; white-space: normal; overflow-wrap: anywhere; }
#schedule .schedule__event-hindi { color: #a15d39; font-family: var(--font-body); font-size: .58em; font-weight: 800; white-space: nowrap; }
#schedule.is-active .schedule__title { animation: schedule-title-in .9s cubic-bezier(.16, 1, .3, 1) both; }
#schedule.is-active .schedule__subtitle { animation: schedule-subtitle-in .8s .14s cubic-bezier(.16, 1, .3, 1) both; }
#schedule.is-active .schedule__item { animation: schedule-card-in .72s cubic-bezier(.16, 1, .3, 1) both; }
#schedule.is-active .schedule__item:nth-child(1) { animation-delay: .12s; } #schedule.is-active .schedule__item:nth-child(2) { animation-delay: .18s; } #schedule.is-active .schedule__item:nth-child(3) { animation-delay: .24s; } #schedule.is-active .schedule__item:nth-child(4) { animation-delay: .3s; } #schedule.is-active .schedule__item:nth-child(5) { animation-delay: .36s; } #schedule.is-active .schedule__item:nth-child(6) { animation-delay: .42s; } #schedule.is-active .schedule__item:nth-child(7) { animation-delay: .48s; } #schedule.is-active .schedule__item:nth-child(8) { animation-delay: .54s; } #schedule.is-active .schedule__item:nth-child(9) { animation-delay: .6s; } #schedule.is-active .schedule__item:nth-child(10) { animation-delay: .66s; } #schedule.is-active .schedule__item:nth-child(11) { animation-delay: .72s; }
@media (hover: hover) and (pointer: fine) { #schedule .schedule__item:hover { z-index: 1; border-color: rgba(242, 174, 104, .85); background: #fff5e5; box-shadow: 0 22px 38px rgba(5, 15, 33, .27); transform: translateY(-7px); } #schedule .schedule__item:hover::before { transform: scaleY(1); } #schedule .schedule__item:hover::after { transform: scale(1.26); box-shadow: 0 0 0 8px rgba(242, 174, 104, .19); } #schedule .schedule__item:hover .schedule__icon { color: #fffaf1; background: #a74e2c; transform: rotate(-8deg) scale(1.08); } #schedule .schedule__item:hover .schedule__event { color: #a74e2c; transform: translateX(4px); } #schedule .schedule__item:focus-within { outline: 3px solid #f7c994; outline-offset: 4px; } }
@keyframes schedule-title-in { from { opacity: 0; transform: translateY(24px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } } @keyframes schedule-subtitle-in { from { opacity: 0; transform: translateY(14px); letter-spacing: .04em; } to { opacity: 1; transform: translateY(0); letter-spacing: .18em; } } @keyframes schedule-card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } } @keyframes schedule-orbit { 50% { transform: translate(-1.5rem, 1rem) scale(1.05); } }
@media (max-width: 760px) { #schedule { padding-inline: 1rem; } #schedule .schedule__items { grid-template-columns: 1fr; } #schedule .schedule__item { min-height: 0; grid-template-columns: minmax(0, 1fr) 2.8rem; } #schedule .schedule__icon { grid-column: 2; grid-row: 1; justify-self: end; box-sizing: border-box; max-width: 100%; } #schedule .schedule__item > div { grid-column: 1 / -1; width: 100%; } #schedule .schedule__event-sub { width: 100%; } }
@media (max-width: 420px) { #schedule .schedule__item { grid-template-columns: 1fr 2.8rem; gap: .6rem; } #schedule .schedule__time { grid-column: 1; } #schedule .schedule__icon { grid-column: 2; grid-row: 1; justify-self: end; } #schedule .schedule__item > div { grid-column: 1 / -1; } #schedule .schedule__item::after { top: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { #schedule *, #schedule::before { animation: none !important; transition: none !important; } }
