@font-face { font-family: Commissioner; src: url(fonts/commissioner-greek.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Commissioner; src: url(fonts/commissioner-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Literata; src: url(fonts/literata-greek.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Literata; src: url(fonts/literata-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --green-950: #04200f;
  --green-900: #082e17;
  --green-800: #0f4424;
  --green-600: #1b7a33;
  --green-100: #e3efe4;
  --gold: #e8c34a;
  --paper: #f6f5ef;
  --white: #fff;
  --ink: #18201a;
  --muted: #5a665d;
  --line: #dcdfd4;
  --red: #a2281f;
  --sans: Commissioner, "Segoe UI", system-ui, sans-serif;
  --serif: Literata, Georgia, serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); }
h1, h2, h3 { line-height: 1.22; font-weight: 700; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-text { width: min(720px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 44px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 30; top: 8px; left: 8px; background: #fff; padding: 8px 14px; border-radius: 6px; }

.btn { display: inline-block; border: 0; border-radius: 8px; padding: 11px 20px; background: var(--green-600); color: #fff; font: 600 16px/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-800); }
.btn-light { background: var(--gold); color: var(--green-950); }
.btn-light:hover { background: #f2d366; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-quiet { background: var(--green-100); color: var(--green-800); }
.btn-quiet:hover { background: #d2e4d4; }

.announcement { background: var(--gold); color: var(--green-950); font-size: 15px; font-weight: 600; text-align: center; padding: 7px 0; }
.announcement a { color: inherit; }

.site-header { background: var(--green-950); color: #fff; position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; }
.brand-text small { font-size: 12.5px; color: #bcd0bf; }
.nav-toggle { display: none; background: none; border: 1px solid rgb(255 255 255 / .4); border-radius: 7px; color: #fff; font: 600 15px var(--sans); padding: 7px 12px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #e7efe8; text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 7px; }
.site-nav a:hover { background: rgb(255 255 255 / .09); }
.site-nav a[aria-current] { color: var(--gold); }
.nav-search input { width: 150px; margin-left: 8px; padding: 7px 11px; border: 0; border-radius: 7px; background: rgb(255 255 255 / .12); color: #fff; font: 15px var(--sans); }
.nav-search input::placeholder { color: #bcd0bf; }

.hero { background: linear-gradient(135deg, var(--green-950), var(--green-800)); color: #fff; }
.hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-block: 56px; }
.hero-logo { width: 240px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 12px; max-width: 20em; }
.hero-motto { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 21px; margin: 0 0 10px; }
.hero-intro { max-width: 40em; color: #dce8dd; margin: 0 0 8px; }
.hero-links { margin: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head a { font-weight: 600; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgb(10 40 20 / .1); display: flex; flex-direction: column; }
.card-photo { display: block; aspect-ratio: 16 / 10; background: var(--green-900); overflow: hidden; }
.card-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .card-photo > img { transform: scale(1.03); }
.no-photo { display: flex; align-items: center; justify-content: center; height: 100%; }
.no-photo img { width: 34%; opacity: .85; }
.card-text { padding: 16px 18px 20px; }
.card h3 { margin: 4px 0 8px; font-size: 20px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green-600); }
.meta { margin: 0; font-size: 14px; color: var(--muted); }
.meta a { color: var(--green-600); font-weight: 600; text-decoration: none; }
.summary { margin: 0; color: #3d483f; font-size: 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card-big { display: grid; grid-template-columns: 1.35fr 1fr; margin-bottom: 24px; }
.card-big .card-photo { aspect-ratio: auto; min-height: 340px; }
.card-big .card-text { padding: 32px; align-self: center; }
.card-big h3 { font-size: 30px; }

.page-head { background: var(--green-900); color: #fff; padding-block: 30px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); }

.filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips a { background: var(--white); border: 1px solid var(--line); color: var(--ink); border-radius: 99px; padding: 5px 13px; font-size: 15px; text-decoration: none; font-weight: 500; }
.chips a:hover { border-color: var(--green-600); }
.chips a[aria-current] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.chips small { color: var(--muted); }
.chips a[aria-current] small { color: #cfe0d1; }
.chips-quiet a { background: transparent; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 34px; }
.pager a, .pager span { padding: 7px 13px; border-radius: 7px; text-decoration: none; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pager .current { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.empty { color: var(--muted); padding: 30px 0; }
.empty-page { text-align: center; padding-block: 90px; }

.article { background: var(--white); padding-bottom: 36px; }
.article-head { padding-top: 40px; padding-bottom: 12px; }
.article-head h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 8px 0 8px; }
.preview-note { background: var(--gold); padding: 8px 14px; border-radius: 7px; font-weight: 600; font-size: 15px; }
.article-cover { width: min(1000px, 100% - 32px); margin: 10px auto 28px; }
.article-cover img { width: 100%; border-radius: var(--radius); max-height: 640px; object-fit: contain; background: var(--paper); }

.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; overflow-wrap: anywhere; }
.prose h2, .prose h3 { font-family: var(--sans); margin: 1.6em 0 .5em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose p { margin: 0 0 1.05em; }
.prose img, .prose video { border-radius: 8px; margin: 1.2em auto; }
.prose figure { margin: 1.2em 0; }
.prose figcaption { font: 15px var(--sans); color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 1.3em 0; padding: 2px 0 2px 20px; border-left: 4px solid var(--green-600); font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; font: 16px var(--sans); }
.prose td, .prose th { border: 1px solid var(--line); padding: 7px 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.embed-box { margin: 1.5em 0; aspect-ratio: 16 / 9; background: var(--green-950); border-radius: 9px; overflow: hidden; }
.embed-tall { aspect-ratio: 4 / 3; }
.embed-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.embed-load { width: 100%; height: 100%; border: 0; background: none; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 18px var(--sans); cursor: pointer; padding: 16px; }
.embed-load:hover .embed-play { background: var(--gold); color: var(--green-950); }
.embed-play { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); font-size: 23px; transition: background .15s; }
.embed-load small { font-weight: 400; font-size: 13.5px; color: #bcd0bf; }

.gallery-block { width: min(1000px, 100% - 32px); margin: 30px auto 0; }
.gallery-block h2 { font-size: 24px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 7px; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.share span { color: var(--muted); }
.related { padding-top: 34px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; align-items: start; }
.contact-grid .prose { font-family: var(--sans); font-size: 17px; }
.contact-grid .prose h2 { font-size: 21px; margin-top: 0; color: var(--green-800); }
.contact-map { grid-column: 1 / -1; }
.form-title { margin-top: 0; font-size: 24px; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.contact-form input:not([type=checkbox]), .contact-form textarea, .search-big input { width: 100%; padding: 10px 12px; border: 1px solid #b9c0b3; border-radius: 7px; background: #fff; font: 17px var(--sans); color: var(--ink); }
.contact-form .check { grid-template-columns: auto 1fr; gap: 9px; font-weight: 400; }
.contact-form .check input { margin-top: 5px; }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 10px 14px; border-radius: 7px; font-weight: 600; }
.notice-ok { background: var(--green-100); color: var(--green-800); }
.notice-bad { background: #f8e2df; color: var(--red); }

.search-big { display: flex; gap: 8px; max-width: 620px; margin-bottom: 24px; }
.result-count { color: var(--muted); }

.site-footer { background: var(--green-950); color: #d6e2d8; margin-top: 30px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 44px 28px; }
.site-footer h2 { font-size: 16px; color: var(--gold); margin: 0 0 10px; }
.site-footer p { margin: 0 0 5px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 5px; }
.footer-name { font-weight: 600; color: #fff; margin-top: 12px !important; max-width: 24em; }
.footer-motto { font-family: var(--serif); font-style: italic; }
.social { display: flex; gap: 14px; margin-top: 10px !important; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 14px; border-top: 1px solid rgb(255 255 255 / .14); font-size: 14px; }

.lightbox { position: fixed; inset: 0; z-index: 40; background: rgb(0 0 0 / .92); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: calc(100vw - 24px); max-height: calc(100vh - 80px); width: auto; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: calc(50% - 24px); }
.lb-next { right: 12px; top: calc(50% - 24px); }
.lb-count { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; font-size: 15px; }

.member-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.member-who { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 15px; color: #dce8dd; }
.member-who a, .link-light { color: #fff; }
.link-light { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.member-tabs { margin-top: 18px; margin-bottom: 14px; }
.member-body { padding-top: 10px; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.m-box { background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 1px 2px rgb(10 40 20 / .1); }
.m-box h2 { font-size: 20px; margin: 0 0 10px; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.m-list li { display: grid; }
.m-list a { font-weight: 600; }
.m-note { background: var(--green-100); border-radius: 7px; padding: 9px 12px; font-size: 16px; }
.m-title { font-size: 22px; margin: 18px 0 10px; }
.m-title:first-child { margin-top: 0; }
.m-rows { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(10 40 20 / .1); }
.m-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 18px; border-top: 1px solid var(--line); }
.m-rows li:first-child { border-top: 0; }
.m-rows p { margin: 2px 0 0; }
.pill { font-size: 14px; font-weight: 600; padding: 2px 11px; border-radius: 99px; }
.pill-yes { background: var(--green-100); color: var(--green-800); }
.pill-no { background: #ececE6; color: var(--muted); }
.m-event { max-width: 720px; margin-bottom: 16px; }
.rsvp { display: grid; gap: 10px; margin-top: 14px; }
.rsvp label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.rsvp input { padding: 9px 11px; border: 1px solid #b9c0b3; border-radius: 7px; font: 16px var(--sans); }
.rsvp-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--green-950); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-top: 1px solid rgb(255 255 255 / .12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 8px; }
  .nav-search input { width: 100%; margin: 6px 0 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-big { grid-template-columns: 1fr; }
  .card-big .card-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .card-big .card-text { padding: 20px; }
  .card-big h3 { font-size: 25px; }
  .hero-grid { gap: 28px; padding-block: 40px; }
  .hero-logo { width: 170px; }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .brand img { width: 50px; height: auto; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .header-row { min-height: 64px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-links { justify-content: center; }
  .hero-logo { width: 150px; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid, .member-grid { grid-template-columns: 1fr; }
  .section { padding-block: 30px; }
  .prose { font-size: 18px; }
  .search-big { flex-direction: column; }
}

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