:root {
  --bg: #e9e9f3;          /* lavender page background from the original site */
  --ink: #111;
  --muted: #555;
  --accent: #d1a18a;      /* salmon button color from the original site */
  --accent-ink: #000;
  --card: #fff;
  --head: "Archivo Black", Impact, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.c { text-align: center; }
.caps { text-transform: uppercase; letter-spacing: .04em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter); position: relative; z-index: 10;
}
.home .site-header { position: absolute; inset: 0 0 auto 0; color: #fff; }
.logo img { width: clamp(120px, 18vw, 260px); aspect-ratio: 16/10; object-fit: cover; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; max-width: 760px; }
.site-nav a { text-decoration: none; font-size: 1.05rem; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.menu-toggle { display: none; font: 700 1rem var(--body); background: none; border: 2px solid currentColor; color: inherit; padding: 8px 14px; border-radius: 4px; cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #111; color: #fff; padding: 12px var(--gutter) 24px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 8px 0; font-size: 1.15rem; }
}

/* Home hero */
.hero {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--hero) center/cover no-repeat, #222;
  padding: 160px var(--gutter) 80px;
}
.hero h1 { font-size: clamp(2.4rem, 7.5vw, 5.5rem); margin-bottom: .4em; }
.hero .lg { font-size: clamp(1.1rem, 2.2vw, 1.45rem); }
.hero-links { margin-top: 2em; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-family: var(--head); text-decoration: none; padding: 14px 28px; border-radius: 4px; }
.btn:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }

/* Page body */
.wrap { max-width: 1200px; margin: 0 auto; padding: 32px var(--gutter) 64px; }
.wrap.narrow { max-width: 820px; }
.page-title { font-size: clamp(2rem, 5vw, 3.6rem); text-align: center; margin: 8px 0 .7em; }
.prose h3 { text-align: center; }

/* Name lists */
.names { list-style: none; padding: 0; margin: 32px 0; columns: 4 200px; column-gap: 32px; }
.names li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.names a.bio { text-decoration: none; font-weight: 700; }
.names a.bio:hover { text-decoration: underline; }
.memoriam { columns: 3 180px; text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 28px; }
.g-item { display: block; aspect-ratio: 1; overflow: hidden; background: #ccc; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; padding: 28px 0; font-family: var(--head); font-size: clamp(2rem, 6vw, 4.5rem); }
.marquee .track { display: inline-block; animation: scroll 40s linear infinite; }
.marquee i { font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* Quote */
.quote { text-align: center; margin: 24px auto 8px; }
.quote blockquote { font-family: var(--head); font-size: clamp(1.8rem, 5vw, 3.4rem); margin: 0 0 .3em; }
.quote figcaption { color: var(--muted); }

/* Blog */
.post { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin: 40px 0; }
.post.flip .post-img { order: 2; }
.post-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post .meta { color: var(--muted); font-size: .9rem; }
.post h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
@media (max-width: 700px) { .post { grid-template-columns: 1fr; } .post.flip .post-img { order: 0; } }

/* Split (50th) */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.framed { box-shadow: 0 10px 30px rgba(0,0,0,.18); }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }

/* Video */
.video { position: relative; aspect-ratio: 16/9; background: #000; margin: 0 0 20px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { text-align: center; padding: 40px var(--gutter); font-size: .95rem; color: var(--muted); }
.site-footer .tag { font-family: var(--head); color: var(--ink); font-size: 1.2rem; margin-bottom: .3em; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(10,10,10,.94); display: none; align-items: center; justify-content: center; z-index: 1000; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: #fff; }
.lb .cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .95rem; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 28px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .close { top: 14px; right: 14px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }
