/* -------- Brand Fonts -------- */
@font-face {
  font-family: 'Adelia';
  src: url('fonts/Adelia.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Austen';
  src: url('fonts/Austen-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Moon Light';
  src: url('fonts/MoonLight.otf') format('opentype');
  font-display: swap;
}

/* Web fonts matched to the 3BULLDOG brand serif (thin, elegant, Bodoni-adjacent) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@300;400;500&family=Inter:wght@300;400;500&display=swap');

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --rule: #1a1a1a;

  --serif: 'Cormorant', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --script: 'Adelia', 'Brush Script MT', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* -------- Header / Nav -------- */
header.site {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
header.site.transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--ink);
  text-decoration: none;
}
nav.primary a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 36px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  position: relative;
  padding-bottom: 4px;
}
nav.primary a:hover { opacity: 0.55; }
nav.primary a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
}

/* -------- Page hero (about/contact) -------- */
.page-hero {
  padding: 180px 48px 60px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.page-hero .eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  display: inline-block;
  padding: 0 0.08em;
  line-height: 0.85;
}
.page-hero p.lead {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 300;
  color: #444;
  line-height: 1.75;
}

/* -------- Content sections -------- */
section.content {
  padding: 60px 48px;
  max-width: 820px;
  margin: 0 auto;
}
section.content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0.005em;
}
section.content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: #2b2b2b;
  max-width: 64ch;
  margin-bottom: 20px;
}
.rule {
  width: 50px;
  height: 1px;
  background: var(--ink);
  margin: 56px auto;
}

.dedication {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: #2b2b2b;
  margin-top: 32px;
  padding: 32px 24px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.dedication em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.2em;
  padding: 0 0.06em;
}

.memorial-photo {
  display: block;
  max-width: 360px;
  margin: 40px auto 0;
  text-align: center;
}
.memorial-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.memorial-photo figcaption {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------- Cards (contact) -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 48px 120px;
}
.contact-card {
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.contact-card h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--muted);
}
.contact-card .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-top: 22px;
  letter-spacing: 0.01em;
}
.contact-card .name:first-of-type { margin-top: 0; }
.contact-card a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-card a:hover { border-color: var(--ink); }
.contact-card .row {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* -------- Footer -------- */
footer.site {
  text-align: center;
  padding: 56px 24px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid #eee;
}

@media (max-width: 640px) {
  header.site { padding: 18px 24px; }
  nav.primary a { margin-left: 18px; font-size: 10px; letter-spacing: 0.22em; }
  .brand { font-size: 16px; letter-spacing: 0.22em; }
  .page-hero { padding: 130px 24px 50px; }
  section.content { padding: 50px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 80px; }
}
