@font-face { font-family: Lato; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/lato-light.ttf') format('truetype'); }
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/lato-regular.ttf') format('truetype'); }
:root { --purple: #741f8a; --ink: #212121; --muted: #595959; --line: #e4dfe6; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Lato, Arial, sans-serif; font-size: 17px; line-height: 1.7; }
a { color: var(--purple); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; font-weight: 400; }
h2 { margin: 0 0 20px; color: var(--purple); font-size: clamp(25px, 3vw, 32px); }
p { margin: 0 0 20px; }
.skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 12px; z-index: 10; }
.skip-link:focus { top: 8px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 24px; }
.brand img { width: 150px; height: 50px; }
.brand span { font-size: 16px; }
.primary-nav { display: flex; gap: 28px; align-items: center; }
.primary-nav a { color: var(--ink); padding: 8px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--purple); border-bottom-color: var(--purple); }
.hero { background-position: center; background-size: cover; position: relative; display: grid; place-items: center; text-align: center; color: #fff; padding: 48px 24px; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.49); }
.hero > div { position: relative; max-width: 1000px; }
.hero h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 300; letter-spacing: 1px; margin: 0; text-shadow: 0 2px 12px #0008; }
.hero p { font-size: clamp(21px, 3vw, 29px); margin: 12px 0 0; }
.hero-home { min-height: 360px; background-image: url('/assets/image-05.jpg'); }
.hero-inner { min-height: 280px; background-image: url('/assets/image-06.jpg'); background-position: center 43%; }
.container { max-width: 1100px; margin: auto; padding: 52px 32px; }
.intro { margin-bottom: 56px; }
.project-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
figure { margin: 0 0 28px; }
.project-row figure { margin: 0; }
.project-row img { width: 100%; max-height: 380px; object-fit: cover; }
.project-links { margin: 0; padding: 0; list-style: none; }
.project-links li { border-top: 1px solid var(--line); }
.project-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 20px; text-decoration: none; }
.project-links a:hover { text-decoration: underline; }
.wide { margin: 30px 0 0; }
.wide img { width: 100%; }
.breadcrumb { font-size: 15px; color: var(--muted); margin: -14px 0 32px; }
.prose { max-width: 900px; margin: 0 auto 34px; }
.lead { font-size: 21px; margin-bottom: 32px; }
.byline { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin: 32px 0; align-items: start; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; }
figcaption { margin-top: 12px; font-size: 16px; color: var(--muted); }
.video { margin: 36px 0; }
.video iframe { width: 100%; aspect-ratio: 16/9; height: auto; }
iframe { display: block; border: 0; width: 100%; }
.calendar { margin: 24px 0; border: 1px solid var(--line); }
.calendar iframe { height: 660px; }
.map iframe { height: 390px; }
.partners { margin-bottom: 48px; }
.partner { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.partner p { margin: 0; font-size: 21px; }
.partner img { max-width: 280px; max-height: 120px; width: auto; object-fit: contain; margin: auto; }
footer { border-top: 1px solid var(--line); background: #f7f5f8; text-align: center; }
footer .container { padding-top: 32px; padding-bottom: 32px; }
footer p { margin: 0 0 8px; }
.footer-name { color: var(--purple); font-size: 22px; }
.error-page { padding-top: 15vh; }
@media (max-width: 700px) {
  .header-inner { padding: 12px 20px; gap: 14px; flex-wrap: wrap; }
  .brand { gap: 14px; }
  .brand img { width: 120px; height: 40px; }
  .brand span { font-size: 14px; }
  .primary-nav { width: 100%; gap: 28px; }
  .hero-home { min-height: 280px; }
  .hero-inner { min-height: 210px; }
  .container { padding: 36px 20px; }
  .intro { margin-bottom: 30px; }
  .project-row { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .project-row img { max-height: 400px; }
  .gallery { grid-template-columns: 1fr; gap: 30px; }
  .partner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .calendar iframe { height: 560px; }
  .map iframe { height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Allow the incorporated society name to wrap beside the network logo. */
.brand { min-width: 0; }
.brand img { flex-shrink: 0; }
.brand span { max-width: 330px; line-height: 1.4; }
@media (max-width: 700px) {
  .brand { width: 100%; }
  .brand span { flex: 1; }
}
