/* ==========================================================================
   modern.css — visual refresh on top of the original template.
   Keeps the school's identity (navy/blue, Montserrat + Merriweather) but adds
   depth, smoother interaction and motion. Animations are driven by GSAP in site.js;
   everything here degrades gracefully without JS or with reduced motion.
   ========================================================================== */
:root {
  --c-navy: #04223c;
  --c-blue: #1563ab;
  --c-blue-2: #1f68de;
  --c-sky: #e9f2fc;
  --c-ink: #1d2733;
  --c-muted: #5f6b78;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-1: 0 2px 10px rgba(4, 34, 60, .06);
  --shadow-2: 0 14px 40px rgba(4, 34, 60, .14);
  --shadow-3: 0 24px 60px rgba(4, 34, 60, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 95px;
}

html { scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; color: var(--c-ink); }
::selection { background: var(--c-blue-2); color: #fff; }
main img:not([height]) { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--c-blue-2); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--c-navy); color: #fff !important; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- loader removed; page fades in instead ---------- */
#load_screen { display: none !important; }

/* ---------- header ---------- */
#jf-header { transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), padding .35s var(--ease); }
#jf-header.transparent { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 6px 30px rgba(4, 34, 60, .08); border-bottom-color: rgba(4, 34, 60, .06); }
#jf-mainnav a, .mainmenu-text-right a { position: relative; transition: color .2s; }
#jf-mainnav a::after, .mainmenu-text-right a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
#jf-mainnav a:hover::after, .mainmenu-text-right a:hover::after { transform: scaleX(1); transform-origin: left; }
a.logo img { transition: transform .4s var(--ease), width .3s var(--ease); }
a.logo:hover img { transform: scale(1.03); }

/* dropdown menu → elegant panel */
#site-nav.is-active { background: #fff; box-shadow: var(--shadow-2); border-radius: 0 0 var(--radius) var(--radius); }
#site-nav li a { display: inline-block; padding: 4px 2px; transition: color .2s, transform .25s var(--ease); }
#site-nav li a:hover, #site-nav li a:focus { color: var(--c-blue-2) !important; transform: translateX(4px); }
.hamburger { transition: transform .2s; }
.hamburger:hover { transform: scale(1.06); }

/* ---------- hero ---------- */
.heroEffects .bg { will-change: transform; }
.heroEffects::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }

/* ---------- headings ---------- */
.title1 { letter-spacing: .2px; }
h1.title1, .ptop-5 > .title1 { text-wrap: balance; }
.title-hrzt span { position: relative; }
main h1 { text-wrap: balance; }

/* ---------- buttons ---------- */
.button { border-radius: 999px; padding: 1.05em 2em; letter-spacing: .9px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s !important; box-shadow: 0 8px 22px rgba(21, 99, 171, .25); }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 99, 171, .32); }
.button:active { transform: translateY(0); }
.button.blue { background-image: linear-gradient(135deg, #1f68de, #1563ab); }
.button.grey { box-shadow: var(--shadow-1); }
.cf-submit { border-radius: 999px; box-shadow: 0 10px 26px rgba(31, 104, 222, .3); transition: transform .25s var(--ease), background .25s; }
.cf-submit:hover { transform: translateY(-2px); }

/* ---------- home: four feature boxes ---------- */
.mainsite-box-container { row-gap: 16px; }
.mainsite-box { background: transparent; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); transform: translateZ(0); }
.mainsite-box a { border-radius: var(--radius); overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #1f68de 0%, #1563ab 55%, #04223c 100%); }
.mainsite-box a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,34,60,.75), rgba(4,34,60,.05) 60%); opacity: 0; transition: opacity .5s var(--ease); z-index: 1; }
.mainsite-box a:hover::after { opacity: 1; }
.mainsite-box .backgrd { opacity: .28; transform: scale(1.08); transition: opacity .6s var(--ease), transform 1.2s var(--ease) !important; }
.mainsite-box a:hover .backgrd { opacity: 1; transform: scale(1); }
.mainsite-box a h2 { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 19px; text-shadow: 0 4px 18px rgba(0,0,0,.35); transition: transform .5s var(--ease); }
.mainsite-box a h2::after { content: ""; display: block; width: 36px; height: 3px; margin: 14px auto 0; background: #fff; border-radius: 3px; transform: scaleX(.4); transition: transform .5s var(--ease); }
.mainsite-box a:hover h2 { transform: translateY(-6px); }
.mainsite-box a:hover h2::after { transform: scaleX(1.4); }
@media (max-width: 767px) { .mainsite-box { margin-bottom: 14px; } }

/* "elony" claims: three colourful cards with flat icons */
#mod-custom99 { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 10% 20%, #e9f2fc 0, transparent 70%), radial-gradient(50% 70% at 95% 85%, #fff4e0 0, transparent 70%); }
#mod-custom99 .row { display: flex; flex-wrap: wrap; align-items: flex-start; }
div.elony { --tint: #e9f2fc; --blob: #bfdbfe; position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 26px; padding: 52px 26px 50px; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #fff 0, var(--tint) 100%); box-shadow: var(--shadow-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
div.elony:hover { transform: translateY(-10px); border: 0; box-shadow: var(--shadow-3); }
#mod-custom99 .row > div:nth-child(1) > .elony { --tint: #ffedd5; --blob: #fdba74; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='28' cy='37' r='18' fill='%23f97316'/%3E%3Cpath d='M10 37h36M28 19v36M15 24c6 5 6 21 0 26M41 24c-6 5-6 21 0 26' fill='none' stroke='%237c2d12' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M50 5l2.6 5.4 5.9.8-4.3 4.1 1 5.8-5.2-2.8-5.2 2.8 1-5.8-4.3-4.1 5.9-.8z' fill='%23facc15'/%3E%3Ccircle cx='55' cy='33' r='3' fill='%23ec4899'/%3E%3Ccircle cx='47' cy='53' r='2.4' fill='%2322c55e'/%3E%3Ccircle cx='9' cy='13' r='2.4' fill='%231f68de'/%3E%3C/svg%3E"); }
#mod-custom99 .row > div:nth-child(2) > .elony { --tint: #1f68de; --blob: #60a5fa; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 54c8 0 12-6 18-10s14-2 18-10' fill='none' stroke='%231f68de' stroke-width='3.4' stroke-linecap='round' stroke-dasharray='.1 7'%3E%3Canimate attributeName='stroke-dashoffset' from='14.2' to='0' dur='1.2s' repeatCount='indefinite'/%3E%3C/path%3E%3Ccircle cx='10' cy='54' r='4.5' fill='%2322c55e'/%3E%3Cpath d='M46 35s-11-10.5-11-18a11 11 0 0 1 22 0c0 7.5-11 18-11 18z' fill='%23e33b3b'/%3E%3Ccircle cx='46' cy='17' r='4.2' fill='%23fff'/%3E%3C/svg%3E"); background: linear-gradient(150deg, #04223c 0, #1563ab 60%, #1f68de 100%); background-size: 200% 200%; animation: elony-shift 9s ease-in-out infinite alternate; }
#mod-custom99 .row > div:nth-child(3) > .elony { --tint: #dcfce7; --blob: #86efac; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 28v11c0 5 8 9 18 9s18-4 18-9V28l-18 8z' fill='%231f68de'/%3E%3Cpath d='M32 11L3 23l29 12 29-12z' fill='%2304223c'/%3E%3Cpath d='M55 25v13' stroke='%23facc15' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='40' r='3.4' fill='%23facc15'/%3E%3Cpath d='M12 50l1.8 3.7 4 .6-2.9 2.8.7 4-3.6-1.9-3.6 1.9.7-4-2.9-2.8 4-.6z' fill='%23facc15'/%3E%3C/svg%3E"); }
#mod-custom99 .row > div:nth-child(2) > .elony .title3 { color: #fff; }
@media (min-width: 768px) { #mod-custom99 .row > div:nth-child(2) > .elony { min-height: 400px; } }
/* soft drifting blob */
.elony::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; top: -70px; right: -70px; border-radius: 50%; background: var(--blob); opacity: .45; filter: blur(4px); animation: elony-blob 12s ease-in-out infinite alternate; }
#mod-custom99 .row > div:nth-child(2) > .elony::before { opacity: .35; }
/* shine sweep on hover */
.elony::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.elony:hover::after { transform: translateX(120%); transition: transform 1s var(--ease); }
/* icon badge */
.elony .title3 { position: relative; z-index: 2; margin: 0; transition: transform .4s var(--ease); }
.elony .title3::before { content: ""; display: block; width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 50%; background: var(--ico) center / 66% no-repeat, #fff; box-shadow: 0 12px 28px rgba(4,34,60,.16), 0 0 0 10px rgba(255,255,255,.45); animation: elony-float 4.5s ease-in-out infinite; }
#mod-custom99 .row > div:nth-child(2) .title3::before { animation-delay: -1.5s; box-shadow: 0 14px 34px rgba(0,0,0,.3), 0 0 0 10px rgba(255,255,255,.14); }
#mod-custom99 .row > div:nth-child(3) .title3::before { animation-delay: -3s; }
.elony:hover .title3::before { animation: elony-pop .7s var(--ease); }
.elony .title3::after { content: ""; display: block; width: 46px; height: 4px; margin: 20px auto 0; border-radius: 4px; background: #1f68de; transform: scaleX(.5); transition: transform .5s var(--ease); }
#mod-custom99 .row > div:nth-child(1) .title3::after { background: #f97316; }
#mod-custom99 .row > div:nth-child(2) .title3::after { background: #facc15; }
#mod-custom99 .row > div:nth-child(3) .title3::after { background: #16a34a; }
.elony:hover .title3 { transform: translateY(-4px); }
.elony:hover .title3::after { transform: scaleX(1.5); }
.elony > p:not(.title3) { display: none; }
@keyframes elony-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-3deg); } }
@keyframes elony-pop { 0% { transform: scale(1); } 40% { transform: scale(1.14) rotate(8deg); } 70% { transform: scale(.96) rotate(-4deg); } 100% { transform: scale(1); } }
@keyframes elony-blob { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.25); } }
@keyframes elony-shift { from { background-position: 0 0; } to { background-position: 100% 100%; } }
@media (max-width: 767px) {
  #mod-custom99 .row > div { width: 100%; }
  #mod-custom99 .ptop-3 { padding-top: 0 !important; }
  div.elony { min-height: 0; padding: 40px 22px; margin-bottom: 18px; }
  .elony .title3::before { width: 88px; height: 88px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .elony, .elony::before, .elony .title3::before { animation: none !important; }
  .elony::after { display: none; }
  #mod-custom99 .row > div:nth-child(2) > .elony { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 54c8 0 12-6 18-10s14-2 18-10' fill='none' stroke='%231f68de' stroke-width='3.4' stroke-linecap='round' stroke-dasharray='.1 7'%3E%3C/path%3E%3Ccircle cx='10' cy='54' r='4.5' fill='%2322c55e'/%3E%3Cpath d='M46 35s-11-10.5-11-18a11 11 0 0 1 22 0c0 7.5-11 18-11 18z' fill='%23e33b3b'/%3E%3Ccircle cx='46' cy='17' r='4.2' fill='%23fff'/%3E%3C/svg%3E"); }
}

/* video thumbnails */
#mod-custom94 a[data-fancybox] { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); }
#mod-custom94 a[data-fancybox] img { transition: transform .8s var(--ease); display: block; }
#mod-custom94 a[data-fancybox]:hover img { transform: scale(1.06); }
#mod-custom94 a[data-fancybox]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231563ab' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/30px no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .35s var(--ease); }
#mod-custom94 a[data-fancybox]:hover::after { transform: scale(1.12); }
.video-title { margin-top: 14px; font-weight: 600; }

/* ---------- galleries ---------- */
.sg-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sg-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.sg-img img { transition: transform .9s var(--ease) !important; }
.sg-item a:hover .sg-img img { transform: scale(1.06); }
.sg-masonry .sg-title { font-family: 'Montserrat', sans-serif; font-size: 17px; padding: 14px 14px 18px; }
.sg-grid .sg-title { background: linear-gradient(to top, rgba(4,34,60,.92), rgba(21,99,171,.75)); }
.sg-play { background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.sg-play::after { border-color: transparent transparent transparent var(--c-blue); }
.sg-item a:hover .sg-play { transform: scale(1.1); }
.glightbox-clean .gslide-description { background: #fff; }
.glightbox-clean .gslide-title { font-family: 'Merriweather', serif; color: var(--c-navy); }
.gdesc-inner p { margin: 0 0 8px; }

/* ---------- content typography ---------- */
.com-content-article__body { font-size: 16px; line-height: 1.7; }
.com-content-article__body img { border-radius: var(--radius-sm); }
.com-content-article__body a:not(.button):not(.wf_file) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.documents a { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--c-sky); transition: background .25s, transform .25s var(--ease); }
.documents a:hover { background: #d6e7fb; transform: translateY(-2px); }
a.wf_file > div { transition: transform .3s var(--ease), box-shadow .3s var(--ease); background: #fff; }
a.wf_file:hover > div { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* tables */
.droptablesresponsive { border-radius: var(--radius-sm); }
.droptablestable table { box-shadow: var(--shadow-1); }

/* ---------- logo strip ---------- */
#mod-custom93 img { filter: grayscale(.25); transition: filter .3s, transform .35s var(--ease); }
#mod-custom93 a:hover img, #mod-custom93 img:hover { filter: none; transform: translateY(-3px) scale(1.03); }

/* ---------- footer ---------- */
/* footer: logo blue (#2a6fb2), four columns, compact staff list; lists fold on phones */
#jf-footer.ft { --ft-bg: #2a6fb2; --ft-deep: #1f5891; --ft-ink: #fff; --ft-soft: #e3eefa; --ft-line: rgba(255,255,255,.2); --ft-gold: #f3c44b;
  position: relative; background: linear-gradient(180deg, var(--ft-bg) 0%, var(--ft-bg) 30%, #1a4f86 68%, #0f355f 100%); color: var(--ft-ink); min-height: 0; padding: 0; font: 400 15px/1.55 Montserrat, sans-serif; }
#jf-footer.ft a { color: var(--ft-ink); text-decoration: none; }
#jf-footer.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
#jf-footer.ft a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
.ft-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .95fr); gap: 44px; padding-top: 56px; padding-bottom: 40px; }
.ft-logo { display: block; width: 240px; max-width: 100%; height: auto; margin-bottom: 18px; }
.ft-brand p { margin: 0 0 14px; color: var(--ft-soft); font-size: 14px; text-wrap: wrap; }   /* Safari overflows with "pretty" here */
#jf-footer.ft .ft-more { font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--ft-gold); padding-bottom: 2px; }
#jf-footer.ft .ft-more:hover { text-decoration: none; border-bottom-color: #fff; }
.ft-social { display: flex; gap: 10px; margin-top: 22px; }
#jf-footer.ft .ft-social a { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--ft-line); display: grid; place-items: center; font-size: 16px; transition: background .2s, border-color .2s; }
#jf-footer.ft .ft-social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); text-decoration: none; }
.ft-h { margin: 4px 0 16px !important; padding: 0; font: 700 12.5px/1.3 Montserrat, sans-serif !important; letter-spacing: 1.6px; text-transform: uppercase; color: #fff !important; }
.ft-h::after { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ft-gold); margin-top: 10px; }
.ft-acc > summary { list-style: none; cursor: default; }
.ft-acc > summary::-webkit-details-marker { display: none; }
.ft-links, .ft-clist, .ft-people { list-style: none; margin: 0; padding: 0; }
.ft-links li { margin: 0 0 11px; }
#jf-footer.ft .ft-links a { font-size: 14.5px; display: inline-flex; gap: 9px; align-items: baseline; }
.ft-links a i { font-size: 9px; color: var(--ft-gold); }
.ft-clist li { display: flex; gap: 12px; margin-bottom: 13px; font-size: 14.5px; }
.ft-clist li > i { width: 16px; color: var(--ft-gold); margin-top: 4px; text-align: center; }
.ft-clist small { display: block; color: var(--ft-soft); font-size: 12.5px; }
#jf-footer.ft .ft-btn { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; padding: 11px 18px; border-radius: 6px; background: #fff; color: #04223c; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px rgba(4,34,60,.18); transition: transform .2s, box-shadow .2s; }
#jf-footer.ft .ft-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(4,34,60,.25); }
.ft-map { position: relative; display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(4,34,60,.25); }
.ft-map img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform .5s var(--ease); }
.ft-map:hover img { transform: scale(1.04); }
#jf-footer.ft .ft-map span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: #04223c; border-radius: 6px; padding: 7px 11px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
#jf-footer.ft .ft-map:hover span { text-decoration: none; }
.ft-staff { display: block; position: relative; padding-top: 30px; padding-bottom: 36px; }
.ft-staff::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--ft-line); }
.ft-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 32px; }
.ft-person { padding-left: 14px; border-left: 2px solid rgba(255,255,255,.22); font-size: 13.5px; line-height: 1.85; color: var(--ft-soft); min-width: 0; }
.ft-person strong { display: block; color: #fff; font-size: 15px; line-height: 1.35; margin-bottom: 6px; }
.ft-person__role { display: block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #fff; line-height: 1.4; margin-bottom: 3px; }
.ft-person__role:last-of-type { margin-bottom: 6px; }
.ft-person__line { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.ft-person__line i { flex: 0 0 14px; font-size: 11.5px; color: var(--ft-gold); text-align: center; }
#jf-footer.ft .ft-person a { color: var(--ft-soft); overflow-wrap: break-word; min-width: 0; }
#jf-footer.ft .ft-person a:hover { color: #fff; }
.ft-quick { display: none; }
.ft-bottom { background: rgba(4,24,48,.45); color: var(--ft-soft); font-size: 13px; }
.ft-bottom .ft-wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 0; }
.ft-bottom nav a + a::before { content: "·"; margin: 0 10px; color: var(--ft-soft); display: inline-block; }
.ft-dev a { display: inline-flex; align-items: center; gap: 8px; }
.ft-dev img { height: 16px; width: auto; }
@media (max-width: 1023px) {
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 40px; }
  .ft-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  #jf-footer.ft { font-size: 15px; padding: 0; }
  .ft-wrap { padding: 0 20px; }
  .ft-top { display: block; padding-top: 34px; padding-bottom: 6px; }
  .ft-brand { margin-bottom: 18px; }
  .ft-brand p { font-size: 13.5px; }
  .ft-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 4px; }
  #jf-footer.ft .ft-quick a { display: block; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid var(--ft-line); font-weight: 700; font-size: 14px; }
  #jf-footer.ft .ft-quick a:hover { text-decoration: none; background: rgba(255,255,255,.16); }
  .ft-quick i { display: block; color: var(--ft-gold); margin-bottom: 6px; }
  .ft-contact, .ft-mapcol { display: none; }       /* covered by the quick buttons on phones */
  .ft-acc { border-top: 1px solid var(--ft-line); }
  .ft-acc:last-of-type { border-bottom: 1px solid var(--ft-line); }
  .ft-acc > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
  .ft-acc > summary::after { content: "+"; font: 400 24px/1 Montserrat, sans-serif; color: var(--ft-gold); }
  .ft-acc[open] > summary::after { content: "–"; }
  .ft-acc .ft-h { margin: 0 !important; }
  .ft-acc .ft-h::after { display: none; }
  .ft-acc .ft-links, .ft-acc .ft-people { padding-bottom: 16px; }
  .ft-staff { padding-top: 0; padding-bottom: 0; margin: 0 20px; }
  .ft-staff::before { display: none; }
  .ft-wrap.ft-staff { padding: 0; }
  .ft-people { grid-template-columns: 1fr; gap: 12px; }
  .ft-social { margin: 20px 0 24px; }
  .ft-top + .ft-staff { border-top: 0; }
  .ft-bottom .ft-wrap { display: block; line-height: 1.9; }
  .ft-bottom nav { margin: 2px 0; gap: 0 18px; }
  .ft-bottom nav a + a::before { display: none; }
}
html.a11y-contrast #jf-footer.ft, html.a11y-contrast .ft-bottom { background: #000 !important; }
html.a11y-contrast .ft-person strong, html.a11y-contrast .ft-person__role, html.a11y-contrast #jf-footer.ft .ft-person a { color: #ffeb3b !important; }
html.a11y-contrast .ft-map span, html.a11y-contrast #jf-footer.ft .ft-btn { background: #000 !important; border: 1px solid #ffeb3b; }
.mod-finder__search { border-radius: 999px; overflow: hidden; }

/* ---------- news ---------- */
.news-article__head { text-align: center; padding-top: 150px; }
@media (max-width: 767px) { .news-article__head { padding-top: 110px; } }
.news-article__date { color: var(--c-muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; margin-bottom: 6px; }
.news-article .com-content-article__body.container { max-width: 860px; width: auto; margin: 0 auto; padding: 0 20px 60px; }
.news-article__cover { max-width: 980px; margin: 10px auto 40px; padding: 0 20px; }
.news-article__cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-3); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 20px auto; max-width: 1200px; padding: 0 15px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); color: var(--c-ink) !important; text-decoration: none !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.news-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-sky); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { padding: 16px 18px 20px; }
.news-card time { display: block; color: var(--c-muted); font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }

/* ---------- calendar polish ---------- */
.sc-cal__grid { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.sc-cal__btns button { border-radius: 999px; transition: background .2s, transform .2s; }
.sc-cal__btns button:hover { transform: translateY(-1px); }
.sc-cal__ev { border-radius: 4px; }

/* ---------- utilities added by site.js ---------- */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #1f68de, #5aa2ff); transform-origin: 0 50%; transform: scaleX(0); z-index: 1000; pointer-events: none; }
.to-top { position: fixed; right: 22px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--c-navy); color: #fff; box-shadow: var(--shadow-2); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; z-index: 900; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--c-blue-2); }
.vz-editbar { position: fixed; left: 18px; bottom: 18px; z-index: 9999; display: flex; gap: 6px; }
.vz-editbar a { background: var(--c-navy); color: #fff !important; padding: 10px 16px; border-radius: 999px; font: 600 13px Montserrat, sans-serif; box-shadow: var(--shadow-2); text-decoration: none !important; }
.vz-editbar a:hover { background: var(--c-blue-2); }

/* reveal: hidden only when JS + GSAP are ready (class set by site.js) */
.gsap-ready [data-reveal] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .gsap-ready [data-reveal] { visibility: visible; }
}
@media print { .scroll-progress, .to-top, .vz-editbar, .skip-link { display: none !important; } }
