/* ── BARE & BRAVE PUBLISHING — SHARED STYLES ── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,600;1,9..144,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

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

:root {
  --purple:     #60479c;
  --purple-dark:#4a3278;
  --purple-pale: #ede8f8;
  --teal:       #1b9e9e;
  --teal-pale:  #e1f5f5;
  --cream:      #fdfaf6;
  --lilac:      #e6cae1;
  --dark:       #2c1a3e;
  --mid:        #5a4a6e;
  --muted:      #9a8aaa;
  --grey:       #a6a6a6;
  --lime:       #6bbf3e;
  --white:      #ffffff;
  --border:     rgba(96,71,156,0.12);
  --border-soft: rgba(96,71,156,0.07);
}

html { scroll-behavior: smooth; }

body {
  padding-top: 80px;
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 80px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.nav-logo {
  grid-column: 1;
}

.nav-links {
  grid-column: 2;
  justify-self: end;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  max-width: 260px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  justify-self: end;
}
.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--purple); background: var(--purple-pale); }
.nav-links a.active { color: var(--purple); }
.nav-links .nav-cta {
  background: var(--purple);
  color: white !important;
  padding: 7px 18px;
  border-radius: 9px;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-links .nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }

/* ── MOBILE NAV TOGGLE (hamburger) ── */
.nav-toggle {
  grid-column: 2;
  justify-self: end;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--purple-pale); }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 40px 36px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.footer-brand-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: white; }
.footer-bottom {
  max-width: 960px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  font-family: 'Nunito', sans-serif;
  display: block;
  margin-bottom: 10px;
}

/* ── UTILITY ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 40px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

/* ── TABLET / SMALL DESKTOP NAV ── */
@media (max-width: 1100px) {
  .nav { padding: 0 20px; grid-template-columns: auto 1fr; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    grid-column: 1 / -1;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
    box-shadow: 0 12px 28px rgba(44,26,62,0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 10px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .nav-cta {
    text-align: center;
    margin-top: 10px;
    padding: 14px 18px;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 40px 20px 28px; }
}

/* ── RESOURCE PACK BUTTONS ── */
.resource-btn {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
}
.resource-btn:hover { opacity: 0.9; transform: translateY(-1px); background-color: inherit; }
.resource-btn-purple { background: #60479c; color: #ffffff; }
.resource-btn-purple:hover { color: #ffffff; background: #4a3278; }
.resource-btn-teal { background: #1b9e9e; color: #ffffff; }
.resource-btn-teal:hover { color: #ffffff; background: #157a7a; }
