:root {
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --accent: #a3152e; /* maple-leaf red from the logo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 30px; width: auto; }
.nav nav a {
  margin-left: 32px;
  color: var(--ink);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.nav nav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Shared ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 110px 24px; }
h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 40px; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center;
}
.rule { width: 56px; height: 2px; background: var(--accent); margin: 18px auto 56px; }

/* ---------- 1. Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.hero-logo { width: min(512px, 80%); }
.hero .rule { margin: 44px auto 36px; }
.lead {
  font-family: var(--serif); font-weight: 500;
  font-size: 26px; line-height: 1.5; color: var(--ink);
  max-width: 760px;
}
.sub { margin-top: 22px; color: var(--muted); font-size: 16px; max-width: 640px; }
.scroll-cue {
  position: absolute; bottom: 28px;
  font-size: 28px; color: #aaa; line-height: 1;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--accent); text-decoration: none; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- 2. Transactions ---------- */
#transactions { border-top: 1px solid var(--line); }
.tombstones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 460px));
  justify-content: center;
  gap: 48px;
}
.tombstone {
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tombstone img { width: 100%; aspect-ratio: 1.415; object-fit: cover; }
.tombstone-body { padding: 26px 28px 30px; }
.tombstone h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 25px; line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase;
}
.tombstone .facts {
  margin: 8px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  color: var(--accent); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.tombstone .facts span { color: #bbb; margin: 0 4px; }
.tombstone-body p:not(.facts) { font-size: 15px; line-height: 1.65; color: #444; }
.tombstone:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 18px 40px rgba(0,0,0,0.12);
}

/* ---------- 3. About ---------- */
.about { border-top: 1px solid var(--line); }
.bio {
  display: grid; grid-template-columns: 260px 1fr; gap: 56px;
  align-items: center; max-width: 900px; margin: 0 auto;
}
.headshot { width: 260px; aspect-ratio: 1; object-fit: cover; }
.bio-text h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.bio-text .title {
  margin: 4px 0 20px; color: var(--accent);
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.bio-text p:not(.title) { color: #333; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  text-align: center; padding: 36px 24px;
  color: #888; font-size: 13px; letter-spacing: 0.05em;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-inner { padding: 0 16px; height: 56px; }
  .nav-logo img { height: 22px; }
  .nav nav a { margin-left: 18px; font-size: 11px; }
  .section { padding: 80px 16px; }
  h2 { font-size: 30px; }
  .rule { margin-bottom: 40px; }
  .lead { font-size: 21px; }
  .tombstones { grid-template-columns: 1fr; gap: 32px; }
  .bio { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .headshot { width: 200px; }
  .bio-text p:not(.title) { text-align: justify; text-align-last: left; }
  .tombstone-body { padding: 22px 20px 26px; }
  .tombstone h3 { font-size: 22px; }
}
