/* ═══════════════════════════════════════════════════════════════════════
   Artists Camp — site chrome (theme-core owned).
   Nav (SiteNav port), footer (SiteFooter port), designed 404, generic
   page container, member gate card. Design-system utilities (hv-*, u-grow,
   lnk-light, skip-link…) live in assets/css/main.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── SiteNav ─────────────────────────────────────────────────────────── */

.ac-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8ecf2;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.ac-nav.is-scrolled {
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.07);
}

.ac-nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ac-nav__brand {
  display: flex;
  min-width: 0;
}

.ac-nav__logo,
.ac-nav__brand .custom-logo-link {
  display: flex;
}

.ac-nav__logo img,
.ac-nav__brand .custom-logo {
  height: clamp(30px, 4.5vw, 36px);
  width: auto;
  display: block;
}

.ac-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ac-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ac-nav__list a {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 10px;
  border-radius: 8px;
  color: #111827;
}

.ac-nav__list .current-menu-item > a,
.ac-nav__list .current-menu-ancestor > a,
.ac-nav__list a[aria-current="page"] {
  color: #d7374f;
}

.ac-nav__enroll {
  display: inline-block;
  background: #2447c6;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-left: 10px;
}

.ac-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid #cdd4df;
  border-radius: 8px;
  background: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #111827;
}

.ac-nav__toggle-close {
  display: none;
}

.ac-nav.is-open .ac-nav__toggle-open {
  display: none;
}

.ac-nav.is-open .ac-nav__toggle-close {
  display: inline;
}

@media (max-width: 960px) {
  .ac-nav__inner {
    flex-wrap: wrap;
  }

  .ac-nav__toggle {
    display: inline-flex;
  }

  .ac-nav__menu {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #e8ecf2;
    margin-top: 12px;
    padding: 8px 0 8px;
  }

  .ac-nav.is-open .ac-nav__menu {
    display: flex;
  }

  .ac-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ac-nav__list li {
    display: block;
  }

  .ac-nav__list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #e8ecf2;
    border-radius: 8px;
  }

  .ac-nav__enroll {
    margin: 14px 0 0;
    padding: 13px 20px;
    font-size: 15px;
    text-align: center;
  }
}

/* ── SiteFooter ──────────────────────────────────────────────────────── */

.ac-footer {
  background: #111827;
}

.ac-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 56px) clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ac-footer__logo {
  display: inline-flex;
  align-self: flex-start;
}

.ac-footer__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.ac-footer__about {
  margin: 0;
  color: #8b97aa;
  font-size: 14px;
  line-height: 1.6;
  max-width: 640px;
}

.ac-footer__bottom {
  border-top: 1px solid #243047;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
}

.ac-footer__tagline {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.ac-footer__nav {
  font-size: 13.5px;
}

.ac-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.ac-footer__list a {
  color: #cdd4df;
}

.ac-footer__legal {
  margin: 0;
  color: #8b97aa;
  font-size: 12.5px;
}

/* ── Designed 404 ────────────────────────────────────────────────────── */

.ac-notfound__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 52vh;
}

.ac-notfound__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #d7374f;
}

.ac-notfound__title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 640px;
  text-wrap: pretty;
}

.ac-notfound__copy {
  font-size: 17px;
  line-height: 1.55;
  color: #516078;
  margin: 0;
  max-width: 540px;
  text-wrap: pretty;
}

.ac-notfound__actions {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.ac-notfound__home {
  display: inline-block;
  background: #ff5a5f;
  color: #ffffff;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
}

.ac-notfound__link {
  color: #00789e;
  font-weight: 600;
  font-size: 15px;
}

/* ── Generic page container (page.php / index.php) ───────────────────── */

.ac-page__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 32px);
}

.ac-page__title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.ac-page__content {
  font-size: 16px;
  line-height: 1.65;
  color: #111827;
}

.ac-page__content img {
  max-width: 100%;
  height: auto;
}

.ac-page__entry + .ac-page__entry {
  margin-top: 36px;
  border-top: 1px solid #e8ecf2;
  padding-top: 36px;
}

.ac-page__entry-title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.ac-page__entry-title a {
  color: #111827;
}

.ac-page__excerpt {
  font-size: 15.5px;
  line-height: 1.6;
  color: #516078;
}

.ac-page__pages {
  margin-top: 24px;
  font-weight: 600;
}

/* ── Member gate (AC Member Studio, logged out) ──────────────────────── */

.ac-member-gate {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 32px);
}

.ac-member-gate__card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.ac-member-gate__title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 38px);
  margin: 0;
}

.ac-member-gate__copy {
  color: #516078;
  font-size: 16px;
  margin: 0;
}

.ac-member-gate__login {
  display: inline-block;
  background: #2447c6;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}
