/* ==========================================================================
   Bishop of Souls Ministry — dark theme design system
   Palette: near-black base · royal blue · red · gold · white
   Mobile-first. Tokens → base → layout → components → pages → utilities.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #080c13;
  --bg-alt: #0c121d;
  --surface: #111a2b;
  --surface-2: #17233a;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  /* brand */
  --navy: #0e2347;             /* deep blue used for gradients / header */
  --navy-dark: #070f20;
  --blue: #2563eb;             /* buttons (white text = AA) */
  --blue-text: #7db0ff;        /* blue links / accents on dark */
  --red: #d63a2a;              /* buttons (white text = AA) */
  --red-text: #ff8d7e;
  --gold: #e4b13a;
  --gold-text: #f2c75a;
  --white: #fff;
  /* text */
  --ink: #e7ecf4;
  --muted: #a9b5c8;
  --head: #ffffff;
  --success-bg: #12351f; --success-ink: #8be0a6;
  --error-bg: #3b1515;   --error-ink: #ffb4ab;
  --info-bg: #11274d;    --info-ink: #a9c9ff;
  --warn-bg: #3a2c0c;    --warn-ink: #ffd98a;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 10px 28px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, .55);
  --header-h: 72px;
  --bottom-bar-h: 0px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body {
  font-family: var(--font-sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 1rem; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-bar-h);
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--head); line-height: 1.25; }
p + p { margin-top: 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #111; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--gold); color: #111;
  padding: .7rem 1.1rem; border-radius: var(--radius-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding: 3.5rem 0; }
.section--tight { padding: 2.5rem 0; }
.bg-white { background: var(--bg-alt); }                     /* historical class name: "alternate section" */
.bg-warm { background: linear-gradient(180deg, #14100a, #0d0b08); border-block: 1px solid rgba(228, 177, 58, .14); }
.bg-navy { background: radial-gradient(1200px 500px at 15% -10%, #1b3d7a 0%, transparent 60%), linear-gradient(180deg, #0e2347, #0a1832); color: #dbe5f5; }
.bg-navy .section-head p { color: #c4d2ea; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }

.section-head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-text); margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.6rem, 4.6vw, 2.35rem); margin-bottom: .75rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.gold-rule { width: 56px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 4px; margin: 1rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px;
  padding: .7rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: .96rem; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: #f0c050; }
.btn-navy, .btn-blue { background: var(--blue); color: #fff; }
.btn-navy:hover, .btn-blue:hover { background: #3b74f0; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #e24a39; }
.btn-outline { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline:hover { background: #fff; color: #0b1220; }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline-dark:hover { background: #fff; color: #0b1220; border-color: #fff; }
.btn-whatsapp { background: #118a4a; color: #fff; }
.btn-whatsapp:hover { background: #17a45b; }
.btn-sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
/* The blur lives on a background layer: putting backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu and break the menu's position. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(7, 12, 22, .9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--blue), transparent); opacity: .85; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: .75rem; }
.brand-chip { background: #fff; border-radius: 10px; padding: 4px 8px; display: flex; align-items: center; }
.brand-chip img { height: 50px; width: auto; }
.brand-text { display: none; flex-direction: column; line-height: 1.15; color: #fff; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold-text); }
.brand-text span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: #c3cee0; }
@media (min-width: 420px) { .brand-text { display: flex; } }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: #060a12; padding: 1rem 1.25rem 6rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: .15rem; transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.site-nav a:not(.btn) { color: #e2e8f4; font-weight: 550; padding: 1rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--gold-text); }
.site-nav .btn { margin-top: 1.2rem; min-height: 52px; }

@media (min-width: 1080px) {
  .nav-check, .nav-icon { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 1.35rem;
    padding: 0; overflow: visible; background: transparent; inset: auto;
  }
  .site-nav a:not(.btn) { border: 0; padding: .35rem 0; font-size: .92rem; position: relative; color: #dbe3f0; }
  .site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
  .site-nav .btn { margin: 0 0 0 .25rem; min-height: 40px; }
}
@media (min-width: 1080px) and (max-width: 1240px) { .site-nav { gap: 1rem; } .site-nav a:not(.btn) { font-size: .86rem; } .brand-text { display: none; } }

/* ---------- Hero: sliding photographs, lightly tinted ---------- */
.hero { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 780px); isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero::before {                                               /* photo stays vivid on the right; the text side is tinted for clear reading */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, .30) 0%, rgba(5, 9, 18, 0) 28%, rgba(8, 12, 19, 0) 64%, var(--bg) 100%),
    linear-gradient(95deg, rgba(5, 9, 18, .82) 0%, rgba(5, 9, 18, .66) 36%, rgba(8, 20, 46, .26) 70%, rgba(8, 20, 46, .04) 100%);
}
@media (max-width: 719px) { .hero::before { background: linear-gradient(180deg, rgba(5, 9, 18, .55) 0%, rgba(5, 9, 18, .55) 55%, rgba(5, 9, 18, .70) 85%, var(--bg) 100%); } }
.hero-content { position: relative; z-index: 2; padding: 4.5rem 1.25rem 6rem; max-width: 1180px; }
.hero-content > * { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 7.2vw, 3.8rem); margin-bottom: 1.1rem; text-shadow: 0 2px 22px rgba(0, 0, 0, .55); }
.hero h1 em { font-style: normal; color: var(--gold-text); }
.hero-sub { font-size: clamp(1.02rem, 2.6vw, 1.25rem); color: #e6edf8; margin-bottom: 2rem; max-width: 620px; text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 18px rgba(0, 0, 0, .7); }
.hero .eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-verse { margin-top: 2rem; font-size: .95rem; color: #dbe5f4; border-left: 3px solid var(--gold); padding-left: 1rem; max-width: 560px; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.hero-controls { position: absolute; z-index: 3; bottom: 1.4rem; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: .6rem; }
.hero-dots { display: flex; gap: .55rem; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .25); transition: width .3s, background .3s; }
.hero-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); width: 30px; border-radius: 999px; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .3); color: #fff; font-size: 1.3rem; line-height: 1; display: none; place-items: center; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: #111; }
@media (min-width: 720px) { .hero-arrow { display: grid; } }

.page-hero { position: relative; color: #fff; background: var(--navy-dark); text-align: center; overflow: hidden; isolation: isolate; }
.page-hero > img.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 18, .55), rgba(8, 20, 46, .55) 60%, var(--bg) 100%); }
.page-hero .container { position: relative; padding-top: 3.4rem; padding-bottom: 3.6rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: .75rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.page-hero p { color: #e6edf8; max-width: 680px; margin-inline: auto; font-size: 1.08rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.page-hero .hero-logo { height: 110px; width: auto; margin: 0 auto 1.25rem; background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow); }
.breadcrumb { font-size: .85rem; color: #cbd5e6; margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--gold-text); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(228, 177, 58, .45); }
.card-media { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #0b1220; }
.card-body { padding: 1.35rem 1.35rem 1.55rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-accent { border-top: 3px solid var(--gold); }
.card-accent-navy { border-top: 3px solid var(--blue); }
.card-accent-red { border-top: 3px solid var(--red); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(228, 177, 58, .12); color: var(--gold-text); border: 1px solid rgba(228, 177, 58, .25);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .35rem;
}
.badge {
  display: inline-block; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
  padding: .24rem .7rem; border-radius: 999px; background: rgba(228, 177, 58, .14); color: var(--gold-text); align-self: flex-start; border: 1px solid rgba(228, 177, 58, .3);
}
.badge.navy { background: rgba(37, 99, 235, .16); color: var(--blue-text); border-color: rgba(125, 176, 255, .3); }
.badge.red { background: rgba(214, 58, 42, .16); color: var(--red-text); border-color: rgba(255, 141, 126, .3); }
.meta { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }

/* ---------- Services (photo cards) ---------- */
.service-card { position: relative; }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1220; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(8, 12, 19, .85)); }
.day-chip {
  position: absolute; z-index: 2; left: 1rem; top: 1rem; background: var(--gold); color: #14100a; font-weight: 800; letter-spacing: .08em; font-size: .78rem;
  padding: .3rem .8rem; border-radius: 999px; box-shadow: var(--shadow);
}
.day-chip.red { background: var(--red); color: #fff; } .day-chip.blue { background: var(--blue); color: #fff; }
.service-time { font-weight: 700; color: var(--gold-text); font-size: .95rem; }

.schedule-card { display: flex; flex-direction: row; gap: 1rem; padding: 1.25rem 1.4rem; align-items: flex-start; }
.schedule-day { flex-shrink: 0; width: 62px; text-align: center; background: var(--blue); color: #fff; border-radius: 12px; padding: .55rem 0; line-height: 1.1; }
.schedule-day strong { display: block; font-size: 1.15rem; color: #fff; font-family: var(--font-serif); }
.schedule-day span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.schedule-time { font-weight: 700; color: var(--gold-text); font-size: .93rem; }

/* ---------- Pillars / media blocks ---------- */
.pillar { text-align: center; padding: 2rem 1.4rem; align-items: center; }
.pillar .card-icon { margin-inline: auto; }
.pillar h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.pillar p { color: var(--muted); font-size: .96rem; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-caption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.portrait { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; width: 100%; }

.feature-banner { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.feature-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 18, .05) 20%, rgba(5, 9, 18, .82) 100%), linear-gradient(90deg, rgba(8, 20, 46, .55), transparent 70%); }
.feature-banner .fb-body { padding: 1.6rem; max-width: 640px; }
.feature-banner h3 { font-size: clamp(1.4rem, 4vw, 2rem); margin: .4rem 0 .6rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.feature-banner p { color: #e3eaf6; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
@media (min-width: 720px) { .feature-banner { min-height: 440px; } .feature-banner .fb-body { padding: 2.4rem; } }

.leader-card { display: grid; grid-template-columns: 1fr; }
.leader-card .portrait { border-radius: 0; }
.leader-body { padding: 1.5rem; }
.leader-body h3 { font-size: 1.35rem; }
.leader-role { color: var(--gold-text); font-weight: 700; margin: .25rem 0 .9rem; font-size: .95rem; }
.leader-body p { color: var(--muted); font-size: .96rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.chip { font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(125, 176, 255, .12); color: var(--blue-text); font-weight: 600; border: 1px solid rgba(125, 176, 255, .25); }

/* ---------- Joel Network ---------- */
.subnav { background: rgba(8, 12, 19, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; }
.subnav .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a:first-child { margin-left: auto; } .subnav a:last-child { margin-right: auto; }
.subnav a { white-space: nowrap; padding: .95rem .7rem; font-weight: 600; font-size: .88rem; color: var(--muted); border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: #fff; border-bottom-color: var(--gold); }
html:has(.subnav) { scroll-padding-top: 150px; }
.agenda { counter-reset: agenda; }
.agenda li { counter-increment: agenda; position: relative; padding: 1.2rem 1.2rem 1.2rem 4.2rem; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.agenda li::before {
  content: counter(agenda); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--gold); color: #14100a; font-weight: 800; display: grid; place-items: center; font-family: var(--font-serif);
}
.agenda h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.agenda p { color: var(--muted); font-size: .94rem; }
.values-list { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.values-list li { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.values-list h3 { font-size: 1rem; margin-bottom: .25rem; }
.values-list p { color: var(--muted); font-size: .92rem; }

.campus-card { position: relative; min-height: 210px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; border: 1px solid var(--line); isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s; }
.campus-card:hover { transform: translateY(-4px); border-color: rgba(228, 177, 58, .5); }
.campus-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-image: var(--campus-img, none); }
.campus-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 18, .1), rgba(5, 9, 18, .88)); }
.campus-card:not(.has-photo) .campus-bg { background: radial-gradient(circle at 80% 10%, rgba(228, 177, 58, .35), transparent 55%), linear-gradient(135deg, #12306b, #0a1832); }
.campus-card:not(.has-photo) .campus-bg::after { content: attr(data-code); position: absolute; right: .8rem; top: .2rem; font: 900 4.6rem/1 var(--font-serif); color: rgba(255, 255, 255, .09); letter-spacing: .02em; }
.campus-body { padding: 1.1rem 1.2rem; }
.campus-body strong { display: block; font: 800 1.6rem var(--font-serif); color: #fff; letter-spacing: .02em; }
.campus-body span { color: #d6e0f0; font-size: .9rem; }

.quote-block { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; color: #fff; border-left: 4px solid var(--gold); padding-left: 1.2rem; }
.quote-block cite { display: block; margin-top: .6rem; font-family: var(--font-sans); font-style: normal; font-size: .9rem; color: var(--muted); }

/* ---------- Filters / toolbar ---------- */
.toolbar { display: grid; gap: .85rem; margin-bottom: 2rem; }
.search-box { position: relative; }
.search-box input { width: 100%; padding: .85rem 1rem .85rem 2.75rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); min-height: 48px; color: #fff; }
.search-box input::placeholder { color: #8795ad; }
.search-box::before { content: '🔍'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: .95rem; opacity: .75; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: .45rem 1rem; font-size: .88rem; font-weight: 600; color: var(--ink); min-height: 42px; }
.chips button:hover { border-color: var(--gold); }
.chips button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.result-count { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 2.25rem; flex-wrap: wrap; }
.pagination button { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 600; color: var(--ink); }
.pagination button[aria-current="page"] { background: var(--gold); color: #14100a; border-color: var(--gold); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Video ---------- */
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #070f20; aspect-ratio: 16 / 9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-thumb:hover img { transform: scale(1.04); }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 9, 18, .55)); }
.play-btn { position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(214, 58, 42, .95); display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); transition: transform .2s; }
.video-thumb:hover .play-btn { transform: scale(1.1); }
.play-btn::before { content: ''; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 5px; }

.live-wrap { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 1rem; box-shadow: var(--shadow); }
.live-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.live-tabs button { border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 650; min-height: 44px; }
.live-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.live-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-frame .live-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; }
.live-frame .live-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.live-frame .live-poster .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.2rem; text-align: left; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); color: #fff; font-weight: 700; }
.live-frame .live-poster .label small { display: block; font-weight: 500; color: #cbd5e6; }
.live-note { font-size: .86rem; color: var(--muted); margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.live-note a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 500; background: rgba(2, 5, 10, .92); display: grid; place-items: center; padding: 1rem; }
.modal-box { position: relative; width: 100%; max-width: 960px; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.modal-box.light { background: var(--surface); padding: 1.5rem; max-width: 640px; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: .6rem; right: .6rem; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: #0b1220; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.video-embed { aspect-ratio: 16 / 9; width: 100%; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.modal-caption { padding: .9rem 1.2rem; background: #0a1224; color: #e6ebf4; font-size: .95rem; }
.lightbox-img { max-height: 78vh; width: 100%; object-fit: contain; background: #000; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #0b1220; font-size: 1.4rem; display: grid; place-items: center; z-index: 4; }
.lightbox-nav.prev { left: .6rem; } .lightbox-nav.next { right: .6rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: .55rem; grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #0e1626; aspect-ratio: 4 / 3; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 9, 18, .6)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.mosaic { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.mosaic .gallery-item:first-child { grid-column: span 2; aspect-ratio: 16 / 8; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 1.5rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label, .form-label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .93rem; color: #fff; }
.req { color: var(--red-text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #0a1120; color: #fff; min-height: 48px;
}
.form-group select option { background: #0a1120; color: #fff; }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(228, 177, 58, .22); }
.form-group .hint { font-size: .83rem; color: var(--muted); margin-top: .3rem; }
.form-group .field-error { font-size: .86rem; color: var(--error-ink); margin-top: .3rem; font-weight: 600; }
.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select { border-color: var(--red); background: #1b0d0d; }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; flex-shrink: 0; accent-color: var(--gold); }
.check label { font-weight: 400; margin: 0; font-size: .92rem; color: var(--ink); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-weight: 500; border-left: 5px solid; font-size: .96rem; }
.alert-success { background: var(--success-bg); color: var(--success-ink); border-color: #22c55e; }
.alert-error { background: var(--error-bg); color: var(--error-ink); border-color: #ef4444; }
.alert-info { background: var(--info-bg); color: var(--info-ink); border-color: #3b82f6; }
.alert-warn { background: var(--warn-bg); color: var(--warn-ink); border-color: #d97706; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 650; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 52px; }
.faq summary::after { content: '+'; color: var(--gold-text); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > div { padding: 0 0 1.1rem; color: var(--muted); }
.faq details > div a { color: var(--blue-text); text-decoration: underline; }

/* ---------- State ---------- */
.state-box { text-align: center; padding: 3rem 1.25rem; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.state-box h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.skeleton { background: linear-gradient(90deg, #121b2e 25%, #1a2742 37%, #121b2e 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); min-height: 280px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.offline-banner { background: var(--warn-bg); color: var(--warn-ink); text-align: center; padding: .55rem 1rem; font-size: .9rem; font-weight: 600; }

/* ---------- CTA band & footer ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 380px at 14% 0%, rgba(37, 99, 235, .42), transparent 62%),
    radial-gradient(820px 380px at 92% 100%, rgba(214, 58, 42, .32), transparent 62%),
    radial-gradient(640px 300px at 55% 55%, rgba(228, 177, 58, .14), transparent 66%),
    linear-gradient(180deg, var(--bg) 0%, #0b1a38 42%, #07101f 82%, #050810 100%); }
.cta-band::before, .cta-band::after { content: ''; position: absolute; z-index: -1; width: 440px; height: 440px; border-radius: 50%; filter: blur(80px); opacity: .32; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
.cta-band::before { background: #2563eb; left: -140px; top: -180px; }
.cta-band::after { background: #d63a2a; right: -160px; bottom: -220px; animation-delay: -7s; }
@keyframes drift { to { transform: translate(70px, 46px) scale(1.18); } }
.cta-band .container { position: relative; padding-top: 3.8rem; padding-bottom: 3.8rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin-bottom: .75rem; }
.cta-band p { color: #dbe5f5; max-width: 620px; margin: 0 auto 1.5rem; }

.site-footer { position: relative; background: #050810; color: #aab6ca; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--blue), transparent); opacity: .7; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; font-family: var(--font-sans); letter-spacing: .02em; }
.site-footer .footer-brand { background: #fff; display: inline-block; padding: 6px 12px; border-radius: 10px; margin-bottom: 1rem; }
.site-footer .footer-brand img { height: 48px; width: auto; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.social-links a { border: 1px solid var(--line-strong); border-radius: 999px; padding: .35rem .85rem; font-size: .83rem; color: #e6ebf4; min-height: 38px; display: inline-flex; align-items: center; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: #14100a; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-direction: column; gap: .5rem; font-size: .86rem; text-align: center; }
.footer-bottom a { color: #cfd8e6; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 719px) {
  :root { --bottom-bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
    background: rgba(7, 12, 22, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; font-size: .7rem; font-weight: 650; color: #cfd8e8; letter-spacing: .02em; }
  .mobile-bar a span { font-size: 1.3rem; line-height: 1; }
  .mobile-bar a[aria-current="page"] { color: var(--gold-text); }
  .mobile-bar a.wa { color: #4ade80; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide.active img { animation: none; }
}

/* ---------- Mobile swipe carousels (cards scroll sideways on phones, grid on larger screens) ---------- */
@media (max-width: 719px) {
  .snap-row { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding: 0 1.25rem 1rem; margin-inline: -1.25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { scroll-snap-align: center; }
}

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .values-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .section { padding: 5rem 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: minmax(240px, 1fr) auto; align-items: center; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .leader-card { grid-template-columns: 300px 1fr; }
  .leader-card .portrait { height: 100%; aspect-ratio: auto; min-height: 380px; object-position: center 12%; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split.reverse > :first-child { order: 2; }
  .form-card { padding: 2.25rem; }
  .live-wrap { padding: 1.5rem; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: .8rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .values-list { grid-template-columns: repeat(3, 1fr); }
}
@media print { .site-header, .site-footer, .hero-controls, .cta-band, .skip-link, .mobile-bar { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Misc ---------- */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.bg-navy .card { color: var(--ink); }
.bg-navy .card h2, .bg-navy .card h3 { color: #fff; }
.bg-navy .card p { color: var(--muted); }
.link { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .hero .btn { padding: .6rem 1.15rem; font-size: .9rem; min-height: 44px; } .hero-content { padding-top: 3rem; } }
.card-body .service-time, .card-body p.service-time { color: var(--gold-text); font-weight: 700; }
.live-wrap { max-width: 980px; margin-inline: auto; }
.live-poster .play-btn { inset: auto; top: 40%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
.live-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
@media (max-width: 560px) { .live-frame .live-poster .label small { display: none; } .live-poster .play-btn { width: 56px; height: 56px; top: 38%; } }
.hero-dots button { position: relative; }
.hero-dots button::before { content: ''; position: absolute; inset: -12px -8px; }   /* 36px+ invisible tap area, same look */
.social-links a { min-height: 44px; }
.site-footer li a { display: inline-block; padding: .5rem 0; min-height: 40px; }
.site-footer li + li { margin-top: 0; }
.footer-bottom a { display: inline-block; padding: .65rem .4rem; min-height: 44px; }

/* ---------- Mobile menu: a CSS-only checkbox, so it works even if scripts are slow or blocked ---------- */
.header-inner { position: relative; }
.nav-icon { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .32); border-radius: 12px; flex-shrink: 0; }
.nav-icon span { display: block; height: 3px; background: #fff; border-radius: 3px; transition: transform .25s, opacity .25s; }
.nav-check { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; margin: 0; opacity: 0; z-index: 6; cursor: pointer; -webkit-appearance: none; appearance: none; }
.nav-check:focus-visible ~ .nav-icon { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav-check:checked ~ .nav-icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-check:checked ~ .nav-icon span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-check:checked ~ .site-nav { transform: translateX(0); visibility: visible; }
@media (max-width: 1079px) { body.menu-open { overflow: hidden; } body:has(.nav-check:checked) { overflow: hidden; } }

/* ---------- Video theatre ---------- */
.theatre-wrap { max-width: 1180px; }
.theatre { display: grid; gap: 1.25rem; }
.theatre-main { min-width: 0; }
.theatre-now { padding: 1rem .25rem 0; }
.theatre-now h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.theatre-now .meta span + span::before { content: '·'; margin-right: .9rem; color: var(--line-strong); }
.theatre-now .btn-row { margin-top: .8rem; }
.theatre-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--muted); text-align: center; padding: 1rem; }
.theatre-list { background: #0b1322; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; display: flex; flex-direction: column; min-width: 0; }
.theatre-list-head { display: flex; justify-content: space-between; align-items: baseline; padding: .3rem .5rem .8rem; color: #fff; gap: .5rem; }
.theatre-list-head .t-count { color: var(--muted); font-size: .85rem; }
.t-items { display: grid; gap: .35rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.t-items li button { display: flex; gap: .7rem; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: .4rem; color: var(--ink); min-height: 64px; align-items: center; }
.t-items li button:hover { background: rgba(255, 255, 255, .05); }
.t-items li.active button { background: rgba(214, 58, 42, .16); border-color: rgba(255, 141, 126, .45); }
.t-thumb { flex: 0 0 112px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-text { min-width: 0; display: grid; gap: .15rem; }
.t-name { font-weight: 650; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; }
.t-sub { font-size: .78rem; color: var(--muted); }
.t-status { font-size: .86rem; color: var(--muted); padding: .5rem; }
.t-more { margin-top: .5rem; }
@media (min-width: 960px) { .theatre { grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); align-items: start; } .t-items { max-height: 540px; } }
@media (max-width: 959px) { .t-items { max-height: none; } }

/* ---------- Campus photos, album chips, gallery ---------- */
.campus-card img.campus-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.campus-card:hover img.campus-photo { transform: scale(1.05); }
.campus-card.has-photo .campus-bg { background: none; }
.campus-card.has-photo .campus-bg::after { display: none; }
.photo-credit { display: block; font-size: .72rem; color: #cfd8e8; text-decoration: underline; margin-top: .3rem; }
.chip-count { opacity: .7; font-size: .75rem; margin-left: .2rem; font-weight: 500; }
#gallerySentinel { height: 1px; }

@media (min-width: 1080px) { .nav-check, .nav-icon { display: none; } }


/* ==========================================================================
   Animations & polish  (all of it switches off for visitors who prefer reduced motion)
   ========================================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* Entrance of hero / page-hero text (pure CSS, works without JavaScript) */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-content > * { opacity: 0; animation: rise .85s var(--ease) forwards; }
.hero-content > :nth-child(1) { animation-delay: .10s; } .hero-content > :nth-child(2) { animation-delay: .22s; } .hero-content > :nth-child(3) { animation-delay: .36s; }
.hero-content > :nth-child(4) { animation-delay: .50s; } .hero-content > :nth-child(5) { animation-delay: .66s; }
.page-hero .container > * { opacity: 0; animation: rise .8s var(--ease) forwards; }
.page-hero .container > :nth-child(1) { animation-delay: .05s; } .page-hero .container > :nth-child(2) { animation-delay: .15s; } .page-hero .container > :nth-child(3) { animation-delay: .25s; }
.page-hero .container > :nth-child(4) { animation-delay: .35s; } .page-hero .container > :nth-child(5) { animation-delay: .45s; }
main { animation: pageIn .5s ease backwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.eyebrow { position: relative; }
.hero .eyebrow::before { content: ''; display: inline-block; width: 34px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: .7rem; transform-origin: left; animation: grow .9s .4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll reveal variants, with staggered delays (set by JS via --d) */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.reveal-left { transform: translateX(-42px); } .reveal.reveal-right { transform: translateX(42px); } .reveal.reveal-zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.section-head .gold-rule { transform: scaleX(0); transform-origin: center; transition: transform .9s .25s var(--ease); }
.section-head.in .gold-rule { transform: scaleX(1); }
.no-js .section-head .gold-rule { transform: none; }

/* Buttons: light sweep on hover, soft pulse on the main call-to-action */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.btn:hover::after { transform: translateX(130%); transition: transform .75s var(--ease); }
.hero .btn-red { animation: rise .85s .5s var(--ease) forwards, pulseGlow 2.8s 1.6s infinite; opacity: 0; }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(214, 58, 42, .55); } 70% { box-shadow: 0 0 0 16px rgba(214, 58, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 58, 42, 0); } }

/* Cards: lift, spotlight that follows the pointer, icon wiggle, image zoom */
.card { position: relative; }
.card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 42%); }
.card:hover::after { opacity: 1; }
.card .card-icon { transition: transform .45s var(--ease), background .3s; }
.card:hover .card-icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); background: rgba(228, 177, 58, .22); }
.card-media, .card .media-frame img { transition: transform .7s var(--ease); }
.card:hover .card-media { transform: scale(1.04); }
.card .service-media { overflow: hidden; }
.media-frame { transition: transform .6s var(--ease), box-shadow .6s; } .media-frame:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.play-btn { animation: ringPulse 2.4s infinite; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45), 0 6px 22px rgba(0, 0, 0, .5); } 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), 0 6px 22px rgba(0, 0, 0, .5); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 6px 22px rgba(0, 0, 0, .5); } }

/* Facts strip with count-up numbers */
.stats-band { background: linear-gradient(180deg, var(--bg), #0a1428 50%, var(--bg)); border-block: 1px solid var(--line); padding: 2.2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center; }
.stat-card strong { display: block; font: 800 clamp(2.2rem, 7vw, 3.2rem)/1.1 var(--font-serif); background: linear-gradient(135deg, #fff, var(--gold-text)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { color: var(--muted); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Header polish, scroll progress, back-to-top */
.site-header { transition: box-shadow .3s; } .site-header.scrolled { box-shadow: 0 10px 34px rgba(0, 0, 0, .6); }
.site-header .brand-chip { transition: transform .3s var(--ease); } .site-header .brand:hover .brand-chip { transform: scale(1.06) rotate(-2deg); }
.scroll-progress { position: fixed; z-index: 200; top: 0; left: 0; right: 0; height: 3px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--red), var(--blue)); pointer-events: none; }
.to-top { position: fixed; z-index: 95; right: 1rem; bottom: calc(var(--bottom-bar-h) + 1rem); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: #14100a; font-size: 1.3rem; font-weight: 800;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), visibility .3s; display: grid; place-items: center; }
.to-top.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; } .to-top:hover { transform: translateY(-3px); }

/* Mobile menu: links glide in one after another */
@keyframes slideIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.nav-check:checked ~ .site-nav > * { animation: slideIn .45s var(--ease) both; }
.nav-check:checked ~ .site-nav > :nth-child(1) { animation-delay: .04s; } .nav-check:checked ~ .site-nav > :nth-child(2) { animation-delay: .09s; } .nav-check:checked ~ .site-nav > :nth-child(3) { animation-delay: .14s; }
.nav-check:checked ~ .site-nav > :nth-child(4) { animation-delay: .19s; } .nav-check:checked ~ .site-nav > :nth-child(5) { animation-delay: .24s; } .nav-check:checked ~ .site-nav > :nth-child(6) { animation-delay: .29s; }
.nav-check:checked ~ .site-nav > :nth-child(7) { animation-delay: .34s; } .nav-check:checked ~ .site-nav > :nth-child(8) { animation-delay: .39s; } .nav-check:checked ~ .site-nav > :nth-child(9) { animation-delay: .44s; }

/* Modals and lists */
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal { animation: fadeIn .25s ease both; } .modal-box { animation: modalIn .35s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.t-items li { animation: fadeIn .4s both; } .t-items li.active button { box-shadow: inset 3px 0 0 var(--red); }
.faq details { transition: border-color .3s, background .3s; } .faq details[open] { border-color: rgba(228, 177, 58, .45); }
.faq details[open] > div { animation: rise .4s var(--ease) both; }
.chips button, .pagination button { transition: background .25s, color .25s, border-color .25s, transform .2s; } .chips button:hover { transform: translateY(-2px); }
.gallery-item { transition: transform .35s var(--ease), box-shadow .35s; } .gallery-item:hover { transform: translateY(-3px) scale(1.015); box-shadow: var(--shadow); z-index: 1; }
.alert { animation: rise .4s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .page-hero .container > *, .hero .btn-red { opacity: 1; animation: none; }
  .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-zoom { transform: none; opacity: 1; }
  .section-head .gold-rule { transform: none; }
  .cta-band::before, .cta-band::after, .play-btn, main { animation: none; }
}

.local-banner { background: linear-gradient(90deg, #3a2c0c, #2a1f08); color: var(--warn-ink); text-align: center; padding: .55rem 1rem; font-size: .88rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: center; align-items: center; border-bottom: 1px solid rgba(228, 177, 58, .35); }
.local-banner a { text-decoration: underline; color: #fff; } .local-banner button { background: transparent; border: 1px solid rgba(255, 217, 138, .6); color: #ffd98a; border-radius: 999px; padding: .2rem .8rem; min-height: 32px; }
.local-banner button:hover { background: #ffd98a; color: #1a1304; }

main { overflow-x: clip; }                                  /* sliding reveals never create sideways scrolling */
@media (max-width: 719px) { .reveal.reveal-left, .reveal.reveal-right { transform: translateY(26px); } }
