/* Minimal, academic, crisp + airy aesthetic */

:root{
  --text: #111;
  --muted: #555;
  --rule: #e3e3e3;
  --bg: #f6f6f6;      /* light gray background */
  --link: #111;
  --max: 980px;
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  background: var(--bg); /* move the light gray here */
}

body{
  margin: 0;
  background: transparent;  /* IMPORTANT: let the image show through */
  position: relative;       /* needed for stacking */
  z-index: 0;               /* IMPORTANT: creates a stacking context */

  color: var(--text);
  font: 16px/1.6 ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.005em;
}

a{
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
a:hover{ border-bottom-color: transparent; }

.skip{
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--rule);
}
.skip:focus{ left: 12px; z-index: 10; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px 84px;  /* a bit airier */
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;                /* more space between sidebar and content */
}

.sidebar{
  position: sticky;
  top: 28px;
  align-self: start;
  border-right: 1px solid var(--rule);
  padding-right: 18px;
}

.site-title{
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.tagline{
  color: var(--muted);
  margin: 0 0 18px;
}

.nav{
  display: grid;
  gap: 10px;         /* a hair more space between links */
  margin: 16px 0 20px;
}

.nav a{
  width: fit-content;
  letter-spacing: 0.002em; /* very tight */
  text-transform: none;    /* use the capitalization in the HTML */
}

.small{
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.support{
  margin-top: 10px;
  font-size: 13px;
}
.support a{
  border-bottom-color: transparent;
}
.support a:hover{
  border-bottom-color: currentColor;
}

.cta{
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.button{
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid var(--text);
  border-radius: 6px;
  width: fit-content;
  background: transparent;
}
.button:hover{ background: #ededed; }
.button.ghost{
  border-color: var(--rule);
  color: var(--text);
}
.button.ghost:hover{ background: #efefef; }

/* Sections: MUCH more vertical spacing, no divider lines */
.content section{
  padding: 0;
  border-bottom: none;
  margin: 0 0 78px; /* lots more space between sections */
}

/* Extra breathing room so the last sections can scroll up enough to trigger reveal */
.content{
  padding-bottom: 70vh;  /* try 35–60vh */
}


h2{
  font-size: 14px;
  letter-spacing: 0.015em; /* tighter than before (was .06em) */
  text-transform: none;
  margin: 0 0 12px;
}

p{ margin: 0 0 14px; }

.motto{
  font-style: italic;
  margin-top: 6px;
}

.note{
  color: var(--muted);
  font-size: 15px;
}

.time{
  display: inline-block;
  min-width: 56px;
  color: var(--muted);
}

.event{ padding: 12px 0; }
.event + .event{ border-top: 1px solid var(--rule); }

.event-meta{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 2px;
}
.event-title{
  font-size: 17px;
  margin-bottom: 2px;
}
.event-desc{
  color: var(--muted);
  font-size: 15px;
}

.columns{
  columns: 2;
  column-gap: 28px;
  padding-left: 18px;
}
.columns li{
  break-inside: avoid;
  margin: 0 0 8px;
}

.footer{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  border: none;
  margin-top: 26px;
  padding-top: 0;
}
.footer a{ color: var(--muted); border-bottom-color: transparent; }
.footer a:hover{ border-bottom-color: var(--muted); }
.sep{ opacity: .6; }

@media (max-width: 860px){
  .wrap{ grid-template-columns: 1fr; gap: 22px; }
  .sidebar{
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-right: 0;
    padding-bottom: 18px;
  }
  .columns{ columns: 1; }
}

/* If a visitor prefers reduced motion, disable smooth scrolling + fades. */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* Sequential reveal on scroll (only when JS is enabled) */
.js main.content section{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1200ms ease, transform 1200ms ease; /* slower + more gradual */
  will-change: opacity, transform;
}

.js main.content section.reveal{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .js main.content section{
    opacity: 1;
    transform: none;
    transition: none;
  }
}



body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/hero.jpg") center / cover no-repeat;
  opacity: 0.12;
  filter: grayscale(100%) contrast(1.05);
  pointer-events: none;
  z-index: -1;
}

.wrap{
  background: transparent;
  border-radius: 0;
}
.sidebar, .content{
  background: transparent;
}
