:root{--red:#b92524;--red2:#d83b32;--ink:#252326;--muted:#6b6868;--cream:#fff8f1;--pale:#f9e9dd;--white:#fff;--line:#eee2d9;--shadow:0 18px 55px rgba(63,29,25,.12)}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",sans-serif;color:var(--ink);background:#fff;line-height:1.65}
    a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.container{width:min(1160px,calc(100% - 42px));margin:auto}
    .topbar{background:#821b1b;color:#fff;font-size:13px;padding:9px 0}.topbar .container{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.topbar a{opacity:.95}
    header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(185,37,36,.1)}
    .nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:12px;min-width:240px}.brand img{width:57px;height:57px;object-fit:contain}.brand strong{display:block;font-family:"Playfair Display",serif;font-size:19px;line-height:1.15;color:var(--red)}.brand small{display:block;color:#777;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin-top:4px}
    .navlinks{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:700}.navlinks a:hover{color:var(--red)}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 21px;border-radius:999px;background:var(--red);color:#fff;font-weight:700;font-size:14px;box-shadow:0 8px 20px rgba(185,37,36,.18);transition:.2s}.nav-cta:hover,.btn:hover{background:#921b1b;transform:translateY(-2px)}.menu-btn{display:none;border:0;background:var(--cream);color:var(--red);font-size:25px;border-radius:10px;padding:5px 12px}
    .hero{background:#2b1b1a;min-height:610px;display:flex;align-items:center;color:#fff;position:relative;isolation:isolate;overflow:hidden}
.hero-slides{position:absolute;inset:0;z-index:-2}
.hero-slide{position:absolute;inset:0;background-position:center center;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.015);transition:opacity 1s ease,transform 6s ease}
.hero-slide.active{opacity:1;transform:scale(1)}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(28,13,12,.68) 0%,rgba(28,13,12,.42) 48%,rgba(28,13,12,.10) 100%)}
.hero:after{content:"";position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,rgba(20,10,8,.28));pointer-events:none}
.hero-dots{position:absolute;right:max(6vw,24px);bottom:30px;display:flex;gap:9px;z-index:2}
.hero-dot{width:10px;height:10px;border:1px solid #fff;border-radius:50%;padding:0;background:rgba(255,255,255,.45);cursor:pointer}
.hero-dot.active{width:28px;border-radius:20px;background:#fff}
@media(max-width:700px){.hero{min-height:590px}.hero-slide{background-position:center center}.hero:before{background:linear-gradient(90deg,rgba(28,13,12,.78),rgba(28,13,12,.35))}.hero-dots{bottom:18px}}.hero-content{position:relative;z-index:1;max-width:700px;padding:85px 0}.eyebrow{display:inline-flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#ffe2d2}.eyebrow:before{content:"";width:28px;height:2px;background:#f4a18d}.hero h1{font:800 clamp(42px,6vw,76px)/1.08 "Playfair Display",serif;margin:20px 0 18px;letter-spacing:-1.5px}.hero h1 span{color:#ffb19c}.hero p{font-size:18px;max-width:580px;color:#f8eeee;margin:0 0 30px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.btn.light{background:#fff;color:var(--red);box-shadow:none}.hero-note{margin-top:30px;font-size:13px;color:#ffe6dc;letter-spacing:.3px}
    .trust-strip{background:var(--cream);border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0;gap:20px}.trust-item{display:flex;align-items:center;justify-content:center;gap:13px;text-align:left}.trust-icon{width:43px;height:43px;display:grid;place-items:center;background:#f6ddd3;color:var(--red);border-radius:50%;font-size:20px}.trust-item b{display:block;font-size:14px}.trust-item small{color:var(--muted);font-size:12px}
    section{padding:88px 0}.section-head{text-align:center;max-width:700px;margin:0 auto 44px}.kicker{font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--red)}h2{font:700 clamp(30px,4vw,44px)/1.2 "Playfair Display",serif;margin:12px 0 14px;color:#282225}.section-head p{color:var(--muted);margin:0}
    .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.about-photo{position:relative}.about-photo img{height:470px;width:100%;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}.estd-card{position:absolute;bottom:24px;right:-20px;background:var(--red);color:#fff;padding:20px 25px;border-radius:14px;box-shadow:var(--shadow)}.estd-card b{font:700 30px "Playfair Display",serif;display:block}.estd-card span{font-size:11px;letter-spacing:1.4px;text-transform:uppercase}.about-copy h2{font-size:42px}.about-copy p{color:var(--muted)}.quote{border-left:3px solid var(--red);padding:12px 18px;margin:24px 0;color:#5c3030;font-weight:700;background:var(--cream);border-radius:0 10px 10px 0}.check-list{list-style:none;padding:0;margin:24px 0;display:grid;gap:12px}.check-list li{display:flex;gap:11px;align-items:flex-start;font-weight:600;font-size:14px}.check-list li:before{content:"✓";flex:none;width:22px;height:22px;border-radius:50%;background:#f9e4dc;color:var(--red);display:grid;place-items:center;font-size:13px}
    .programs{background:var(--cream)}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.program{background:#fff;padding:28px;border:1px solid var(--line);border-radius:16px;transition:.2s}.program:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.program .num{font:700 30px "Playfair Display",serif;color:#e7b1a4}.program h3{font:700 20px "Playfair Display",serif;margin:10px 0}.program p{font-size:14px;color:var(--muted);margin:0}.program .line{height:3px;width:38px;background:var(--red);border-radius:5px;margin-top:20px}
    .gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:190px;gap:14px}.gallery-grid figure{margin:0;overflow:hidden;border-radius:14px;position:relative;background:#eee}.gallery-grid figure:nth-child(1){grid-column:span 7;grid-row:span 2}.gallery-grid figure:nth-child(2){grid-column:span 5}.gallery-grid figure:nth-child(3){grid-column:span 5}.gallery-grid figure:nth-child(4){grid-column:span 4}.gallery-grid figure:nth-child(5){grid-column:span 4}.gallery-grid figure:nth-child(6){grid-column:span 4}.gallery-grid img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.gallery-grid figure:hover img{transform:scale(1.05)}.gallery-grid figcaption{position:absolute;bottom:0;left:0;right:0;padding:35px 16px 13px;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;font-size:13px;font-weight:700}
    .values{background:#2a2021;color:#fff}.values .section-head h2{color:#fff}.values .section-head p{color:#d3c7c6}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.value{text-align:center;padding:12px 18px}.value-icon{font-size:29px;color:#ffb19c}.value h3{font:700 19px "Playfair Display",serif;margin:13px 0 8px}.value p{color:#d3c7c6;font-size:14px;margin:0}
    .contact{background:var(--cream)}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:35px}.contact-card{background:var(--red);color:#fff;border-radius:18px;padding:36px;box-shadow:var(--shadow)}.contact-card h3{font:700 28px "Playfair Display",serif;margin:0 0 12px}.contact-card p{color:#f8deda}.contact-line{display:flex;gap:13px;margin:22px 0;align-items:flex-start}.contact-line span{font-size:19px}.contact-line b{display:block;font-size:13px}.contact-line a,.contact-line small{font-size:14px;color:#ffe9e3;overflow-wrap:anywhere}.map-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:35px}.map-card h3{font:700 26px "Playfair Display",serif;margin:0 0 12px}.map-card p{color:var(--muted)}.map-placeholder{margin-top:25px;border-radius:12px;background:linear-gradient(135deg,#f8e4db,#fff7ef);padding:28px;min-height:160px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.map-placeholder b{font-size:18px}.map-placeholder a{margin-top:13px;color:var(--red);font-weight:800;font-size:14px}
    footer{background:#1f191a;color:#d7ccca;padding:28px 0;font-size:13px}.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.footer-brand{color:#fff;font:700 18px "Playfair Display",serif}.footer-row a{color:#fff}.mobile-call{display:none}
    @media(max-width:900px){.navlinks{gap:16px}.nav-cta{display:none}.about-grid{gap:35px}.program-grid{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:680px){.container{width:min(100% - 30px,560px)}.topbar .container{justify-content:center;text-align:center}.topbar .container span:first-child{display:none}.nav{height:72px}.brand{min-width:0}.brand img{width:48px;height:48px}.brand strong{font-size:16px}.brand small{font-size:9px}.menu-btn{display:block}.navlinks{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:18px 25px 25px;box-shadow:0 15px 20px rgba(0,0,0,.08);flex-direction:column;align-items:flex-start;gap:18px}.navlinks.open{display:flex}.hero{min-height:560px;background-position:54% center}.hero-content{padding:70px 0}.hero p{font-size:16px}.trust-grid{grid-template-columns:1fr;padding:18px 0;gap:15px}.trust-item{justify-content:flex-start}.trust-item br{display:none}section{padding:65px 0}.about-grid,.contact-grid{grid-template-columns:1fr;gap:35px}.about-photo img{height:340px}.estd-card{right:10px;bottom:12px;padding:14px 18px}.estd-card b{font-size:24px}.about-copy h2{font-size:34px}.program-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:145px;gap:9px}.gallery-grid figure:nth-child(n){grid-column:span 1;grid-row:span 1}.gallery-grid figure:first-child{grid-column:span 2;grid-row:span 2}.values-grid{grid-template-columns:1fr;gap:28px}.contact-card,.map-card{padding:26px}.mobile-call{display:inline-flex;position:fixed;bottom:15px;right:15px;z-index:30;box-shadow:0 8px 24px rgba(0,0,0,.25)}footer{padding-bottom:85px}}


/* Shared inner-page styles */
.inner-hero{background:linear-gradient(110deg,rgba(35,14,13,.84),rgba(35,14,13,.48)),url("../assets/school-event-group.jpeg") center 44%/cover;min-height:330px;display:flex;align-items:center;color:#fff}
.inner-hero .container{padding:65px 0}
.inner-hero .eyebrow{color:#ffe2d2}
.inner-hero h1{font:800 clamp(38px,5vw,62px)/1.1 "Playfair Display",serif;margin:16px 0}
.inner-hero p{max-width:650px;color:#f8eeee;font-size:17px;margin:0}
.page-content{min-height:350px}
.content-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:18px}
.content-panel h2,.content-panel h3{font-family:"Playfair Display",serif;color:#282225;margin-top:0}
.content-panel p{color:var(--muted)}
.page-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.page-card{background:var(--cream);border:1px solid var(--line);border-radius:15px;padding:25px}
.page-card h3{font:700 21px "Playfair Display",serif;margin:0 0 10px}
.page-card p{color:var(--muted);font-size:14px;margin:0}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.footer-links a:hover{color:#ffb19c}
@media(max-width:680px){.page-grid{grid-template-columns:1fr}.inner-hero{min-height:280px}.inner-hero .container{padding:50px 0}.footer-links{gap:12px}}

/* Dedicated inner-page heading */
.page-hero{padding:76px 0 54px;background:linear-gradient(135deg,#fff7f1,#f8e8df);text-align:center}.page-hero h1{font:800 clamp(34px,5vw,54px) "Playfair Display",serif;color:var(--ink);margin:10px 0}.page-hero p{color:var(--muted);max-width:650px;margin:0 auto}

/* Dedicated About Us page */
.about-page .about-motto-hero{position:relative;overflow:hidden;padding:100px 0 86px;background:linear-gradient(115deg,rgba(87,12,19,.96),rgba(185,37,36,.91)),url('../assets/school-event-group.jpeg') center/cover;color:#fff}
.about-motto-hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:7%;top:-115px;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025)}
.about-motto-hero .container{position:relative;z-index:1}.about-motto-hero .kicker{color:#ffd9b0;letter-spacing:.18em;text-transform:uppercase}
.about-motto-hero h1{font-family:'Playfair Display',serif;font-size:clamp(2.8rem,6vw,5.3rem);line-height:1.06;max-width:850px;margin:18px 0}.about-motto-hero h1 em{color:#ffd9b0;font-style:normal}
.about-motto-hero p{max-width:590px;color:rgba(255,255,255,.85);font-size:1.08rem;line-height:1.8}
.about-hero-year{display:flex;align-items:center;gap:16px;margin-top:35px;padding-top:22px;border-top:1px solid rgba(255,255,255,.25);max-width:390px}.about-hero-year strong{font-family:'Playfair Display',serif;font-size:2.7rem;color:#ffd9b0}.about-hero-year span{font-size:.92rem;color:rgba(255,255,255,.86)}
.about-origin{padding:85px 0;background:#fff}.about-origin-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}
.about-origin-grid h2,.about-purpose h2{font-family:'Playfair Display',serif;font-size:clamp(2rem,3.5vw,3.15rem);line-height:1.2;margin:12px 0;color:#252525}
.about-origin-copy p{font-size:1.02rem;line-height:1.9;color:#626262;margin:0 0 18px}.about-origin-copy strong{color:#333}
.about-timeline-section{padding:82px 0;background:#f8f5f1}.about-timeline-section .section-head{text-align:center;max-width:650px;margin:0 auto 48px}
.about-timeline{max-width:850px;margin:0 auto;position:relative}.about-timeline:before{content:"";position:absolute;left:112px;top:12px;bottom:15px;width:2px;background:#e5c6bd}
.timeline-item{display:grid;grid-template-columns:90px 1fr;gap:48px;position:relative;padding:0 0 34px}.timeline-item:before{content:"";position:absolute;left:105px;top:7px;width:14px;height:14px;border-radius:50%;background:#b92524;border:4px solid #f8f5f1;box-shadow:0 0 0 1px #b92524}
.timeline-year{font-family:'Playfair Display',serif;font-size:1.45rem;font-weight:700;color:#b92524}.timeline-content{background:#fff;padding:22px 26px;border-radius:12px;box-shadow:0 8px 28px rgba(50,30,20,.05)}
.timeline-content h3{margin:0 0 7px;font-size:1.1rem;color:#252525}.timeline-content p{margin:0;color:#686868;line-height:1.7}
.about-purpose{padding:88px 0;background:#fff}.about-purpose-inner{display:grid;grid-template-columns:100px 1fr;gap:25px;max-width:900px;margin:auto;align-items:start}
.about-purpose-mark{font-family:'Playfair Display',serif;font-size:8rem;line-height:.8;color:#e8c7b7}.about-purpose h2{max-width:690px}.about-purpose p{max-width:720px;color:#666;line-height:1.85;font-size:1.02rem;margin:18px 0 26px}
@media(max-width:700px){.about-page .about-motto-hero{padding:72px 0 65px}.about-origin{padding:60px 0}.about-origin-grid{grid-template-columns:1fr;gap:20px}.about-timeline-section{padding:60px 0}.about-timeline:before{left:77px}.timeline-item{grid-template-columns:58px 1fr;gap:34px}.timeline-item:before{left:70px}.timeline-year{font-size:1.15rem}.timeline-content{padding:18px}.about-purpose{padding:60px 0}.about-purpose-inner{grid-template-columns:45px 1fr;gap:12px}.about-purpose-mark{font-size:5rem}}


/* Founders' archival photograph on the About Us page */
.founders-archive-section{padding:78px 0;background:#f8f5f1}
.founders-archive-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.founders-archive-photo{margin:0;position:relative}
.founders-archive-photo img{display:block;width:100%;max-height:650px;object-fit:contain;object-position:center;background:#e9e3dc;border-radius:14px;box-shadow:0 18px 45px rgba(35,20,15,.14)}
.founders-archive-photo span{display:block;margin-top:12px;color:#777;font-size:.85rem;text-align:center;letter-spacing:.03em}
.founders-archive-copy h2{font-family:'Playfair Display',serif;font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.2;margin:12px 0;color:#252525}
.founders-archive-copy p{font-size:1.02rem;line-height:1.9;color:#626262}
@media(max-width:700px){.founders-archive-section{padding:58px 0}.founders-archive-grid{grid-template-columns:1fr;gap:26px}.founders-archive-photo img{max-height:560px}}


/* Additional portrait on the About Us page */
.about-portrait-section{padding:76px 0;background:#f7f4ef}
.about-portrait-grid{display:grid;grid-template-columns:minmax(240px, .85fr) 1.15fr;gap:clamp(28px,6vw,76px);align-items:center}
.about-portrait-photo{max-width:430px;margin:auto;overflow:hidden;border-radius:18px;box-shadow:0 18px 48px rgba(35,25,20,.14)}
.about-portrait-photo img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:center 25%}
.about-portrait-copy h2{font-family:'Playfair Display',serif;font-size:clamp(30px,4vw,46px);line-height:1.15;margin:12px 0 18px;color:#282323}
.about-portrait-copy p{font-size:17px;line-height:1.8;color:#625b57;max-width:540px}
@media(max-width:700px){.about-portrait-section{padding:48px 0}.about-portrait-grid{grid-template-columns:1fr}.about-portrait-photo{max-width:330px}.about-portrait-copy{text-align:center}}


/* Archival Events Gallery */
.archive-page .section-head { max-width: 780px; }
.archive-intro { display: flex; align-items: center; gap: 22px; margin: 34px 0 28px; padding: 24px; border-radius: 18px; background: #f7f1ec; }
.archive-year { flex: 0 0 auto; font-family: "Playfair Display", serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #b92524; }
.archive-intro h3 { margin: 0 0 6px; }
.archive-intro p { margin: 0; color: #626262; }
.archive-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.archive-photo { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(30, 20, 15, .09); }
.archive-photo img { display: block; width: 100%; height: 330px; object-fit: cover; filter: grayscale(100%); transition: transform .35s ease; }
.archive-photo:hover img { transform: scale(1.025); }
.archive-photo-wide { grid-column: span 2; }
.archive-photo-wide img { height: 430px; object-fit: contain; background: #e9e6e2; }
.archive-photo figcaption { display: flex; flex-direction: column; gap: 5px; padding: 15px 17px 18px; }
.archive-photo figcaption strong { color: #252525; }
.archive-photo figcaption span, .archive-note { color: #6e6a67; font-size: .92rem; }
.archive-note { margin: 22px 0 0; }
@media (max-width: 700px) {
  .archive-gallery { grid-template-columns: 1fr; gap: 16px; }
  .archive-photo-wide { grid-column: auto; }
  .archive-photo img, .archive-photo-wide img { height: auto; max-height: 430px; object-fit: contain; }
  .archive-intro { align-items: flex-start; gap: 14px; padding: 18px; }
}


/* Horizontal archival photo strip and click-to-zoom lightbox */
.archive-gallery-wrap { position: relative; margin: 10px 0 0; }
.archive-gallery {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden;
  padding: 8px 4px 22px; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: #b92524 #eee8e2; -webkit-overflow-scrolling: touch;
}
.archive-photo, .archive-photo-wide {
  flex: 0 0 clamp(280px, 38vw, 440px); width: clamp(280px, 38vw, 440px);
  grid-column: auto; scroll-snap-align: start; cursor: zoom-in;
}
.archive-photo img, .archive-photo-wide img {
  width: 100%; height: 320px; object-fit: contain; background: #e9e6e2;
  filter: grayscale(100%); cursor: zoom-in;
}
.archive-photo figcaption { min-height: 76px; }
.gallery-scroll {
  position: absolute; z-index: 2; top: 42%; width: 44px; height: 44px;
  border: 0; border-radius: 50%; color: #fff; background: rgba(35,35,35,.82);
  font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 3px 14px rgba(0,0,0,.18);
}
.gallery-scroll-left { left: -16px; }
.gallery-scroll-right { right: -16px; }
.archive-hint { margin: 4px 0 12px; color: #6e6a67; font-size: .9rem; text-align: center; }
.archive-lightbox {
  display: none; position: fixed; z-index: 9999; inset: 0; align-items: center;
  justify-content: center; gap: 18px; padding: 64px 5vw 34px; background: rgba(0,0,0,.94);
}
.archive-lightbox.is-open { display: flex; }
.archive-lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; max-width: 88vw; max-height: 88vh; }
.archive-lightbox figure img { display: block; max-width: 82vw; max-height: 78vh; width: auto; height: auto; object-fit: contain; filter: none; }
.archive-lightbox figcaption { color: #fff; text-align: center; font-size: .95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; border: 0; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.16); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 30px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 48px; height: 48px; font-size: 34px; transform: translateY(-50%); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
  .archive-photo, .archive-photo-wide { flex-basis: 82vw; width: 82vw; }
  .archive-photo img, .archive-photo-wide img { height: 250px; }
  .gallery-scroll { display: none; }
  .archive-lightbox { padding: 60px 12px 24px; }
  .archive-lightbox figure img { max-width: 92vw; max-height: 74vh; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* Keep the later 2013 event photographs in their original colour. */
.archive-photo.color-photo img, .archive-photo-wide.color-photo img { filter: none; }


/* Events page: responsive card grid inspired by the supplied reference */
.archive-page { padding-top: 54px; }
.archive-page > .container > .section-head,
.archive-page .archive-intro,
.archive-page .gallery-scroll,
.archive-page .archive-hint,
.archive-page .archive-note { display: none !important; }
.archive-gallery-wrap { margin: 0; }
.archive-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  overflow: visible !important;
  padding: 0 !important;
  scroll-snap-type: none !important;
}
.archive-photo,
.archive-photo-wide {
  display: flex;
  flex-direction: column;
  width: auto !important;
  min-width: 0;
  flex: initial !important;
  grid-column: auto !important;
  margin: 0;
  overflow: hidden;
  border: 1px solid #55c47d;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  cursor: default;
}
.archive-photo img,
.archive-photo-wide img {
  display: block;
  width: 100%;
  height: 238px !important;
  object-fit: cover !important;
  object-position: center;
  background: #f1f1f1;
  filter: none !important;
  cursor: zoom-in;
  transition: transform .25s ease;
}
.archive-photo:hover img { transform: scale(1.025); }
.archive-photo figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 142px;
  padding: 25px 24px 22px;
}
.archive-photo figcaption strong {
  color: #1e2521;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 700;
}
.archive-photo figcaption span {
  color: #68716c;
  font-size: .96rem;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .archive-page { padding-top: 34px; }
  .archive-gallery { grid-template-columns: 1fr; gap: 18px; }
  .archive-photo img, .archive-photo-wide img { height: auto !important; max-height: 300px; object-fit: cover !important; }
  .archive-photo figcaption { min-height: 0; padding: 18px; }
  .archive-photo figcaption strong { font-size: 1.1rem; }
}


/* Official Rose Buds High School vector crest */
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 66px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}
@media (max-width: 620px) {
  .brand img { width: 54px; height: 54px; flex-basis: 54px; }
}

/* Events page: three clear chapters — legacy, school events and Golden Jubilee */
.events-hero{position:relative;isolation:isolate;overflow:hidden;min-height:700px;display:flex;align-items:center;color:#fff;background:linear-gradient(100deg,rgba(105,8,10,.96) 0%,rgba(156,20,24,.78) 38%,rgba(156,20,24,.20) 72%,rgba(20,5,5,.08) 100%),url('../assets/events-hero-golden-jubilee.jpeg') center 43%/cover no-repeat}
.events-hero:after{content:"";position:absolute;z-index:-1;width:520px;height:520px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-80px;top:-190px;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}
.events-hero-inner{width:100%;max-width:none;padding:126px 64px 132px}.events-hero .eyebrow{color:#ffd7c7;text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:800}.events-hero h1{font:800 clamp(2.7rem,5.4vw,5rem)/1.08 'Playfair Display',serif;max-width:690px;margin:22px 0 18px;letter-spacing:-.035em}.events-hero h1 em{color:#ffd1bd;font-style:normal}.events-hero p{max-width:540px;color:#fff;font-size:1.12rem;line-height:1.8;margin:0}.hero-meta{margin-top:32px;font-size:.72rem;letter-spacing:.16em;font-weight:800;color:#ffe0d4}.hero-meta span{padding:0 10px;color:#f7b39f}
.events-section{padding:82px 0}.legacy-section{background:#faf7f2}.all-events-section{background:#fff}.events-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.events-section .kicker,.golden-copy .kicker{font-size:.74rem;letter-spacing:.17em;font-weight:800;color:#b92524;text-transform:uppercase}.events-section h2{font:700 clamp(2.1rem,4vw,3.2rem)/1.12 'Playfair Display',serif;color:#67191a;margin:12px 0}.section-subtitle{max-width:690px;color:#68615d;line-height:1.75;margin:0;font-size:1rem}.legacy-tagline{font:700 clamp(1.6rem,3vw,2.35rem)/1.15 'Playfair Display',serif;text-align:right;color:#8d2423;white-space:nowrap}.legacy-tagline em{color:#bd7770;font-style:italic}.legacy-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.legacy-photo,.event-card{margin:0;overflow:hidden;border-radius:15px;background:#fff;box-shadow:0 9px 28px rgba(55,30,25,.08);border:1px solid rgba(120,35,30,.08)}.legacy-photo img{display:block;width:100%;height:235px;object-fit:cover;filter:grayscale(100%);cursor:zoom-in;transition:transform .35s ease}.legacy-photo:hover img,.event-card:hover img{transform:scale(1.035)}.legacy-photo figcaption{padding:14px 17px 16px;color:#5b4b47;font-weight:700;font-size:.94rem}.events-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.event-card img{display:block;width:100%;height:245px;object-fit:cover;cursor:zoom-in;transition:transform .35s ease}.event-card figcaption{padding:18px 19px 21px;display:flex;flex-direction:column;gap:7px;min-height:112px}.event-card strong{font-size:1.08rem;color:#541b1b}.event-card span{font-size:.92rem;color:#6c6662;line-height:1.6}.golden-section{padding:20px 0 86px;background:#fff}.golden-panel{position:relative;display:grid;grid-template-columns:190px minmax(250px,1fr) minmax(280px,.95fr);align-items:center;gap:30px;overflow:hidden;padding:28px;border-radius:20px;color:#fff;background:linear-gradient(110deg,#720d10,#a9161c 62%,#790d11);box-shadow:0 18px 45px rgba(104,15,18,.18)}.golden-years{min-height:205px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-right:1px solid rgba(255,224,170,.55);color:#f6d68b;text-align:center}.golden-years span{font:800 5.7rem/.9 'Playfair Display',serif}.golden-years strong{font-size:1.2rem;letter-spacing:.22em;margin-top:9px}.golden-years small{margin-top:15px;padding:7px 12px;border:1px solid #e6c36f;border-radius:3px;font-size:.62rem;letter-spacing:.15em}.golden-copy .kicker{color:#f7d99a}.golden-copy h2{font:700 clamp(1.8rem,3.3vw,3rem)/1.12 'Playfair Display',serif;margin:14px 0;color:#fff}.golden-copy h2 em{font-style:normal;color:#f5d18a}.golden-copy p{max-width:520px;color:#ffebe5;line-height:1.75;margin:0}.golden-since{display:inline-block;margin-top:18px;color:#f6d68b;font-size:.82rem;font-weight:800;letter-spacing:.14em}.golden-feature-image{width:100%;height:245px;object-fit:cover;border-radius:12px;cursor:zoom-in;border:3px solid rgba(255,224,170,.5)}.golden-caption{text-align:center;color:#76635d;font:italic 1.08rem 'Playfair Display',serif;margin:20px 0 0}
@media(max-width:900px){.golden-panel{grid-template-columns:145px 1fr;gap:24px}.golden-feature-image{grid-column:1/-1;height:300px}.legacy-gallery,.events-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.events-hero{min-height:400px}.events-hero-inner{padding:58px 0}.events-hero p{font-size:1rem}.events-section{padding:58px 0}.events-section-heading{align-items:flex-start;flex-direction:column;gap:16px}.legacy-tagline{text-align:left}.legacy-gallery,.events-card-grid{grid-template-columns:1fr;gap:16px}.legacy-photo img{height:230px}.event-card img{height:235px}.golden-section{padding:0 0 60px}.golden-panel{grid-template-columns:1fr;padding:24px;gap:20px}.golden-years{min-height:auto;border-right:0;border-bottom:1px solid rgba(255,224,170,.45);padding-bottom:20px}.golden-years span{font-size:4.5rem}.golden-feature-image{grid-column:auto;height:230px}.golden-copy{text-align:center}.golden-copy p{margin:auto}.golden-caption{font-size:1rem;padding:0 10px}}

@media(max-width:700px){.events-hero{min-height:620px;background-position:58% center}.events-hero-inner{padding:90px 24px 100px}.events-hero h1{max-width:100%;font-size:clamp(2.5rem,11vw,4rem)}.events-hero p{max-width:100%}}

/* Academics page: reference layout with Rose Buds red branding */
.academics-page .academics-banner{background:linear-gradient(115deg,#861515 0%,#b92524 65%,#d83b32 100%);color:#fff;padding:72px 0 68px;min-height:250px;display:flex;align-items:center}
.academics-page .academics-eyebrow{font-size:12px;letter-spacing:2.4px;font-weight:800;color:#ffe0dc;margin-bottom:14px}
.academics-page .academics-banner h1{font:800 clamp(38px,5vw,62px)/1.08 "DM Sans",sans-serif;color:#fff;margin:0 0 18px;letter-spacing:-1.5px}
.academics-page .academics-banner p{font-size:17px;color:#fff0ed;margin:0}
.academics-page .academics-content{padding:76px 0 86px;background:#fff}
.academics-page .academics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.academics-page .academics-card{border:1px solid #d83b32;border-radius:13px;padding:30px 29px;min-height:143px;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
.academics-page .academics-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(185,37,36,.12)}
.academics-page .academics-card h2{font:700 20px/1.3 "DM Sans",sans-serif;color:#a91f20;margin:0 0 13px}
.academics-page .academics-card p{font-size:14px;line-height:1.65;color:#6b6868;margin:0}
@media(max-width:900px){.academics-page .academics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.academics-page .academics-banner{padding:54px 0;min-height:205px}.academics-page .academics-content{padding:42px 0 58px}.academics-page .academics-grid{grid-template-columns:1fr}.academics-page .academics-card{min-height:unset;padding:24px}}



/* Events page: clean three-collection layout. Scoped so no other page changes. */
.events-page .events-collection-hub {
  padding: 68px 0 76px;
  background: #fbf8f5;
}
.events-page .collection-intro { text-align:center; margin:0 auto 30px; }
.events-page .collection-intro .kicker { color:#a82027; font-size:11px; font-weight:800; letter-spacing:2px; }
.events-page .collection-intro h2 { margin:10px 0; color:#381d1d; font:700 clamp(30px,4vw,42px)/1.15 "Playfair Display",serif; }
.events-page .collection-intro h2 em { color:#a82027; font-style:normal; }
.events-page .collection-intro p { color:#766b67; margin:0; }
.events-page .collection-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.events-page .collection-tile { position:relative; display:block; min-height:310px; overflow:hidden; border-radius:17px; color:#fff; text-decoration:none; box-shadow:0 12px 32px rgba(57,25,22,.12); isolation:isolate; }
.events-page .collection-tile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; z-index:-2; }
.events-page .collection-tile:hover img { transform:scale(1.055); }
.events-page .tile-shade { position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(24,10,10,.04) 5%,rgba(39,12,13,.86) 100%); }
.events-page .tile-content { position:absolute; inset:auto 23px 24px; display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.events-page .tile-content small { color:#f2c7ae; font-size:10px; font-weight:800; letter-spacing:1.6px; }
.events-page .tile-content strong { color:#fff; font:700 clamp(21px,2.2vw,27px)/1.15 "Playfair Display",serif; }
.events-page .tile-content em { color:rgba(255,255,255,.85); font-size:13px; font-style:normal; }
.events-page .tile-content b { margin-top:9px; color:#ffd4b8; font-size:12px; letter-spacing:.3px; }
.events-page .photo-collection { margin-top:26px; border:1px solid #eadbd5; border-radius:13px; background:#fff; overflow:hidden; }
.events-page .photo-collection > summary { display:flex; align-items:center; justify-content:space-between; padding:18px 22px; cursor:pointer; list-style:none; color:#8f1d24; font-weight:800; }
.events-page .photo-collection > summary::-webkit-details-marker { display:none; }
.events-page .photo-collection > summary span { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; background:#f8e9e5; color:#9c2026; font-size:18px; }
.events-page .photo-collection[open] > summary { border-bottom:1px solid #f0e4df; }
.events-page .photo-collection[open] > summary span { transform:rotate(45deg); }
.events-page .photo-collection .legacy-gallery,
.events-page .photo-collection .events-card-grid { padding:22px; }
.events-page .golden-collection { margin-top:25px; }
.events-page .golden-collection .golden-panel { padding:22px; }
@media(max-width:850px) {
 .events-page .collection-tiles { grid-template-columns:1fr; }
 .events-page .collection-tile { min-height:260px; }
 .events-page .events-collection-hub { padding:48px 0 54px; }
}


/* Events gallery views: one collection at a time, with persistent section navigation. */
.events-page main [hidden] { display:none !important; }
.events-page .gallery-side-nav { width:230px; flex:0 0 230px; align-self:start; position:sticky; top:24px; padding:20px 14px; border:1px solid #eadbd5; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(57,25,22,.06); }
.events-page .gallery-view-content { min-width:0; flex:1; }
.events-page .events-section > .container,
.events-page .golden-section > .container { display:flex; align-items:flex-start; gap:28px; }
.events-page .gallery-side-nav .gallery-back { width:100%; padding:11px 12px; border:0; border-radius:8px; background:#f8eeeb; color:#8f1d24; font-weight:800; text-align:left; cursor:pointer; }
.events-page .gallery-nav-title { margin:22px 10px 10px; color:#9a7770; font-size:10px; font-weight:800; letter-spacing:1.4px; }
.events-page .gallery-nav-link { display:block; width:100%; margin:4px 0; padding:12px 11px; border:0; border-radius:8px; background:transparent; color:#5b4140; font:600 14px 'DM Sans',sans-serif; text-align:left; cursor:pointer; }
.events-page .gallery-nav-link:hover,.events-page .gallery-nav-link.active { background:#a82027; color:#fff; }
.events-page .gallery-view-content .photo-collection { margin-top:24px; }
.events-page .gallery-view-content .golden-caption { margin-bottom:0; }
@media(max-width:850px) {
 .events-page .events-section > .container,.events-page .golden-section > .container { display:block; }
 .events-page .gallery-side-nav { position:static; width:100%; margin:0 0 22px; padding:12px; display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
 .events-page .gallery-side-nav .gallery-back { width:auto; flex:0 0 100%; margin-bottom:3px; }
 .events-page .gallery-nav-title { flex:0 0 100%; margin:5px 4px 2px; }
 .events-page .gallery-nav-link { width:auto; flex:1 1 auto; margin:0; padding:10px 9px; font-size:12px; text-align:center; }
}
@media(max-width:620px) {
 .events-page .gallery-side-nav { gap:5px; }
 .events-page .gallery-nav-link { flex:1 1 30%; min-width:0; font-size:11px; line-height:1.25; }
 .events-page .gallery-view-content .photo-collection .legacy-gallery,
 .events-page .gallery-view-content .photo-collection .events-card-grid { padding:14px; }
}

/* Keep Events gallery transitions entirely within this page. */
.events-page main > [hidden] { display: none !important; }
.events-page .gallery-view-content { min-width: 0; }
.events-page .gallery-side-nav { z-index: 2; }

/* Final Events interaction: one landing view, one selected gallery, no side menu. */
.events-page main > [hidden] { display:none !important; }
.events-page .events-section > .container,
.events-page .golden-section > .container { display:block !important; }
.events-page .gallery-side-nav { display:none !important; }
.events-page .gallery-back {
  display:inline-flex; align-items:center; gap:8px; margin:0 0 24px; padding:11px 17px;
  border:1px solid #eadbd5; border-radius:9px; background:#fff; color:#941f26;
  font:700 14px 'DM Sans',sans-serif; cursor:pointer; box-shadow:0 4px 14px rgba(57,25,22,.06);
}
.events-page .gallery-back:hover { background:#a82027; border-color:#a82027; color:#fff; }
.events-page .photo-collection { margin-top:0; border:0; background:transparent; overflow:visible; }
.events-page .photo-collection > summary { display:none !important; }
.events-page .photo-collection .legacy-gallery,
.events-page .photo-collection .events-card-grid,
.events-page .golden-collection .golden-panel { padding:0; }
.events-page .golden-caption { margin-top:20px; }
@media(max-width:620px) {
  .events-page .gallery-back { margin-bottom:18px; padding:10px 14px; font-size:13px; }
  .events-page .photo-collection .legacy-gallery,
  .events-page .photo-collection .events-card-grid { padding:0; }
}


/* Additional Golden Jubilee photographs – scoped to the Events page only */
.events-page .golden-extra-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.events-page .golden-extra-photo{margin:0;overflow:hidden;border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(70,20,20,.12)}
.events-page .golden-extra-photo img{display:block;width:100%;height:245px;object-fit:cover;cursor:zoom-in;transition:transform .35s ease}
.events-page .golden-extra-photo:hover img{transform:scale(1.035)}
@media(max-width:900px){.events-page .golden-extra-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.events-page .golden-extra-gallery{grid-template-columns:1fr;gap:14px}.events-page .golden-extra-photo img{height:235px}}

/* Golden Jubilee only: center the photographs in a clean gallery grid. */
.events-page .golden-collection .golden-panel {
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
}
.events-page .golden-collection .golden-feature-image {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 1100px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  background: rgba(35, 5, 8, .35);
}
.events-page .golden-collection .golden-extra-gallery {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1100px;
  justify-self: center;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 20px;
}
.events-page .golden-collection .golden-extra-photo {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.events-page .golden-collection .golden-extra-photo img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  object-position: center;
  background: #f7f2ed;
}
@media (max-width: 900px) {
  .events-page .golden-collection .golden-extra-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .events-page .golden-collection .golden-panel { grid-template-columns: 1fr; }
  .events-page .golden-collection .golden-feature-image { grid-column: auto; max-height: 420px; }
  .events-page .golden-collection .golden-extra-gallery { grid-template-columns: 1fr; gap: 14px; }
  .events-page .golden-collection .golden-extra-photo img { height: auto; max-height: 360px; }
}


/* Golden Jubilee visual correction only — preserve the original section heading and layout content. */
.events-page .golden-section {
  background: #fff !important;
}
.events-page .golden-collection .golden-panel {
  background: #fff !important;
  color: #352b29 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.events-page .golden-collection .golden-years {
  border-right-color: #eadfcf !important;
  color: #9b762e !important;
}
.events-page .golden-collection .golden-years small {
  border-color: #c9a85d !important;
}
.events-page .golden-collection .golden-copy .kicker {
  color: #9b762e !important;
}
.events-page .golden-collection .golden-copy h2 {
  color: #5b2022 !important;
}
.events-page .golden-collection .golden-copy h2 em {
  color: #a47a31 !important;
}
.events-page .golden-collection .golden-copy p {
  color: #625956 !important;
}
.events-page .golden-collection .golden-since {
  color: #9b762e !important;
}
.events-page .golden-collection .golden-feature-image {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.events-page .golden-collection .golden-extra-photo {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.events-page .golden-collection .golden-extra-photo img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* Final requested Golden Jubilee gallery heading; scoped to Events page. */
.events-page .golden-gallery-heading {
  margin: 0 0 26px;
  text-align: left;
}
.events-page .golden-gallery-heading .kicker {
  color: #a82027;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}
.events-page .golden-gallery-heading h2 {
  margin: 10px 0 12px;
  color: #5b2022;
  font: 700 clamp(30px, 4vw, 42px)/1.15 "Playfair Display", serif;
}
.events-page .golden-gallery-heading p {
  max-width: 760px;
  margin: 0;
  color: #6c625e;
  line-height: 1.75;
}
.events-page .golden-collection .golden-extra-gallery {
  margin-top: 0;
}


/* Final requested Events landing-page sizing: keep title and all three tiles in first view on laptop/desktop. */
@media (min-width: 851px) {
  .events-page .events-hero {
    min-height: 228px !important;
    background-position: center 43%;
  }
  .events-page .events-hero-inner {
    padding: 24px 0 22px !important;
  }
  .events-page .events-hero .eyebrow {
    font-size: .68rem;
    letter-spacing: .15em;
  }
  .events-page .events-hero h1 {
    max-width: 620px;
    font-size: clamp(2rem, 3vw, 2.65rem) !important;
    line-height: 1.04;
    margin: 9px 0 8px;
  }
  .events-page .events-hero p {
    max-width: 600px;
    font-size: .88rem;
    line-height: 1.45;
  }
  .events-page .hero-meta {
    margin-top: 12px;
    font-size: .62rem;
  }
  .events-page .events-collection-hub {
    padding: 18px 0 28px !important;
  }
  .events-page .collection-intro {
    margin: 0 auto 14px;
  }
  .events-page .collection-intro .kicker {
    font-size: 9px;
    letter-spacing: 1.7px;
  }
  .events-page .collection-intro h2 {
    font-size: clamp(24px, 2.2vw, 29px);
    margin: 4px 0 5px;
    line-height: 1.12;
  }
  .events-page .collection-intro p {
    font-size: .82rem;
    line-height: 1.4;
  }
  .events-page .collection-tiles {
    gap: 16px;
  }
  .events-page .collection-tile {
    min-height: 178px;
    border-radius: 14px;
  }
  .events-page .tile-content {
    padding: 18px;
  }
  .events-page .tile-content strong {
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  }
}
@media (min-width: 851px) and (max-height: 800px) {
  .events-page .events-hero { min-height: 205px !important; }
  .events-page .events-hero-inner { padding: 18px 0 16px !important; }
  .events-page .events-collection-hub { padding: 12px 0 20px !important; }
  .events-page .collection-intro { margin-bottom: 10px; }
  .events-page .collection-tile { min-height: 155px; }
}


/* Final visual correction: balanced Events landing page and always-available gallery switching. */
.events-page .events-hero {
  position: relative;
  min-height: 330px !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(105deg, #741316 0%, #941d22 56%, #6f171b 100%) !important;
}
.events-page .events-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 2.5%;
  width: 52%;
  height: 100%;
  background-image: url("../assets/events-hero-golden-jubilee.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.events-page .events-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg, #741316 0%, rgba(116,19,22,.98) 36%, rgba(116,19,22,.66) 54%, rgba(116,19,22,0) 76%);
  pointer-events: none;
}
.events-page .events-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 34px 42px !important;
}
.events-page .events-hero .eyebrow {
  font-size: .72rem;
  letter-spacing: .17em;
}
.events-page .events-hero h1 {
  max-width: 560px;
  font-size: clamp(2.5rem, 4vw, 3.65rem) !important;
  line-height: 1.08;
  margin: 15px 0 12px;
}
.events-page .events-hero p {
  max-width: 510px;
  font-size: .98rem;
  line-height: 1.65;
}
.events-page .hero-meta {
  margin-top: 20px;
  font-size: .68rem;
}
.events-page .events-collection-hub {
  padding: 28px 0 38px !important;
}
.events-page .collection-intro {
  margin: 0 auto 22px !important;
}
.events-page .collection-intro .kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
}
.events-page .collection-intro h2 {
  font-size: clamp(27px, 3vw, 35px) !important;
  line-height: 1.16;
  margin: 7px 0 8px !important;
}
.events-page .collection-intro p {
  font-size: .92rem;
  line-height: 1.55;
}
.events-page .collection-tiles {
  gap: 20px !important;
}
.events-page .collection-tile {
  min-height: 225px !important;
  border-radius: 16px;
}
.events-page .collection-tile .tile-content {
  padding: 23px !important;
}
.events-page .collection-tile .tile-content strong {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.18;
}
.events-page .collection-tile .tile-content small {
  font-size: .68rem;
}
.events-page .collection-tile .tile-content em {
  font-size: .88rem;
}
.events-page .collection-tile img {
  transition: transform .55s ease;
}
.events-page .collection-tile:hover img {
  transform: scale(1.045);
}

/* Gallery pages: a persistent side rail lets visitors jump to another collection directly. */
.events-page .gallery-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}
.events-page .gallery-side-nav {
  width: 225px;
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid #eadbd5;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(57,25,22,.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.events-page .gallery-nav-kicker {
  color: #a82027;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 10px 8px;
}
.events-page .gallery-nav-link,
.events-page .gallery-nav-home {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: transparent;
  color: #4d3432;
  cursor: pointer;
  font: inherit;
  transition: background .2s ease, color .2s ease;
}
.events-page .gallery-nav-link span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5e9e5;
  color: #8f2025;
  font-size: 11px;
  font-weight: 800;
}
.events-page .gallery-nav-link strong {
  font-size: .88rem;
  line-height: 1.25;
}
.events-page .gallery-nav-link:hover,
.events-page .gallery-nav-link.is-active {
  background: #8f2025;
  color: #fff;
}
.events-page .gallery-nav-link:hover span,
.events-page .gallery-nav-link.is-active span {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.events-page .gallery-nav-home {
  margin-top: 8px;
  border-top: 1px solid #eee2dd;
  border-radius: 0;
  padding-top: 16px;
  color: #8f2025;
  font-size: .82rem;
  font-weight: 700;
}
.events-page .gallery-nav-home:hover {
  background: #fbf3f0;
}
.events-page .gallery-layout > :not(.gallery-side-nav) {
  min-width: 0;
}
.events-page .gallery-back {
  display: none !important;
}
@media (max-width: 900px) {
  .events-page .gallery-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .events-page .gallery-side-nav {
    width: 100%;
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: 7px;
    padding: 10px;
  }
  .events-page .gallery-nav-kicker {
    display: none;
  }
  .events-page .gallery-nav-link {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    padding: 9px 11px;
  }
  .events-page .gallery-nav-home {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 9px 10px;
    border-top: 0;
    border-left: 1px solid #eee2dd;
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .events-page .events-hero {
    min-height: 390px !important;
    align-items: flex-end;
  }
  .events-page .events-hero::before {
    width: 100%;
    right: 0;
    opacity: .42;
    background-size: cover;
    background-position: center 35%;
  }
  .events-page .events-hero::after {
    background: linear-gradient(0deg, rgba(91,12,16,.98) 0%, rgba(91,12,16,.84) 52%, rgba(91,12,16,.18) 100%);
  }
  .events-page .events-hero-inner {
    padding: 135px 22px 28px !important;
  }
  .events-page .events-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem) !important;
  }
  .events-page .events-collection-hub {
    padding: 28px 0 34px !important;
  }
  .events-page .collection-tiles {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .events-page .collection-tile {
    min-height: 230px !important;
  }
}
@media (min-width: 901px) and (max-height: 820px) {
  .events-page .events-hero {
    min-height: 285px !important;
  }
  .events-page .events-hero-inner {
    padding-top: 32px !important;
    padding-bottom: 30px !important;
  }
  .events-page .events-collection-hub {
    padding-top: 20px !important;
    padding-bottom: 26px !important;
  }
  .events-page .collection-intro {
    margin-bottom: 15px !important;
  }
  .events-page .collection-tile {
    min-height: 205px !important;
  }
}


/* Rose Buds Contact page redesign — all rules are scoped to .contact-page or its page-only sections. */
.contact-page { color: var(--ink, #282225); }
.contact-page .contact-hero {
  min-height: 465px; position: relative; display:flex; align-items:center; overflow:hidden;
  isolation:isolate; color:#fff; background:#74191d url("../assets/school-building-combined.png") center 22%/cover no-repeat;
}
.contact-page .contact-hero-shade {
  position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg,rgba(74,12,17,.96) 0%,rgba(106,20,25,.88) 42%,rgba(106,20,25,.46) 72%,rgba(45,15,15,.18) 100%);
}
.contact-page .contact-hero-content { position:relative; padding:76px 0 82px; }
.contact-page .contact-eyebrow,.contact-page .contact-section-kicker {
  display:inline-block; color:#a92b2d; font-size:10px; font-weight:800; letter-spacing:2px;
}
.contact-page .contact-eyebrow { color:#f7d9c9; }
.contact-page .contact-hero h1 {
  max-width:690px; margin:17px 0 16px; color:#fff;
  font:700 clamp(42px,6vw,72px)/1.04 "Playfair Display",serif; letter-spacing:-1.7px;
}
.contact-page .contact-hero h1 em,.contact-page .contact-enquiry-copy h2 em,.contact-page .contact-welcome h2 em { color:#f2c6a7; font-style:normal; }
.contact-page .contact-hero p { max-width:560px; color:#f7e9e4; font-size:16px; line-height:1.75; }
.contact-page .contact-hero-link {
  display:inline-flex; align-items:center; gap:18px; margin-top:19px; padding:13px 19px;
  border:1px solid rgba(255,255,255,.6); border-radius:4px; color:#fff; font-size:13px; font-weight:700;
  transition:background .2s ease,transform .2s ease;
}
.contact-page .contact-hero-link:hover { background:rgba(255,255,255,.14); transform:translateY(-2px); }
.contact-page .contact-hero-note {
  position:absolute; right:max(24px,calc((100vw - 1240px)/2)); bottom:25px;
  display:flex; align-items:center; gap:12px; color:#f5ded5; font-size:9px; letter-spacing:1.6px; font-weight:700;
}
.contact-page .contact-hero-note i { width:34px; height:1px; background:#e6b7a1; }
.contact-page-section { padding:78px 0 70px; background:#fbf8f5; }
.contact-page .contact-section-heading { max-width:700px; margin:0 auto 34px; text-align:center; }
.contact-page .contact-section-heading h2,.contact-page .contact-map-heading h2 {
  margin:9px 0 9px; color:#2e2423; font:700 clamp(29px,3.6vw,42px)/1.15 "Playfair Display",serif;
}
.contact-page .contact-section-heading p,.contact-page .contact-map-heading p { color:#756966; font-size:14px; line-height:1.7; margin:0; }
.contact-page .contact-info-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.contact-page .contact-info-card {
  min-height:248px; padding:25px 22px 22px; background:#fff; border:1px solid #eee3dd; border-radius:13px;
  box-shadow:0 9px 28px rgba(57,27,24,.045); display:flex; flex-direction:column; align-items:flex-start;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.contact-page .contact-info-card:hover { transform:translateY(-5px); box-shadow:0 16px 34px rgba(57,27,24,.10); border-color:#dfb9aa; }
.contact-page .contact-icon {
  display:grid; place-items:center; width:43px; height:43px; border-radius:12px;
  background:#f8e9e3; color:#a62228; font-size:20px; margin-bottom:18px;
}
.contact-page .contact-card-label { color:#a52a2c; font-size:9px; font-weight:800; letter-spacing:1.45px; }
.contact-page .contact-info-card h3 { margin:7px 0 10px; color:#2d2523; font:700 21px "Playfair Display",serif; }
.contact-page .contact-info-card > a:not(.contact-text-link) { color:#5c2928; font-size:13px; line-height:1.8; font-weight:700; overflow-wrap:anywhere; }
.contact-page .contact-info-card p { margin:0; color:#6d625e; font-size:12px; line-height:1.75; }
.contact-page .contact-info-card .contact-text-link { margin-top:11px; color:#a62228; font-size:12px; font-weight:800; }
.contact-page .contact-card-foot { margin-top:auto; padding-top:15px; color:#9b8c86; font-size:10px; line-height:1.5; }
.contact-page .contact-action-strip {
  margin-top:24px; padding:22px 24px; display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:12px;
  align-items:center; background:#fff; border:1px solid #eee3dd; border-radius:13px;
}
.contact-page .contact-action-strip h3 { margin:6px 0 0; font:700 20px "Playfair Display",serif; color:#332725; }
.contact-page .contact-action { min-height:60px; display:flex; align-items:center; gap:10px; padding:12px; border-radius:8px; background:#faf4f0; color:#592b29; transition:background .2s ease,transform .2s ease; }
.contact-page .contact-action:hover { background:#f4e3dc; transform:translateY(-2px); }
.contact-page .contact-action span { color:#a62228; font-size:18px; }
.contact-page .contact-action b { flex:1; font-size:11px; }
.contact-page .contact-action i { color:#a62228; font-style:normal; }
.contact-enquiry-section { padding:82px 0; background:#fff; }
.contact-enquiry-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:70px; align-items:start; }
.contact-page .contact-enquiry-copy { padding:23px 0; }
.contact-page .contact-enquiry-copy h2 { margin:14px 0 18px; color:#2d2423; font:700 clamp(38px,4.6vw,56px)/1.08 "Playfair Display",serif; }
.contact-page .contact-enquiry-copy p { max-width:430px; color:#766a66; font-size:14px; line-height:1.85; }
.contact-page .contact-promise { display:flex; gap:13px; align-items:flex-start; margin-top:32px; padding-top:22px; border-top:1px solid #eee5e0; }
.contact-page .contact-promise>span { color:#a62228; font-size:22px; }
.contact-page .contact-promise b,.contact-page .contact-promise small { display:block; }
.contact-page .contact-promise b { color:#49312f; font-size:13px; }
.contact-page .contact-promise small { margin-top:5px; color:#8a7c76; font-size:11px; line-height:1.6; }
.contact-page .contact-enquiry-form {
  padding:34px; background:#fbf8f5; border:1px solid #eee3dd; border-radius:16px;
  box-shadow:0 14px 40px rgba(54,25,22,.06);
}
.contact-page .contact-form-heading>span { color:#a52a2c; font-size:9px; font-weight:800; letter-spacing:1.7px; }
.contact-page .contact-form-heading h3 { margin:7px 0 6px; color:#302523; font:700 27px "Playfair Display",serif; }
.contact-page .contact-form-heading p { margin:0 0 23px; color:#847671; font-size:12px; }
.contact-page .contact-form-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px 14px; }
.contact-page .contact-form-fields label { display:flex; flex-direction:column; gap:7px; color:#4d3d39; font-size:11px; font-weight:700; }
.contact-page .contact-form-fields input,.contact-page .contact-form-fields textarea {
  width:100%; min-width:0; padding:12px 13px; border:1px solid #e5d8d1; border-radius:7px; outline:none;
  background:#fff; color:#342a27; font:400 12px "DM Sans",sans-serif; transition:border-color .2s ease,box-shadow .2s ease;
}
.contact-page .contact-form-fields input:focus,.contact-page .contact-form-fields textarea:focus { border-color:#b23a3b; box-shadow:0 0 0 3px rgba(178,58,59,.10); }
.contact-page .contact-form-fields input::placeholder,.contact-page .contact-form-fields textarea::placeholder { color:#b2a6a0; }
.contact-page .contact-message-field { grid-column:1/-1; }
.contact-page .contact-form-fields textarea { resize:vertical; min-height:112px; }
.contact-page .contact-submit-btn {
  margin-top:19px; padding:14px 20px; border:0; border-radius:6px; background:#a62228; color:#fff;
  font:700 12px "DM Sans",sans-serif; cursor:pointer; transition:background .2s ease,transform .2s ease;
}
.contact-page .contact-submit-btn:hover { background:#7f191e; transform:translateY(-2px); }
.contact-page .contact-submit-btn span { margin-left:22px; }
.contact-page .contact-form-note,.contact-page .contact-form-status { color:#8b7d77; font-size:10px; line-height:1.6; }
.contact-page .contact-form-status { color:#8a2025; font-weight:700; }
.contact-map-section { padding:72px 0 76px; background:#f8f3ef; }
.contact-page .contact-map-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:23px; }
.contact-page .contact-map-heading h2 { margin-bottom:7px; }
.contact-page .contact-map-heading>a { flex:0 0 auto; color:#a62228; font-size:12px; font-weight:800; }
.contact-page .contact-map-frame { overflow:hidden; border:7px solid #fff; border-radius:13px; box-shadow:0 12px 35px rgba(48,28,23,.09); }
.contact-page .contact-map-frame iframe { display:block; width:100%; height:360px; border:0; }
.contact-page .contact-map-caption { margin:12px 0 0; color:#847670; font-size:11px; }
.contact-page .contact-welcome { padding:67px 0 72px; text-align:center; color:#fff; background:linear-gradient(115deg,#6e171c,#a5282b 58%,#74171c); }
.contact-page .contact-welcome .container>span { color:#f3c9b5; font-size:9px; font-weight:800; letter-spacing:2px; }
.contact-page .contact-welcome h2 { margin:13px 0 12px; color:#fff; font:700 clamp(32px,4.4vw,49px)/1.12 "Playfair Display",serif; }
.contact-page .contact-welcome p { margin:0 auto; max-width:560px; color:#f8e7e2; font-size:13px; line-height:1.7; }
.contact-page .contact-welcome a { display:inline-flex; align-items:center; gap:22px; margin-top:22px; padding:12px 18px; border:1px solid rgba(255,255,255,.6); border-radius:4px; color:#fff; font-size:12px; font-weight:700; }
.contact-page .contact-welcome a:hover { background:rgba(255,255,255,.12); }
@media(max-width:1050px) {
  .contact-page .contact-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-page .contact-action-strip { grid-template-columns:1fr 1fr; }
  .contact-page .contact-enquiry-grid { gap:38px; }
}
@media(max-width:700px) {
  .contact-page .contact-hero { min-height:440px; background-position:55% center; }
  .contact-page .contact-hero-shade { background:linear-gradient(90deg,rgba(74,12,17,.94),rgba(106,20,25,.75)); }
  .contact-page .contact-hero-content { padding:70px 0 76px; }
  .contact-page .contact-hero h1 { font-size:clamp(40px,11vw,58px); }
  .contact-page .contact-hero p { font-size:14px; }
  .contact-page .contact-hero-note { right:20px; bottom:18px; font-size:8px; }
  .contact-page-section,.contact-enquiry-section,.contact-map-section { padding:54px 0; }
  .contact-page .contact-info-grid { grid-template-columns:1fr; gap:12px; }
  .contact-page .contact-info-card { min-height:0; padding:22px; }
  .contact-page .contact-card-foot { margin-top:10px; padding-top:7px; }
  .contact-page .contact-action-strip { grid-template-columns:1fr; padding:18px; }
  .contact-page .contact-action-strip>div { padding-bottom:5px; }
  .contact-enquiry-grid { grid-template-columns:1fr; gap:20px; }
  .contact-page .contact-enquiry-copy { padding:0; }
  .contact-page .contact-enquiry-form { padding:22px 18px; }
  .contact-page .contact-form-fields { grid-template-columns:1fr; }
  .contact-page .contact-message-field { grid-column:auto; }
  .contact-page .contact-map-heading { display:block; }
  .contact-page .contact-map-heading>a { display:inline-block; margin-top:15px; }
  .contact-page .contact-map-frame iframe { height:300px; }
  .contact-page .contact-welcome { padding:52px 20px; }
}


/* About Us leadership profiles */
.about-leadership-section{padding:82px 0;background:#f7f4ef}
.about-leadership-section .section-head{text-align:center;max-width:760px;margin:0 auto 46px}
.about-leadership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.leader-card{display:grid;grid-template-columns:minmax(155px,.72fr) minmax(0,1.28fr);gap:24px;align-items:start;background:#fff;border:1px solid #eee7df;border-radius:16px;padding:20px;box-shadow:0 12px 34px rgba(35,25,20,.07)}
.leader-photo{overflow:hidden;border-radius:12px;background:#eee9e3;min-height:235px}
.leader-photo img{display:block;width:100%;height:265px;object-fit:cover;object-position:center 22%}
.leader-copy .kicker{font-size:.72rem;letter-spacing:.09em}
.leader-copy h3{font-family:'Playfair Display',serif;font-size:1.45rem;line-height:1.2;color:#282323;margin:9px 0 5px}
.leader-qualification{font-size:.9rem;font-weight:700;color:#b92524;margin-bottom:12px}
.leader-copy p{font-size:.91rem;line-height:1.72;color:#625b57;margin:0}
.founders-archive-copy h3{font-size:1rem;line-height:1.5;color:#9f2925;margin:14px 0 8px}
@media(max-width:900px){.about-leadership-grid{grid-template-columns:1fr}.leader-card{grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr)}}
@media(max-width:560px){.about-leadership-section{padding:58px 0}.about-leadership-grid{gap:18px}.leader-card{grid-template-columns:1fr;padding:16px;gap:16px}.leader-photo{max-width:100%;min-height:0}.leader-photo img{height:320px;object-position:center 20%}.leader-copy h3{font-size:1.35rem}}


/* About Us refinement: leadership, journey flowchart and purpose */
.about-page .section-head h2,
.about-page .founders-archive-copy h2,
.about-page .about-purpose h2{
  position:relative;
  letter-spacing:-.025em;
}
.about-page .section-head h2{margin-top:16px}
.about-page .section-head h2:after{
  content:"";display:block;width:66px;height:4px;border-radius:8px;
  margin:18px auto 0;background:linear-gradient(90deg,#b92524,#e5b879);
}
.about-page .founders-archive-copy .kicker,
.about-page .leader-copy .kicker{
  display:inline-flex;align-items:center;gap:9px;
  color:#9d2625;font-weight:900;font-size:.78rem;letter-spacing:.12em;
  padding:7px 12px;border-radius:30px;background:#f8e9e5;
}
.about-page .leader-copy .kicker{font-size:.76rem;letter-spacing:.1em}
.about-page .founders-archive-copy h3{
  font-weight:800;font-size:1.04rem;color:#84201f;
}
.about-leadership-section{
  background:linear-gradient(180deg,#f7f4ef 0%,#fffaf6 100%);
}
.about-leadership-section .section-head h2{color:#641d1e}
.about-leadership-section .section-head p{max-width:610px;margin:0 auto;line-height:1.8}
.about-leadership-grid{gap:26px}
.leader-card{
  grid-template-columns:minmax(150px,.72fr) minmax(0,1.28fr);
  align-items:stretch;gap:22px;padding:20px;
  border:1px solid rgba(133,42,35,.12);
  border-radius:18px;
  box-shadow:0 12px 32px rgba(54,28,22,.065);
  transition:transform .25s ease,box-shadow .25s ease;
}
.leader-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(54,28,22,.11)}
.leader-photo{
  min-height:250px;height:100%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#eee8e1,#faf7f2);
  border:1px solid #eee5dc;border-radius:13px;
}
.leader-photo img{
  width:100%;height:100%;min-height:250px;max-height:310px;
  object-fit:contain;object-position:center center;
  border-radius:12px;
}
.leader-copy{align-self:center;padding:5px 0}
.leader-copy .kicker{font-weight:900}
.leader-copy h3{font-weight:800;margin:12px 0 6px}
.leader-qualification{font-weight:800;letter-spacing:.015em}
.leader-copy p{font-size:.92rem;line-height:1.78}
.about-timeline-section{
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 12% 8%,rgba(185,37,36,.08),transparent 32%),linear-gradient(135deg,#fbf8f4,#f3ece5);
}
.about-timeline-section:before,.about-timeline-section:after{
  content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(185,37,36,.10);
  border-radius:50%;pointer-events:none;
}
.about-timeline-section:before{top:-125px;right:-65px;box-shadow:0 0 0 24px rgba(185,37,36,.025),0 0 0 48px rgba(185,37,36,.02)}
.about-timeline-section:after{bottom:-150px;left:-90px;box-shadow:0 0 0 24px rgba(185,37,36,.025)}
.about-timeline-section .container{position:relative;z-index:1}
.journey-section-head{max-width:760px!important}
.journey-section-head h2{color:#681d20}
.about-timeline{
  max-width:1080px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;align-items:stretch;margin:54px auto 0;
}
.about-timeline:before{display:none}
.timeline-item{
  display:flex;flex-direction:column;gap:0;padding:0;min-width:0;
  position:relative;
}
.timeline-item:before{
  content:"";position:absolute;left:25px;top:25px;width:13px;height:13px;
  border:3px solid #fff;border-radius:50%;background:#b92524;
  box-shadow:0 0 0 4px rgba(185,37,36,.14);z-index:2;
}
.timeline-year{
  display:flex;align-items:center;min-height:62px;padding:0 0 0 53px;
  color:#fff;font:800 1.35rem 'Playfair Display',serif;
  background:linear-gradient(115deg,#701b20,#b92524);
  border-radius:13px 13px 0 0;position:relative;
}
.timeline-item:not(:last-child) .timeline-year:after{
  content:"";position:absolute;right:-18px;top:25px;width:16px;height:12px;
  background:#c58d65;clip-path:polygon(0 35%,65% 35%,65% 0,100% 50%,65% 100%,65% 65%,0 65%);
  z-index:3;
}
.timeline-content{
  flex:1;padding:23px 20px 24px;background:#fff;
  border:1px solid rgba(128,37,34,.1);border-top:0;
  border-radius:0 0 13px 13px;box-shadow:0 12px 28px rgba(56,33,25,.07);
}
.timeline-content h3{font:800 1.08rem 'DM Sans',sans-serif;color:#6c2021;margin:0 0 10px}
.timeline-content p{font-size:.92rem;line-height:1.75}
.about-purpose{
  position:relative;overflow:hidden;
  background:linear-gradient(120deg,#fff 0%,#fbf3ed 100%);
}
.about-purpose:after{
  content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(185,37,36,.12);
  border-radius:50%;right:-130px;bottom:-170px;box-shadow:0 0 0 28px rgba(185,37,36,.025),0 0 0 58px rgba(185,37,36,.02);
}
.about-purpose-inner{
  position:relative;z-index:1;max-width:1040px;grid-template-columns:90px 1fr;
  gap:28px;align-items:start;
}
.about-purpose-mark{color:#d7a18b;font-size:9rem;line-height:.72}
.about-purpose-content{max-width:900px}
.about-purpose-content>.kicker{
  display:inline-block;padding:7px 13px;border-radius:30px;
  color:#922624;background:#f6e5df;font-weight:900;letter-spacing:.14em;
}
.about-purpose h2{max-width:760px;color:#651d20;margin:17px 0}
.about-purpose p{max-width:820px;font-size:1.03rem;line-height:1.9;color:#5f5752}
.purpose-pillars{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
  margin:28px 0 30px;
}
.purpose-pillar{
  display:flex;flex-direction:column;gap:7px;padding:18px 17px;
  border:1px solid rgba(150,47,39,.13);border-radius:13px;
  background:rgba(255,255,255,.78);box-shadow:0 8px 22px rgba(65,35,25,.045);
}
.purpose-pillar span{font-size:.72rem;font-weight:900;letter-spacing:.12em;color:#b92524}
.purpose-pillar strong{font-size:.95rem;color:#372c29}
.purpose-pillar small{font-size:.82rem;line-height:1.5;color:#776b65}
@media(max-width:900px){
  .about-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .timeline-item:nth-child(2) .timeline-year:after{display:none}
  .leader-photo{min-height:230px}
  .leader-photo img{min-height:230px}
}
@media(max-width:620px){
  .about-timeline{grid-template-columns:1fr;max-width:460px;margin-top:36px;gap:16px}
  .timeline-item:not(:last-child) .timeline-year:after{
    right:auto;left:26px;top:auto;bottom:-14px;transform:rotate(90deg);
  }
  .timeline-item:nth-child(2) .timeline-year:after{display:block}
  .timeline-item:last-child .timeline-year:after{display:none}
  .timeline-content{padding:18px 19px 20px}
  .leader-card{grid-template-columns:1fr;gap:16px}
  .leader-photo{height:290px;min-height:0}
  .leader-photo img{height:100%;min-height:0;max-height:290px;object-fit:contain}
  .leader-copy{padding:0}
  .about-purpose-inner{grid-template-columns:38px 1fr;gap:12px}
  .about-purpose-mark{font-size:5rem}
  .purpose-pillars{grid-template-columns:1fr;gap:10px;margin:22px 0}
  .purpose-pillar{padding:14px 15px}
}


/* Premium visual polish for About Us — presentation only; all page content remains unchanged */
.about-page{
  background:#fffdfb;
  color:#302927;
}
.about-motto-hero{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(ellipse at 82% 18%,rgba(232,190,145,.22),transparent 31%),
    radial-gradient(ellipse at 8% 95%,rgba(185,37,36,.17),transparent 38%),
    linear-gradient(118deg,#351416 0%,#651c20 48%,#8f2928 100%);
  padding:clamp(88px,10vw,142px) 0 clamp(82px,9vw,120px);
}
.about-motto-hero:before{
  content:"";position:absolute;z-index:-1;inset:0;opacity:.17;
  background-image:linear-gradient(120deg,transparent 49.7%,rgba(255,255,255,.18) 50%,transparent 50.3%);
  background-size:72px 72px;
  mask-image:linear-gradient(90deg,transparent,#000 65%);
}
.about-motto-hero:after{
  content:"";position:absolute;z-index:-1;width:440px;height:440px;
  right:-155px;bottom:-270px;border:1px solid rgba(255,231,205,.25);
  border-radius:50%;box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025);
}
.about-motto-hero .container{position:relative}
.about-motto-hero .kicker{
  display:inline-flex;align-items:center;gap:12px;
  color:#f0c99e;font-weight:800;letter-spacing:.2em;text-transform:uppercase;
  font-size:.75rem;
}
.about-motto-hero .kicker:before{content:"";width:34px;height:1px;background:#e9bd91}
.about-motto-hero h1{
  max-width:900px;margin:22px 0 20px;color:#fff;
  font-size:clamp(3rem,7vw,6.25rem);line-height:1.02;letter-spacing:-.055em;
  text-shadow:0 8px 28px rgba(0,0,0,.18);
}
.about-motto-hero h1 em{color:#f0c99e;font-weight:600}
.about-motto-hero p{max-width:590px;color:rgba(255,255,255,.82);font-size:1.08rem;line-height:1.85}
.about-hero-year{
  display:inline-flex;align-items:center;gap:17px;margin-top:32px;
  padding:13px 20px;border:1px solid rgba(255,255,255,.23);
  border-radius:50px;background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);color:#fff;
}
.about-hero-year strong{font:800 1.5rem 'Playfair Display',serif;color:#f0c99e}
.about-hero-year span{font-size:.87rem;color:rgba(255,255,255,.86)}
.founders-archive-section{
  position:relative;padding-top:clamp(65px,8vw,105px);padding-bottom:clamp(65px,8vw,105px);
  background:linear-gradient(180deg,#fffdfb 0%,#f8f3ed 100%);
}
.founders-archive-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
  gap:clamp(32px,6vw,78px);align-items:center;
}
.founders-archive-photo{
  position:relative;padding:13px;border-radius:20px;
  background:linear-gradient(135deg,#fff,#ead9c8);
  box-shadow:0 22px 55px rgba(55,29,21,.14);
}
.founders-archive-photo:before{
  content:"";position:absolute;inset:25px -13px -13px 25px;
  border:1px solid rgba(174,49,42,.3);border-radius:20px;z-index:0;
}
.founders-archive-photo img{
  position:relative;z-index:1;display:block;width:100%;height:100%;
  max-height:430px;object-fit:cover;object-position:center;border-radius:12px;
}
.founders-archive-photo span{
  position:relative;z-index:1;display:block;padding:14px 8px 4px;
  text-align:center;color:#7c2a27;font-weight:800;font-size:.85rem;letter-spacing:.035em;
}
.founders-archive-copy{position:relative;z-index:1}
.founders-archive-copy .kicker,
.about-leadership-section .section-head .kicker,
.about-timeline-section .section-head .kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 13px;border:1px solid rgba(185,37,36,.15);
  border-radius:50px;background:#fff7f1;color:#a02d2b;
  font-size:.72rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase;
}
.founders-archive-copy h2{
  margin:19px 0 18px;color:#4b1b1d;
  font-size:clamp(2rem,3.5vw,3.15rem);line-height:1.13;letter-spacing:-.04em;
}
.founders-archive-copy h3{
  padding-left:17px;border-left:3px solid #c18b61;
  color:#872825;font-size:1rem;line-height:1.7;
}
.founders-archive-copy p{color:#6b6059;font-size:.98rem;line-height:1.95}
.about-leadership-section{
  position:relative;padding:clamp(68px,8vw,108px) 0;
  background:
    radial-gradient(ellipse at 100% 0%,rgba(210,171,133,.12),transparent 34%),
    linear-gradient(180deg,#f7f2ec 0%,#fff 100%);
}
.about-leadership-section .section-head{text-align:center;margin:0 auto 48px;max-width:720px}
.about-leadership-section .section-head h2,
.about-timeline-section .section-head h2{
  color:#4c1b1d;font-size:clamp(2.1rem,4vw,3.4rem);
  line-height:1.12;letter-spacing:-.045em;margin:18px 0 13px;
}
.about-leadership-section .section-head p,
.about-timeline-section .section-head p{color:#746962;line-height:1.85}
.about-leadership-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;max-width:1120px;margin:0 auto;
}
.about-leadership-grid .leader-card{
  display:grid;grid-template-columns:minmax(135px,.72fr) minmax(0,1.28fr);
  align-items:stretch;gap:20px;padding:18px;
  border:1px solid #eaded2;border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 34px rgba(65,39,29,.065);
}
.about-leadership-grid .leader-photo{
  overflow:hidden;min-height:240px;border-radius:12px;
  background:linear-gradient(145deg,#eee8e1,#faf7f2);
}
.about-leadership-grid .leader-photo img{
  display:block;width:100%;height:100%;min-height:240px;max-height:300px;
  object-fit:cover;object-position:center top;
}
.about-leadership-grid .leader-copy{align-self:center}
.about-leadership-grid .leader-copy .kicker{
  color:#9b2927;background:#f8ece6;border-radius:30px;
  padding:6px 11px;font-size:.7rem;font-weight:900;letter-spacing:.12em;
}
.about-leadership-grid .leader-copy h3{
  color:#3f2421;font-size:1.16rem;line-height:1.3;margin:12px 0 5px;
}
.about-leadership-grid .leader-qualification{
  color:#9b6b48;font-weight:800;font-size:.84rem;letter-spacing:.04em;
}
.about-leadership-grid .leader-copy p{
  color:#716760;font-size:.86rem;line-height:1.78;margin-top:11px;
}
.about-timeline-section{
  padding:clamp(72px,8vw,112px) 0;
  background:
    radial-gradient(ellipse at 0% 100%,rgba(185,37,36,.09),transparent 36%),
    linear-gradient(135deg,#f4ece4,#fffaf5 55%,#f5eee7);
}
.about-timeline-section .section-head{text-align:center;margin:0 auto;max-width:780px}
.about-timeline{
  max-width:1080px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;margin:54px auto 0;
}
.about-timeline .timeline-item{
  position:relative;display:flex;flex-direction:column;min-width:0;
}
.about-timeline .timeline-year{
  display:flex;align-items:center;min-height:76px;padding:0 22px;
  color:#f7d5b1;font:800 1.75rem 'Playfair Display',serif;
  background:linear-gradient(120deg,#451719,#872526);
  border-radius:14px 14px 0 0;box-shadow:0 8px 20px rgba(77,25,25,.15);
}
.about-timeline .timeline-content{
  flex:1;padding:24px 21px 25px;background:#fff;
  border:1px solid #eaded3;border-top:0;border-radius:0 0 14px 14px;
  box-shadow:0 12px 28px rgba(57,34,25,.06);
}
.about-timeline .timeline-content h3{color:#702426;font-size:1.03rem;line-height:1.4}
.about-timeline .timeline-content p{color:#746a63;font-size:.9rem;line-height:1.8}
.about-purpose{
  padding:clamp(68px,8vw,108px) 0;
  background:linear-gradient(120deg,#fff 0%,#f8eee6 100%);
}
.about-purpose-inner{
  max-width:1060px;padding:clamp(26px,4vw,48px);
  border:1px solid #ead8c8;border-radius:22px;
  background:rgba(255,255,255,.82);
  box-shadow:0 20px 55px rgba(62,34,25,.075);
}
.about-purpose h2{font-size:clamp(2rem,3.7vw,3rem);line-height:1.14;letter-spacing:-.04em}
.about-purpose p{color:#6d625b}
.purpose-pillars{gap:12px}
.purpose-pillar{
  border-color:#eadbd0;background:linear-gradient(145deg,#fff,#fcf7f2);
  transition:transform .2s ease,box-shadow .2s ease;
}
.purpose-pillar:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(70,39,27,.08)}
.about-page .btn{
  border-radius:50px;box-shadow:0 9px 22px rgba(145,37,35,.18);
}
@media(max-width:980px){
  .about-leadership-grid{grid-template-columns:1fr}
  .about-leadership-grid .leader-card{grid-template-columns:190px 1fr}
  .about-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .about-motto-hero{padding:78px 0 76px}
  .about-motto-hero h1{font-size:clamp(2.8rem,12vw,4.2rem)}
  .founders-archive-grid{grid-template-columns:1fr;gap:32px}
  .founders-archive-photo{max-width:520px;margin:0 auto}
  .about-leadership-grid .leader-card{grid-template-columns:1fr;gap:15px}
  .about-leadership-grid .leader-photo{height:300px;min-height:0}
  .about-leadership-grid .leader-photo img{height:100%;min-height:0;max-height:300px;object-fit:contain}
  .about-timeline{grid-template-columns:1fr;max-width:470px;margin-top:34px}
  .about-timeline .timeline-year{min-height:64px}
  .about-purpose-inner{padding:24px 18px;grid-template-columns:38px 1fr}
}


/* Facilities & Infrastructure page */
.facilities-page{background:#fff}
.facilities-intro{position:relative;overflow:hidden;padding:78px 0 58px;background:linear-gradient(120deg,#fff9f4 0%,#fff 60%,#f9ece5 100%);border-bottom:1px solid #f0e2da}
.facilities-intro:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(185,37,36,.10);border-radius:50%;right:-115px;top:-245px;box-shadow:0 0 0 35px rgba(185,37,36,.025),0 0 0 75px rgba(185,37,36,.018)}
.facilities-intro .container{position:relative;z-index:1}
.facilities-intro .eyebrow{color:var(--red)}
.facilities-intro h1{font:800 clamp(38px,5.5vw,64px)/1.12 "Playfair Display",serif;color:#421d20;letter-spacing:-1.4px;margin:18px 0 14px}
.facilities-intro h1 span{color:var(--red)}
.facilities-intro p{max-width:690px;color:#716363;font-size:17px;margin:0}
.facilities-intro-rule{display:flex;align-items:center;gap:13px;margin-top:28px;color:#9a7770}
.facilities-intro-rule span{height:1px;width:42px;background:#d9a27c}
.facilities-intro-rule small{font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.facilities-showcase{padding:72px 0 96px;background:radial-gradient(ellipse at 0 0,rgba(185,37,36,.035),transparent 36%),#fff}
.facilities-section-heading{text-align:center;max-width:700px;margin:0 auto 42px}
.facilities-section-heading h2{font:700 clamp(30px,4vw,43px)/1.18 "Playfair Display",serif;color:#332326;margin:12px 0}
.facilities-section-heading p{color:var(--muted);margin:0}
.facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.facility-card{overflow:hidden;background:#fff;border:1px solid #eee1d9;border-radius:19px;box-shadow:0 12px 34px rgba(66,29,32,.075);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.facility-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px rgba(66,29,32,.13);border-color:#e2b9a5}
.facility-image{height:290px;background:#f6f0eb;display:flex;align-items:center;justify-content:center;padding:12px;border-bottom:1px solid #eee4dd}
.facility-image img{width:100%;height:100%;object-fit:contain;object-position:center}
.facility-copy{position:relative;padding:25px 29px 29px}
.facility-index{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fff1eb;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.4px;margin-bottom:12px}
.facility-copy h3{font:700 24px/1.25 "Playfair Display",serif;color:#3a2224;margin:0 0 10px}
.facility-copy p{font-size:14px;line-height:1.8;color:#716969;margin:0;max-width:540px}
@media(max-width:760px){.facilities-intro{padding:58px 0 44px}.facilities-showcase{padding:55px 0 68px}.facility-grid{gap:18px}.facility-image{height:250px}.facility-copy{padding:21px 22px 24px}}
@media(max-width:560px){.facility-grid{grid-template-columns:1fr}.facility-image{height:260px}.facilities-intro p{font-size:15px}.facilities-intro h1{font-size:39px}.facilities-section-heading{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){.facility-card{transition:none}.facility-card:hover{transform:none}}


/* Facilities page refinement: match the school's red section-title styling and align all photo frames */
.facilities-intro h1,
.facilities-intro h1 span{
  color:#b92524;
}
.facilities-intro h1{
  letter-spacing:-1.6px;
  text-wrap:balance;
}
.facility-grid{
  align-items:stretch;
  grid-auto-rows:1fr;
}
.facility-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.facility-image{
  height:auto;
  aspect-ratio:16 / 9;
  padding:0;
  overflow:hidden;
  flex:0 0 auto;
  background:#f7f0e9;
}
.facility-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.facility-image img.portrait-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:8px;
  background:#f7f0e9;
}
.facility-copy{
  flex:1 1 auto;
}
@media(max-width:760px){
  .facility-image{aspect-ratio:16 / 9;height:auto}
}


/* Final Facilities page polish */
.facilities-intro{padding:76px 0 62px;background:linear-gradient(118deg,#fff8f2 0%,#fff 52%,#f8e9df 100%)}
.facilities-intro h1{font:800 clamp(38px,5.2vw,60px)/1.12 "Playfair Display",serif;color:#b92524;letter-spacing:-1.5px;margin:0 0 16px}
.facilities-intro h1 span{color:#b92524}
.facilities-intro p{max-width:760px;font-size:17px;line-height:1.8;color:#716363}
.facilities-intro-rule{margin-top:25px}
.facilities-showcase{padding:68px 0 96px;background:radial-gradient(ellipse at 8% 4%,rgba(185,37,36,.07),transparent 34%),linear-gradient(180deg,#fff 0%,#fffaf6 100%)}
.facilities-section-heading{margin-bottom:38px}
.facilities-section-heading .kicker{color:#b92524;letter-spacing:2px}
.facilities-section-heading h2{color:#681d20}
.facility-grid{gap:28px;align-items:stretch}
.facility-card{position:relative;isolation:isolate;border:1px solid rgba(185,37,36,.16);border-radius:20px;background:linear-gradient(145deg,#fff 0%,#fffaf6 100%);box-shadow:0 14px 36px rgba(66,29,32,.09);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.facility-card:before{content:"";position:absolute;z-index:2;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#8f171b,#d94a3e,#e8b77e);border-radius:20px 20px 0 0}
.facility-card:after{content:"";position:absolute;z-index:-1;width:150px;height:150px;right:-70px;bottom:-75px;border-radius:50%;background:radial-gradient(circle,rgba(185,37,36,.07),transparent 70%);pointer-events:none}
.facility-card:hover{transform:translateY(-7px);box-shadow:0 23px 48px rgba(66,29,32,.15);border-color:rgba(185,37,36,.35)}
.facility-image{aspect-ratio:16/9;height:auto;border-bottom:1px solid rgba(185,37,36,.10);background:#eee6df;position:relative}
.facility-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.facility-image:has(img.portrait-photo){background:#1d403b;overflow:hidden}
.facility-image:has(img.portrait-photo):before{content:"";position:absolute;inset:-12px;background:url("../assets/facility-smart-classroom.jpeg") center 45%/cover no-repeat;filter:blur(12px) brightness(.62);transform:scale(1.08)}
.facility-image img.portrait-photo{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center;padding:0;background:transparent}
.facility-copy{padding:24px 28px 29px;position:relative}
.facility-index{width:auto;height:auto;min-width:42px;padding:6px 11px;border-radius:999px;background:linear-gradient(135deg,#fff0e9,#f9ded3);border:1px solid rgba(185,37,36,.16);color:#a91e22;font-size:10px;letter-spacing:1px;margin-bottom:13px}
.facility-copy h3{font-size:23px;color:#5c2022;margin-bottom:9px}
.facility-copy p{font-size:14px;line-height:1.85;color:#716767}
@media(max-width:760px){.facilities-intro{padding:58px 0 45px}.facilities-showcase{padding:54px 0 70px}.facility-grid{gap:20px}.facility-copy{padding:21px 22px 25px}}
@media(max-width:560px){.facilities-intro h1{font-size:36px}.facilities-intro p{font-size:15px}.facility-image{aspect-ratio:16/9;height:auto}.facility-copy h3{font-size:21px}}


/* Facilities: restore the original boxed-photo card layout */
.facilities-intro{padding:68px 0 48px!important;text-align:center!important;background:linear-gradient(118deg,#fff8f2 0%,#fff 52%,#f8e9df 100%)!important}
.facilities-intro .container{display:flex;justify-content:center;align-items:center;text-align:center}
.facilities-intro h1{width:100%;text-align:center!important;color:#8f171b!important;font-weight:800!important;margin:0!important;letter-spacing:-1.5px}
.facilities-intro h1 span{color:#8f171b!important}
.facilities-showcase{padding:54px 0 88px!important;background:radial-gradient(ellipse at 8% 4%,rgba(185,37,36,.07),transparent 34%),linear-gradient(180deg,#fff 0%,#fffaf6 100%)!important}
.facility-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;align-items:stretch!important}
.facility-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;position:relative!important;isolation:isolate;border:1px solid rgba(185,37,36,.2)!important;border-radius:20px!important;background:linear-gradient(145deg,#fff 0%,#fffaf6 100%)!important;box-shadow:0 14px 36px rgba(66,29,32,.10)!important;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important}
.facility-card:before{content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#8f171b,#d94a3e,#e8b77e)}
.facility-card:hover{transform:translateY(-6px)!important;box-shadow:0 23px 48px rgba(66,29,32,.16)!important;border-color:rgba(185,37,36,.4)!important}
.facility-image{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:290px!important;aspect-ratio:16/9!important;box-sizing:border-box!important;overflow:hidden!important;padding:12px!important;background:#f7f0e9!important;border-bottom:1px solid rgba(185,37,36,.13)!important;flex:0 0 auto!important}
.facility-image img,.facility-image img.portrait-photo{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;background:transparent!important;transform:none!important}
.facility-image:has(img.portrait-photo):before{content:none!important}
.facility-copy{display:flex!important;align-items:center!important;justify-content:center!important;min-height:82px!important;padding:20px 24px!important;text-align:center!important;background:linear-gradient(180deg,#fff 0%,#fff8f3 100%)!important}
.facility-copy h3{margin:0!important;font:700 clamp(20px,2vw,25px)/1.3 "Playfair Display",serif!important;color:#8f171b!important;text-align:center!important}
@media(max-width:760px){.facilities-intro{padding:55px 0 40px!important}.facilities-showcase{padding:42px 0 64px!important}.facility-grid{gap:20px!important}.facility-image{height:250px!important}}
@media(max-width:560px){.facility-grid{grid-template-columns:1fr!important;gap:22px!important}.facilities-intro h1{font-size:36px!important}.facility-image{height:235px!important}.facility-copy{min-height:72px!important;padding:18px!important}}

/* Final requested refinement: stronger title contrast and uniform photo ratio */
.facilities-intro{
  background:linear-gradient(120deg,#76151b 0%,#941d24 55%,#651219 100%)!important;
  padding:62px 0 58px!important;
  border-bottom:4px solid #d7a36c!important;
  position:relative!important;
  overflow:hidden!important;
}
.facilities-intro:before{
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 75px rgba(255,255,255,.025)!important;
}
.facilities-intro h1{
  color:#fff8ef!important;
  text-shadow:0 3px 18px rgba(35,0,0,.22)!important;
}
.facilities-intro h1 span{color:#ffd2b9!important}
.facility-image{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  padding:0!important;
  overflow:hidden!important;
  background:#eee6df!important;
}
.facility-image img,.facility-image img.portrait-photo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  padding:0!important;
  background:transparent!important;
}
.facility-image:has(img.portrait-photo):before{content:none!important}
@media(max-width:760px){.facilities-intro{padding:52px 0 46px!important}.facility-image{height:auto!important;aspect-ratio:16/9!important}}
@media(max-width:560px){.facilities-intro h1{font-size:36px!important}.facility-image{height:auto!important;aspect-ratio:16/9!important}}


/* Final text-only adjustment requested: keep Infrastructure white */
.facilities-intro h1 span{color:#ffffff!important}


/* Final requested update: concise Facilities heading and improved school-bus photo framing */
.facilities-intro h1{color:#fff8ef!important}
.facilities-intro h1 span{display:none!important}
.facility-card:first-child .facility-image img{
  object-fit:cover!important;
  object-position:38% center!important;
  filter:brightness(1.06) contrast(1.05) saturate(1.06);
}


/* Academics page premium refinement */
.academics-page .academics-banner{position:relative;isolation:isolate;overflow:hidden;text-align:center;min-height:310px;padding:72px 0 68px;background:linear-gradient(110deg,rgba(91,12,16,.96),rgba(166,27,31,.91) 55%,rgba(202,52,46,.88)),radial-gradient(ellipse at 78% 28%,rgba(255,224,190,.24),transparent 38%)}
.academics-page .academics-banner:before,.academics-page .academics-banner:after{content:"";position:absolute;z-index:-1;pointer-events:none;opacity:.23;filter:blur(2px);border-radius:18px;transform:rotate(-16deg)}
.academics-page .academics-banner:before{width:260px;height:190px;left:5%;top:55px;background:linear-gradient(90deg,rgba(255,242,221,.8) 0 12%,rgba(126,25,27,.9) 12% 17%,rgba(255,248,231,.75) 17% 53%,rgba(126,25,27,.9) 53% 58%,rgba(255,242,221,.75) 58% 100%);box-shadow:18px 20px 0 rgba(255,255,255,.16),35px 36px 0 rgba(38,4,7,.18)}
.academics-page .academics-banner:after{width:220px;height:160px;right:7%;bottom:24px;transform:rotate(13deg);background:linear-gradient(90deg,rgba(255,247,228,.8) 0 16%,rgba(105,17,20,.9) 16% 22%,rgba(255,247,228,.72) 22% 100%);box-shadow:-18px 17px 0 rgba(255,255,255,.16),-35px 32px 0 rgba(38,4,7,.18)}
.academics-page .academics-banner-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}
.academics-page .academics-eyebrow{margin:0 0 14px}.academics-page .academics-banner h1{margin:0 0 16px;text-align:center}.academics-page .academics-banner p{margin:0 auto;text-align:center;max-width:620px}
.academics-page .academics-content{padding:76px 0 88px;background:linear-gradient(180deg,#fcf9f6 0%,#fff 100%)}
.academics-page .academics-grid{gap:24px}
.academics-page .academics-card{position:relative;overflow:hidden;min-height:174px;padding:31px 29px 28px;border:1px solid #eee0da;border-radius:16px;background:linear-gradient(145deg,#fff 0%,#fff 70%,#fff8f5 100%);box-shadow:0 8px 24px rgba(75,24,20,.055);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.academics-page .academics-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#d64b43,#94191f)}
.academics-page .academics-card:after{content:"";position:absolute;width:105px;height:105px;right:-38px;top:-43px;border:1px solid rgba(185,37,36,.09);border-radius:50%;box-shadow:0 0 0 13px rgba(185,37,36,.025),0 0 0 27px rgba(185,37,36,.018)}
.academics-page .academics-card:hover{transform:translateY(-7px);border-color:#d9aaa3;box-shadow:0 17px 36px rgba(113,24,25,.13)}
.academics-page .academics-card h2{position:relative;z-index:1;font-size:19px;letter-spacing:-.25px;margin:0 0 12px;color:#8f1c21}
.academics-page .academics-card p{position:relative;z-index:1;font-size:14px;line-height:1.75;color:#69615e;max-width:95%}
@media(max-width:900px){.academics-page .academics-banner:before{left:-85px}.academics-page .academics-banner:after{right:-85px}}
@media(max-width:600px){.academics-page .academics-banner{min-height:235px;padding:55px 0 52px}.academics-page .academics-banner:before{width:150px;height:115px;left:-95px;top:55px;opacity:.16}.academics-page .academics-banner:after{width:145px;height:105px;right:-95px;bottom:20px;opacity:.16}.academics-page .academics-grid{gap:16px}.academics-page .academics-card{min-height:unset;padding:25px 23px 24px}.academics-page .academics-card p{max-width:100%}}


/* Final Events gallery refinement: identical image frames across Tiles 2 and 3. */
.events-page .events-card-grid .event-card,
.events-page .golden-extra-gallery .golden-extra-photo {
  aspect-ratio: 4 / 3;
  height: auto;
  min-width: 0;
}
.events-page .events-card-grid .event-card img,
.events-page .golden-extra-gallery .golden-extra-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Blend the collection photographs into their tiles and give them a little more presence. */
.events-page .collection-tile {
  isolation: isolate;
  background: #4b1718;
}
.events-page .collection-tile > img {
  transform: scale(1.10);
  filter: saturate(1.08) contrast(1.04);
}
.events-page .collection-tile:hover > img {
  transform: scale(1.16);
}
.events-page .collection-tile .tile-shade {
  background:
    linear-gradient(180deg, rgba(24,10,10,.10) 0%, rgba(39,12,13,.24) 35%, rgba(39,12,13,.90) 100%),
    linear-gradient(90deg, rgba(45,8,10,.20), transparent 65%);
  backdrop-filter: saturate(1.05);
}
@media (max-width: 620px) {
  .events-page .events-card-grid .event-card,
  .events-page .golden-extra-gallery .golden-extra-photo {
    aspect-ratio: 4 / 3;
  }
  .events-page .events-card-grid .event-card img,
  .events-page .golden-extra-gallery .golden-extra-photo img {
    aspect-ratio: 4 / 3;
    height: 100%;
  }
}


/* Events hero: enlarge the title-section photograph and blend it across the banner. */
.events-page .events-hero {
  background:
    linear-gradient(100deg, rgba(92, 8, 12, .86) 0%, rgba(112, 13, 17, .62) 42%, rgba(57, 9, 12, .28) 100%);
}
.events-page .events-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -5%;
  background: url('../assets/events-hero-golden-jubilee.jpeg') center 42% / cover no-repeat;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}
.events-page .events-hero::after {
  z-index: -1;
  background: radial-gradient(circle at 78% 45%, rgba(255,255,255,.04), transparent 44%);
}

/* Lightbox collection switcher: move between the three galleries without closing the viewer. */
.archive-lightbox {
  padding-bottom: 88px;
}
.lightbox-collections {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  width: min(760px, calc(100% - 32px));
  color: #fff;
  z-index: 2;
}
.lightbox-collections button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 42%;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  font: 600 13px/1.2 inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-collections button:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.55);
}
.lightbox-collections button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lightbox-collection-current {
  color: #f6d68b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .archive-lightbox { padding: 56px 8px 100px; }
  .lightbox-collections {
    bottom: 14px;
    gap: 6px;
    width: calc(100% - 18px);
  }
  .lightbox-collections button {
    padding: 9px 10px;
    gap: 5px;
    font-size: 11px;
  }
  .lightbox-collection-current {
    font-size: 9px;
    letter-spacing: .04em;
  }
}


/* Premium events banner: one full-bleed image with left-aligned readable copy. */
.events-page .events-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(520px, 58vw, 700px);
  background: #4b1014;
}
.events-page .events-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('../assets/events-hero-golden-jubilee.jpeg') center 42% / cover no-repeat;
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.04);
}
.events-page .events-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  right: auto;
  top: auto;
  background: linear-gradient(90deg,
    rgba(48, 7, 10, .92) 0%,
    rgba(70, 9, 13, .78) 34%,
    rgba(75, 12, 17, .36) 63%,
    rgba(40, 7, 10, .08) 100%);
  box-shadow: none;
}
.events-page .events-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(92px, 11vw, 150px) clamp(24px, 6vw, 84px);
  text-align: left;
}
.events-page .events-hero-inner > * {
  max-width: 650px;
}
.events-page .events-hero h1 {
  max-width: 650px;
  text-wrap: balance;
}
.events-page .events-hero p {
  max-width: 540px;
}
@media (max-width: 700px) {
  .events-page .events-hero {
    min-height: 540px;
  }
  .events-page .events-hero::before {
    background-position: 58% center;
  }
  .events-page .events-hero::after {
    background: linear-gradient(90deg, rgba(48,7,10,.88), rgba(48,7,10,.58) 72%, rgba(48,7,10,.30));
  }
  .events-page .events-hero-inner {
    padding: 100px 24px 90px;
  }
}

/* Enlarged photo viewer with a persistent vertical collection switcher on the right. */
.events-page .archive-lightbox {
  display: none;
  padding: 34px 310px 34px 72px;
  align-items: center;
  justify-content: center;
}
.events-page .archive-lightbox.is-open {
  display: flex;
}
.events-page .archive-lightbox figure {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 68px);
}
.events-page .archive-lightbox figure img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}
.events-page .lightbox-collections {
  position: fixed;
  top: 50%;
  right: 26px;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
  width: 248px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  color: #fff;
  background: rgba(30, 15, 16, .82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  z-index: 20;
}
.events-page .lightbox-nav-kicker {
  padding: 2px 10px 12px;
  color: #e9c58b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.events-page .lightbox-collections .lightbox-collection-link {
  width: 100%;
  max-width: none;
  min-height: 56px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255,255,255,.82);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.events-page .lightbox-collection-number {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #f2d4a1;
  font-size: 11px;
  font-weight: 800;
}
.events-page .lightbox-collection-name {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  white-space: normal;
}
.events-page .lightbox-collections .lightbox-collection-link:hover,
.events-page .lightbox-collections .lightbox-collection-link.is-active {
  color: #fff;
  background: rgba(160, 38, 43, .78);
  border-color: rgba(255,255,255,.2);
}
.events-page .lightbox-collections .lightbox-collection-link.is-active .lightbox-collection-number {
  color: #5b1719;
  background: #f1d29a;
}
.events-page .lightbox-prev {
  left: 20px;
}
.events-page .lightbox-next {
  right: 292px;
}
.events-page .lightbox-close {
  top: 18px;
  right: 22px;
  z-index: 25;
}
@media (max-width: 760px) {
  .events-page .archive-lightbox {
    padding: 58px 12px 116px;
    align-items: center;
  }
  .events-page .archive-lightbox figure {
    max-height: calc(100vh - 190px);
  }
  .events-page .archive-lightbox figure img {
    max-height: calc(100vh - 220px);
  }
  .events-page .lightbox-collections {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: none;
    width: auto;
    padding: 9px;
    flex-direction: row;
    gap: 5px;
    border-radius: 14px;
  }
  .events-page .lightbox-nav-kicker {
    display: none;
  }
  .events-page .lightbox-collections .lightbox-collection-link {
    min-height: 48px;
    padding: 7px 6px;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
  }
  .events-page .lightbox-collection-number {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 9px;
  }
  .events-page .lightbox-collection-name {
    font-size: 10px;
    line-height: 1.15;
  }
  .events-page .lightbox-prev {
    left: 8px;
  }
  .events-page .lightbox-next {
    right: 8px;
  }
  .events-page .lightbox-close {
    top: 8px;
    right: 8px;
  }
}


/* Corrected events banner: copy on the left, existing photograph enlarged on the right. */
.events-page .events-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(430px, 42vw, 570px);
  background: #a91f25;
}
.events-page .events-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(78%, 1120px);
  background: url('../assets/events-hero-golden-jubilee.jpeg') right 42% / cover no-repeat;
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 22%, #000 52%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.18) 22%, #000 52%);
}
.events-page .events-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg,
    #a91f25 0%,
    #a91f25 35%,
    rgba(169,31,37,.96) 43%,
    rgba(169,31,37,.66) 55%,
    rgba(169,31,37,.08) 78%,
    rgba(169,31,37,0) 100%);
  box-shadow: none;
}
.events-page .events-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(82px, 9vw, 124px) 28px;
  text-align: left;
}
.events-page .events-hero-inner > * {
  max-width: 560px;
}
.events-page .events-hero h1 {
  max-width: 560px;
}
.events-page .events-hero p {
  max-width: 490px;
}
@media (max-width: 700px) {
  .events-page .events-hero {
    min-height: 510px;
  }
  .events-page .events-hero::before {
    width: 100%;
    background-position: 62% center;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.48), #000 55%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.48), #000 55%);
  }
  .events-page .events-hero::after {
    background: linear-gradient(180deg, rgba(169,31,37,.9) 0%, rgba(169,31,37,.86) 42%, rgba(169,31,37,.55) 100%);
  }
  .events-page .events-hero-inner {
    padding: 76px 22px 70px;
  }
}

/* Gallery-level tile selector: stays visible before opening photos and across collections. */
.events-page main > .gallery-side-nav {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: clamp(14px, 2.2vw, 32px);
  transform: translateY(-50%);
  width: 226px;
  padding: 18px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  background: rgba(48, 13, 15, .94);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  box-shadow: 0 18px 48px rgba(44, 7, 10, .24);
  backdrop-filter: blur(16px);
}
.events-page .gallery-nav-kicker {
  padding: 2px 10px 9px;
  color: #e9c58b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.events-page .gallery-nav-link {
  width: 100%;
  min-height: 58px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255,255,255,.86);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.events-page .gallery-nav-link:hover {
  background: rgba(255,255,255,.09);
  transform: translateX(-2px);
}
.events-page .gallery-nav-number {
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #f1d29a;
  font-size: 11px;
  font-weight: 800;
}
.events-page .gallery-nav-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.events-page .gallery-nav-copy strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
}
.events-page .gallery-nav-copy small {
  color: rgba(255,255,255,.65);
  font-size: 10px;
  line-height: 1.2;
}
.events-page .gallery-nav-link.is-active {
  color: #fff;
  background: #a9252b;
  border-color: rgba(255,255,255,.22);
}
.events-page .gallery-nav-link.is-active .gallery-nav-number {
  color: #5b1719;
  background: #f1d29a;
}
.events-page .gallery-nav-home {
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #f1d29a;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.events-page .gallery-nav-home:hover {
  background: rgba(255,255,255,.13);
}

/* Reserve a clean column for the selector so it never covers gallery photographs. */
@media (min-width: 1100px) {
  .events-page .events-collection-hub > .container,
  .events-page .events-section > .container,
  .events-page .golden-section > .container {
    width: calc(100% - 270px);
    max-width: 1180px;
    margin-left: max(24px, calc((100% - 1180px) / 2));
    margin-right: auto;
  }
}
.events-page [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .events-page main > .gallery-side-nav {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: none;
    width: auto;
    padding: 8px;
    flex-direction: row;
    gap: 5px;
    border-radius: 14px;
  }
  .events-page .gallery-nav-kicker,
  .events-page .gallery-nav-home {
    display: none;
  }
  .events-page .gallery-nav-link {
    flex: 1 1 0;
    min-height: 54px;
    padding: 6px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
  }
  .events-page .gallery-nav-number {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 9px;
  }
  .events-page .gallery-nav-copy {
    align-items: center;
    gap: 1px;
  }
  .events-page .gallery-nav-copy strong {
    font-size: 10px;
  }
  .events-page .gallery-nav-copy small {
    display: none;
  }
  .events-page main {
    padding-bottom: 78px;
  }
}


/* Soft feathered transition between the red banner and the right-side photograph. */
.events-page .events-hero::before {
  width: min(86%, 1240px);
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.03) blur(1.5px);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.025) 10%,
    rgba(0,0,0,.10) 20%,
    rgba(0,0,0,.28) 31%,
    rgba(0,0,0,.58) 43%,
    rgba(0,0,0,.86) 56%,
    #000 70%);
  mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.025) 10%,
    rgba(0,0,0,.10) 20%,
    rgba(0,0,0,.28) 31%,
    rgba(0,0,0,.58) 43%,
    rgba(0,0,0,.86) 56%,
    #000 70%);
}
.events-page .events-hero::after {
  background:
    linear-gradient(90deg,
      #a91f25 0%,
      #a91f25 27%,
      rgba(169,31,37,.97) 38%,
      rgba(169,31,37,.82) 49%,
      rgba(169,31,37,.52) 60%,
      rgba(169,31,37,.20) 73%,
      rgba(169,31,37,0) 88%),
    radial-gradient(ellipse at 57% 50%,
      rgba(169,31,37,.42) 0%,
      rgba(169,31,37,.16) 36%,
      rgba(169,31,37,0) 72%);
}
@media (max-width: 700px) {
  .events-page .events-hero::before {
    width: 100%;
    filter: saturate(1.05) contrast(1.02) blur(1px);
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.45) 18%,
      rgba(0,0,0,.82) 42%,
      #000 62%);
    mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.45) 18%,
      rgba(0,0,0,.82) 42%,
      #000 62%);
  }
  .events-page .events-hero::after {
    background: linear-gradient(180deg,
      rgba(169,31,37,.94) 0%,
      rgba(169,31,37,.84) 28%,
      rgba(169,31,37,.58) 58%,
      rgba(169,31,37,.38) 100%);
  }
}

/* Contact page: image-free, refined Rose Buds maroon hero. */
.contact-page .contact-hero {
  background:
    radial-gradient(ellipse at 82% 22%, rgba(231,190,157,.16) 0, rgba(231,190,157,0) 34%),
    radial-gradient(ellipse at 95% 100%, rgba(255,255,255,.07) 0, rgba(255,255,255,0) 38%),
    linear-gradient(118deg, #501116 0%, #781b21 48%, #9b292c 100%) !important;
  min-height: 430px;
}
.contact-page .contact-hero::before {
  content:""; position:absolute; z-index:-1; right:-105px; top:-210px;
  width:590px; height:590px; border:1px solid rgba(246,218,196,.17);
  border-radius:50%; box-shadow:0 0 0 34px rgba(246,218,196,.035), 0 0 0 70px rgba(246,218,196,.025);
  pointer-events:none;
}
.contact-page .contact-hero::after {
  content:""; position:absolute; z-index:-1; right:9%; bottom:0; width:1px; height:42%;
  background:linear-gradient(transparent,rgba(246,218,196,.28),transparent);
  pointer-events:none;
}
.contact-page .contact-hero-shade {
  background:linear-gradient(90deg,rgba(49,9,14,.2),rgba(77,13,19,.08) 68%,rgba(77,13,19,.02)) !important;
}
.contact-page .contact-hero-content { max-width:1240px; }
.contact-page .contact-hero h1 { max-width:720px; }
.contact-page .contact-page-section { background:linear-gradient(180deg,#fbf8f5 0%,#f7f0eb 100%); }
.contact-page .contact-info-card { box-shadow:0 8px 26px rgba(57,27,24,.045); }
.contact-page .contact-info-card:hover { box-shadow:0 16px 34px rgba(57,27,24,.10); }
.contact-page .contact-action-strip { border:1px solid #eee1d9; box-shadow:0 10px 28px rgba(57,27,24,.045); }
.contact-page .contact-enquiry-form { box-shadow:0 14px 38px rgba(57,27,24,.07); }
@media (max-width:700px) {
  .contact-page .contact-hero { min-height:410px; }
  .contact-page .contact-hero::before { right:-280px; top:-140px; }
}


/* Premium Contact Us page — no school photograph; original supplied crest retained. */
.contact-premium{background:#fff7ee;color:#2a2020;font-family:"DM Sans",sans-serif}
.contact-premium .cp-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 75% 30%,#83152a 0%,#650b20 42%,#4d0919 100%);color:#fff;min-height:292px;padding:48px 0 58px}
.contact-premium .cp-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 45%,rgba(255,255,255,.035) 45.2%,transparent 65%);pointer-events:none}
.cp-hero-inner{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:205px;z-index:1}.cp-hero-copy{max-width:650px}.cp-eyebrow{display:flex;align-items:center;gap:18px;letter-spacing:5px;font-size:14px;font-weight:700;color:#f8df9d}.cp-eyebrow i{width:48px;height:2px;background:#e8bd69}.cp-hero h1{font:700 clamp(48px,6vw,78px)/1.08 "Playfair Display",serif;margin:12px 0;color:#fff}.cp-hero p{font:italic 20px/1.55 "Playfair Display",serif;color:#fff1e8;margin:14px 0 0}.cp-hero-art{width:35%;max-width:390px;opacity:.25}.cp-hero-art svg{width:100%;height:auto;fill:none;stroke:#e8a4a0;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.cp-wave{position:absolute;bottom:-2px;left:-2%;width:104%;height:30px;background:#fff7ee;border-top:5px solid #e9bd70;border-radius:50% 50% 0 0/65% 65% 0 0}
.cp-main{padding:34px 0 46px;background:radial-gradient(circle at 0 45%,rgba(226,190,151,.13),transparent 24%),#fff7ee}.cp-panels{display:grid;grid-template-columns:.88fr 1.22fr;gap:28px;align-items:stretch}.cp-info,.cp-form{position:relative;border-radius:22px;min-height:360px;box-shadow:0 14px 30px rgba(66,24,24,.12)}.cp-info{padding:28px 34px;background:rgba(255,250,244,.88);border:1px solid #e4c49e;overflow:hidden}.cp-info h2,.cp-form h2{font:700 34px/1.2 "Playfair Display",serif;margin:0 0 22px}.cp-info h2{color:#650d20}.cp-rose{position:absolute;right:24px;top:8px;color:#e8c9a8;font-size:94px;opacity:.65}.cp-detail{position:relative;display:flex;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #ead7c4;z-index:1}.cp-detail:last-child{border:0}.cp-icon{display:grid;place-items:center;flex:0 0 60px;height:60px;border-radius:16px;background:linear-gradient(145deg,#a52238,#5d0b20);color:#fff;font-size:27px;box-shadow:0 6px 14px #6b13222b}.cp-detail b{display:block;font-size:17px;margin-bottom:1px;color:#171313}.cp-detail a,.cp-detail p{display:block;margin:0;color:#1e1919;font-size:16px;line-height:1.55;overflow-wrap:anywhere}.cp-form{padding:27px 36px 24px;background:linear-gradient(135deg,#86162c,#57091d);color:#fff}.cp-form h2{margin-bottom:20px}.cp-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px}.cp-fields label{height:48px;background:#fffaf5;border-radius:11px;display:flex;align-items:center;padding:0 15px;color:#6b1024;gap:12px}.cp-fields label>span{font-size:20px}.cp-fields input,.cp-fields select,.cp-fields textarea{border:0;outline:0;background:transparent;width:100%;font:15px "DM Sans",sans-serif;color:#2b2020;min-width:0}.cp-fields input::placeholder,.cp-fields textarea::placeholder{color:#4e4545;opacity:1}.cp-fields select{appearance:auto}.cp-fields .cp-message{grid-column:1/-1;height:90px;align-items:flex-start;padding-top:13px}.cp-fields textarea{resize:vertical;height:65px}.cp-submit{display:block;margin:18px auto 7px;border:0;border-radius:40px;padding:14px 48px;background:linear-gradient(100deg,#f2cf80,#e4ad50);color:#531021;font:700 17px "Playfair Display",serif;cursor:pointer;box-shadow:0 5px 14px #25050b55}.cp-form small{display:block;text-align:center;color:#f1d9d8;font-size:11px}.cp-status{text-align:center;font-size:12px;margin:4px 0;color:#ffe2a2}.cp-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px auto 0;max-width:1040px}.cp-features>div{display:flex;align-items:center;gap:17px;padding:8px 20px;border-right:1px solid #d5a77e}.cp-features>div:last-child{border:0}.cp-features>div>span{display:grid;place-items:center;width:62px;height:62px;border:1px solid #d8a66c;border-radius:50%;font-size:29px;color:#720e25;background:#fffaf4;flex:0 0 62px}.cp-features b{display:block;font:700 19px "Playfair Display",serif;color:#650d20}.cp-features small{display:block;font-size:13px;color:#403737}
/* Exact user-provided logo proportions */
.brand img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:0}.brand{gap:14px}.brand strong{font-size:22px}.brand small{letter-spacing:2px}
@media(max-width:760px){.cp-hero{padding:38px 0 48px!important;min-height:250px!important}.cp-hero-inner{min-height:175px}.cp-hero-art{width:27%;opacity:.16}.cp-hero h1{font-size:48px}.cp-hero p{font-size:16px}.desktop-only{display:none}.cp-panels{grid-template-columns:1fr;gap:18px}.cp-info,.cp-form{min-height:0;padding:24px}.cp-info h2,.cp-form h2{font-size:29px}.cp-features{grid-template-columns:1fr;gap:8px;margin-top:22px}.cp-features>div{border-right:0;border-bottom:1px solid #e1c6a8;padding:10px 5px}.cp-features>div:last-child{border:0}.brand img{width:54px;height:54px}.brand strong{font-size:16px}.brand small{font-size:9px}.cp-fields{grid-template-columns:1fr}.cp-fields .cp-message{grid-column:auto}.cp-submit{width:100%;padding:13px 18px}}

/* Contact page: hero kept clean without decorative symbol; map-linked school address */
.contact-premium .cp-hero-inner{justify-content:flex-start}
.contact-premium .cp-hero-copy{max-width:760px}
.contact-premium .cp-map-link{color:inherit;text-decoration:none}
.contact-premium .cp-map-link:hover{text-decoration:underline;text-decoration-color:#b98548}
.contact-premium .cp-directions{display:inline-block;margin-top:5px;color:#8b1b30;font-weight:700;font-size:13px;text-decoration:underline;text-underline-offset:3px}


/* Final Contact Us theme refinement: maroon page backdrop, no floral ornament. */
.contact-premium .cp-main{background:radial-gradient(ellipse at 50% 0%,#781326 0%,#570b1c 58%,#430713 100%);}
.contact-premium .cp-wave{background:#570b1c;border-top-color:#e9bd70;}
.contact-premium .cp-features>div{border-right-color:rgba(239,199,128,.62);}
.contact-premium .cp-features>div:last-child{border-right:0;}
.contact-premium .cp-features b{color:#fff1d8;}
.contact-premium .cp-features small{color:#f8e8df;}
.contact-premium .cp-features>div>span{background:#fff8ed;border-color:#e8bd70;color:#710f25;}
@media(max-width:760px){.contact-premium .cp-features>div{border-right:0;border-bottom:1px solid rgba(239,199,128,.42);}}

/* Rose Buds Contact Us — ivory and school-red finish; clean hero with no symbol. */
.contact-premium{background:#fffaf4!important;color:#211919!important;}
.contact-premium .cp-hero{background:linear-gradient(115deg,#fffaf4 0%,#fbf5ed 58%,#fffdf9 100%)!important;color:#241919!important;min-height:292px;padding:42px 0 58px!important;}
.contact-premium .cp-hero:before{background:linear-gradient(145deg,transparent 0 48%,rgba(145,20,30,.025) 48.2%,transparent 72%)!important;}
.contact-premium .cp-eyebrow{color:#650d20!important;}
.contact-premium .cp-eyebrow i{background:#a91420!important;}
.contact-premium .cp-hero h1{color:#9e101b!important;}
.contact-premium .cp-hero p{color:#332626!important;}
.contact-premium .cp-wave{background:#a80e1b!important;border-top:5px solid #e8b85e!important;border-radius:50% 50% 0 0/65% 65% 0 0!important;height:34px!important;}
.contact-premium .cp-main{background:linear-gradient(180deg,#fffaf4 0%,#f8f1e9 100%)!important;padding-top:24px!important;}
.contact-premium .cp-info{background:#fffdf9!important;border:1px solid #eee3d8!important;box-shadow:0 10px 26px rgba(66,24,24,.10)!important;}
.contact-premium .cp-info h2,.contact-premium .cp-features b{color:#a20e1b!important;}
.contact-premium .cp-icon{background:linear-gradient(145deg,#d71920,#8d0712)!important;}
.contact-premium .cp-form{background:linear-gradient(135deg,#c91520 0%,#970914 100%)!important;border:1px solid rgba(130,0,10,.12)!important;box-shadow:0 12px 28px rgba(66,24,24,.15)!important;}
.contact-premium .cp-features>div{border-right-color:#d9b8a8!important;}
.contact-premium .cp-features b{color:#a20e1b!important;}
.contact-premium .cp-features small{color:#342929!important;}
.contact-premium .cp-features>div>span{background:#fff!important;border-color:#e7d8cd!important;color:#b20e1b!important;}
.contact-premium .cp-directions{color:#a20e1b!important;}
@media(max-width:760px){.contact-premium .cp-features>div{border-right:0!important;border-bottom:1px solid #e8d8ce!important;}}

/* Contact enquiry panel: switch to a clean white card to match the ivory/red theme. */
.contact-premium .cp-form{
  background:#fff!important;
  color:#8f0d19!important;
  border:1px solid #eadbd5!important;
  box-shadow:0 12px 30px rgba(80,20,20,.12)!important;
}
.contact-premium .cp-form h2{color:#9e101b!important;}
.contact-premium .cp-fields label{
  background:#fffaf6!important;
  border:1px solid #eadbd5!important;
  color:#a20e1b!important;
}
.contact-premium .cp-fields input,
.contact-premium .cp-fields select,
.contact-premium .cp-fields textarea{color:#241b1b!important;}
.contact-premium .cp-fields input::placeholder,
.contact-premium .cp-fields textarea::placeholder{color:#655858!important;}
.contact-premium .cp-form small{color:#6b5555!important;}
.contact-premium .cp-status{color:#9e101b!important;}
.contact-premium .cp-submit{
  background:linear-gradient(100deg,#c91824,#990b17)!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(128,8,20,.2)!important;
}


/* Events page refinement: restrained Rose Buds burgundy headings and clearer photography. */
.events-page .events-section .kicker,
.events-page .golden-copy .kicker,
.events-page .golden-gallery-heading .kicker,
.events-page .collection-intro .kicker {
  color:#8b3438 !important;
}
.events-page .events-section h2,
.events-page .golden-gallery-heading h2,
.events-page .collection-intro h2 {
  color:#63272b !important;
}
.events-page .collection-intro h2 em { color:#956064 !important; }
.events-page .legacy-tagline { color:#753238 !important; }
.events-page .legacy-tagline em { color:#a97878 !important; }
.events-page .golden-gallery-heading h2 { text-shadow:none !important; }
.events-page .legacy-photo img,
.events-page .event-card img,
.events-page .golden-feature-image,
.events-page .golden-extra-photo img {
  image-rendering:auto;
  backface-visibility:hidden;
}


/* Facilities hero — refined text-only treatment */
.facilities-page .facilities-intro{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  min-height:270px!important;
  padding:82px 0 78px!important;
  text-align:center!important;
  background:
    linear-gradient(112deg,#5f1018 0%,#861922 48%,#65121a 100%)!important;
  border:0!important;
  border-bottom:3px solid #d5a36c!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.12)!important;
}
.facilities-page .facilities-intro:before,
.facilities-page .facilities-intro:after{
  content:none!important;
  display:none!important;
}
.facilities-page .facilities-intro .container{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  text-align:center!important;
}
.facilities-page .facilities-intro h1{
  width:100%!important;
  margin:0!important;
  color:#fff8ef!important;
  font-family:"Playfair Display",serif!important;
  font-size:clamp(46px,6vw,72px)!important;
  font-weight:800!important;
  line-height:1.08!important;
  letter-spacing:-1.8px!important;
  text-align:center!important;
  text-shadow:0 4px 22px rgba(28,0,3,.24)!important;
}
@media(max-width:760px){
  .facilities-page .facilities-intro{
    min-height:220px!important;
    padding:66px 0 62px!important;
  }
}
@media(max-width:560px){
  .facilities-page .facilities-intro{
    min-height:185px!important;
    padding:56px 0 52px!important;
  }
  .facilities-page .facilities-intro h1{
    font-size:42px!important;
    letter-spacing:-1.1px!important;
  }
}


/* Facilities hero — subtle architectural detailing (CSS only) */
.facilities-page .facilities-intro{
  background:
    radial-gradient(ellipse at 16% 18%,rgba(255,226,196,.13),transparent 34%),
    radial-gradient(ellipse at 88% 82%,rgba(25,0,5,.22),transparent 38%),
    linear-gradient(116deg,#4e0d15 0%,#781620 42%,#92212a 58%,#5c1018 100%)!important;
  border-bottom:4px solid #d8ad79!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -16px 32px rgba(25,0,4,.12)!important;
}
.facilities-page .facilities-intro:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:22px 4.2%!important;
  width:auto!important;
  height:auto!important;
  border:1px solid rgba(255,239,220,.22)!important;
  border-radius:3px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)!important;
  pointer-events:none!important;
}
.facilities-page .facilities-intro:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  width:clamp(86px,12vw,148px)!important;
  height:3px!important;
  left:50%!important;
  bottom:42px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,rgba(226,190,143,0),#e4bd8c 22%,#f2d9b7 50%,#e4bd8c 78%,rgba(226,190,143,0))!important;
  box-shadow:0 3px 12px rgba(20,0,3,.18)!important;
  pointer-events:none!important;
}
.facilities-page .facilities-intro h1{
  position:relative!important;
  letter-spacing:-1.3px!important;
  text-shadow:0 3px 18px rgba(25,0,4,.28),0 1px 0 rgba(255,255,255,.08)!important;
}
@media(max-width:760px){
  .facilities-page .facilities-intro:before{inset:16px 4%!important}
  .facilities-page .facilities-intro:after{bottom:29px!important}
}
@media(max-width:560px){
  .facilities-page .facilities-intro:before{inset:12px 3.5%!important}
  .facilities-page .facilities-intro:after{bottom:24px!important}
}


/* Events hero: use the supplied Golden Jubilee photograph, keep it crisp,
   and place the seated honouree near the visual centre of the composition. */
.events-page .events-hero::before {
  background-image: url('../assets/events-hero-golden-jubilee.jpeg') !important;
  background-size: cover !important;
  background-position: 40% 46% !important;
  filter: saturate(1.035) contrast(1.025) !important;
  transform: none !important;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.10) 18%,
    rgba(0,0,0,.42) 32%,
    rgba(0,0,0,.82) 46%,
    #000 58%) !important;
  mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,.10) 18%,
    rgba(0,0,0,.42) 32%,
    rgba(0,0,0,.82) 46%,
    #000 58%) !important;
}
@media (max-width: 700px) {
  .events-page .events-hero::before {
    background-position: 40% 48% !important;
    filter: saturate(1.035) contrast(1.025) !important;
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.48) 24%,
      rgba(0,0,0,.88) 48%,
      #000 66%) !important;
    mask-image: linear-gradient(to bottom,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.48) 24%,
      rgba(0,0,0,.88) 48%,
      #000 66%) !important;
  }
}


/* Final Events hero refinement: premium Rose Buds burgundy-and-gold editorial treatment. */
.events-page .events-hero {
  min-height: clamp(500px, 48vw, 640px) !important;
  background: linear-gradient(112deg, #681015 0%, #8e1a20 52%, #6f1218 100%) !important;
  box-shadow: inset 0 1px 0 rgba(232, 195, 120, .58), inset 0 -1px 0 rgba(232, 195, 120, .42);
}

.events-page .events-hero::before {
  width: min(88%, 1320px) !important;
  right: 0 !important;
  background-position: 54% 46% !important;
  background-size: cover !important;
  filter: saturate(1.055) contrast(1.045) !important;
  transform: none !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 12%, rgba(0,0,0,.38) 27%, rgba(0,0,0,.78) 43%, #000 58%) !important;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 12%, rgba(0,0,0,.38) 27%, rgba(0,0,0,.78) 43%, #000 58%) !important;
}

.events-page .events-hero::after {
  background: linear-gradient(90deg,
    rgba(76, 8, 13, .99) 0%,
    rgba(104, 16, 21, .97) 28%,
    rgba(125, 20, 27, .82) 43%,
    rgba(111, 17, 23, .42) 59%,
    rgba(57, 7, 11, .08) 83%,
    rgba(40, 5, 8, .02) 100%) !important;
}

.events-page .events-hero-inner {
  max-width: 1320px !important;
  padding: clamp(92px, 10vw, 138px) clamp(28px, 5vw, 72px) !important;
}

.events-page .events-hero .eyebrow {
  display: inline-block;
  color: #f2d49a !important;
  border: 1px solid rgba(242, 212, 154, .48);
  border-radius: 2px;
  padding: 9px 14px;
  letter-spacing: .2em !important;
  background: rgba(54, 5, 9, .2);
}

.events-page .events-hero h1 {
  color: #fffaf2 !important;
  max-width: 650px !important;
  font-size: clamp(2.8rem, 5.1vw, 5.15rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  text-shadow: 0 3px 24px rgba(28, 3, 6, .2);
  margin: 24px 0 20px !important;
}

.events-page .events-hero h1 em {
  color: #f0cc88 !important;
  font-style: italic !important;
}

.events-page .events-hero h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 24px;
  background: linear-gradient(90deg, #f0cc88, rgba(240, 204, 136, .2));
}

.events-page .events-hero p {
  color: rgba(255, 248, 239, .92) !important;
  max-width: 520px !important;
  font-size: 1.04rem !important;
  line-height: 1.8 !important;
}

.events-page .events-hero .hero-meta {
  margin-top: 30px;
  color: #f0d6a6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
}

.events-page .events-hero .hero-meta span {
  color: rgba(240, 204, 136, .68);
  padding: 0 9px;
}

@media (max-width: 760px) {
  .events-page .events-hero {
    min-height: 560px !important;
    align-items: flex-end !important;
  }
  .events-page .events-hero::before {
    width: 100% !important;
    background-position: 54% 38% !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.8) 42%, #000 66%) !important;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,.8) 42%, #000 66%) !important;
  }
  .events-page .events-hero::after {
    background: linear-gradient(180deg, rgba(79,8,13,.12) 0%, rgba(79,8,13,.38) 35%, rgba(79,8,13,.94) 70%, #4f080d 100%) !important;
  }
  .events-page .events-hero-inner {
    padding: 250px 22px 34px !important;
  }
  .events-page .events-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem) !important;
    margin: 16px 0 14px !important;
  }
  .events-page .events-hero p {
    font-size: .94rem !important;
    line-height: 1.6 !important;
  }
  .events-page .events-hero .hero-meta {
    margin-top: 20px;
    font-size: .62rem;
  }
}


/* Requested adjustment: reduce only the Events hero image height; preserve its design and content. */
.events-page .events-hero { min-height: clamp(350px, 32vw, 430px) !important; }
.events-page .events-hero-inner { padding: clamp(52px, 6vw, 78px) clamp(28px, 5vw, 72px) !important; }
@media (max-width: 760px) {
  .events-page .events-hero { min-height: 410px !important; }
  .events-page .events-hero-inner { padding: 175px 22px 26px !important; }
}

/* Center the copyright and developer credit in the footer */
.footer-row > div:nth-child(2){text-align:center}
.footer-credit{display:block;text-align:center}
