  :root{
    --maroon:#1B3A6B;
    --maroon-deep:#0F2748;
    --gold:#C9A227;
    --gold-light:#E4C878;
    --ivory:#FAF7F0;
    --white:#FFFFFF;
    --ink:#2A2320;
    --muted:#736A61;
    --line:#E7DFD0;
    --turmeric: var(--maroon);
    --turmeric-deep: var(--maroon-deep);
    --terracotta-night: var(--maroon-deep);
    --terracotta-rgb: 15, 39, 72;
    --brass: var(--gold);
    --brass-rgb: 201, 162, 39;
    --brass-light: var(--gold-light);
    --kasavu: var(--ivory);
    --pure-gold: var(--gold);
  }
  html{scroll-behavior:smooth;}
  body{margin:0; background:var(--ivory); color:var(--ink); font-family:'Source Sans 3', sans-serif; font-size:16.5px; line-height:1.7;}
  h1,h2,h3,h4{font-family:'Poppins', sans-serif; margin:0; font-weight:700;}
  a{color:inherit;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
  .tag{
    font-family:'Poppins',sans-serif; font-size:12px; letter-spacing:0.16em; text-transform:uppercase;
    font-weight:700; color:var(--maroon); margin:0 0 10px; display:block;
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px; padding:14px 30px; border-radius:4px;
    font-family:'Poppins',sans-serif; font-size:13.5px; font-weight:600; text-decoration:none;
    letter-spacing:0.02em; transition:.2s;
  }
  .btn-maroon{background:var(--maroon); color:#fff; border: 1.5px solid var(--maroon);}
  .btn-maroon:hover{background:var(--maroon-deep); border-color: var(--maroon-deep);}
  .btn-outline{border:1.5px solid rgba(255,255,255,0.55); color:#fff; background: transparent;}
  .btn-outline:hover{border-color:var(--gold); color:var(--gold); background: transparent;}
  .btn-outline-maroon{border:1.5px solid var(--maroon); color:var(--maroon); background: transparent;}
  .btn-outline-maroon:hover{background:var(--maroon); color:#fff;}
  .btn-primary { background:var(--maroon); color:#fff; border: 1.5px solid var(--maroon); }
  .btn-primary:hover { background:var(--maroon-deep); color:#fff; border-color: var(--maroon-deep); }

  /* ---------- Header ---------- */
header.site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    padding: 15px 20px;
    pointer-events: none; /* Let clicks pass through empty space */
}
header.site * {
    pointer-events: auto; /* Re-enable clicks for child elements */
}
.topbar {
    background: var(--maroon-deep);
    color: #fff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12.5px;
    font-weight: normal;
}
.topbar .wrap {
    display: flex;
    justify-content: space-between;
    padding: 7px 32px;
    max-width: 100%;
}
.topbar a {
    text-decoration: none;
    color: #EFE1C8;
    margin-left: 18px;
}
.topbar a:hover {
    color: var(--gold-light);
}
.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 40px;
    max-width: 1500px;
    width: 98%;
    margin: 4px auto 0;
    min-height: 42px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: none;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    padding: 0;
}
.brand .mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.brand .name {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}
.brand small {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}
nav.links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: none;
    align-items: center;
    flex-wrap: nowrap;
}
nav.links a {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 4px;
    text-transform: capitalize;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
nav.links a:hover {
    color: var(--maroon);
}



.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--maroon);
    border: 2px solid var(--maroon);
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-left: 20px;
}
.btn-login:hover {
    background: var(--maroon);
    color: #fff;
}

nav.links .dropdown { position: relative; display: flex; align-items: center; }
nav.links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -15px;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 10px 0;
    z-index: 100;
    border-top: none;
}
nav.links .dropdown:hover .dropdown-menu { display: block; }
nav.links .dropdown-menu li { display: block; }
nav.links .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    border: none;
    font-size: 13.5px;
    font-weight: 500;
}
nav.links .dropdown-menu a:hover {
    background: var(--ivory);
    color: var(--maroon);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2.5px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
@media (max-width: 900px) {
    header.site {
        padding: 10px 12px;
    }
    .nav-inner {
        padding: 6px 16px;
        width: 100%;
        margin: 0 auto;
        border-radius: 30px;
        min-height: 48px;
    }
    .brand {
        gap: 8px;
    }
    .brand img, .brand .mark {
        width: 38px !important;
        height: 38px !important;
    }
    .brand-main-title {
        font-size: 13.5px !important;
    }
    .brand-sub-title {
        font-size: 11.5px !important;
    }
    .brand-meta {
        font-size: 9.5px !important;
    }
    nav.links { 
        display: none;
        position: absolute; 
        top: calc(100% + 8px); 
        left: 0; 
        right: 0; 
        width: 100%;
        background: #ffffff; 
        flex-direction: column; 
        gap: 0; 
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(15,39,72,0.18); 
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; 
        align-items: stretch; 
        padding: 8px 0; 
        border-radius: 16px;
        z-index: 1005;
        max-height: calc(85vh - 70px);
        overflow-y: auto;
    }
    nav.links.open { 
        display: flex !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    nav.links > a, nav.links > .dropdown > a { 
        display: block !important; 
        padding: 12px 20px; 
        border-bottom: 1px solid rgba(0,0,0,0.05); 
        color: var(--ink) !important;
        background: #ffffff !important;
        font-weight: 600;
        font-size: 13.5px;
    }
    nav.links .dropdown {
        background: #ffffff !important;
        width: 100%;
    }
    nav.links .dropdown-menu { display: block; position: static; box-shadow: none; background: #fafafa !important; padding: 0; border-radius: 0; }
    nav.links .dropdown-menu a { padding: 10px 20px 10px 30px; border-bottom: 1px solid rgba(0,0,0,0.03); color: var(--ink) !important; font-size: 13px; background: #fafafa !important; }
    .nav-toggle { display: block; z-index: 1006; }
    .topbar .wrap { flex-direction: column; gap: 4px; align-items: flex-start; }
}
/* ---------- Hero ---------- */
  .hero{
    position:relative; color:#fff; overflow:hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(180deg, rgba(15,39,72,0.88), rgba(15,39,72,0.94)),
      url('https://static.wixstatic.com/media/11c3cb_53e64f68172a49518b495f6e6b5b6711~mv2.jpg/v1/fill/w_1600,h_1000,al_c/11c3cb_53e64f68172a49518b495f6e6b5b6711~mv2.jpg') center/cover;
  }
  .hero-inner{padding:100px 0 40px; text-align:center; width: 100%;}
  .hero .tag{color:var(--gold-light); justify-content:center;}
  .hero h1{font-family:'Poppins', sans-serif; font-size:clamp(34px,5.5vw,56px); line-height:1.15; margin:6px 0 18px; max-width:820px; margin-left:auto; margin-right:auto; font-weight: 700;}
  .hero p.lede{max-width:600px; margin:0 auto 36px; font-size:18px; font-style:italic; color:#F0E2C8;}
  .hero-actions{display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:56px;}
  .hero-stats{display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,0.18); padding-top:36px; max-width:920px; margin:0 auto;}
  .hero-stats .s{text-align:center; padding:0 12px;}
  .hero-stats .num{font-family:'Poppins',sans-serif; font-size:clamp(24px,3.4vw,34px); font-weight:800; color:var(--gold-light);}
  .hero-stats .lbl{margin-top:6px; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:#D9C9A8; font-weight:600;}
  @media (max-width:700px){ .hero-stats{grid-template-columns:repeat(2,1fr); row-gap:28px;} }

  /* ---------- Section shell ---------- */
  section{padding:88px 0;}
  .section-head{max-width:640px; margin:0 auto 52px; text-align:center;}
  .section-head h2{font-size:clamp(28px,3.8vw,38px); margin-top:8px; font-family:'Poppins', sans-serif;}
  .section-head p{color:var(--muted); margin-top:14px; font-size:16px;}
  .divider-gold{width:56px; height:3px; background:var(--gold); margin:18px auto 0;}

  /* ---------- Footprint stats band ---------- */
  .footprint{background:var(--maroon); color:#fff;}
  .footprint .section-head h2, .footprint .section-head .tag{color:#fff;}
  .footprint .section-head .tag{color:var(--gold-light);}
  .footprint .section-head p{color:#E7CBB0;}
  .fp-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.15);}
  .fp-item{background:var(--maroon-deep); padding:38px 20px; text-align:center;}
  .fp-item .num{font-family:'Poppins',sans-serif; font-size:clamp(26px,3.6vw,36px); font-weight:800; color:var(--gold-light);}
  .fp-item .lbl{margin-top:8px; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:#EAD9BC; font-weight:600;}
  @media (max-width:700px){ .fp-grid{grid-template-columns:repeat(2,1fr);} }

  /* ---------- Horarium ---------- */
  .schedule-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
  .sched-card{background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:0 4px 18px rgba(15,39,72,0.04);}
  .sched-head{background:var(--maroon); color:#fff; padding:16px 22px; font-family:'Poppins',sans-serif; font-size:14px; font-weight:700; letter-spacing:0.04em;}
  .sched-card ul{list-style:none; margin:0; padding:18px 22px 22px;}
  .sched-card li{display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px;}
  .sched-card li:last-child{border-bottom:none;}
  .sched-card li .time{font-weight:700; color:var(--maroon);}
  @media (max-width:860px){ .schedule-grid{grid-template-columns:1fr;} }

  /* ---------- Broadcast / media ---------- */
  .broadcast{background:var(--maroon-deep); color:#fff;}
  .broadcast .section-head .tag{color:var(--gold-light);}
  .broadcast .section-head h2{color:#fff;}
  .broadcast .section-head p{color:#DCC7A8;}
  .video-frame{position:relative; padding-top:56.25%; border-radius:8px; overflow:hidden; border:1px solid rgba(255,255,255,0.15); max-width:900px; margin:0 auto;}
  .video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
  .broadcast-actions{text-align:center; margin-top:32px;}

  /* ---------- Gallery ---------- */
  .gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
  .gallery-grid figure{margin:0; border-radius:8px; overflow:hidden; aspect-ratio:4/3;}
  .gallery-grid img{width:100%; height:100%; object-fit:cover; transition:transform .3s;}
  .gallery-grid figure:hover img{transform:scale(1.05);}
  @media (max-width:700px){ .gallery-grid{grid-template-columns:1fr 1fr;} }

  /* ---------- Contact ---------- */
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px;}
  .contact-list{list-style:none; margin:0 0 30px; padding:0;}
  .contact-list li{display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line);}
  .contact-list li:first-child{padding-top:0;}
  .contact-list .k{font-family:'Poppins',sans-serif; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--maroon); width:90px; flex:none; padding-top:2px; font-weight:700;}
  .contact-list a{text-decoration:none;}
  .contact-list a:hover{color:var(--maroon);}
  .quick-links{list-style:none; margin:0; padding:0;}
  .quick-links li{border-bottom:1px solid var(--line);}
  .quick-links a{display:flex; justify-content:space-between; align-items:center; padding:15px 2px; text-decoration:none; color:var(--ink); font-family:'Poppins',sans-serif; font-size:14px; font-weight:600;}
  .quick-links a:hover{color:var(--maroon);}
  .map-frame{border:1px solid var(--line); border-radius:8px; height:260px; overflow:hidden;}
  .map-frame iframe{width:100%; height:100%; border:0;}
  @media (max-width:860px){ .contact-grid{grid-template-columns:1fr; gap:36px;} }

  /* ---------- Footer ---------- */
  footer{background:var(--maroon-deep); color:#D9C9A8; padding:60px 0 24px;}
  .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:48px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.12);}
  .footer-grid h5{font-family:'Poppins',sans-serif; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold-light); margin:0 0 18px;}
  .footer-grid p, .footer-grid a{font-size:14.5px; line-height:1.9; text-decoration:none; color:#D9C9A8;}
  .footer-grid a:hover{color:var(--gold-light);}
  .foot-brand{display:flex; align-items:center; gap:12px; margin-bottom:14px;}
  .foot-brand .mark{width:36px; height:36px; border-radius:50%; background:var(--gold); flex:none; display:flex; justify-content:center; align-items:center;}
  .foot-brand span{font-family:'Poppins',sans-serif; font-size:16px; color:#fff; font-weight:700;}
  .bottom-bar{display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:12.5px; color:#B39F7D; flex-wrap:wrap; gap:10px;}
  .bottom-bar a{color:var(--gold-light); text-decoration:none;}
  @media (max-width:860px){
    .footer-grid{grid-template-columns:1fr; gap:36px;}
    .bottom-bar{flex-direction:column; text-align:center; justify-content:center;}
  }
  ::selection{background:var(--gold); color:#fff;}


*,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    

    html {
      font-size: 87.5%; /* 14px base, scaled from 16px */
      scroll-behavior: smooth;
      overflow-x: hidden;
      width: 100%;
      max-width: 100vw;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--ink);
      background: var(--kasavu);
      overflow-x: hidden;
      width: 100%;
      max-width: 100vw;
      position: relative;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* ─── SITE HEADER ─── */
    #site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
    }

    /* ─── INFO BAND ─── (replace existing) */
    .info-band {
      background: var(--terracotta-night);
      padding: 0.6rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.8);
      border-bottom: 1px solid rgba(var(--brass-rgb), 0.15);
      max-height: 100px;
      transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
      white-space: nowrap;
    }

    .info-band::-webkit-scrollbar {
      display: none;
    }

    #site-header.scrolled .info-band {
      max-height: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
      opacity: 0 !important;
      border: none !important;
      overflow: hidden !important;
    }

    .info-band span {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-shrink: 0;
    }

    .info-band strong {
      color: var(--brass-light);
      font-weight: 600;
      max-width: none;
      overflow: hidden;
      text-overflow: ellipsis;
      display: inline-block;
      vertical-align: middle;
    }

    /* Mobile info band */
    @media (max-width: 640px) {
      .info-band {
        padding: 0.5rem 1rem;
        gap: 1.25rem;
        font-size: 0.7rem;
        justify-content: flex-start;
      }

      .info-band strong {
        max-width: 120px;
      }

      /* Hide office hours on very small screens */
      .info-band span.info-hours {
        display: none;
      }
    }

    @media (max-width: 380px) {
      .info-band strong {
        max-width: 90px;
      }
    }

    /* ─── NAV ─── */
    nav {
      position: relative;
      padding: 0 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60px;
      background: rgba(15, 23, 42, 0.3);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-bottom 0.4s ease, height 0.4s ease;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #site-header.scrolled nav {
      height: 55px;
      background: rgba(15, 23, 42, 0.85);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      text-decoration: none;
    }

    .nav-logo-icon {
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-logo:hover .nav-logo-icon {
      transform: scale(1.1) rotate(6deg);
    }

    .nav-logo-text {
      color: var(--white);
      font-family: 'Outfit', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      line-height: 1.25;
    }

    .nav-logo-text span {
      color: var(--brass-light);
      display: block;
      font-size: 0.65rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: color 0.3s ease;
      position: relative;
      padding: 0.3rem 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--brass), var(--brass-light));
      transform: translateX(-50%);
      transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .nav-links a:hover {
      color: var(--brass-light);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      width: 44px;
      height: 44px;
      background: none;
      border: none;
      z-index: 101;
      -webkit-tap-highlight-color: transparent;
    }

    .nav-burger span {
      display: block;
      width: 24px;
      height: 2px;
      background: white;
      transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
      transform-origin: center;
    }

    .nav-burger.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .nav-burger.open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .nav-burger.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 75px;
      left: 0;
      right: 0;
      background: #ffffff !important;
      padding: 1.5rem 2.5rem 2.5rem;
      flex-direction: column;
      gap: 1.2rem;
      z-index: 99;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      max-height: calc(100vh - 75px);
      overflow-y: auto !important;
    }

    .mobile-menu.open {
      display: flex;
    }

    .mobile-menu a {
      color: var(--ink, #2B1B10) !important;
      text-decoration: none;
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      padding-bottom: 0.8rem;
      transition: color 0.3s ease, padding-left 0.3s ease;
      display: block;
      width: 100%;
    }

    .mobile-menu a:hover {
      color: var(--wine, #6B1010) !important;
      padding-left: 6px;
    }

    /* Mobile Dropdown Styling */
    .mobile-dropdown-group {
      display: flex;
      flex-direction: column;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    .mobile-dropdown-toggle {
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      padding: 0.8rem 0;
      color: var(--ink, #2B1B10) !important;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.3s;
      user-select: none;
    }
    .mobile-dropdown-items {
      display: none;
      flex-direction: column;
      padding-left: 1.5rem;
      gap: 0.2rem;
      padding-bottom: 0.8rem;
    }
    .mobile-dropdown-group.active .mobile-dropdown-items {
      display: flex;
    }
    .mobile-dropdown-items a {
      font-size: 0.95rem !important;
      border-bottom: none !important;
      padding: 0.5rem 0 !important;
      min-height: auto !important;
      color: var(--ink-soft, #6B5440) !important;
    }
    .mobile-dropdown-items a:hover {
      color: var(--wine, #6B1010) !important;
    }

    img, video, iframe {
      max-width: 100%;
      height: auto;
    }

    /* ─── VARIABLES ─── */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: var(--terracotta-night);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 18% 65%, rgba(var(--brass-rgb), 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 15%, rgba(var(--turmeric-rgb), 0.6) 0%, transparent 55%),
        linear-gradient(160deg, var(--terracotta-night) 0%, rgba(var(--terracotta-rgb), 0.9) 45%, var(--turmeric-deep) 100%);
    }

    .hero-stained {
      position: absolute;
      inset: 0;
      opacity: 0.07;
      background-image:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(var(--brass-rgb), 0.6) 60px, rgba(var(--brass-rgb), 0.6) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(var(--brass-rgb), 0.35) 60px, rgba(var(--brass-rgb), 0.35) 61px);
    }

    /* ─── HERO PHOTO + VEIL REVEAL ─── */
    .hero-photo {
      position: absolute;
      inset: 0;
      background-image: var(--church-photo);
      background-size: cover;
      background-position: center 38%;
      animation: heroZoom 24s cubic-bezier(0.25, 1, 0.5, 1) forwards;
      filter: saturate(1.08) contrast(1.02);
    }

    @keyframes heroZoom {
      from {
        transform: scale(1.15);
      }

      to {
        transform: scale(1.02);
      }
    }

    .hero-photo-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(var(--terracotta-rgb), 0.65) 0%, rgba(var(--terracotta-rgb), 0.28) 30%, rgba(var(--terracotta-rgb), 0.62) 70%, rgba(15, 7, 3, 0.96) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(var(--turmeric-rgb), 0.22) 0%, transparent 60%);
    }

    /* The Madbaha veil — drawn across the sanctuary during the liturgy, opened here to reveal the church itself */
    .veil {
      position: absolute;
      inset: 0;
      z-index: 6;
      display: flex;
      pointer-events: none;
    }

    .veil-panel {
      width: 50%;
      height: 100%;
      position: relative;
      overflow: hidden;
      background:
        repeating-linear-gradient(90deg, rgba(236, 201, 122, 0.18) 0 2px, transparent 2px 9px),
        linear-gradient(160deg, #5A2A0D 0%, var(--turmeric-deep) 45%, var(--brass) 100%);
      box-shadow: 0 0 60px rgba(0, 0, 0, 0.6) inset;
      animation: veilOpen 1.6s cubic-bezier(0.85, 0, 0.15, 1) 0.6s forwards;
    }

    .veil-panel::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100%;
      background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0 14px, transparent 14px 28px);
      opacity: 0.5;
    }

    .veil-panel::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 22px;
      background: repeating-linear-gradient(90deg, var(--brass-light) 0 3px, var(--turmeric-deep) 3px 9px);
      box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    }

    .veil-left {
      right: 0;
      border-right: 1px solid rgba(236, 201, 122, 0.45);
      transform-origin: left center;
    }

    .veil-right {
      left: 50%;
      border-left: 1px solid rgba(236, 201, 122, 0.45);
      transform-origin: right center;
    }

    .veil-cross {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 7;
      color: var(--brass-light);
      opacity: 0.95;
      animation: veilCrossFade 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
    }

    @keyframes veilOpen {
      to {
        transform: translateX(var(--veil-x));
      }
    }

    .veil-left {
      --veil-x: -100%;
    }

    .veil-right {
      --veil-x: 100%;
    }

    @keyframes veilCrossFade {
      to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-photo {
        animation: none;
        transform: scale(1);
      }

      .veil-panel {
        animation: none;
        transform: translateX(var(--veil-x));
      }

      .veil-cross {
        animation: none;
        opacity: 0;
      }
    }

    .hero-particles {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--brass-light);
      border-radius: 50%;
      opacity: 0;
      animation: floatUp var(--dur, 8s) var(--delay, 0s) infinite;
    }

    @keyframes floatUp {
      0% {
        transform: translateY(105vh) translateX(0);
        opacity: 0;
      }

      15% {
        opacity: var(--op, 0.6);
      }

      85% {
        opacity: 0.15;
      }

      100% {
        transform: translateY(-10vh) translateX(var(--drift, 20px));
        opacity: 0;
      }
    }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 8rem 2rem 4rem;
      max-width: 820px;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--brass-light);
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }

    .hero-eyebrow .tick-line {
      width: 44px;
      height: 7px;
      background:
        linear-gradient(var(--brass), var(--brass)) top/100% 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) bottom/100% 1px no-repeat,
        repeating-linear-gradient(90deg, var(--brass) 0 3px, transparent 3px 8px) center/100% 2px no-repeat;
      opacity: 0.75;
    }

    .hero-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(3rem, 8vw, 6.2rem);
      font-weight: 340;
      color: var(--white);
      line-height: 1.05;
      letter-spacing: -0.01em;
      margin-bottom: 0.4rem;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    .hero-title em {
      font-style: italic;
      color: var(--brass-light);
    }

    .hero-subtitle {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(1.1rem, 3vw, 1.7rem);
      font-weight: 300;
      color: rgba(255, 255, 255, 0.82);
      font-style: italic;
      margin-bottom: 1.25rem;
      letter-spacing: 0.04em;
      text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    }

    .hero-meta {
      color: rgba(255, 255, 255, 0.38);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 3.2rem;
    }

    .hero-ctas {
      display: flex;
      gap: 1.25rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ==========================================================================
       Professional Button System
       ========================================================================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      padding: 0.85rem 2.2rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
      border: 1.5px solid transparent;
      cursor: pointer;
    }

    /* Primary Gold/Brass Button (For Hero / Dark Backgrounds) */
    .btn-primary {
      background: linear-gradient(135deg, var(--brass), var(--brass-light));
      color: var(--terracotta-night);
      border: none;
      box-shadow: 0 4px 15px rgba(var(--brass-rgb), 0.25);
    }
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(var(--brass-rgb), 0.45);
      color: var(--terracotta-night);
    }

    /* Terracotta Button (For Light Backgrounds) */
    .btn-terracotta {
      background-color: var(--terracotta);
      color: #fff;
      border: none;
      box-shadow: 0 4px 15px rgba(var(--terracotta-rgb), 0.25);
    }
    .btn-terracotta:hover {
      background-color: var(--terracotta-night);
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(var(--terracotta-rgb), 0.4);
      color: #fff;
    }

    /* Outline Button (For Dark Backgrounds) */
    .btn-outline {
      background: transparent;
      color: var(--white);
      border-color: rgba(255, 255, 255, 0.5);
    }
    .btn-outline:hover {
      border-color: var(--brass-light);
      color: var(--brass-light);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-3px);
    }

    /* Outline Dark Button (For Light Backgrounds) */
    .btn-outline-dark {
      background: transparent;
      color: #111;
      border-color: rgba(17, 17, 17, 0.4);
    }
    .btn-outline-dark:hover {
      border-color: #111;
      color: var(--white);
      background: #111;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(17, 17, 17, 0.2);
    }

    /* Live Pulsing Button */
    .btn-live {
      background: #e53935;
      color: var(--white);
      border: none;
      box-shadow: 0 4px 15px rgba(229, 57, 53, 0.25);
      animation: pulseRed 2s infinite;
    }
    .btn-live:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(229, 57, 53, 0.45);
      color: var(--white);
    }

    @keyframes pulseRed {
      0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
      }

      70% {
        box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
      }
    }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      color: rgba(255, 255, 255, 0.35);
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      animation: bounce 2s ease-in-out infinite;
    }

    @keyframes bounce {

      0%,
      100% {
        transform: translateX(-50%) translateY(0);
      }

      50% {
        transform: translateX(-50%) translateY(6px);
      }
    }

    /* ─── ENTRANCE ANIMATIONS ─── */
    .animate-fade-up {
      animation: fadeUp 1.2s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
      opacity: 0;
    }

    @keyframes fadeUp {
      from {
        transform: translateY(40px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .delay-1 {
      animation-delay: 0.8s;
    }

    .delay-2 {
      animation-delay: 1.0s;
    }

    .delay-3 {
      animation-delay: 1.2s;
    }

    .delay-4 {
      animation-delay: 1.4s;
    }


    /* ─── SIGNATURE DIVIDER (woven brass + cross) ─── */
    .kasavu-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      padding: 2.75rem 2rem;
    }

    .kasavu-divider .rule {
      flex: 1;
      max-width: 280px;
      height: 13px;
      background:
        linear-gradient(var(--brass), var(--brass)) top/100% 1px no-repeat,
        linear-gradient(var(--brass), var(--brass)) bottom/100% 1px no-repeat,
        repeating-linear-gradient(90deg, var(--brass) 0 4px, transparent 4px 11px) center/100% 3px no-repeat;
      opacity: 0.8;
    }

    .kasavu-divider .cross {
      color: var(--turmeric);
      font-size: 1.3rem;
      animation: goldPulse 3s ease-in-out infinite;
      flex-shrink: 0;
    }

    @keyframes goldPulse {

      0%,
      100% {
        opacity: 0.75;
        transform: scale(1);
      }

      50% {
        opacity: 1;
        transform: scale(1.15);
      }
    }

    /* ─── SECTIONS COMMON ─── */
    section {
      padding: 2.5rem 2rem;
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-eyebrow {
      color: var(--turmeric);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 0.75rem;
    }

    .section-title,
    .page-title,
    .inst-title {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 340;
      line-height: 1.15;
      color: var(--terracotta-night);
      margin-bottom: 1.25rem;
    }

    .section-title em,
    .page-title em,
    .inst-title em {
      font-style: italic;
      color: var(--turmeric);
    }

    .section-body {
      color: var(--ink-soft);
      font-size: 0.95rem;
      line-height: 1.8;
      max-width: 600px;
    }

    /* ─── QUICK FACTS BAND ─── */
    #facts {
      background: var(--kasavu);
      padding: 2.5rem 2rem;
    }

    .facts-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto;
    }

    .fact-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.85rem;
    }

    .fact-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid rgba(var(--brass-rgb), 0.45);
      background: rgba(var(--brass-rgb), 0.08);
      color: var(--turmeric-deep);
    }

    .fact-num {
      font-family: 'Outfit', sans-serif;
      font-size: 1.9rem;
      font-weight: 500;
      color: var(--terracotta-night);
      line-height: 1;
    }

    .fact-label {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-soft);
    }

    /* ─── ABOUT ─── */
    #about {
      background: var(--white);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .about-img-frame {
      position: relative;
      background: linear-gradient(135deg, var(--terracotta-night) 0%, var(--turmeric-deep) 100%);
      border-radius: 4px;
      overflow: hidden;
      aspect-ratio: 4/5;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .about-big-year {
      position: absolute;
      top: 1.1rem;
      left: 1.1rem;
      z-index: 3;
      font-family: 'Outfit', sans-serif;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--brass-light);
      background: rgba(var(--terracotta-rgb), 0.55);
      border: 1px solid rgba(var(--brass-rgb), 0.5);
      padding: 0.45rem 0.9rem;
      border-radius: 2px;
      backdrop-filter: blur(3px);
      pointer-events: none;
    }

    .about-photo {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 35%;
    }

    .about-img-frame::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(160deg, rgba(var(--terracotta-rgb), 0.6) 0%, rgba(var(--turmeric-rgb), 0.28) 55%, rgba(var(--terracotta-rgb), 0.45) 100%);
      mix-blend-mode: multiply;
    }

    .about-img-inner {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 3rem;
    }

    .about-stat-badge {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      background: #FFD700;
      color: var(--terracotta-night);
      padding: 1.5rem;
      border-radius: 4px;
      text-align: center;
      box-shadow: 0 8px 30px rgba(var(--turmeric-rgb), 0.35);
    }

    .about-stat-badge .num {
      font-family: 'Outfit', sans-serif;
      font-size: 2.5rem;
      font-weight: 600;
      line-height: 1;
    }

    .about-stat-badge .lbl {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .about-text {
      padding-right: 1rem;
    }

    .about-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 2rem;
    }

    .pill {
      background: var(--kasavu);
      color: var(--turmeric-deep);
      padding: 0.35rem 0.9rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      border: 1px solid rgba(var(--turmeric-rgb), 0.22);
    }

    /* ─── HOW WE SERVE ─── */
    #serve {
      background: var(--kasavu-dark);
    }

    .serve-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.75rem;
      margin-top: 3rem;
    }

    .serve-card {
      background: var(--white);
      border-radius: 12px;
      padding: 2.25rem 2rem;
      border: 1px solid rgba(var(--brass-rgb), 0.18);
      transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    }

    .serve-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(var(--terracotta-rgb), 0.14);
    }

    .serve-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #FFD700;
      color: var(--terracotta-night);
      margin-bottom: 1.5rem;
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .serve-card:hover .serve-icon {
      transform: scale(1.12) rotate(5deg);
    }

    .serve-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--terracotta-night);
      margin-bottom: 0.65rem;
    }

    .serve-desc {
      color: var(--ink-soft);
      font-size: 0.86rem;
      line-height: 1.75;
      margin-bottom: 1.25rem;
    }

    .serve-link {
      color: var(--turmeric-deep);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      transition: gap 0.2s ease;
    }

    .serve-link:hover {
      color: var(--turmeric);
      gap: 0.6rem;
    }


    /* ─── FEAST DAYS ─── */
    #feasts {
      background: linear-gradient(135deg, var(--terracotta-night) 0%, var(--turmeric-deep) 100%);
    }

    #feasts .section-title {
      color: var(--white);
    }

    #feasts .section-eyebrow {
      color: var(--brass-light);
    }

    .feasts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .feast-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(var(--brass-rgb), 0.2);
      border-radius: 6px;
      padding: 2rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s, border-color 0.3s, background 0.3s;
      cursor: default;
    }

    .feast-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--brass), var(--brass-light));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s;
    }

    .feast-card:hover {
      transform: translateY(-4px);
      border-color: rgba(var(--brass-rgb), 0.5);
      background: rgba(255, 255, 255, 0.08);
    }

    .feast-card:hover::before {
      transform: scaleX(1);
    }

    .feast-date {
      display: inline-block;
      background: rgba(var(--brass-rgb), 0.2);
      color: var(--brass-light);
      border: 1px solid rgba(var(--brass-rgb), 0.4);
      padding: 0.3rem 0.75rem;
      border-radius: 3px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .feast-name {
      font-family: 'Outfit', sans-serif;
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--white);
      line-height: 1.3;
      margin-bottom: 0.75rem;
    }

    .feast-desc {
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.83rem;
      line-height: 1.7;
    }

    .feast-icon {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    /* ─── QUOTE BANNER ─── */
    #quote {
      position: relative;
      background: var(--terracotta-night);
      text-align: center;
      overflow: hidden;
      padding: 7.5rem 2rem;
    }

    .quote-photo-bg {
      position: absolute;
      inset: 0;
      background-image: var(--church-photo);
      /* fallback */
      background-size: cover;
      background-position: center 58%;
      background-attachment: fixed;
    }

    @media (max-width: 900px) {
      .quote-photo-bg {
        background-attachment: scroll;
      }
    }

    .quote-photo-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(165deg, rgba(var(--terracotta-rgb), 0.9) 0%, rgba(var(--terracotta-rgb), 0.72) 48%, rgba(var(--terracotta-rgb), 0.92) 100%);
    }

    #quote .container {
      position: relative;
      z-index: 2;
    }

    .quote-mark {
      font-family: 'Outfit', sans-serif;
      font-size: 5rem;
      color: rgba(236, 201, 122, 0.4);
      line-height: 1;
      margin-bottom: -1rem;
    }

    .quote-text {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(1.4rem, 3.4vw, 2.2rem);
      font-style: italic;
      font-weight: 400;
      color: var(--white);
      text-shadow: 0 3px 22px rgba(0, 0, 0, 0.4);
      max-width: 760px;
      margin: 0 auto 1.25rem;
      line-height: 1.5;
    }

    .quote-source {
      color: var(--brass-light);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 2.25rem;
    }

    /* ─── MASS TIMINGS ─── */
    #mass {
      background: var(--white);
    }

    .mass-layout {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 4rem;
      align-items: start;
      margin-top: 3rem;
    }

    .timings-grid {
      display: grid;
      gap: 0;
    }

    .timing-row {
      display: grid;
      grid-template-columns: 130px 1fr;
      border-bottom: 1px solid rgba(var(--turmeric-rgb), 0.12);
      padding: 1rem;
      margin: 0 -0.5rem;
      transition: background 0.2s;
      border-radius: 4px;
    }

    .timing-row:hover {
      background: rgba(var(--turmeric-rgb), 0.05);
    }

    .timing-row:last-child {
      border-bottom: none;
    }

    .timing-day {
      font-weight: 700;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--turmeric-deep);
      padding-top: 0.1rem;
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .day-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--ink-soft);
      margin-top: 5px;
      flex-shrink: 0;
    }

    .sunday-dot {
      background: var(--brass);
    }

    .timing-times {
      color: var(--ink);
      font-size: 0.88rem;
      line-height: 1.9;
    }

    .timing-times strong {
      color: var(--terracotta-night);
      font-weight: 700;
    }

    .mass-info-row {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .mass-info-ico {
      width: 40px;
      height: 40px;
      border-radius: 4px;
      background: var(--terracotta-night);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .mass-info-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--turmeric);
      font-weight: 700;
      margin-bottom: 0.2rem;
    }

    .mass-info-val {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--ink);
    }

    /* Mobile menu improvements */
    @media (max-width: 640px) {
      .mobile-menu {
        top: 64px;
        padding: 1rem 1.25rem 2rem;
        gap: 0;
        max-height: calc(100vh - 64px);
      }

      .mobile-menu a {
        font-size: 0.92rem;
        padding: 0.75rem 0;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--ink, #2B1B10) !important;
        text-decoration: none;
        transition: color 0.2s, padding-left 0.2s;
      }

      .mobile-menu a:last-child {
        border-bottom: none;
      }

      .mobile-menu a:hover,
      .mobile-menu a:active {
        color: var(--wine, #6B1010) !important;
        padding-left: 6px;
      }

      .mobile-dropdown-toggle {
        font-size: 0.92rem;
        padding: 0.75rem 0;
        min-height: 48px;
        color: var(--ink, #2B1B10) !important;
      }

      .mobile-dropdown-items a {
        font-size: 0.88rem !important;
        min-height: auto !important;
        padding: 0.4rem 0 !important;
      }
    }

    /* ─── COMMUNITY ─── */
    #community {
      background: var(--kasavu-dark);
    }

    .community-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .org-card {
      background: var(--white);
      border-radius: 8px;
      padding: 2rem 1.5rem;
      text-align: center;
      border: 1px solid transparent;
      transition: all 0.3s;
      cursor: default;
      position: relative;
      overflow: hidden;
    }

    .org-card:hover {
      border-color: var(--turmeric);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(var(--terracotta-rgb), 0.14);
    }

    .org-icon {
      width: 80px;
      height: 80px;
      border-radius: 12px;
      background: rgba(var(--turmeric-rgb), 0.08);
      border: 1px solid rgba(var(--turmeric-rgb), 0.18);
      margin: 0 auto 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      overflow: hidden;
      flex-shrink: 0;
    }

    .org-icon img {
      width: 80px;
      height: 80px;
      object-fit: contain;
      display: block;
      padding: 8px;
    }

    .org-name {
      font-family: 'Outfit', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--terracotta-night);
      margin-bottom: 0.6rem;
    }

    .org-desc {
      color: var(--ink-soft);
      font-size: 0.78rem;
      line-height: 1.7;
    }

    /* ─── GALLERY STRIP ─── */
    #gallery {
      background: var(--kasavu);
      padding: 3rem 0;
      overflow: hidden;
      border-top: 1px solid rgba(var(--brass-rgb), 0.2);
      border-bottom: 1px solid rgba(var(--brass-rgb), 0.2);
    }

    .gallery-track {
      display: flex;
      gap: 1rem;
      animation: slideLeft 30s linear infinite;
      width: max-content;
    }

    .gallery-track:hover {
      animation-play-state: paused;
    }

    .gallery-item {
      width: 220px;
      height: 160px;
      border-radius: 6px;
      flex-shrink: 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .gallery-item-inner {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
    }

    .gallery-photo {
      width: 100%;
      height: 100%;
      background-image: var(--church-photo);
      background-size: cover;
      filter: saturate(1.05);
      transition: transform 0.5s;
    }

    .gallery-item:hover .gallery-photo {
      transform: scale(1.06);
    }

    .gallery-photo.crop-facade {
      background-position: center 32%;
    }

    .gallery-photo.crop-tower {
      background-size: 280% auto;
      background-position: 47% 0%;
    }

    .gallery-photo.crop-courtyard {
      background-position: center 95%;
    }

    .gallery-caption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 0.55rem 0.85rem 0.5rem;
      background: linear-gradient(180deg, transparent, rgba(var(--terracotta-rgb), 0.85));
      color: var(--brass-light);
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    @keyframes slideLeft {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    /* ─── NOTICES ─── */
    #notices {
      background: var(--terracotta-night);
    }

    #notices .section-title {
      color: var(--white);
    }

    #notices .section-eyebrow {
      color: var(--brass-light);
    }

    #notices .section-body {
      color: rgba(255, 255, 255, 0.5);
    }

    .notices-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .notice-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(var(--brass-rgb), 0.18);
      border-radius: 6px;
      padding: 1.75rem;
      transition: transform 0.3s, background 0.3s;
    }

    .notice-card:hover {
      transform: translateY(-3px);
      background: rgba(255, 255, 255, 0.08);
    }

    .notice-pill {
      display: inline-block;
      background: rgba(var(--brass-rgb), 0.18);
      color: var(--brass-light);
      border: 1px solid rgba(var(--brass-rgb), 0.35);
      padding: 0.25rem 0.7rem;
      border-radius: 3px;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .notice-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 0.6rem;
    }

    .notice-text {
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.83rem;
      line-height: 1.7;
    }

    /* ─── CONNECT BAND ─── */
    #connect {
      background: linear-gradient(120deg, var(--turmeric-deep), var(--turmeric));
      text-align: center;
    }

    #connect .section-title {
      color: var(--white);
    }

    #connect .section-eyebrow {
      color: rgba(255, 255, 255, 0.75);
    }

    #connect .section-body {
      color: rgba(255, 255, 255, 0.8);
      margin: 0 auto 2.5rem;
    }

    .connect-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .connect-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.35);
      color: var(--white);
      padding: 0.85rem 1.6rem;
      border-radius: 2px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-decoration: none;
      transition: all 0.3s;
    }

    .connect-btn:hover {
      background: var(--white);
      color: var(--turmeric-deep);
      border-color: var(--white);
    }

    /* ─── CONTACT ─── */
    #contact {
      background: var(--kasavu);
    }

    .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 1.75rem;
      margin-top: 3rem;
    }

    .contact-block {
      background: var(--white);
      border-radius: 8px;
      padding: 1.75rem 1.5rem;
      border: 1px solid rgba(var(--brass-rgb), 0.2);
    }

    .contact-block-ico {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid rgba(var(--brass-rgb), 0.45);
      background: rgba(var(--brass-rgb), 0.08);
      color: var(--turmeric-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }

    .contact-block-label {
      color: var(--ink-soft);
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
      font-weight: 700;
    }

    .contact-block-val {
      color: var(--ink);
      font-size: 0.9rem;
      line-height: 1.6;
    }

    .contact-block-val a {
      color: var(--turmeric-deep);
      text-decoration: none;
      font-weight: 600;
    }

    .contact-block-val a:hover {
      text-decoration: underline;
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--terracotta-night);
      color: rgba(255, 255, 255, 0.5);
      padding: 3rem 2rem 2rem;
    }

    .footer-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 2.5rem;
    }

    .footer-brand-name {
      font-family: 'Outfit', sans-serif;
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 0.5rem;
    }

    .footer-brand-sub {
      font-size: 0.75rem;
      color: var(--brass-light);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .footer-desc {
      font-size: 0.82rem;
      line-height: 1.8;
      max-width: 280px;
    }

    .footer-social {
      display: flex;
      gap: 0.75rem;
      margin-top: 1.5rem;
    }

    .social-btn {
      width: 36px;
      height: 36px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.2s;
    }

    .social-btn:hover {
      background: var(--brass);
      border-color: var(--brass);
      color: var(--terracotta-night);
    }

    .footer-col-title {
      color: var(--white);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.25rem;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.45);
      font-size: 0.83rem;
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--brass-light);
    }

    .footer-text-line {
      font-size: 0.83rem;
      color: rgba(255, 255, 255, 0.45);
      line-height: 1.7;
    }

    .footer-bottom {
      max-width: 1400px;
      margin: 0 auto;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding-top: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.75rem;
    }

    /* ─── REVEAL ─── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    .reveal-delay-2 {
      transition-delay: 0.2s;
    }

    .reveal-delay-3 {
      transition-delay: 0.3s;
    }

    .reveal-delay-4 {
      transition-delay: 0.4s;
    }

    /* ─── ENHANCED RESPONSIVE DESIGN ─── */

    /* ── Smooth scroll enhancement ── */
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }

    /* ── Modern scrollbar ── */
    ::-webkit-scrollbar {
      width: 6px;
    }

    ::-webkit-scrollbar-track {
      background: var(--kasavu);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--brass);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--turmeric);
    }

    /* ── Selection color ── */
    ::selection {
      background: rgba(var(--brass-rgb), 0.3);
      color: var(--ink);
    }

    /* ── Focus visible for accessibility ── */
    :focus-visible {
      outline: 2px solid var(--brass-light);
      outline-offset: 3px;
      border-radius: 3px;
    }

    /* ── Global section improvements ── */
    section {
      padding: 2.5rem 2rem;
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* ── Enhanced button styles ── */
    .btn-primary,
    .btn-outline {
      position: relative;
      overflow: hidden;
      -webkit-tap-highlight-color: transparent;
    }

    .btn-primary::after,
    .btn-outline::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.1);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .btn-primary:hover::after,
    .btn-outline:hover::after {
      opacity: 1;
    }

    /* ── Glassmorphism cards enhancement ── */
    .serve-card,
    .feast-card,
    .notice-card,
    .org-card,
    .contact-block {
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      will-change: transform;
    }

    /* ── Improved fact items ── */
    .fact-item {
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.7s ease;
      cursor: default;
    }

    .fact-item:hover {
      transform: translateY(-6px);
    }

    /* ── Navigation padding fix for sticky ── */
    nav {
      -webkit-tap-highlight-color: transparent;
    }

    /* ── Mobile menu slide animation ── */
    .mobile-menu {
      transform: translateY(-12px);
      opacity: 0;
      transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
      pointer-events: none;
    }

    .mobile-menu.open {
      display: flex;
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    /* ── Hero responsive improvements ── */
    .hero-content {
      padding: clamp(7rem, 12vh, 10rem) 1.5rem clamp(3rem, 5vh, 5rem);
    }

    /* ── Section title responsive ── */
    .section-title,
    .page-title,
    .inst-title {
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.15;
    }

    /* ── Improved pill/badge ── */
    .pill {
      transition: all 0.25s ease;
    }

    .pill:hover {
      background: var(--brass-light);
      color: var(--terracotta-night);
      border-color: var(--brass);
      transform: translateY(-2px);
    }

    /* ── Info band scrollable on small screens ── */
    .info-band {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex-wrap: nowrap;
      justify-content: flex-start;
    }

    .info-band::-webkit-scrollbar {
      display: none;
    }

    /* ── Gallery touch momentum ── */
    #gallery {
      -webkit-overflow-scrolling: touch;
    }

    .gallery-track {
      -webkit-transform: translateZ(0);
    }

    /* ── Timing row better touch ── */
    .timing-row {
      min-height: 48px;
      align-items: center;
    }

    /* ── Feast cards improved ── */
    .feast-card {
      cursor: default;
    }

    /* ── Quote section mobile fix ── */
    .quote-photo-bg {
      background-attachment: scroll;
    }

    /* ── Connect buttons improved ── */
    .connect-btn {
      min-height: 48px;
      border-radius: 6px;
      transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* ── Footer link accessibility ── */
    .footer-links a {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
    }

    /* ─── TABLET (max 900px) ─── */
    @media (max-width: 900px) {
      nav {
        padding: 0 1.5rem;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
      }

      .mass-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }

      .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
      }

      .contact-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .serve-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
      }

      .feasts-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .community-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .hero-title {
        font-size: clamp(2.8rem, 7vw, 5rem);
      }

      .hero-content {
        max-width: 640px;
      }

      .mass-info-row {
        flex-wrap: wrap;
      }
    }

    /* ─── MOBILE (max 640px) ─── */
    @media (max-width: 640px) {
      .nav-links {
        display: none;
      }

      .nav-burger {
        display: flex;
      }

      nav {
        padding: 0 1.25rem;
        height: 64px;
      }

      nav.scrolled {
        height: 60px;
      }

      .mobile-menu {
        top: 64px;
        padding: 1.25rem 1.25rem 2rem;
      }

      section {
        padding: 2.5rem 1.25rem;
      }

      .container {
        padding: 0 1.25rem;
      }

      .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
      }

      .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
      }

      .hero-eyebrow {
        font-size: 0.68rem;
      }

      .hero-content {
        padding: 5.5rem 1.25rem 3rem;
        max-width: 100%;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
      }

      .btn-primary,
      .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 52px;
        font-size: 0.85rem;
      }

      .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
      }

      .fact-num {
        font-size: 2.4rem;
      }

      .about-pills {
        flex-wrap: wrap;
        gap: 0.5rem;
      }

      .about-visual {
        max-width: 100%;
      }

      .about-big-year {
        font-size: 3rem;
      }

      .serve-grid {
        grid-template-columns: 1fr;
      }

      .feasts-grid {
        grid-template-columns: 1fr;
      }

      .feast-card {
        padding: 1.5rem;
      }

      .section-title,
    .page-title,
    .inst-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
      }

      .section-eyebrow {
        font-size: 0.7rem;
      }

      .section-body {
        font-size: 0.88rem;
      }

      .timings-grid .timing-row {
        grid-template-columns: 110px 1fr;
        padding: 0.85rem;
      }

      .timing-day {
        font-size: 0.75rem;
      }

      .timing-times {
        font-size: 0.83rem;
      }

      .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
      }

      .org-card {
        padding: 1.5rem 1rem;
      }

      .org-icon {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
      }

      .org-icon img {
        width: 64px;
        height: 64px;
        padding: 6px;
      }

      .org-name {
        font-size: 1rem;
      }

      .gallery-item {
        width: 180px;
        height: 130px;
      }

      .notices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .notice-card {
        padding: 1.25rem;
      }

      .info-band {
        gap: 1.5rem;
        padding: 0.65rem 1.25rem;
        font-size: 0.75rem;
      }

      .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .footer-social {
        margin-top: 1.25rem;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .contact-block {
        padding: 1.25rem;
      }

      .connect-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
      }

      .connect-btn {
        justify-content: center;
        min-height: 52px;
      }

      .quote-text {
        font-size: clamp(1.2rem, 5vw, 1.7rem);
      }

      .quote-mark {
        font-size: 3.5rem;
      }

      #quote {
        padding: 5rem 1.25rem;
      }

      .kasavu-divider {
        padding: 1.25rem 0;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
      }

      .footer-brand-name {
        font-size: 1.2rem;
      }

      .footer-desc {
        max-width: 100%;
      }

      .mass-layout {
        gap: 1.5rem;
      }

      .mass-info-ico {
        width: 36px;
        height: 36px;
      }

      #hero {
        min-height: 100svh;
      }
    }

    /* ─── SMALL MOBILE (max 400px) ─── */
    @media (max-width: 400px) {
      .community-grid {
        grid-template-columns: 1fr;
      }

      .facts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
      }

      .fact-num {
        font-size: 2rem;
      }

      nav {
        padding: 0 1rem;
      }

      .hero-title {
        font-size: 2rem;
      }

      .connect-btn {
        font-size: 0.78rem;
      }

      .serve-card {
        padding: 1.5rem;
      }
    }

    /* ─── LANDSCAPE MOBILE ─── */
    @media (max-width: 768px) and (orientation: landscape) {
      #hero {
        min-height: 100svh;
      }

      .hero-content {
        padding: 4rem 2rem 2rem;
      }

      .hero-title {
        font-size: clamp(1.8rem, 6vw, 3rem);
      }

      .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
      }

      .hero-scroll {
        display: none;
      }
    }

    /* ─── LARGE SCREENS ─── */
    @media (min-width: 1400px) {
      .container {
        max-width: 1500px;
      }

      .section-title,
    .page-title,
    .inst-title {
        font-size: 3.2rem;
      }

      nav {
        padding: 0 4rem;
      }
    }

    /* ─── REDUCED MOTION ─── */
    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }

      html {
        scroll-behavior: auto;
      }

      .mobile-menu {
        transition: none;
      }

      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }

    /* ─── HIGH CONTRAST ─── */
    @media (prefers-contrast: high) {

      .serve-card,
      .feast-card,
      .notice-card {
        border-width: 2px;
      }

      .nav-links a {
        color: white;
      }

      .section-body {
        color: var(--ink);
      }
    }

    /* ✦ CLERGY / ADMINISTRATION ✦ */
    #clergy {
      background: var(--kasavu);
    }

    .clergy-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .clergy-card {
      background: var(--white);
      border: 1px solid rgba(var(--brass-rgb), 0.15);
      border-radius: 12px;
      padding: 2.5rem 1.5rem;
      text-align: center;
      transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .clergy-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 30px rgba(var(--terracotta-rgb), 0.06);
      border-color: rgba(var(--brass-rgb), 0.4);
    }

    .clergy-photo-container {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      margin: 0 auto 1.5rem;
      overflow: hidden;
      border: 3px solid var(--kasavu-dark);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      transition: border-color 0.3s ease;
    }

    .clergy-card:hover .clergy-photo-container {
      border-color: var(--turmeric);
    }

    .clergy-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .clergy-avatar {
      width: 100%;
      height: 100%;
      background: var(--kasavu-dark);
      color: var(--ink-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
    }

    .clergy-name {
      font-family: 'Outfit', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }

    .clergy-role {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--turmeric);
    }

    /* ─── PRINT ─── */
    @media print {

      nav,
      .info-band,
      .hero-scroll,
      #gallery,
      #connect,
      footer {
        display: none;
      }

      #hero {
        min-height: auto;
        page-break-after: avoid;
      }

      section {
        padding: 2rem 0;
        page-break-inside: avoid;
      }

      * {
        color: black !important;
        background: white !important;
      }
    }

    /* Spiritual Feed Widget */
    .spiritual-feed {
      background-color: var(--kasavu);
      padding: 60px 20px;
    }

    .feed-grid {
      display: grid;
      grid-template-columns: 1fr 2.5fr;
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
      align-items: start;
    }
    @media (max-width: 992px) {
      .feed-grid {
        grid-template-columns: 1fr;
      }
    }
    .readings-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .feed-card {
      background: var(--white);
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      border-top: 4px solid var(--turmeric);
      position: relative;
      overflow: hidden;
    }

    .feed-card::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -50px;
      width: 100px;
      height: 100px;
      background: radial-gradient(circle, var(--kasavu) 0%, transparent 70%);
      border-radius: 50%;
      opacity: 0.5;
    }

    .feed-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.4rem;
      color: var(--terracotta-night);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .feed-title i {
      color: var(--turmeric);
    }

    .feed-content {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--ink);
    }

    .feed-ref {
      font-weight: 600;
      color: var(--turmeric-deep);
      margin-bottom: 5px;
      font-size: 0.95rem;
    }

    .reading-section {
      margin-bottom: 20px;
    }

    .reading-section:last-child {
      margin-bottom: 0;
    }

    .dropdown {
      position: relative;
    }
    .dropdown .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--white);
      min-width: 200px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      border-radius: 4px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      z-index: 9999;
      padding: 0.5rem 0;
      border: 1px solid rgba(var(--brass-rgb), 0.2);
    }
    .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .dropdown-menu li {
      list-style: none;
    }
    .dropdown-menu a {
      display: block;
      padding: 0.7rem 1.5rem;
      color: var(--ink) !important;
      font-size: 0.8rem;
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .dropdown-menu a:hover {
      background: rgba(var(--turmeric-rgb), 0.08);
      color: var(--turmeric-deep) !important;
    }
/* --- Shared Independent Page Styles --- */
.page-header { text-align: center; padding: 120px 20px 60px; }
/* Reduced page title font size as requested */

.page-subtitle { font-size: 1.15rem; line-height: 1.8; color: var(--ink-soft); max-width: 1000px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px 100px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; position: relative; padding: 0; text-align: left; }
.card.center-text { padding: 30px 20px; text-align: center; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card-img { width: 100%; height: 220px; object-fit: cover; background: var(--kasavu-dark); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.4rem; margin-bottom: 10px; }
.card-contact { font-size: 0.9rem; color: var(--turmeric); font-weight: 600; margin-bottom: 15px; display: flex; align-items: center; gap: 6px; }
.card-desc { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); grid-column: 1 / -1; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; }
@media (min-width: 1200px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Card variations for priests/sisters */
.card-img-wrap { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid var(--kasavu); box-shadow: 0 5px 15px rgba(0,0,0,0.1); overflow: hidden; background: var(--kasavu-dark); }
.card-congregation { font-size: 0.95rem; color: var(--turmeric-deep); font-weight: 600; margin-bottom: 15px; }
.card-details { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; background: rgba(0,0,0,0.03); padding: 15px; border-radius: 8px; text-align: left; }
.detail-row { margin-bottom: 8px; }
.detail-row:last-child { margin-bottom: 0; }
.detail-label { font-weight: 600; color: var(--ink); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 2px; }
.mission-badge { position: absolute; top: 20px; right: 20px; background: var(--turmeric); color: var(--white); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; box-shadow: 0 2px 5px rgba(var(--turmeric-rgb), 0.4); }

.gallery-grid { column-count: 3; column-gap: 20px; }
.gallery-grid .gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); break-inside: avoid; margin-bottom: 20px; display: inline-block; width: 100%; }
.gallery-grid .gallery-img { width: 100%; height: auto; display: block; transition: transform 0.3s; object-fit: cover; }
.gallery-grid .gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-grid .gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: #fff; padding: 10px; font-size: 0.9rem; opacity: 0; transition: opacity 0.3s; }
.gallery-grid .gallery-item:hover .gallery-caption { opacity: 1; }
#lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; flex-direction: column; }
#lightbox.active { display: flex; }
#lightbox-img { max-width: 90%; max-height: 80%; border-radius: 4px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
#lightbox-caption { color: #fff; margin-top: 15px; font-size: 1.1rem; }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; }

/* --- Institution Specific Styles --- */
.institution-header { text-align: center; padding: 120px 20px 60px; background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.05); }
.inst-title { font-size: clamp(2rem, 3vw, 2.5rem); color: var(--terracotta-night); margin-bottom: 15px; }
.inst-type { font-size: 1.1rem; color: var(--turmeric); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.inst-container { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }
.inst-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
@media (max-width: 768px) { .inst-layout { grid-template-columns: 1fr; } }
.inst-main img { width: 100%; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.inst-desc { font-size: 1.1rem; line-height: 1.8; color: var(--ink); white-space: pre-wrap; }
.inst-sidebar { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: fit-content; position: sticky; top: 120px; }
.inst-sidebar h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--terracotta-night); border-bottom: 2px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
.contact-item { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.contact-icon { color: var(--turmeric); margin-top: 3px; }
.contact-text { font-size: 0.95rem; color: var(--ink-soft); }

/* --- Restored Institution Card Styles --- */
.inst-card { background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 40px; }
.inst-image { width: 100%; height: auto; max-height: 600px; object-fit: cover; display: block; }
.inst-content { padding: 40px; }
@media (max-width: 768px) { .inst-content { padding: 20px; } }
.inst-desc { font-size: 1.15rem; line-height: 1.8; color: var(--ink); margin-bottom: 30px; }
.inst-details { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 30px; }
.inst-details img { max-width: 100%; height: auto; }



/* ==========================================================================
   MASTER RESPONSIVENESS OVERRIDES
   Ensures 100% professional device view across all pages
   ========================================================================== */

/* ─── TABLET & SMALL DESKTOP (max-width: 992px) ─── */
@media (max-width: 992px) {
  /* Dynamic Grid Layouts */
  .grid, .facts-grid, .contact-grid, .feasts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
  .community-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
  .about-grid, .mass-layout, .serve-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Institution Layouts */
  .inst-layout {
    grid-template-columns: 1fr !important;
  }
  .inst-sidebar {
    position: static !important;
    margin-top: 20px;
  }
  
  /* Typography & Spacing */
  .page-header, .institution-header {
    padding: 80px 20px 40px !important;
  }
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ─── MOBILE (max-width: 768px) ─── */
@media (max-width: 768px) {
  /* Info Band */
  .info-band {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 5px !important;
    height: auto !important;
  }
  .info-band span {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.8rem;
  }
  .info-band strong {
    max-width: none !important;
  }
  .info-band span.info-hours {
    display: flex !important; /* Restore if previously hidden */
    width: 100%;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4px;
  }
  
  /* Navigation */
  .nav-links { display: none !important; }
  .nav-burger { display: flex !important; }
  .mobile-menu { width: 100% !important; padding: 1rem !important; }
  
  /* Typography */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem) !important; }
  
  
  /* Force Grids to 1 Column on Small Mobile */
  @media (max-width: 480px) {
    .grid, .facts-grid, .contact-grid, .feasts-grid, .community-grid, .footer-inner {
      grid-template-columns: 1fr !important;
      gap: 1.5rem !important;
    }
  }
  
  /* Directory Cards */
  .card-content { padding: 20px 15px !important; }
  .card-img-wrap { width: 100px !important; height: 100px !important; margin-bottom: 15px !important; }
  .card-title { font-size: 1.2rem !important; }
  .card-contact { font-size: 0.85rem !important; }
  
  /* Gallery Lightbox Touch Optimization */
  .lightbox-close { 
    top: 15px !important; 
    right: 20px !important; 
    font-size: 50px !important; 
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #lightbox-img { max-width: 95% !important; max-height: 85% !important; }
  #lightbox-caption { font-size: 1rem !important; padding: 0 10px; text-align: center; }
  
  /* Footers & Paddings */
  section { padding: 2.5rem 15px !important; }
  .hero-content { padding-top: 4rem !important; }
}

/* FINAL MOBILE SCROLL LOCK */
html, body { overflow-x: clip !important; position: relative; max-width: 100vw !important; width: 100% !important; }


/* Center Align Mobile Elements */
@media (max-width: 768px) {
  section, .section-title, .section-body, .card, .inst-main, .hero-content, .card-content, .footer-inner, .timeline-content, .vachan-readings-wrapper { 
    text-align: center !important; 
  }
  .section-eyebrow, .btn, .social-icons, .about-stat-badge { 
    margin-left: auto !important; 
    margin-right: auto !important; 
  }
  .btn { 
    display: inline-flex !important; 
    justify-content: center; 
  }

  /* Professional Mobile Scrolled Navbar */
  #site-header.scrolled nav { 
    background: rgba(255, 255, 255, 0.98) !important; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; 
    backdrop-filter: blur(20px) !important; 
    -webkit-backdrop-filter: blur(20px) !important; 
    padding: 0 1.25rem !important; 
    height: 64px !important;
  }
  /* Hamburger icon is dark/black only when scrolled */
  #site-header.scrolled .nav-burger span { 
    background: #1a1a1a !important; 
  }
  /* Nav logo text is dark/wine only when scrolled */
  #site-header.scrolled .nav-logo-text { 
    color: var(--wine, #6B1010) !important; 
  }
  /* Increase padding-top of other page headers to not be covered by fixed mobile navbar */
  .page-header, .institution-header {
    padding-top: 170px !important;
  }
  /* Center contact block icons on mobile */
  .contact-block-ico {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  /* Fix Mobile Menu when Scrolled */
  #site-header.scrolled .mobile-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  #site-header.scrolled .mobile-menu a {
    color: var(--ink) !important;
  }
  #site-header.scrolled .mobile-menu .mobile-dropdown-label {
    color: var(--ink-soft) !important;
  }
  #site-header.scrolled .mobile-menu div {
    border-color: rgba(0,0,0,0.05) !important;
  }
}







/* Ensure info-band is completely removed from layout when scrolled on all devices */
#site-header.scrolled .info-band {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (max-width: 992px) { .gallery-grid { column-count: 2; } }
@media (max-width: 480px) { .gallery-grid { column-count: 1; } }

/* Prevent sticky navbar from covering content when navigating to sections via anchor links */
section[id] {
  scroll-margin-top: 80px;
}
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 110px;
  }
}

/* --- New Stats Section --- */
.stats-beige {
    background: #fdfaf3; /* light beige */
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(139, 21, 23, 0.2); /* faint maroon border */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--maroon);
}
.stat-item .num {
    font-family: 'Times New Roman', Times, serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--maroon-deep);
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat-item .lbl {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

/* --- New History Split Layout --- */
.history-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.history-img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.history-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.history-tag-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(42, 22, 16, 0.85); /* dark brownish overlay */
    color: var(--gold-light);
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}
.history-content .tag {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 11px;
}
.history-content h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    color: var(--maroon-deep);
    margin-bottom: 24px;
    line-height: 1.2;
}
.history-content p {
    color: #555;
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 16px;
}
@media(max-width: 900px) {
    .stats-row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .history-split { grid-template-columns: 1fr; gap: 40px; }
}



/* ---------- Parish service ---------- */
.service-cols{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.service-panel{background:#fff; border:1px solid var(--line); border-radius:8px; padding:30px 28px;}
.service-panel h4{font-family:'Poppins',sans-serif; font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:var(--maroon); margin-bottom:20px; padding-bottom:12px; border-bottom:2px solid var(--gold);}
.person-row{display:flex; align-items:center; gap:14px; padding:12px 0;}
.person-row .avatar{width:52px; height:52px; border-radius:50%; overflow:hidden; flex:none; border:2px solid var(--gold);}
.person-row .avatar img{width:100%; height:100%; object-fit:cover;}
.person-row .pname{font-weight:700; font-size:14.5px; display:block;}
.person-row a{display:block; font-size:13px; color:var(--muted); text-decoration:none;}
.person-row a:hover{color:var(--maroon);}
@media (max-width:860px){ .service-cols{grid-template-columns:1fr;} }


/* ---------- Leading lights / clergy ---------- */
.clergy-row{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.clergy-card{background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:0 4px 18px rgba(15,39,72,0.05);}
.clergy-photo{aspect-ratio:1/1; overflow:hidden; background:var(--ivory);}
.clergy-photo img{width:100%; height:100%; object-fit:cover;}
.clergy-body{padding:22px 22px 26px; border-top:3px solid var(--gold);}
.clergy-body .role{font-family:'Poppins',sans-serif; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--maroon); font-weight:700; margin-bottom:6px;}
.clergy-body h3{font-size:18px; margin-bottom:8px;}
.clergy-body p{color:var(--muted); font-size:14.5px; margin:0;}
@media (max-width:860px){ .clergy-row{grid-template-columns:1fr; max-width:400px; margin:0 auto;} }


/* ---------- Fixed Leading lights / shepherd ---------- */
.shepherd-row{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.shepherd-card{background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:0 4px 18px rgba(15,39,72,0.05); padding:0; text-align:left;}
.shepherd-photo{aspect-ratio:1/1; overflow:hidden; background:var(--ivory); height:auto;}
.shepherd-photo img{width:100%; height:100%; object-fit:cover;}
.shepherd-body{padding:22px 22px 26px; border-top:3px solid var(--gold);}
.shepherd-body .role{font-family:'Poppins',sans-serif; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--maroon); font-weight:700; margin-bottom:6px;}
.shepherd-body h3{font-size:18px; margin-bottom:8px;}
.shepherd-body p{color:var(--muted); font-size:14.5px; margin:0;}
@media (max-width:860px){ .shepherd-row{grid-template-columns:1fr; max-width:400px; margin:0 auto;} }


/* ---------- Heritage Floating Card ---------- */
.heritage-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 120px 0; display: flex; align-items: center; }
.heritage-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 39, 72, 0.4); }
.heritage-section .wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.heritage-floating-card { background: #ffffff; padding: 60px 50px; max-width: 600px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-bottom: 5px solid var(--gold); }
.heritage-floating-card .tag { margin-bottom: 15px; }
.heritage-floating-card h2 { font-size: 2.2rem; color: var(--maroon); margin-bottom: 25px; line-height: 1.3; }
.heritage-floating-card .heritage-content-text { font-size: 1.1rem; line-height: 1.8; color: var(--muted); }
@media (max-width: 860px) { .heritage-section { padding: 60px 20px; background-attachment: scroll; } .heritage-floating-card { padding: 40px 30px; } }


/* ---------- Heritage Solid Background + Floating Card + Image Right ---------- */
.heritage-section-solid { background: var(--maroon); padding: 80px 0; }
.heritage-split-solid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.heritage-split-solid .heritage-floating-card { background: #ffffff; padding: 50px 40px; border-radius: 12px; box-shadow: 0 20px 40px rgba(15,39,72,0.08); border-bottom: 5px solid var(--gold); margin: 0; max-width: none; }
.heritage-image-right { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(15,39,72,0.1); aspect-ratio: 4/5; }
.heritage-image-right img { width: 100%; height: 100%; object-fit: cover; }
/* Homepage Responsive Grids */
.notices-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.spiritual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .notices-grid, .spiritual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) { .heritage-split-solid { grid-template-columns: 1fr; } }

/* Global Header Offset for pages without Hero */
.page-header, .institution-header, .gallery-header {
    text-align: center;
    padding: 150px 20px 60px;
    background: #fdfaf5;
}
.page-header h1.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--maroon);
}
.page-header p.page-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Spiritual Grid & Readings Card Responsive System
   ========================================================================== */
.spiritual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.spiritual-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.reading-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    padding-top: 4px;
}
.reading-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.reading-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}
.reading-btn {
    background: var(--maroon);
    color: var(--ivory);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    flex: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.reading-btn:hover {
    background: var(--gold);
    color: var(--maroon);
}

/* ==========================================================================
   Feasts Grid Responsive System
   ========================================================================== */
.feasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}
.feast-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.feast-card:hover {
    transform: translateY(-3px);
}
.feast-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ivory);
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 3.5px solid var(--gold);
    min-width: 76px;
    text-align: center;
    flex: none;
}
.f-month {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--maroon);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.f-day {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    margin-top: 4px;
}
.feast-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}
.f-title {
    margin: 0 0 4px;
    font-size: 16.5px;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}
.f-title-ml {
    font-size: 14.5px;
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-word;
}
.f-meta {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}
.f-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
    word-break: break-word;
}

/* ==========================================================================
   Mobile Responsive Overrides (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .spiritual-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .spiritual-card {
        padding: 20px 16px !important;
    }
    .reading-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-bottom: 14px;
    }
    .reading-title {
        font-size: 14.5px;
        line-height: 1.4;
        width: 100%;
    }
    .reading-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
    .feast-card {
        padding: 16px;
        gap: 14px;
    }
    .feast-date-box {
        padding: 10px 12px;
        min-width: 68px;
    }
    .f-month {
        font-size: 12.5px;
    }
    .f-day {
        font-size: 22px;
    }
    .f-title {
        font-size: 15.5px;
    }
    .f-title-ml {
        font-size: 13.5px;
    }
    .f-meta {
        font-size: 12px;
    }
}



