@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --bg: #f7f3ea;
  --surface: #ffffff;
  --primary: #1f3b5b;
  --accent: #b68a3f;
  --support: #5e7a61;
  --text: #1f2933;
  --muted: #6b7280;
  --border: #d8d0c1;
  --shadow: 0 12px 36px rgba(31, 59, 91, 0.09);
  --radius: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(182, 138, 63, 0.08), transparent 48%),
    radial-gradient(circle at top left, rgba(31, 59, 91, 0.09), transparent 42%),
    var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  color: var(--primary);
}

p {
  margin: 0;
}

a {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg) 78%, #ffffff 22%);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
}

.nav-brand {
  font-family: "Merriweather", Georgia, serif;
  color: var(--primary);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
}

.hero-glow {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background:
    linear-gradient(165deg, rgba(182, 138, 63, 0.32), rgba(31, 59, 91, 0.1)),
    radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 70%);
  filter: blur(2px);
}

.eyebrow {
  color: var(--support);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.subtitle {
  margin-top: 0.85rem;
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
}

.card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.stack {
  display: grid;
  gap: 0.75rem;
}

.bulletin-priority {
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(31, 59, 91, 0.03), rgba(255, 255, 255, 0)),
    var(--surface);
}

.bulletin-lead {
  margin: 0.2rem 0 0.95rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.service-date {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #cfab67);
}

.button-ghost {
  border: 1px solid var(--border);
  background: #fff;
}

.button-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pdf-frame {
  width: 100%;
  min-height: clamp(30rem, 78vh, 72rem);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #ffffff;
}

.prose {
  max-width: 72ch;
}

.prose h2,
.prose h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
}

.prose p + p {
  margin-top: 0.8rem;
}

.prose ul,
.prose ol {
  margin: 0.55rem 0;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
}

.contact-map {
  margin-top: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  overflow: hidden;
}

.contact-map iframe {
  border: 0;
  width: 100%;
  min-height: 18rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.5s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.06s;
}

.reveal:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal:nth-child(4) {
  animation-delay: 0.18s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 3.5rem;
  }

  .nav-links {
    gap: 0.65rem;
  }

  .pdf-frame {
    min-height: 50vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
