header {
  padding: 0.75rem 1.25rem 0.5rem;
}

.top-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-soft);
}

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

.hero {
  max-width: 1100px;
  margin: 3rem auto 1.5rem;  /* a bit more space below the nav */
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin: 0;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.text-content {
  max-width: 800px;
  margin: 2rem auto 3rem;
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.text-content h1 {
  margin-top: 0;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-softer);
}

/* Antioch Circle logo sizing */
.nav-logo {
  height: 48px;          /* mobile & small screens */
  width: auto;           /* keep the circle perfectly proportional */
}

/* Make the logo larger on tablets / desktops */
@media (min-width: 768px) {
  .nav-logo {
    height: 96px;        /* tweak this number up/down if you want */
  }
}

/* ------------------------------------- */
/*  MOBILE + RESPONSIVE NAV OPTIMIZATION */
/* ------------------------------------- */

/* Adjusted logo sizes */
.nav-logo {
  height: 48px;   /* mobile */
  width: auto;
}

@media (min-width: 768px) {
  .nav-logo {
    height: 64px;  /* desktop/tablet */
  }
}

/* Top nav spacing */
header {
  padding: 0.75rem 1.25rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Nav link spacing */
.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

/* On narrow phones (iPhone SE, small Androids) */
@media (max-width: 400px) {
  .nav-links {
    gap: 0.9rem;
    font-size: 0.8rem;
  }
}

/* ------------------------------------- */
/*  HERO AREA TIGHTENING ON MOBILE       */
/* ------------------------------------- */
.hero {
  margin: 1.8rem auto 1.2rem;
  padding: 0 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 1.85rem;
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  max-width: 22rem;
  margin: 0 auto;
}

/* Desktop breathing room */
@media (min-width: 768px) {
  .hero {
    margin-top: 3rem;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
}
/* Keep subtitle on one line on large screens */
@media (min-width: 1024px) {
  .hero-subtitle {
    white-space: nowrap;
    font-size: 1.2rem;   /* slightly larger to match desktop scale */
    max-width: none;     /* remove artificial constraint */
  }
}

