.mec-page { --mec-muted: #e0d1c8; color: var(--brown); font-size: 18px; }
.mec-page h1, .mec-page h2, .mec-more-gallery h2 { text-transform: uppercase; }
.mec-page h3 { text-transform: none; }
.mec-page h2, .mec-more-gallery h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.12; }
.mec-page h2 em, .mec-more-gallery h2 em { white-space: normal; }
.mec-page p { line-height: 1.75; }
.mec-page :is(a, button):focus-visible, .mec-more-gallery :is(a, button):focus-visible, .mec-lightbox button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.mec-hero { position: relative; isolation: isolate; min-height: 650px; display: flex; align-items: center; color: #fff; background: #1b100b; overflow: hidden; }
.mec-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.mec-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(18 9 5 / .88), rgb(18 9 5 / .42) 65%, rgb(18 9 5 / .12)); }
.mec-hero-copy { padding-block: 100px; }
.mec-hero h1 { max-width: 1000px; margin: 24px 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; }
.mec-hero .eyebrow { border-color: #deaa8f; }
.mec-hero .mec-date { margin: 24px 0 32px; font-size: 20px; color: #fff; }
.mec-date span { display: block; }
.mec-hero .button-light { color: #fff; border-color: #fff; background: transparent; }
.mec-hero .button-light:hover, .mec-hero .button-light:focus-visible { color: var(--brown); background: #fff; }
.mec-celebration { color: #fff; background: var(--brown); }
.mec-intro { max-width: 940px; margin: 0 auto; }
.mec-intro > p { color: var(--mec-muted); }
.mec-countries { padding-top: 12px; font-size: 16px; }
.mec-countries strong { display: block; margin-bottom: 12px; color: #ffab81; }
.mec-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 50px 0 60px; border-block: 1px solid #775143; }
.mec-facts > div { display: flex; flex-direction: column-reverse; justify-content: center; text-align: center; padding: 28px 22px; border-right: 1px solid #775143; }
.mec-facts > div:last-child { border: 0; }
.mec-facts dt { font-size: 16px; color: var(--mec-muted); }
.mec-facts dd { margin: 0; font-family: var(--serif); font-size: clamp(42px, 4vw, 58px); line-height: 1.25; color: var(--orange); }
.mec-film { position: relative; aspect-ratio: 16 / 9; background: #0d0805; scroll-margin-top: 120px; }
.mec-film-play { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center; padding: 20px; color: #fff; }
.mec-film-play::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }
.mec-film-play > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mec-play-icon { z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; padding-left: 5px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 25px; transition: background .2s, transform .2s; }
.mec-film-play:hover .mec-play-icon { transform: scale(1.08); background: #bd3f0b; }
.mec-film-label { z-index: 1; }
.mec-film-label strong { display: block; font-size: 22px; }
.mec-film-label small { display: block; margin-top: 6px; font-size: 14px; }
.mec-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mec-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 88px 0 38px; scroll-margin-top: 120px; }
.mec-gallery-heading > div { min-width: 0; max-width: min(790px, 100%); }
.mec-gallery-heading p { color: var(--mec-muted); margin-bottom: 0; }
.mec-gallery-heading p + p { margin-top: 18px; }
.mec-text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 18px; width: fit-content; max-width: 100%; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 650; text-decoration: none; line-height: 1.5; transition: color .2s, border-color .2s; }
.mec-text-link > span { display: inline-flex; align-items: center; color: var(--orange); font-size: 23px; line-height: 1; text-decoration: none; border: 0; }
.mec-text-link:hover, .mec-text-link:focus-visible { color: var(--orange); text-decoration: none; }
.mec-gallery-heading > a { flex-shrink: 0; align-self: flex-end; }
.mec-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.mec-gallery figure { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-width: 0; }
.mec-gallery figure > a { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #160c08; }
.mec-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.mec-gallery figure:is(:hover, :focus-within) img { transform: scale(1.045); }
.mec-photo-expand { display: grid; place-items: center; position: absolute; z-index: 2; right: 16px; bottom: 18px; width: 36px; height: 36px; background: rgb(20 10 5 / .6); color: #fff; border: 1px solid rgb(255 255 255 / .6); transition: background .2s, border-color .2s; }
.mec-gallery figure:is(:hover, :focus-within) .mec-photo-expand { background: var(--orange); border-color: var(--orange); }
.mec-gallery figcaption { position: absolute; z-index: 1; inset: auto 0 0; padding: 54px 66px 18px 20px; color: #fff; background: linear-gradient(transparent, rgb(15 7 3 / .9)); line-height: 1.4; pointer-events: none; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.mec-gallery figcaption strong { display: block; font-size: 16px; font-weight: 600; }
.mec-programs { background: var(--cream); }
.mec-section-copy { max-width: 840px; margin-bottom: 40px; }
.mec-program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mec-program { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fff; }
.mec-program-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.mec-program-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mec-program-image:hover img { transform: scale(1.04); }
.mec-program-image > span { position: absolute; bottom: 16px; left: 16px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 7px 10px; }
.mec-program-copy { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.mec-program h3 { font-size: 26px; margin: 0 0 14px; }
.mec-program p { font-size: 16px; margin: 0 0 24px; }
.mec-program .mec-text-link { margin-top: auto; }
.mec-press { background: #fff; }
.mec-press-heading { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; border-bottom: 1px solid var(--line); margin-bottom: 36px; padding-bottom: 20px; }
.mec-press-heading h2 { margin: 0; }
.mec-press-heading .eyebrow { font-size: 13px; color: var(--muted); }
.mec-press-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--cream); margin-bottom: 34px; }
.mec-press-feature > a { position: relative; display: block; min-height: 350px; }
.mec-press-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mec-press-feature > div { padding: clamp(28px, 4vw, 55px); align-self: center; }
.mec-press-feature h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 20px 0 28px; }
.mec-press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mec-press-grid article { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); }
.mec-press-image { position: relative; display: block; aspect-ratio: 3 / 2; }
.mec-press-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mec-press-grid article > div { padding: 26px; flex: 1; display: flex; flex-direction: column; align-items: start; }
.mec-press-grid .eyebrow { font-size: 12px; }
.mec-press-grid h3 { font-size: 25px; line-height: 1.3; margin: 18px 0 26px; }
.mec-press-grid .mec-text-link { margin-top: auto; }
.mec-future { position: relative; isolation: isolate; overflow: hidden; background: #0b0908; color: #fff; }
.mec-future > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.mec-future::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #160c08 10%, rgb(22 12 8 / .92) 45%, rgb(22 12 8 / .15)); }
.mec-future-copy { max-width: 900px; }
.mec-future-copy > p { max-width: 650px; }
.mec-future h2 { font-size: clamp(18px, 5.8vw, 50px); white-space: nowrap; }
.mec-future h2 em { display: inline; white-space: nowrap; }
.mec-future p { color: var(--mec-muted); }
.mec-future .button { margin-top: 15px; }
.mec-more-gallery { padding: clamp(24px, 4vw, 52px); background: var(--brown); color: #fff; }
dialog.mec-more-gallery { width: min(1260px, calc(100% - 40px)); max-height: calc(100dvh - 40px); border: 1px solid #80533f; margin: auto; overflow: auto; }
.mec-more-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 30px; }
.mec-more-heading h2 { margin-bottom: 0; }
.mec-more-gallery .mec-gallery figure { transform-origin: center; }
.mec-close { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 44px; min-width: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #c9ac98; border-radius: 50%; background: #fff; color: var(--brown); line-height: 1; cursor: pointer; }
.mec-close svg, .mec-lightbox-actions svg { display: block; flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.mec-close[hidden] { display: none; }
.mec-lightbox { width: min(1200px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid #80533f; background: #120b08; color: #fff; overflow: auto; }
:is(.mec-more-gallery, .mec-lightbox)::backdrop { background: rgb(10 5 3 / .88); }
.mec-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 15px; }
.mec-original-link { color: #f2e7df; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.mec-original-link:hover { color: var(--orange); }
.mec-lightbox figure { position: relative; margin: 16px 0; overflow: hidden; }
.mec-lightbox-stage { position: relative; overflow: hidden; height: min(60dvh, 700px); touch-action: pan-y; }
.mec-lightbox-stage > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mec-lightbox figcaption { position: absolute; inset: auto 0 0; padding: 38px 16px 14px; color: #fff; background: linear-gradient(transparent, rgb(15 7 3 / .9)); font-size: 16px; line-height: 1.5; text-align: center; pointer-events: none; }
.mec-lightbox-stage[aria-busy="true"]::after { content: ""; position: absolute; left: calc(50% - 17px); top: calc(50% - 17px); width: 34px; height: 34px; border: 3px solid #765346; border-top-color: var(--orange); border-radius: 50%; animation: mec-loading .8s linear infinite; }
.mec-lightbox-stage[aria-busy="true"] > img { opacity: .35; }
.mec-image-status { position: absolute; inset: 30% 20px auto; margin: 0; color: #fff; text-align: center; font-size: 16px; }
.mec-image-status[hidden] { display: none; }
.mec-lightbox-actions { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: space-between; padding-inline: 12px; pointer-events: none; }
.mec-lightbox-actions button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 48px; min-width: 0; width: 48px; height: 48px; padding: 0; border: 1px solid #c9ac98; border-radius: 50%; background: rgb(18 11 8 / .75); color: #fff; cursor: pointer; pointer-events: auto; transition: background .2s, border-color .2s; }
.mec-lightbox-actions button:hover, .mec-close:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.mec-lightbox-thumbnails { display: flex; gap: 9px; margin-top: 18px; padding: 5px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--orange) #2d1c14; }
.mec-lightbox-thumbnails button { flex: 0 0 72px; width: 72px; height: 52px; padding: 3px; border: 1px solid #735345; background: transparent; cursor: pointer; opacity: .65; transition: border-color .2s, opacity .2s; }
.mec-lightbox-thumbnails button[aria-current="true"], .mec-lightbox-thumbnails button:hover { border-color: var(--orange); opacity: 1; }
.mec-lightbox-thumbnails img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes mec-loading { to { transform: rotate(360deg); } }
@keyframes mec-backdrop-in { from { background: rgb(10 5 3 / 0); } to { background: rgb(10 5 3 / .88); } }
:is(.mec-more-gallery, .mec-lightbox)[open]::backdrop { animation: mec-backdrop-in .28s ease-out; }
@media (max-width: 1000px) {
    .mec-gallery, .mec-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mec-gallery-heading { flex-direction: column; align-items: start; }
    .mec-gallery-heading > a { align-self: flex-start; }
    .mec-press-grid { gap: 16px; }
    .mec-press-grid article > div { padding: 20px; }
}
@media (max-width: 700px) {
    .mec-page h2 { font-size: clamp(29px, 8vw, 34px); }
    .mec-future h2 { font-size: clamp(18px, 5.8vw, 50px); }
    .mec-hero { min-height: 600px; }
    .mec-hero-copy { padding-block: 75px; }
    .mec-hero h1 { font-size: clamp(36px, 8vw, 48px); }
    .mec-hero .button-row { align-items: start; }
    .mec-hero .button { font-size: 15px; }
    .mec-hero .mec-date { font-size: 18px; }
    .mec-facts { margin-block: 35px; grid-template-columns: minmax(0, 1fr); }
    .mec-facts > div { padding: 22px; border-right: 0; border-bottom: 1px solid #775143; }
    .mec-film-label strong { font-size: 17px; }
    .mec-play-icon { width: 56px; height: 56px; font-size: 19px; }
    .mec-gallery-heading { margin-top: 60px; }
    .mec-text-link { gap: 12px; font-size: 15px; }
    .mec-gallery, .mec-program-grid, .mec-press-feature, .mec-press-grid { grid-template-columns: minmax(0, 1fr); }
    .mec-press-feature > a { min-height: 0; aspect-ratio: 3 / 2; }
    .mec-press-grid article > div { padding: 26px; }
    .mec-future::before { background: rgb(22 12 8 / .87); }
    .mec-future .button { font-size: 15px; }
    dialog.mec-more-gallery { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 22px; }
    .mec-more-gallery h2 { font-size: 28px; }
    .mec-lightbox-stage { height: 50dvh; }
    .mec-lightbox figcaption { font-size: 14px; }
    .mec-lightbox-actions { padding-inline: 6px; }
    .mec-lightbox-actions button { flex-basis: 44px; width: 44px; height: 44px; }
    .mec-lightbox-thumbnails button { flex-basis: 64px; width: 64px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .mec-page *, .mec-more-gallery *, .mec-lightbox * { transition: none !important; animation: none !important; }
    :is(.mec-more-gallery, .mec-lightbox)[open]::backdrop { animation: none; }
}
