/* ============================================================
   J. SIKILE SCHOOL — Modern Redesign
   Palette: Deep Indigo / Royal Blue / Violet / Soft Lavender
   ============================================================ */

:root {
  --indigo-950: #1a1040;
  --indigo-900: #241559;
  --indigo-800: #2e1a75;
  --indigo-700: #3b2494;
  --violet-600: #5b34c9;
  --violet-500: #6d43e0;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --lavender-100: #ede9fe;
  --lavender-50:  #f5f3ff;
  --ink: #1e1b3a;
  --muted: #5c5877;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #2e1a75 0%, #4c2fd1 45%, #2563eb 100%);
  --grad-soft: linear-gradient(120deg, #f5f3ff 0%, #eef4ff 100%);
  --shadow-sm: 0 2px 10px rgba(46, 26, 117, .08);
  --shadow-md: 0 12px 32px rgba(46, 26, 117, .14);
  --shadow-lg: 0 24px 60px rgba(46, 26, 117, .20);
  --radius: 18px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 92px 0; }
.section--tint { background: var(--grad-soft); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--indigo-950); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--indigo-950);
  color: #cfc8f2;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e6e1ff; font-weight: 500; }
.topbar a:hover { color: var(--blue-400); }
.topbar span + span::before { content: "•"; margin: 0 10px; opacity: .5; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46,26,117,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--indigo-950); letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > li > a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: .2s;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--violet-600); background: var(--lavender-50); }
.nav .has-drop { position: relative; }
.nav .drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .22s;
}
.nav .has-drop:hover .drop, .nav .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav .drop a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.nav .drop a:hover { background: var(--lavender-50); color: var(--violet-600); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--violet-600); border: 1.5px solid var(--violet-500); }
.btn--outline:hover { background: var(--lavender-50); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--indigo-900); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--grad);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 85% 15%, rgba(96,165,250,.35), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(139,92,246,.35), transparent 60%);
}
.hero .container { position: relative; padding: 110px 0 130px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.9rem); max-width: 16ch; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #c4b5fd; }
.hero p { max-width: 56ch; color: #ddd6fe; font-size: 1.08rem; margin-bottom: 34px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 18px; border-radius: 999px; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.16);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stats div { background: rgba(26,16,64,.55); backdrop-filter: blur(6px); padding: 26px 20px; text-align: center; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.hero-stats span { font-size: .82rem; color: #c7c2ea; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 80% 20%, rgba(96,165,250,.3), transparent 60%);
}
.page-hero .container { position: relative; padding: 74px 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #ddd6fe; max-width: 60ch; margin-top: 12px; }
.crumbs { font-size: .82rem; color: #b7aef0; margin-bottom: 14px; letter-spacing: .06em; }
.crumbs a:hover { color: #fff; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(46,26,117,.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.4rem; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Split block ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.panel {
  border-radius: 24px; padding: 44px 40px; color: #fff; background: var(--grad);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; }
.panel p { color: #e0d9fb; }
.panel .tag {
  display: inline-block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* ---------- Feature list ---------- */
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; color: var(--ink); font-size: .98rem;
}
.checklist li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px;
  background: var(--lavender-100); color: var(--violet-600);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 2px;
}

/* ---------- News cards ---------- */
.news-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.news-card .news-top {
  background: var(--grad); color: #fff; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.news-card .date { font-family: var(--font-head); }
.news-card .date strong { font-size: 1.9rem; display: block; line-height: 1; }
.news-card .date span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.news-card .cat {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px;
}
.news-card .news-body { padding: 26px; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.quote-card { position: relative; }
.quote-card::before {
  content: "“"; position: absolute; top: 14px; right: 26px;
  font-family: var(--font-head); font-size: 5rem; color: var(--lavender-100); line-height: 1;
}
.quote-card p { color: var(--ink); font-size: .97rem; margin-bottom: 18px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.quote-card .who strong { display: block; font-size: .92rem; }
.quote-card .who span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid rgba(46,26,117,.08); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--indigo-900); font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--violet-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: .95rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(46,26,117,.08); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .94rem; }
thead th {
  background: var(--indigo-900); color: #fff; text-align: left;
  padding: 14px 18px; font-family: var(--font-body); font-weight: 600; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
}
tbody td { padding: 13px 18px; border-top: 1px solid #efecf9; color: var(--ink); }
tbody tr:nth-child(even) { background: var(--lavender-50); }

/* ---------- Forms ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-md); }
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--indigo-900); margin: 0 0 7px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #e3def5; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fbfaff; transition: border-color .2s, box-shadow .2s; margin-bottom: 18px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px rgba(109,67,224,.12);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Info list (contact) ---------- */
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #efecf9; }
.info-item:last-child { border-bottom: 0; }
.info-item .icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--lavender-100); color: var(--violet-600); font-size: 1.15rem;
}
.info-item strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-item a:hover { color: var(--violet-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 85% 20%, rgba(96,165,250,.35), transparent 60%);
}
.cta-band .container-flex { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; }
.cta-band p { color: #ddd6fe; margin-top: 8px; max-width: 52ch; }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-950); color: #b9b2e0; margin-top: 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 0 48px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer a { display: block; padding: 5px 0; font-size: .92rem; }
.footer a:hover { color: var(--blue-400); }
.footer .brand-text strong { color: #fff; }
.footer p, .footer li { font-size: .92rem; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #8e86bd;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 5%; box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
  .header .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero .container { padding: 70px 0 90px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 30px; }
  .footer .cols { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   WordPress-specific styles
   ============================================================ */

/* Custom logo */
.brand-logo img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-sm); }

/* WP menu markup */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a::after { content: " ▾"; font-size: .75em; }
.nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .22s; z-index: 50;
}
.nav .menu-item-has-children:hover .sub-menu,
.nav .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.nav .sub-menu a:hover { background: var(--lavender-50); color: var(--violet-600); }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--violet-600); background: var(--lavender-50); }

@media (max-width: 1100px) {
  .nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
  .nav .menu-item-has-children > a::after { content: ""; }
}

/* Rich-text content from the WordPress editor */
.prose { font-size: 1rem; color: var(--ink); }
.prose p { margin-bottom: 1.1em; color: var(--muted); }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.4em 0 .5em; }
.prose h1 { font-size: 2rem; } .prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; } .prose h4 { font-size: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; color: var(--muted); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--violet-600); text-decoration: underline; }
.prose a:hover { color: var(--blue-600); }
.prose img { border-radius: var(--radius); height: auto; margin: 1em 0; }
.prose blockquote {
  border-left: 4px solid var(--violet-500); background: var(--lavender-50);
  padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.4em 0;
  font-family: var(--font-head); font-style: italic; color: var(--indigo-900);
}
.prose table { margin: 1.4em 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
.prose .wp-block-table { overflow-x: auto; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }

/* Pagination */
.pagination { display: inline-flex; gap: 8px; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 12px; background: #fff; border: 1px solid rgba(46,26,117,.12);
  font-weight: 600; font-size: .9rem; color: var(--indigo-900); transition: .2s;
}
.pagination .page-numbers:hover { background: var(--lavender-50); color: var(--violet-600); }
.pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }

/* Contact Form 7 inside the .form card */
.form .wpcf7-form label { margin-top: 0; }
.form .wpcf7-form .wpcf7-submit {
  width: 100%; padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; background: var(--grad); color: #fff; box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}
.form .wpcf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.form .wpcf7-not-valid-tip { font-size: .8rem; color: #c0392b; margin-top: -12px; margin-bottom: 12px; }
.form .wpcf7-response-output { font-size: .9rem; border-radius: 12px; padding: 12px 16px; }

/* Accessibility */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ============================================================
   Hero slider with photos
   ============================================================ */
.hero { padding: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }
/* Photos tinted toward the indigo/violet palette so white text stays readable */
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,16,64,.90) 0%, rgba(61,32,155,.72) 48%, rgba(37,99,235,.58) 100%);
}
.hero .container { position: relative; z-index: 2; }

/* Ken Burns slow zoom on the active slide */
.hero-slide.active { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { background-size: 104% auto; } to { background-size: 118% auto; } }
@supports (background-size: cover) {
  .hero-slide.active { animation: heroZoomScale 9s ease-out forwards; }
}
@keyframes heroZoomScale { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-dots {
  position: relative; z-index: 3;
  display: flex; gap: 10px; margin-top: 42px;
}
.hero-dots button {
  width: 34px; height: 5px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.32); transition: .3s; padding: 0;
}
.hero-dots button.active { background: #fff; width: 52px; }
.hero-dots button:hover { background: rgba(255,255,255,.7); }

/* Hero entrance animation */
.hero .hero-eyebrow, .hero h1, .hero p, .hero-actions, .hero-dots {
  animation: heroRise .9s cubic-bezier(.2,.7,.3,1) both;
}
.hero h1 { animation-delay: .12s; }
.hero p { animation-delay: .24s; }
.hero-actions { animation-delay: .36s; }
.hero-dots { animation-delay: .5s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Photo gallery / photo cards
   ============================================================ */
.photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 16/11; cursor: pointer;
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.photo-card:hover img { transform: scale(1.07); }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,16,64,.82) 0%, transparent 55%);
}
.photo-card .photo-label {
  position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff;
  font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 10px;
}
.photo-card .photo-label span {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px;
}
.split-photo {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-photo .photo-badge {
  position: absolute; top: 18px; left: 18px;
  background: rgba(26,16,64,.75); backdrop-filter: blur(6px); color: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}

/* ============================================================
   Richer button & card animations
   ============================================================ */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }

.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--grad); transition: width .45s ease; border-radius: 0 4px 4px 0;
}
.card:hover::after { width: 100%; }
.card .icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.card:hover .icon { transform: scale(1.12) rotate(-6deg); box-shadow: var(--shadow-md); }

/* Subtle float for the panel cards */
.panel { transition: transform .35s ease, box-shadow .35s ease; }
.panel:hover { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Brand logo ---------- */
.brand-logo-img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; background: #fff;
  border: 2px solid rgba(255,255,255,.65);
  box-shadow: 0 4px 14px rgba(26,16,64,.25);
  display: block;
}
.custom-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- Team cards ---------- */
.team-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(36,21,89,.08);
  box-shadow: 0 10px 30px rgba(26,16,64,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26,16,64,.16); }
.team-photo {
  aspect-ratio: 1/1; background-size: cover; background-position: center top;
  background-color: #ece7fb;
}
.team-body { padding: 18px 20px 22px; }
.team-body h3 { margin: 0 0 4px; font-size: 1.08rem; }
.team-role {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #5b34c9; margin-bottom: 10px;
}
.team-body p { margin: 0; font-size: .92rem; color: #4b4568; }

/* ---------- Disclosure table ---------- */
.disclosure-table { width: 100%; border-collapse: collapse; }
.disclosure-table th, .disclosure-table td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(36,21,89,.1);
}
.disclosure-table thead th {
  background: linear-gradient(120deg,#2e1a75,#4c2fd1 45%,#2563eb);
  color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
}
.disclosure-table thead th:first-child { border-radius: 10px 0 0 0; }
.disclosure-table thead th:last-child { border-radius: 0 10px 0 0; }
.disclosure-table tbody tr:hover { background: rgba(109,67,224,.05); }

/* ---------- Small button ---------- */
.btn-small { padding: 8px 16px; font-size: .85rem; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .team-card { transition: none; }
}

/* ---------- Notice ticker ---------- */
.notice-ticker {
  display: flex; align-items: stretch;
  background: var(--indigo-950); color: #fff;
  position: relative; z-index: 40;
}
.ticker-label {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  background: var(--grad); color: #fff;
  padding: 10px 18px; font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex; white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  will-change: transform;
}
.notice-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  color: #e6e1ff; font-size: .92rem; padding: 0 14px;
  display: inline-flex; align-items: center;
}
.ticker-item::after { content: "✦"; margin-left: 28px; color: var(--violet-500); font-size: .7rem; }
a.ticker-item:hover { color: #fff; text-decoration: underline; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ---------- Event cards ---------- */
.event-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(36,21,89,.08);
  box-shadow: 0 10px 30px rgba(26,16,64,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26,16,64,.16); }
.event-thumb { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: #ece7fb; }
.event-row { display: flex; gap: 16px; padding: 20px 22px; align-items: flex-start; }
.event-date {
  flex: 0 0 62px; text-align: center; border-radius: 14px; overflow: hidden;
  background: var(--grad); color: #fff; padding: 10px 6px;
  box-shadow: 0 6px 16px rgba(76,47,209,.35);
}
.event-date strong { display: block; font-family: var(--font-head, 'Fraunces', serif); font-size: 1.5rem; line-height: 1; }
.event-date span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; opacity: .9; }
.event-body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.event-body h3 a { color: inherit; }
.event-body h3 a:hover { color: var(--violet-600); }
.event-body p { margin: 0; font-size: .92rem; color: #4b4568; }
.event-card--past { opacity: .85; }
.event-card--past .event-date { background: #6b6390; box-shadow: none; }

/* ---------- Lightbox ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(16,9,43,.88); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 4vmin;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-overlay img {
  max-width: 92vw; max-height: 88vh; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute; top: 22px; right: 26px;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.photo-card a.lb-link { display: block; cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .event-card { transition: none; }
}

/* ---------- Header fit fixes (no wrapping, compact nav & button) ---------- */
.header .container { gap: 18px; max-width: 1380px; }
.brand { flex: 0 0 auto; min-width: 0; }
.brand-logo-img, .custom-logo { flex: 0 0 auto; }
.brand-text strong, .brand-text small { white-space: nowrap; }
.brand-text small { font-size: .66rem; letter-spacing: .1em; }
.header nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.nav { gap: 2px; flex-wrap: nowrap; }
.nav > li { flex: 0 0 auto; }
.nav > li > a {
  display: inline-flex; align-items: center;
  white-space: nowrap; padding: 10px 10px; font-size: .88rem;
}
.nav .menu-item-has-children > a::after,
.nav .menu-item-has-children > a::after { content: "\25BE"; font-size: .72em; margin-left: 4px; }
.header .btn { flex: 0 0 auto; white-space: nowrap; padding: 11px 22px; font-size: .88rem; }

@media (max-width: 1280px) {
  .nav > li > a { padding: 10px 7px; font-size: .85rem; }
  .header .btn { padding: 10px 18px; }
  .brand-text small { display: none; }
}
