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

body {
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Nav */
header { background: #1a3c5e; color: #fff; padding: 1rem; margin-bottom: 2rem; }
header nav { display: flex; justify-content: space-between; align-items: center; }
.site-name { font-size: 1.25rem; font-weight: 700; color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; font-size: 1rem; }
.hamburger {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 640px) {
  .hamburger { display: block; }
  .nav-links { display: none; flex-direction: column; padding: 1rem 0; }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero { padding: 3rem 1rem; text-align: center; background: #f4f0eb; margin-bottom: 2rem; }
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: #1a3c5e;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  min-height: 44px;
  min-width: 44px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #2a5a8e; }

/* Sections */
section { margin-bottom: 2.5rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a3c5e; }
p { margin-bottom: 0.75rem; }
ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }

/* Contact form */
.contact-form { max-width: 480px; }
.contact-form label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
  min-height: 44px;
}
.contact-form textarea { min-height: 100px; resize: vertical; }

/* Footer */
footer {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  margin-top: 3rem;
  color: #666;
  font-size: 0.9rem;
}

/* Phone CTA */
.phone-cta { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.phone-cta a { color: #1a3c5e; }

/* Index registry */
.registry-section { margin-bottom: 2rem; }
.registry-section h2 {
  border-bottom: 2px solid #1a3c5e;
  padding-bottom: 0.25rem;
  margin-bottom: 0.75rem;
}
.registry-section ul { list-style: none; padding: 0; }
.registry-section li { padding: 0.4rem 0; border-bottom: 1px solid #eee; }
.registry-section li a { color: #1a3c5e; font-weight: 600; }
.registry-section li span { color: #666; font-size: 0.9rem; margin-left: 0.5rem; }

/* Intentionally tiny tap target — used only in small-tap-targets.html and landscaper.html */
.tiny-link { font-size: 0.65rem; line-height: 1; padding: 1px 2px; }

/* Undismissable overlay — used only in sticky-overlay.html */
.hard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  pointer-events: all;
}
.hard-overlay-inner {
  background: #111;
  color: #fff;
  padding: 2rem;
  width: 100%;
}
