@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --paper: #ebe6dc;
  --paper-deep: #e2dccf;
  --ink: #23303f;
  --ink-soft: #4a5566;
  --rule: rgba(35, 48, 63, .22);
  --slate: #5d6a82;
  --slate-hover: #52607a;
  --rust: #c97b4a;
  --rust-hover: #b96d3f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.5; min-height: 100vh; }
a { color: inherit; text-decoration: none; }

.page {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 2.2fr);
  gap: var(--gutter);
  padding: var(--gutter);
  max-width: 88rem;
  margin: 0 auto;
  min-height: 100vh;
  grid-template-rows: 1fr auto;
}

/* left column */
.intro { display: flex; flex-direction: column; gap: 1rem; padding-top: .25rem; }
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.lede { font-family: var(--serif); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.4; margin: 0; max-width: 24rem; }
.sub { font-size: .9rem; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 24rem; }
.addr { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: auto 0 0; padding-top: 2rem; }

/* right column */
.body { display: flex; flex-direction: column; gap: 2.75rem; min-width: 0; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.tile {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--slate); color: var(--paper);
  padding: 1.15rem 1.2rem;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  border-radius: 2px;
  transition: background .18s ease, transform .18s ease;
}
.tile:hover, .tile:focus-visible { background: var(--slate-hover); transform: translateY(-1px); outline: none; }
.tile .arr { font-size: .9rem; opacity: .85; transition: transform .18s ease; }
.tile:hover .arr { transform: translate(2px, -2px); }
.tile-accent { background: var(--rust); }
.tile-accent:hover, .tile-accent:focus-visible { background: var(--rust-hover); }

.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .4rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
}

.events { list-style: none; margin: 0; padding: 0; }
.event a {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 5.5rem 1.25rem;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .18s ease;
}
.event a:hover, .event a:focus-visible { padding-left: .4rem; outline: none; }
.event .date { font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.event .title { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.25; }
.event .title small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: .3rem; }
.event .time { font-size: .8rem; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.event .arr { font-size: .9rem; color: var(--ink-soft); text-align: right; transition: transform .18s ease; }
.event a:hover .arr { transform: translate(2px, -2px); color: var(--ink); }
.event.past { display: none; }
.empty { font-family: var(--serif); font-style: italic; color: var(--ink-soft); padding: 1rem 0; margin: 0; }

.colophon {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}

/* load-in: quiet, one pass */
@media (prefers-reduced-motion: no-preference) {
  .intro > *, .tiles, .upcoming { animation: settle .7s cubic-bezier(.2,.7,.2,1) both; }
  .lede { animation-delay: .06s; } .sub { animation-delay: .12s; } .addr { animation-delay: .18s; }
  .tiles { animation-delay: .1s; } .upcoming { animation-delay: .2s; }
  .event { animation: settle .6s cubic-bezier(.2,.7,.2,1) both; }
  .event:nth-child(1) { animation-delay: .28s; } .event:nth-child(2) { animation-delay: .34s; }
  .event:nth-child(3) { animation-delay: .40s; } .event:nth-child(4) { animation-delay: .46s; }
  .event:nth-child(n+5) { animation-delay: .52s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 2.25rem; min-height: auto; }
  .intro .addr { margin-top: .5rem; padding-top: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .event a { grid-template-columns: 4rem minmax(0, 1fr) 1.25rem; grid-template-rows: auto auto; row-gap: .35rem; }
  .event .date { grid-column: 1; grid-row: 1; }
  .event .title { grid-column: 2; grid-row: 1; }
  .event .time { grid-column: 2; grid-row: 2; text-align: left; }
  .event .arr { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 420px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .tile { padding: 1rem; font-size: .9rem; }
}
