:root {
  --ink: #1f2054;
  --muted: #667078;
  --cream: #f8f5f1;
  --paper: #fffdfa;
  --red: #d91654;
  --red2: #eb1675;
  --green: #292464;
  --gold: #f5a619;
  --line: #e8e3e5;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(41, 36, 100, .13);
}

body {
  background: var(--paper);
  background-image: radial-gradient(circle at 8% 18%, rgba(245, 166, 25, .055), transparent 22%), radial-gradient(circle at 94% 32%, rgba(235, 22, 117, .045), transparent 20%);
}

.site-header {
  height: 92px;
  border-top: 3px solid var(--green);
  border-bottom-color: rgba(41, 36, 100, .08);
  box-shadow: 0 8px 30px rgba(41, 36, 100, .035);
}

.nav-wrap { max-width: 1240px; }
.brand-logo { width: 150px; height: 72px; clip-path: inset(0 0 13% 0); transform: translateY(5px); }
.nav-links { gap: 30px; }
.nav-links a { position: relative; color: #202229; font-size: .8rem; }
.nav-links a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -12px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--red2)); transition: .25s; }
.nav-links a:hover::after, .nav-links a.active::after { left: 0; right: 0; }
.nav-links a.active { color: var(--red); }
.nav-cta { background: linear-gradient(135deg, #bd1542, var(--red2)); box-shadow: 0 9px 22px rgba(217, 22, 84, .2); }

.text-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 7px 8px 7px 21px;
  border: 1px solid rgba(41, 36, 100, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--green);
  line-height: 1;
  box-shadow: 0 7px 24px rgba(41, 36, 100, .055);
  transition: color .25s, border-color .25s, box-shadow .25s, transform .25s;
}

.text-link span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  transition: background .25s, transform .25s;
}

.text-link:hover {
  color: var(--red);
  border-color: rgba(217, 22, 84, .35);
  box-shadow: 0 12px 28px rgba(41, 36, 100, .1);
  transform: translateY(-2px);
}

.text-link:hover span { background: var(--red); transform: rotate(45deg); }
.text-link:focus-visible { outline: 3px solid rgba(245, 166, 25, .45); outline-offset: 3px; }

.client-carousel {
  width: min(1360px, calc(100% - 48px));
  margin: 24px auto 0;
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(41, 36, 100, .12);
}

.hero { min-height: 650px; margin-top: 24px; border-radius: 36px 36px 0 0; background: linear-gradient(135deg, #fbf7f2 0%, #f9f3f4 50%, #f2eff8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(41, 36, 100, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 36, 100, .035) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 64%); }
.eyebrow, .section-kicker { color: var(--red); }
.eyebrow span { background: linear-gradient(90deg, var(--gold), var(--red)); }
h1 { color: var(--green); }
h1 em { background: linear-gradient(90deg, var(--red), var(--red2)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.event-card { border: 1px solid rgba(41, 36, 100, .09); background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px); box-shadow: 0 28px 80px rgba(41, 36, 100, .15); }
.event-card::before { content: ""; display: block; width: 42px; height: 5px; margin-bottom: 24px; border-radius: 9px; background: linear-gradient(90deg, var(--gold), var(--red2)); }
.date-lockup strong { color: var(--green); }
.hero-ribbon { background: linear-gradient(90deg, var(--green), #3e337a, var(--red)); }

.intro { padding-top: 130px; }
.intro-grid { grid-template-columns: 370px 1fr; gap: clamp(64px, 7vw, 110px); align-items: center; }
.portrait-card { min-height: 222px; height: auto; display: grid; grid-template-columns: 132px 1fr; gap: 22px; align-items: center; padding: 28px; border-radius: 26px; background: linear-gradient(145deg, #322c70 0%, #211d50 100%); overflow: hidden; box-shadow: 0 22px 55px rgba(41, 36, 100, .17); isolation: isolate; }
.portrait-card::before { content: ""; position: absolute; width: 180px; height: 180px; left: -92px; bottom: -110px; border: 30px solid rgba(245, 166, 25, .1); border-radius: 50%; }
.portrait-card::after { content: ""; position: absolute; width: 150px; height: 150px; top: -92px; right: -74px; border: 28px solid rgba(235, 22, 117, .15); border-radius: 50%; }
.portrait-media { position: relative; inset: auto; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(145deg, #fff, #f3edef); overflow: hidden; }
.portrait-media::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(235, 22, 117, .08)); }
.portrait-media img { position: relative; z-index: 2; width: 128px; height: 128px; object-fit: contain; image-rendering: auto; transform: translateY(3px); }
.portrait-ring { position: absolute; width: 118px; height: 118px; border-radius: 50%; border: 1px solid rgba(217, 22, 84, .16); }
.portrait-dot { position: absolute; z-index: 3; border-radius: 50%; background: linear-gradient(145deg, var(--red2), #f35b52); box-shadow: inset -3px -3px 6px rgba(100, 0, 25, .16); }
.portrait-dot.dot-a { width: 10px; height: 10px; top: 11px; right: 12px; }
.portrait-dot.dot-b { width: 7px; height: 7px; left: 11px; bottom: 13px; background: var(--gold); }
.portrait-caption { position: relative; z-index: 2; width: auto; padding: 0; background: none; }
.portrait-caption span { color: #f6b4ce; }
.portrait-caption strong { font-size: 1.05rem; line-height: 1.3; }
.portrait-caption small { color: rgba(255, 255, 255, .7); }
.intro-copy h2 { color: #192626; max-width: 720px; }
.intro-copy .lead { color: #5d6969; font-size: 1.28rem; }
.intro-copy > p, .more-message p { max-width: 720px; }
.message-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 27px 0 25px; }
.message-topics span { padding: 8px 13px; border: 1px solid rgba(41, 36, 100, .12); border-radius: 999px; background: #fff; color: var(--green); font-size: .72rem; font-weight: 700; box-shadow: 0 4px 14px rgba(41, 36, 100, .04); }
.read-more { color: var(--green); border-bottom-color: var(--red); }

.organiser-videos { background: linear-gradient(180deg, #fff, #f8f6f4); }
.video-grid iframe { box-shadow: 0 18px 50px rgba(41, 36, 100, .13); }
.committee { position: relative; background: linear-gradient(145deg, #211d52 0%, #332a76 75%, #4a246d 100%); overflow: hidden; }
.committee::after { content: ""; position: absolute; width: 540px; height: 540px; right: -220px; top: -180px; border: 80px solid rgba(235, 22, 117, .09); border-radius: 50%; }
.committee .container { position: relative; z-index: 1; }
.person { background: rgba(255, 255, 255, .075); border-color: rgba(255, 255, 255, .13); transition: transform .25s, background .25s, border-color .25s; }
.person:hover { transform: translateY(-7px); background: rgba(255, 255, 255, .11); border-color: rgba(245, 166, 25, .4); }
.avatar { width: 86px; height: 86px; padding: 4px; border-color: rgba(255, 255, 255, .2); background: #fff; }
.person span { color: #f5b4d0; }

.agenda { background: linear-gradient(180deg, #f7f3ef, #fff); }
.agenda-card { position: relative; overflow: hidden; border-color: rgba(41, 36, 100, .1); }
.agenda-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--gold), var(--red2)); transform: scaleY(0); transition: .25s; }
.agenda-card:hover::before { transform: scaleY(1); }
.day { background: linear-gradient(145deg, #fff0f5, #f7e5ef); color: var(--red); }
.faculty-list span { border-color: rgba(41, 36, 100, .1); transition: .2s; }
.faculty-list span:hover { color: var(--red); border-color: rgba(217, 22, 84, .32); transform: translateY(-2px); }
.venue {
  color: var(--green);
  background:
    radial-gradient(circle at 82% 28%, rgba(90, 153, 165, .13), transparent 28%),
    linear-gradient(135deg, #eef5f4 0%, #f7faf8 52%, #edf1f7 100%);
  border-top: 1px solid rgba(41, 36, 100, .08);
  border-bottom: 1px solid rgba(41, 36, 100, .08);
}
.venue .section-kicker.light { color: #3f7f89; }
.venue-copy h2 { color: var(--green); }
.venue-copy p { color: #617175; }
.venue .button-light { color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(41, 36, 100, .16); }
.venue .button-light:hover { background: #39347a; }
.venue-art {
  color: var(--green);
  border-color: rgba(41, 36, 100, .16);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .88), rgba(255, 255, 255, .3) 54%, transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, .55), rgba(218, 233, 234, .5));
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, .28), 0 24px 60px rgba(41, 36, 100, .08);
}
.venue-art::after { background: rgba(41, 36, 100, .14); }
.venue-art span { color: #4b7c84; }
.venue-map {
  min-height: 410px;
  padding: 10px;
  border: 1px solid rgba(41, 36, 100, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 24px 60px rgba(41, 36, 100, .1);
  overflow: hidden;
}
.venue-map iframe { display: block; width: 100%; height: 390px; border: 0; border-radius: 19px; filter: saturate(.78) contrast(.96); }
.enroll { background: linear-gradient(145deg, #f6f1ed, #f5f1f7); }
.enroll-form { border: 1px solid rgba(41, 36, 100, .08); box-shadow: 0 26px 75px rgba(41, 36, 100, .11); }
.field input, .field select { background: #fff; border-color: #ddd9df; }
.submit-button { background: linear-gradient(90deg, #bd1542, var(--red2)); box-shadow: 0 12px 25px rgba(217, 22, 84, .2); }
.enroll-cta { padding: 74px 0; background: linear-gradient(120deg, #211d52, #332a76); color: #fff; }
.enroll-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.enroll-cta h2 { margin: 0 0 8px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.enroll-cta p { margin: 0; color: rgba(255, 255, 255, .7); }
.enroll-cta .section-kicker { margin-bottom: 12px; }
.enroll-modal { width: min(780px, calc(100% - 30px)); max-height: calc(100dvh - 36px); margin: auto; padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 35px 100px rgba(20, 17, 55, .3); overflow: hidden; }
.enroll-modal::backdrop { background: rgba(16, 15, 39, .68); backdrop-filter: blur(8px); }
.enroll-modal[open] { animation: modal-in .25s ease-out; }
.modal-shell { max-height: calc(100dvh - 36px); padding: 38px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(41, 36, 100, .25) transparent; }
.modal-shell::-webkit-scrollbar { width: 6px; }
.modal-shell::-webkit-scrollbar-track { background: transparent; margin-block: 20px; }
.modal-shell::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(41, 36, 100, .23); }
.modal-shell::-webkit-scrollbar-thumb:hover { background: rgba(217, 22, 84, .55); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.modal-header h2 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.35rem); }
.modal-header p { margin: 0; color: var(--muted); }
.modal-header .section-kicker { margin-bottom: 10px; }
.modal-close { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; background: #f8f6f4; color: var(--green); font: 300 1.8rem/1 sans-serif; cursor: pointer; transition: .2s; }
.modal-close:hover { color: #fff; border-color: var(--red); background: var(--red); transform: rotate(8deg); }
.enroll-modal .enroll-form { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.modal-privacy { display: flex; justify-content: center; gap: 8px; margin-top: 17px; color: var(--muted); font-size: .72rem; }
.modal-privacy span { color: #278061; }
body.modal-open { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
footer { background: #17143d; }

@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; }
  .portrait-card { width: min(370px, 100%); margin-inline: auto; }
  .site-header { height: 84px; }
  .nav-links { inset: 84px 0 auto; }
}

@media (max-width: 680px) {
  .site-header { border-top-width: 2px; }
  .brand-logo { width: 120px; }
  .client-carousel { width: calc(100% - 20px); margin-top: 10px; border-radius: 12px; }
  .hero { margin-top: 10px; border-radius: 22px 22px 0 0; }
  .intro { padding-top: 85px; }
  .portrait-card { min-height: 208px; padding: 24px; grid-template-columns: 124px 1fr; gap: 18px; }
  .portrait-media { width: 124px; height: 124px; }
  .portrait-media img { width: 120px; height: 120px; }
  .message-topics { margin-top: 22px; }
  .venue-map { min-height: 330px; padding: 7px; border-radius: 20px; }
  .venue-map iframe { height: 315px; border-radius: 14px; }
  .enroll-cta { padding: 58px 0; }
  .enroll-cta-inner { align-items: flex-start; flex-direction: column; }
  .modal-shell { padding: 25px 18px; }
  .modal-header { gap: 14px; margin-bottom: 22px; }
  .enroll-modal { width: calc(100% - 18px); max-height: calc(100dvh - 18px); border-radius: 20px; }
  .modal-shell { max-height: calc(100dvh - 18px); }
}

@media (max-width: 420px) {
  .portrait-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px; }
  .portrait-caption span, .portrait-caption small { text-align: center; }
}
