/* St. George Greek School — site styles
   Palette and typography match the original design; refinements only. */
:root {
  --blue: #2a6aa0;        /* church site banner blue */
  --navy: #1d3f7a;        /* seal navy */
  --navy-dark: #142d58;
  --sky: #e9f1f8;
  --sky-line: #d6e3ef;
  --gold: #c9a227;
  --gold-soft: #f6eccb;
  --text: #22303f;
  --muted: #56636f;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20,45,88,.06), 0 6px 20px rgba(29,63,122,.08);
  --shadow-hover: 0 2px 4px rgba(20,45,88,.08), 0 12px 28px rgba(29,63,122,.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 72px;
  --key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 19H20M2 19V1H18V15H6V5H14V11H10' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2'/%3E%3C/svg%3E");
  --key-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M0 19H20M2 19V1H18V15H6V5H14V11H10' fill='none' stroke='%23c9a227' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: "Libre Baskerville", Georgia, serif; color: var(--navy); line-height: 1.25; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
header.site {
  background: var(--blue);
  color: var(--white);
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 2px 12px rgba(10,25,50,.18);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; max-width: 1080px; margin: 0 auto; transition: padding .3s var(--ease-out); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 72px; height: 72px; border-radius: 50%; transition: width .3s var(--ease-out), height .3s var(--ease-out); }
header.shrink .bar { padding-top: 6px; padding-bottom: 6px; }
header.shrink .brand img { width: 44px; height: 44px; }
.brand strong { font-family: "Libre Baskerville", serif; font-weight: 400; font-size: 1.1rem; letter-spacing: .03em; display: block; text-transform: uppercase; transition: font-size .3s var(--ease-out); }
header.shrink .brand strong { font-size: 1rem; }
.brand span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
nav.main { display: flex; gap: 0; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
nav.main a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 9px; border-radius: var(--radius-sm); position: relative; transition: background-color .2s ease; }
nav.main a:not(.cta)::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
nav.main a.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { nav.main a:hover { background: rgba(255,255,255,.13); } }
nav.main a.cta { background: var(--white); color: var(--blue); margin-left: 4px; transition: background-color .2s ease, transform .16s var(--ease-out); }
nav.main a.cta:hover { background: var(--sky); }
nav.main a.cta:active { transform: scale(.97); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: var(--radius-sm); width: 44px; height: 40px; cursor: pointer; padding: 0; place-items: center; transition: background-color .2s ease, transform .16s var(--ease-out); }
.menu-btn:active { transform: scale(.95); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s var(--ease-out), background-color .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Seasonal greeting bar (only rendered when a theme with a message is active) */
.season-bar { display: none; }
.season-bar.show { display: block; background: var(--navy-dark); color: #fff; font-size: .9rem; text-align: center; position: relative; }
.season-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; padding-right: 48px; }
.season-bar svg { width: 18px; height: 18px; flex: none; }
.season-bar button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; opacity: .75; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.season-bar button:hover { opacity: 1; background: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 55% 60% at 50% 55%, rgba(20,45,88,.55) 0%, rgba(20,45,88,0) 100%),
    linear-gradient(180deg, rgba(20,45,88,.45) 0%, rgba(20,45,88,.15) 40%, rgba(20,45,88,.65) 100%),
    url("../../images/hero.jpg") center 35% / cover no-repeat var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 0 80px;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  position: relative;
}
.hero h1, .hero p { text-shadow: 0 2px 4px rgba(0,0,0,.5), 0 2px 18px rgba(0,0,0,.55); }
.hero .wrap { position: relative; width: 100%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: var(--key) repeat-x; }
.hero img { width: 180px; height: 180px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 12px 34px rgba(0,0,0,.35); }
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 26px 0 8px; letter-spacing: .01em; }
.hero .greek { font-family: "Libre Baskerville", serif; font-size: 1.15rem; opacity: .92; margin: 0; letter-spacing: .05em; }
.hero .greek::before, .hero .greek::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; opacity: .9; }
.hero p.lead { max-width: 640px; margin: 20px auto 32px; font-size: 1.08rem; opacity: .96; }

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2; transition: transform .16s var(--ease-out), box-shadow .2s ease, background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); } }
.btn:active { transform: scale(.97); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #d4ad33; color: var(--navy-dark); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 11px 24px; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border: 2px solid var(--blue); color: var(--blue); padding: 11px 24px; background: transparent; }
.btn-ghost:hover { background: var(--sky); color: var(--navy); }
button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
button.btn-ghost { border: 2px solid var(--blue); }

/* ---------- Sections ---------- */
section { padding: 80px 0; scroll-margin-top: 64px; }
section.alt { background: var(--sky); }
.section-title { text-align: center; margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0; background: var(--gold); border-radius: 2px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 620px; }
.sub-title { margin-top: 72px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.subjects .card { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 34px 26px; }
.icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--sky-line); }
.icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.resources .card { text-decoration: none; text-align: center; border-top-color: var(--gold); transition: transform .2s var(--ease-out), box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) { .resources .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); } }
.resources h3 { font-size: 1.4rem; }
.more-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--blue); font-size: .92rem; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about h2 { margin-top: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.about p { font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { background: var(--sky); border-radius: var(--radius-sm); padding: 14px 18px; display: flex; gap: 14px; align-items: center; border-left: 3px solid var(--blue); }
.facts b { color: var(--navy); display: block; }
.facts small { color: var(--muted); font-size: .92rem; }
.facts .n { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.facts .n svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Announcements ---------- */
.news { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.news-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; border-left: 4px solid var(--blue); display: grid; grid-template-columns: 1fr; gap: 18px; }
.news-item.has-image { grid-template-columns: 200px 1fr; }
.news-item.important { border-left-color: var(--gold); background: linear-gradient(0deg, var(--white), var(--white)) padding-box; box-shadow: var(--shadow), inset 0 0 0 1px var(--gold-soft); }
.news-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.news-item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.news-body > :first-child { margin-top: 0; }
.news-body > :last-child { margin-bottom: 0; }
.news-body p { margin: 0 0 10px; }
.flag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: #6d5300; }
.news-attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: .92rem; }

/* ---------- Tuition / registration ---------- */
.price { font-family: "Libre Baskerville", serif; font-size: 2.2rem; color: var(--navy); margin: 6px 0; }
.price small { font-family: "Open Sans", sans-serif; font-size: .95rem; color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); margin-top: 10px !important; font-style: italic; }
.status { display: flex; justify-content: center; margin: -22px 0 32px; }
.status span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.status span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status [data-state="open"]::before { background: #2f8a3a; }
.status [data-state="late"]::before, .status [data-state="soon"]::before { background: var(--gold); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-dark); font-weight: 700; display: grid; place-items: center; }
.steps b { color: var(--navy); display: block; margin-bottom: 4px; }
.steps p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.steps a.small { font-weight: 700; font-size: .92rem; }
.deadline { margin: 30px auto 0; text-align: center; background: var(--white); border: 2px dashed var(--gold); border-radius: var(--radius); padding: 16px; max-width: 640px; }

/* ---------- Calendar ---------- */
.dates { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.dates li { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #dbe5ef; transition: opacity .2s ease; }
.dates li:last-child { border-bottom: 0; }
.dates time { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.dates .what small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.dates .what small a { font-weight: 600; }
.dates li.past { opacity: .55; }
.dates li.next { background: linear-gradient(90deg, var(--gold-soft), rgba(246,236,203,0) 85%); border-radius: var(--radius-sm); }
.dates li.next time::after { content: "Next"; display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #6d5300; font-weight: 700; }
.tag { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.classes, .tag.registration { background: #fff3c4; color: #6d5100; }
.tag.program, .tag.event { background: #d4eef5; color: #0f5566; }
.tag.closure { background: #e6e6e6; color: #3d3d3d; }
.tag.feast, .tag.holiday { background: #e6ecf8; color: var(--navy); }
.tag.fundraiser { background: #dcf3d6; color: #2a6420; }
.tag.trip { background: #efe3f7; color: #63368a; }
.dates li.month { display: block; padding: 24px 18px 6px; border-bottom: 2px solid var(--blue); font-family: "Libre Baskerville", serif; font-weight: 700; color: var(--blue); font-size: 1.05rem; opacity: 1; }
.dates li.month:first-child { padding-top: 10px; }
.cal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cal-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 6px; }
.cal-toggle { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--blue); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 6px 10px; border-radius: var(--radius-sm); }
.cal-toggle:hover { background: var(--sky); }

/* ---------- Documents ---------- */
.docs { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.docs li { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.docs .ficon { width: 40px; height: 48px; border-radius: 6px; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--sky-line); }
.docs h3 { font-family: "Open Sans", sans-serif; font-size: 1rem; margin: 0 0 2px; color: var(--navy); }
.docs p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.docs .links { display: flex; gap: 16px; font-size: .88rem; font-weight: 700; }

/* ---------- Photos ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: -20px 0 28px; }
.chips button { font: inherit; font-size: .88rem; font-weight: 600; border: 1px solid var(--sky-line); background: var(--white); color: var(--navy); padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.chips button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 4px 14px rgba(29,63,122,.12); background: var(--sky); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery a:hover img { transform: scale(1.04); } }
.gallery:not(.all) a.more, .gallery a.filtered { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,40,.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px 76px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: var(--radius-sm); box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: opacity .2s ease; }
.lightbox img.loading { opacity: 0; }
.lightbox figcaption { color: rgba(255,255,255,.9); font-size: .92rem; margin-top: 12px; text-align: center; max-width: 720px; }
.lightbox figcaption .count { opacity: .6; margin-left: 8px; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease, transform .16s var(--ease-out); }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn:active { transform: scale(.94); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -25px; }
.lb-next { right: 16px; top: 50%; margin-top: -25px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 820px; margin: 0 auto; }
.map { display: block; width: 100%; max-width: 820px; height: 320px; margin: 22px auto 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.director { display: flex; flex-direction: column; justify-content: center; background: var(--white); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.director .role { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--muted); font-weight: 700; }
.director h3 { font-size: 1.45rem; margin: 6px 0 14px; }
.director a { font-weight: 700; font-size: 1.02rem; overflow-wrap: anywhere; }
.director p { margin: 6px 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-dark); color: rgba(255,255,255,.85); text-align: center; padding: 48px 20px 30px; position: relative; font-size: .92rem; }
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: var(--key) repeat-x; opacity: .6; }
footer.site a { color: #fff; }
footer.site p { margin: 6px 0; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 40px; margin: 10px 0 18px; flex-wrap: wrap; }
.footer-logos img { height: 110px; display: block; }
.footer-logos .seal, .footer-logos .church { width: 110px; }
.footer-logos a { transition: opacity .2s ease; }
.footer-logos a:hover { opacity: .8; }
.footer-name { font-family: "Libre Baskerville", serif; font-size: 1.05rem; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .88rem; }
.footer-links a { text-decoration: none; opacity: .9; }
.footer-links a:hover { text-decoration: underline; opacity: 1; }
footer.site .copyright { margin: 22px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); max-width: 720px; font-size: .82rem; opacity: .75; }

/* ---------- Seasonal effects ---------- */
#season-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; }
.season-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: none; align-items: center; gap: 6px; background: rgba(20,45,88,.88); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform .16s var(--ease-out), background-color .2s ease; }
.season-toggle.show { display: inline-flex; }
.season-toggle:hover { background: var(--navy-dark); }
.season-toggle:active { transform: scale(.96); }
.season-toggle svg { width: 14px; height: 14px; }
/* Seasonal layers (set by assets/js/seasonal.js). Colours come from CSS variables per preset. */
[data-season-colors] .season-bar.show { background: var(--season-bar, var(--navy-dark)); color: var(--season-ink, #fff); }
[data-season-colors] .section-title::after { background: var(--season-rule, var(--gold)); }
[data-season-rule="gr"] .section-title::after { background: repeating-linear-gradient(90deg, #0d5eaf 0 8px, #fff 8px 12px); box-shadow: inset 0 0 0 1px #0d5eaf; height: 4px; }
[data-season-key="gold"] .hero::after { background-image: var(--key-gold); }
[data-season-strip] header.site::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
[data-season-strip="lights"] header.site::after { bottom: -4px; height: 4px; background: radial-gradient(circle, #f3d36b 0 1.6px, transparent 2.4px) 0 0 / 22px 4px repeat-x, radial-gradient(circle, #e9f1f8 0 1.6px, transparent 2.4px) 11px 0 / 22px 4px repeat-x; opacity: .9; }
[data-season-strip="gr"] header.site::after { bottom: -6px; height: 6px; background: repeating-linear-gradient(90deg, #0d5eaf 0 36px, #fff 36px 72px); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
[data-season-strip="us"] header.site::after { bottom: -5px; height: 5px; background: linear-gradient(#b22234 0 33%, #fff 33% 66%, #3c3b6e 66%); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
[data-season-strip="gold"] header.site::after { bottom: -5px; height: 5px; background: linear-gradient(var(--gold) 0 40%, transparent 40% 60%, var(--gold) 60%); opacity: .9; }
[data-season-strip="frost"] header.site::after { bottom: -6px; height: 6px; background: radial-gradient(circle at 50% 0, rgba(255,255,255,.95) 0 3.5px, transparent 4px) 0 0 / 12px 6px repeat-x; }
[data-season-strip="waves"] header.site::after { bottom: -6px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6'%3E%3Cpath d='M0 3q6-4 12 0t12 0' fill='none' stroke='%23bfe0f5' stroke-width='2'/%3E%3C/svg%3E") repeat-x; }
.season-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero .wrap { z-index: 1; }
.season-deco .sd { position: absolute; width: clamp(104px, 16vw, 236px); aspect-ratio: 1; bottom: 18px; filter: drop-shadow(0 0 1.5px rgba(255,255,255,.7)) drop-shadow(0 2px 4px rgba(10,20,40,.3)); }
.season-deco .sd svg { display: block; width: 100%; height: 100%; }
.season-deco .sd-l { left: max(0px, calc(50% - 680px)); }
.season-deco .sd-r { right: max(0px, calc(50% - 680px)); }
.season-deco .sd-top { top: 4%; right: 4%; bottom: auto; filter: none; }
.season-deco .sd-band { position: absolute; left: 0; right: 0; bottom: 20px; height: 34px; }
.season-deco .sd-band svg { width: 100%; height: 100%; display: block; }
.season-preview { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 270px; max-width: calc(100vw - 32px); background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 10px 34px rgba(10,20,40,.28); padding: 14px 16px; font-size: .84rem; display: grid; gap: 8px; }
.season-preview p { margin: 0; line-height: 1.4; }
.season-preview label { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.season-preview select { font: inherit; font-weight: 400; padding: 5px 6px; border: 1px solid var(--sky-line); border-radius: 6px; background: #fff; min-width: 0; }
.season-preview a { font-weight: 700; justify-self: start; }
@media (max-width: 560px) {
  .season-deco .sd { width: 70px; bottom: 22px; opacity: .9; }
  .season-deco .sd-top { width: 90px; }
  .season-preview { left: 8px; right: 8px; bottom: 8px; width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  nav.main { position: absolute; top: 100%; left: 0; right: 0; background: var(--blue); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; box-shadow: 0 10px 18px rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.15);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s; }
  nav.main.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s; }
  nav.main a { padding: 12px 12px; font-size: 1rem; border-radius: var(--radius-sm); }
  nav.main a:not(.cta)::after { left: 12px; right: auto; width: 24px; bottom: 6px; }
  nav.main a.cta { align-self: flex-start; margin: 8px 0 0; padding: 10px 18px; }
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .brand strong, header.shrink .brand strong { font-size: .95rem; }
  .brand img { width: 56px; height: 56px; }
  .dates li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .dates li .what { grid-column: 1 / -1; grid-row: 2; }
  .news-item.has-image { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox { padding: 20px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin-top: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .card, .news-item { padding: 22px; }
  .director { padding: 28px 22px; }
  .docs { grid-template-columns: 1fr; }
  .footer-logos { gap: 24px; }
  .footer-logos img { height: 84px; }
  .footer-logos .seal, .footer-logos .church { width: 84px; }
  .hero .greek::before, .hero .greek::after { width: 16px; margin: 0 8px; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  header.site, .season-bar, #season-canvas, .season-toggle, .map, .lightbox, .chips { display: none !important; }
  section { padding: 24px 0; }
}

/* ---------- Interactive calendar ---------- */
.k-class, .k-extra, .k-classes { --k: #2a6aa0; --kt: #e4eef8; }
.k-closure { --k: #a3413b; --kt: #f8e4e2; }
.k-holiday { --k: #a37c10; --kt: #f7eccb; }
.k-feast { --k: #8a6a14; --kt: #f4ecd6; }
.k-national { --k: #0d5eaf; --kt: #dbe8f7; }
.k-program { --k: #6b4c9a; --kt: #ece5f5; }
.k-deadline, .k-registration { --k: #b9581a; --kt: #fae5d4; }
.k-event, .k-meeting { --k: #56636f; --kt: #e9edf1; }
.k-fundraiser { --k: #3b7a35; --kt: #e1f0de; }
.k-trip { --k: #2b7a78; --kt: #dcefee; }
.g { width: 12px; height: 12px; flex: none; color: var(--k, var(--muted)); }
.tag.national { background: #dbe8f7; color: #0b4f93; }
.tag.deadline, .tag.registration { background: #fae5d4; color: #8a3f0f; }
.tag.extra { background: #e4eef8; color: var(--navy); }
.tag.meeting { background: #e9edf1; color: #3d4852; }

.upcoming ul { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.upcoming button { width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--white); border: 0; border-radius: var(--radius); padding: 14px 16px 14px 18px; box-shadow: var(--shadow), inset 4px 0 0 var(--k); display: flex; flex-direction: column; gap: 2px; transition: transform .16s var(--ease-out), box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) { .upcoming button:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover), inset 4px 0 0 var(--k); } }
.upcoming button:active { transform: scale(.98); }
.up-kind { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--k); }
.up-title { font-weight: 700; color: var(--navy); line-height: 1.35; }
.up-meta { font-size: .86rem; color: var(--muted); }

.cal-tabs { display: flex; width: max-content; max-width: 100%; margin: 0 auto 20px; background: var(--white); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.cal-tabs [role="tab"] { font: inherit; font-weight: 700; font-size: .92rem; border: 0; background: none; color: var(--navy); padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.cal-tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: var(--white); }
.cal-tabs [role="tab"]:not([aria-selected="true"]):hover { background: var(--sky); }

.cal-app { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-title { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); min-width: 10ch; }
.cal-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: var(--sky); border-radius: 999px; padding: 3px; }
.seg button { font: inherit; font-size: .88rem; font-weight: 600; border: 0; background: none; color: var(--navy); padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--white); box-shadow: 0 1px 3px rgba(20,45,88,.16); }
.seg-small { margin: -6px 0 14px; }
.seg-small button { font-size: .82rem; padding: 4px 12px; }
.cal-nav { display: inline-flex; gap: 6px; align-items: center; }
.nav-btn, .today-btn { font: inherit; border: 0; background: var(--sky); color: var(--navy); cursor: pointer; border-radius: 999px; height: 36px; transition: background-color .2s ease, transform .16s var(--ease-out); }
.nav-btn { width: 36px; font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.today-btn { padding: 0 14px; font-weight: 700; font-size: .88rem; }
.nav-btn:hover, .today-btn:hover { background: #dae7f3; }
.nav-btn:active, .today-btn:active, .seg button:active { transform: scale(.96); }

.cal-month { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.cal-grid { width: calc(100% + 8px); table-layout: fixed; border-collapse: separate; border-spacing: 4px; margin: -4px; }
.cal-grid th { font-size: .78rem; font-weight: 700; color: var(--muted); text-align: left; padding: 0 8px 4px; }
.cal-grid td { padding: 0; vertical-align: top; }
.cal-grid td.out .dn { display: block; padding: 6px 8px; color: #b3bdc7; font-size: .85rem; }
.day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; min-height: 88px; padding: 6px 7px 7px; border: 0; border-radius: var(--radius-sm); background: #f6f9fc; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.day:hover { background: #edf3f9; }
.day.has.k-class, .day.has.k-extra { background: #eef4fa; }
.day.has.k-closure { background: #fbefee; }
.day.is-sel { background: var(--white); box-shadow: inset 0 0 0 2px var(--blue); }
.day .dn { font-size: .85rem; font-weight: 700; color: var(--navy); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; margin: -2px 0 0 -3px; font-variant-numeric: tabular-nums; }
.day.is-today .dn { background: var(--blue); color: var(--white); }
.day.is-past .marks { opacity: .6; }
.marks { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mk { display: flex; align-items: center; gap: 4px; font-size: .78rem; line-height: 1.25; min-width: 0; }
.mk .mt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.more-n { font-size: .72rem; color: var(--muted); font-weight: 600; }
.mk-x { display: none; }
.cal-detail { background: #f6f9fc; border-radius: var(--radius); padding: 16px 18px; min-height: 160px; }
.cal-detail h4 { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.35; }
.today-chip { display: inline-block; font-family: "Open Sans", sans-serif; font-size: .72rem; font-weight: 700; color: var(--white); background: var(--blue); border-radius: 999px; padding: 1px 8px; vertical-align: middle; margin-left: 4px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev { background: var(--white); border-radius: var(--radius-sm); padding: 10px 12px 10px 14px; box-shadow: inset 3px 0 0 var(--k); display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.ev-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--k); }
.ev-title { font-weight: 700; color: var(--navy); line-height: 1.35; }
.ev-meta { font-size: .86rem; color: var(--muted); }
.ev-desc { font-size: .9rem; margin-top: 2px; }
.ev-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: .86rem; font-weight: 700; }
.empty { margin: 0; color: var(--muted); font-size: .92rem; }

.cal-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wk-day { background: #f6f9fc; border-radius: var(--radius-sm); padding: 10px; min-height: 180px; }
.wk-day.is-today { box-shadow: inset 0 0 0 2px var(--blue); background: var(--white); }
.wk-day.is-past { opacity: .7; }
.wk-day h4 { margin: 0 0 8px; font-family: "Open Sans", sans-serif; font-size: .82rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.wk-day .wd { color: var(--muted); font-weight: 600; }
.wk-day .wn { color: var(--navy); font-weight: 700; font-size: .95rem; }
.wk-day .today-chip { margin-left: 0; }
.wk-day .ev { padding: 8px 9px 8px 11px; }
.wk-day .ev-desc { font-size: .84rem; }

.cal-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 22px 26px; }
.mini h4 { margin: 0 0 6px; font-size: 1rem; }
.mini-title { font: inherit; font-family: "Libre Baskerville", serif; font-weight: 700; color: var(--navy); background: none; border: 0; padding: 2px 6px; margin-left: -6px; border-radius: 6px; cursor: pointer; }
.mini-title span { color: var(--muted); font-weight: 400; font-size: .85em; }
.mini-title:hover { background: var(--sky); }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.yh { font-size: .66rem; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: 2px; }
.yd { font-size: .72rem; text-align: center; line-height: 26px; border-radius: 5px; color: var(--text); font-variant-numeric: tabular-nums; }
.yd.out { visibility: hidden; }
.yd[class*="k-"] { background: var(--kt); color: var(--k); font-weight: 700; cursor: pointer; }
.yd.k-class { color: var(--navy); }
.yd.k-closure { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.yd.k-national { background: #0d5eaf; color: #fff; }
.yd.multi { box-shadow: inset 0 -2px 0 var(--k); }
.yd.is-today { outline: 2px solid var(--gold); outline-offset: -1px; }

.cal-legend { list-style: none; margin: 18px 0 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); background: #f6f9fc; border-radius: var(--radius-sm); }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1000px) {
  .cal-week { grid-template-columns: 1fr; gap: 6px; }
  .wk-day { min-height: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: start; }
  .wk-day h4 { flex-direction: column; margin: 2px 0 0; }
}
@media (max-width: 900px) { .cal-month { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cal-app { padding: 14px 10px; }
  .cal-toolbar { flex-direction: column; align-items: stretch; }
  .cal-controls { justify-content: space-between; }
  .cal-grid { border-spacing: 2px; margin: -2px; width: calc(100% + 4px); }
  .cal-grid th { padding: 0 0 4px; text-align: center; font-size: .72rem; }
  .day { min-height: 54px; padding: 4px 2px; align-items: center; gap: 2px; }
  .day .dn { margin: 0; }
  .marks { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px; }
  .mk .mt, .more-n { display: none; }
  .mk-x { display: flex; }
  .wk-day { grid-template-columns: 1fr; gap: 6px; }
  .wk-day h4 { flex-direction: row; }
  .cal-year { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
  .yd { line-height: 20px; font-size: .66rem; }
  .cal-tabs [role="tab"] { padding: 8px 14px; font-size: .86rem; }
  .upcoming ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) { .upcoming ul { grid-template-columns: 1fr; } }
.dates li.none { display: block; text-align: center; color: var(--muted); padding: 28px 18px; }

/* ---------- Faculty ---------- */
.faculty-desc { max-width: 640px; margin: -28px auto 32px; text-align: center; }
.faculty-figure { max-width: 860px; margin: 0 auto; }
.faculty-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sky); }
.faculty-names { list-style: none; margin: 18px 0 0; padding: 0 var(--names-inset, 0%); display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0 8px; }
.faculty-names li { text-align: center; font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.35; padding-top: 14px; position: relative; text-wrap: balance; }
.faculty-names li::before { content: ""; position: absolute; top: 0; left: 50%; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px; background: var(--gold); }
.faculty-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 16px 0 0; }
@media (max-width: 640px) {
  .faculty-names { display: block; padding: 0; margin: 16px auto 0; max-width: 340px; list-style: decimal; padding-left: 1.6em; }
  .faculty-names li { text-align: left; padding: 4px 0 4px 4px; font-size: 1rem; }
  .faculty-names li::before { display: none; }
  .faculty-names li::marker { color: var(--gold); font-weight: 700; }
}
.lightbox figcaption .cap-el { display: block; opacity: .85; font-size: .88rem; margin-top: 2px; }
.faculty-names .hon { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .faculty-names .hon { display: inline; font-size: inherit; color: inherit; } }
#photos + section.faculty { padding-top: 32px; }
