/* Inner pages. The page hero (.ph) is shared by every inner page; the rest is the Sponsor page. */

/* Page hero */
.ph { position: relative; overflow: hidden; padding-top: clamp(104px, 17vh, 136px); text-align: center; background: radial-gradient(52% 60% at 84% 12%, #d7ecf9 0%, rgba(215, 236, 249, 0) 72%), radial-gradient(40% 50% at 8% 40%, #e8f3fa 0%, rgba(232, 243, 250, 0) 72%), #fff; }
.ph__dots { position: absolute; top: 0; right: 0; width: min(46vw, 620px); height: auto; opacity: .35; pointer-events: none; }
.ph__wrap { position: relative; }
.ph__title { font-size: clamp(38px, 5vw, 72px); }
.ph__crumbs { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(12px, 2vh, 18px); padding: 7px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); background: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(16, 58, 100, .08), inset 0 0 0 1px var(--line); }
.ph__crumbs li { display: flex; align-items: center; gap: 10px; }
.ph__crumbs li + li::before { content: ''; width: 5px; height: 5px; background: var(--sky); border-radius: 1px; transform: rotate(45deg); }
.ph__crumbs a { color: var(--blue); transition: color .3s; }
.ph__crumbs a:hover { color: var(--sky-text); }
.ph__photo { margin: clamp(20px, 3.4vh, 34px) 0 0; overflow: hidden; background: var(--ice-2); border-radius: 22px; box-shadow: 0 24px 60px rgba(16, 48, 90, .18); }
.ph__photo img { width: 100%; height: auto; }

/* Photo hero for inner pages: real EDEC photos, kept whole */
.rh { position: relative; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(96px, 16vh, 124px) var(--gutter) clamp(20px, 3.4vh, 36px); background: radial-gradient(52% 80% at 88% 18%, #d7ecf9 0%, rgba(215, 236, 249, 0) 72%), radial-gradient(40% 60% at 6% 80%, #e8f3fa 0%, rgba(232, 243, 250, 0) 72%), #fff; }
.rh__text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(12px, 2.2vh, 22px); }
.rh__title { font: 800 min(5.8vw, 12.4vh)/1.2 var(--display); letter-spacing: -.035em; }
.rh__photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; width: min(100%, calc((100vh - 170px) * 1.5 * 1.5)); margin-left: auto; }
.rh__photos figure { margin: 0; overflow: hidden; background: var(--ice-2); border-radius: 16px; box-shadow: 0 16px 36px rgba(16, 48, 90, .16); }
.rh__photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rh__a { grid-row: 1 / span 2; border-radius: 22px !important; }
.rh__b, .rh__c { aspect-ratio: 3 / 2; }
@media (max-width: 960px) {
  .rh { grid-template-columns: minmax(0, 1fr); padding-top: 104px; }
  .rh__text { align-items: center; text-align: center; }
  .rh__title { font-size: clamp(44px, 11vw, 72px); }
  .rh__photos { width: 100%; }
}
@media (max-width: 720px) {
  .rh { gap: 18px; padding-inline: 16px; padding-bottom: 8px; }
  .rh__title { font-size: 46px; }
  .rh__photos { gap: 8px; }
  .rh__photos figure { border-radius: 12px; }
  .rh__a { border-radius: 14px !important; }
}

/* Full-width photo header: the whole photo across the page, as tall as its shape allows without passing the screen */
.ihead { position: relative; height: min(100svh, 50vw); min-height: 460px; overflow: hidden; background: #0a2650; }
.ihead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.ihead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 24, 54, .58) 0%, rgba(6, 24, 54, .24) 30%, rgba(6, 24, 54, 0) 46%); pointer-events: none; }
.ihead__text { position: relative; z-index: 2; padding-top: clamp(112px, 20vh, 190px); }
.ihead__title { max-width: 6em; font-size: clamp(44px, 5.6vw, 88px); color: #fff; text-shadow: 0 2px 26px rgba(4, 16, 38, .4); }
.ihead__text .ph__crumbs { margin-top: clamp(14px, 2.2vh, 24px); }
/* A bright photo: dark title on a soft light wash */
.ihead--light .ihead__title { color: var(--ink); text-shadow: 0 1px 24px rgba(255, 255, 255, .6); }
.ihead--light::after { background: linear-gradient(90deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, 0) 48%); }
@media (max-width: 720px) {
  /* Phones: the title sits low, clear of the subject */
  .ihead { height: 74svh; min-height: 480px; max-height: 620px; }
  .ihead__img { object-position: 50% 50%; }
  .ihead::after { background: linear-gradient(0deg, rgba(6, 24, 54, .82) 0%, rgba(6, 24, 54, .42) 30%, rgba(6, 24, 54, 0) 56%); }
  .ihead__text { position: absolute; left: 0; right: 0; bottom: 22px; padding-top: 0; text-align: center; }
  .ihead__title { max-width: none; font-size: 44px; }
  .ihead--light .ihead__img { object-position: 62% 50%; }
  .ihead--light::after { background: linear-gradient(0deg, rgba(6, 24, 54, .82) 0%, rgba(6, 24, 54, .42) 30%, rgba(6, 24, 54, 0) 56%); }
  .ihead--light .ihead__title { color: #fff; text-shadow: 0 2px 26px rgba(4, 16, 38, .4); }
}

/* Brochure and contact */
.spb { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.spb__title { text-align: center; }
.bk { margin-top: clamp(24px, 3vw, 44px); scroll-margin-top: 96px; }
.bk__stage { position: relative; }
.bk__stage:not(.is-ready) { aspect-ratio: 100 / 41; }
.bk__page { width: 52%; margin: 0 auto; }
.bk__page + .bk__page { display: none; }
.bk__page img { width: 100%; height: auto; border-radius: 14px; }
.bk__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(18px, 2.2vw, 30px); }
.bk__ctrl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bk__nav { flex: none; display: grid; place-items: center; width: 46px; height: 46px; font-size: 18px; color: var(--blue-deep); background: #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(16, 58, 100, .14), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), color .3s, background .3s; }
.bk__nav:hover { color: #fff; background: var(--blue); transform: scale(1.06); }
.bk__thumbs { display: flex; gap: 8px; min-width: 0; }
.bk__thumbs button { flex: 0 1 clamp(50px, 6.4vw, 84px); min-width: 0; overflow: hidden; aspect-ratio: 1920 / 1357; background: var(--ice-2); border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bk__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .66; transition: opacity .6s ease; }
.bk__thumbs button:hover img, .bk__thumbs [aria-current='true'] img { opacity: 1; }
.bk__thumbs button:hover { transform: translateY(-2px); }
.bk__thumbs [aria-current='true'] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sky), 0 8px 18px rgba(41, 171, 226, .28); }
.bk__dl { flex: none; }

/* Flipbook: pages gliding in a 3D row */
.cfb { position: relative; overflow: hidden; padding-top: 41%; perspective: 1900px; background: radial-gradient(46% 70% at 50% 50%, #d9eefa 0%, rgba(217, 238, 250, 0) 100%); }
.cfb__s { position: absolute; left: 24%; top: 2.5%; width: 52%; margin: 0; padding: 0; overflow: hidden; aspect-ratio: 1920 / 1357; background: #fff; border-radius: 14px; box-shadow: 0 22px 50px rgba(16, 48, 90, .24); transition: transform 1.4s cubic-bezier(.45, .05, .25, 1), opacity 1.4s ease; }
.cfb__s img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scontact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: clamp(44px, 6vw, 84px); overflow: hidden; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(16, 48, 90, .14); }
.scontact__photo { margin: 0; }
.scontact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.scontact__card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3.4vw, 52px); overflow: hidden; color: #fff; background: linear-gradient(145deg, #0a2650 0%, #123f7a 60%, #1e7fc4 100%); }
.scontact__dots { position: absolute; right: 0; bottom: 0; width: 80%; height: auto; opacity: .16; pointer-events: none; }
.scontact__card > * { position: relative; }
.scontact__card > .scontact__dots { position: absolute; }
.scontact__card h4 { margin: 0 0 clamp(18px, 2.4vw, 30px); font: 600 clamp(19px, 1.7vw, 24px)/1.32 var(--display); letter-spacing: -.012em; }
.scontact__card h5 { margin: 0; font: 700 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.01em; color: #9bdcf7; }
.scontact__card h6 { margin: 4px 0 clamp(16px, 2vw, 24px); font-size: 14.5px; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.scontact__card p { margin: 8px 0 0; }
.scontact__card p a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; font-size: 15.5px; font-weight: 500; transition: color .3s; }
.scontact__card p a span { min-width: 0; overflow-wrap: anywhere; }
.scontact__card p a .ico { box-sizing: content-box; width: 16px; height: 16px; padding: 9px; background: rgba(255, 255, 255, .14); border-radius: 50%; transition: background .4s, transform .5s var(--ease); }
.scontact__card p a:hover { color: #9bdcf7; }
.scontact__card p a:hover .ico { background: rgba(155, 220, 247, .3); transform: scale(1.06); }

/* Sponsor directory */
.dir { padding-block: clamp(32px, 4vw, 64px) clamp(64px, 8vw, 120px); background: linear-gradient(180deg, #fff 0%, #f2f8fc 12%, #f2f8fc 100%); }
.dir__grid { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.dirnav { position: sticky; top: 100px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(16, 58, 100, .08); }
.dirnav__a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2); text-transform: capitalize; border-radius: 12px; transition: background .5s ease, color .5s ease, padding .5s var(--ease); }
.dirnav__a i, .tier__name i { flex: none; width: 9px; height: 9px; background: var(--c); border-radius: 2px; transform: rotate(45deg); }
.dirnav__a:hover { color: var(--blue); padding-left: 16px; }
.dirnav__a.is-on { color: var(--blue-deep); background: var(--ice); }
.dirnav__a--diamond, .tier--diamond { --c: #29abe2; }
.dirnav__a--platinum, .tier--platinum { --c: #8a9db0; }
.dirnav__a--gold, .tier--gold { --c: #d8a827; }
.dirnav__a--silver, .tier--silver { --c: #b1bdc8; }
.dirnav__a--bronze, .tier--bronze { --c: #c98a54; }
.dirnav__a--support, .tier--support { --c: #5b8fd6; }
.dirnav__a--exhibitors, .tier--exhibitors { --c: #1f5191; }
.tier + .tier { margin-top: clamp(36px, 4.4vw, 60px); }
.tier__name { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 700 clamp(23px, 2.2vw, 30px)/1.2 var(--display); letter-spacing: -.018em; text-transform: capitalize; }
.tier__name i { width: 12px; height: 12px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); margin-inline: 5px 3px; }
.tier__name::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--mist), transparent); }
.spc { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: clamp(20px, 2.4vw, 34px); padding: clamp(18px, 2vw, 26px); background: #fff; border-radius: 18px; box-shadow: 0 8px 26px rgba(16, 58, 100, .07); }
.spc + .spc, .spc-logos + .spc { margin-top: 14px; }
.spc__logo { display: grid; place-items: center; align-self: start; aspect-ratio: 16 / 9; padding: 6px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.spc__logo img { width: 100%; height: auto; }
.spc__logo:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--c), 0 14px 30px rgba(16, 58, 100, .12); }
.spc-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spc-logos .spc__logo { background: #fff; box-shadow: 0 8px 26px rgba(16, 58, 100, .07); }
.spc-logos .spc__logo img { width: min(100%, 210px); }
.spc__text { position: relative; overflow: hidden; font-size: 15.5px; line-height: 1.68; color: var(--ink-2); transition: max-height .9s cubic-bezier(.4, 0, .2, 1); }
.spc__text p { margin: 0; }
.spc__text p + p, .spc__text ul { margin-top: 10px; }
.spc__text b { font-weight: 700; color: var(--ink); }
.spc__text ul { display: grid; gap: 5px; }
.spc__text li { position: relative; padding-left: 18px; }
.spc__text li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--sky); border-radius: 1.5px; transform: rotate(45deg); }
.spc__text a { font-weight: 500; color: var(--blue); text-decoration: underline; text-decoration-color: rgba(31, 81, 145, .3); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.spc__text a:hover { color: var(--sky-text); text-decoration-color: currentColor; }
.spc__text.is-folded { max-height: 232px; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.spc__more { display: grid; place-items: center; width: 40px; height: 40px; margin: 8px auto 0; font-size: 16px; color: var(--blue); background: var(--ice); border-radius: 50%; transition: background .4s, color .4s, transform .7s var(--ease); }
.spc__more:hover { color: #fff; background: var(--blue); }
.spc__more[aria-expanded='true'] { transform: rotate(135deg); }

/* Brochure form */
.mdl { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.mdl[hidden] { display: none; }
.mdl__bg { position: fixed; inset: 0; background: rgba(8, 28, 58, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .6s ease; }
.mdl__panel { position: relative; width: min(100%, 720px); padding: clamp(22px, 3vw, 38px); background: #fff; border-radius: 24px; box-shadow: 0 40px 100px rgba(8, 28, 58, .4); opacity: 0; transform: translate3d(0, 26px, 0) scale(.975); transition: opacity .6s ease, transform .85s cubic-bezier(.16, 1, .3, 1); }
.mdl.is-open .mdl__bg { opacity: 1; }
.mdl.is-open .mdl__panel { opacity: 1; transform: none; }
.mdl__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mdl__head h5 { margin: 0; font: 700 clamp(21px, 2vw, 27px)/1.2 var(--display); letter-spacing: -.018em; }
.mdl__head button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; font-size: 18px; color: var(--ink); background: var(--ice); border-radius: 50%; transition: transform .6s var(--ease), background .3s; }
.mdl__head button:hover { background: var(--ice-2); transform: rotate(90deg); }
.mdl__lead { margin: 8px 0 22px; font-size: 15.5px; color: var(--ink-2); }
.mdl__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mdl__form input { width: 100%; height: 52px; padding-inline: 18px; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--ice); border: 0; border-radius: 14px; outline: 0; box-shadow: inset 0 0 0 1px transparent; transition: background .3s, box-shadow .3s; }
.mdl__form input::placeholder { color: var(--ink-3); }
.mdl__form input:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.mdl__captcha { min-height: 78px; }
.mdl__preview { display: flex; align-items: center; justify-content: center; height: 78px; padding-inline: 14px; font-size: 13px; line-height: 1.35; text-align: center; color: var(--ink-3); border: 1px dashed var(--silver); border-radius: 14px; }
.mdl__foot { display: flex; align-items: center; justify-content: flex-end; }
.mdl__form .error { margin-top: 6px; font-size: 13px; font-weight: 500; color: #b3261e; }
.mdl__note { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.mdl__ok { margin: 8px 0 4px; padding: 20px; font-size: 16px; text-align: center; color: var(--blue-deep); background: var(--ice); border-radius: 16px; }

@media (max-width: 1100px) {
  .dir__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dirnav { position: static; padding: 0; background: none; box-shadow: none; }
  .dirnav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .dirnav__a { padding: 8px 14px; font-size: 13.5px; background: #fff; border-radius: 999px; box-shadow: 0 4px 14px rgba(16, 58, 100, .08); }
  .dirnav__a:hover { padding-left: 14px; }
}
@media (max-width: 960px) {
  .scontact { grid-template-columns: minmax(0, 1fr); }
  .scontact__photo img { height: auto; }
}
@media (max-width: 720px) {
  .ph { padding-top: 96px; }
  .bk__bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .bk__nav { display: none; }
  .bk__thumbs { width: 100%; }
  .bk__thumbs button { flex: 1 1 0; }
  .bk__dl { width: 100%; }
  .bk__stage:not(.is-ready) { aspect-ratio: 100 / 66; }
  .bk__page { width: 76%; }
  .cfb { padding-top: 66%; }
  .cfb__s { left: 12%; width: 76%; }
  .ph__title { font-size: 38px; text-wrap: balance; }
  .ph__crumbs { font-size: 13px; padding: 6px 14px; }
  .ph__photo { border-radius: 14px; }
  .spb__title { font-size: 30px; text-wrap: balance; }
  .scontact { border-radius: 18px; }
  .spc { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  .spc__logo { width: min(100%, 190px); margin-inline: auto; }
  .spc-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .spc-logos .spc__logo { width: 100%; }
  .tier__name { font-size: 22px; }
  .spc__text { font-size: 15px; }
  .mdl { align-items: end; padding: 10px; }
  .mdl__form { grid-template-columns: minmax(0, 1fr); }
  .mdl__foot .btnx { width: 100%; }
  .g-recaptcha { transform-origin: left top; }
}
@media (prefers-reduced-motion: reduce) {
  .spc__text, .mdl__bg, .mdl__panel { transition: none; }
}
