:root {
  --bg: #f8f5ec;
  --paper: #fffdf8;
  --ink: #1a2a2f;
  --muted: #4f6269;
  --brand: #00796b;
  --brand-dark: #00564b;
  --accent: #ef6c00;
  --line: #d6ddd9;
  --shadow: 0 18px 38px rgba(13, 42, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -20%, rgba(0, 121, 107, 0.18), transparent 48%),
    radial-gradient(circle at 90% 10%, rgba(239, 108, 0, 0.15), transparent 42%),
    var(--bg);
  line-height: 1.55;
}

.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(248, 245, 236, 0.92);
  border-bottom: 1px solid rgba(26, 42, 47, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 3.5rem;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

nav a:hover {
  background: rgba(0, 121, 107, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
}

.hamburger span {
  width: 1.8rem;
  height: 0.2rem;
  background: var(--ink);
  border-radius: 0.1rem;
  transition: all 200ms ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(0.45rem, 0.55rem);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(0.35rem, -0.5rem);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.3rem;
  align-items: end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

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

.btn {
  text-decoration: none;
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.status-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.status-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-value {
  margin: 0.35rem 0 0;
  font-size: 1.65rem;
  font-weight: 700;
}

.status-meta {
  margin-top: 0.5rem;
  color: var(--muted);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(26, 42, 47, 0.06);
  border-bottom: 1px solid rgba(26, 42, 47, 0.06);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.teaser-image {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1rem;
}

.hours-grid {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.day-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.day-row:last-child {
  border-bottom: 0;
}

.day-row strong {
  color: var(--brand-dark);
}

.doc-list {
  display: grid;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.doc-list a {
  color: var(--ink);
  text-decoration: none;
  border-left: 4px solid var(--accent);
  padding-left: 0.55rem;
  font-weight: 600;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.site-footer {
  border-top: 1px solid rgba(26, 42, 47, 0.08);
  margin-top: 1rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-wrap a {
  color: var(--ink);
}

/* Staggered reveal keeps motion intentional without being distracting. */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.section {
  animation: reveal 650ms ease both;
}

.section:nth-of-type(2) { animation-delay: 120ms; }
.section:nth-of-type(3) { animation-delay: 180ms; }
.section:nth-of-type(4) { animation-delay: 240ms; }
.section:nth-of-type(5) { animation-delay: 300ms; }

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(248, 245, 236, 0.98);
    border-bottom: 1px solid rgba(26, 42, 47, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
  }

  nav.active {
    max-height: 300px;
  }

  nav a {
    padding: 0.75rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(26, 42, 47, 0.04);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .nav-wrap {
    position: relative;
  }

  .hero-grid,
  .section-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
