/* ============================================================
   ATLFP Theme — theme.css
   Atlanta Film and Print Co-Op
   Brand palette:
     Navy        #041e43
     Slate blue  #4d6481
     Burnt orange#b46748
     Warm orange #e28b64
     Light peach #f4c7b9
     White       #ffffff
     Soft neutral#f8f5f2
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #041e43;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Layout helpers ── */
.atlfp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.atlfp-container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .9375rem;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: #b46748;
  color: #fff;
  border-color: #b46748;
}
.btn--primary:hover { background: #9d5a3f; border-color: #9d5a3f; }
.btn--outline {
  background: transparent;
  color: #041e43;
  border-color: #e28b64;
}
.btn--outline:hover { background: rgba(244,199,185,.35); }
.btn--navy {
  background: transparent;
  color: #041e43;
  border-color: #041e43;
}
.btn--navy:hover { background: #041e43; color: #fff; }
.btn--white {
  background: #fff;
  color: #b46748;
  border-color: #fff;
}
.btn--white:hover { background: #f4c7b9; }
.btn--sm { padding: .5rem 1.25rem; font-size: .8125rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }

/* ── Section helpers ── */
.section-py   { padding-top: 5rem; padding-bottom: 5rem; }
.section-py-sm{ padding-top: 3rem; padding-bottom: 3rem; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #041e43;
  line-height: 1.05;
}
.section-lead {
  font-size: 1.125rem;
  color: #4d6481;
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.atlfp-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid #e28b64;
  transition: box-shadow .3s ease;
}
.atlfp-site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(4,30,67,.1);
}

.atlfp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

/* Logo */
.atlfp-logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.atlfp-logo-img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.atlfp-logo-text {
  font-size: 1.375rem;
  font-weight: 900;
  color: #041e43;
  display: block;
  line-height: 1;
}
.atlfp-logo-sub {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #4d6481;
  display: block;
  margin-top: 2px;
}

/* Primary Nav */
.atlfp-primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.atlfp-mega-item { position: relative; }
.atlfp-mega-trigger {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: 1.25rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: #041e43;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}
.atlfp-mega-trigger:hover,
.atlfp-mega-item.is-open .atlfp-mega-trigger { color: #b46748; }
.atlfp-mega-trigger .chevron {
  width: .875rem;
  height: .875rem;
  transition: transform .2s;
  flex-shrink: 0;
}
.atlfp-mega-item.is-open .chevron { transform: rotate(180deg); }

/* Header CTA buttons */
.atlfp-header-ctas {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.atlfp-header-ctas .btn { padding: .5rem 1rem; font-size: .8125rem; }

/* Hamburger */
.atlfp-hamburger {
  display: none;
  padding: .5rem;
  color: #041e43;
  background: none;
  border: none;
  cursor: pointer;
}
.atlfp-hamburger svg { display: block; }

/* ── Mega Menu Panel ── */
.atlfp-mega-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 4rem; /* matches header height */
  background: #f8f5f2;
  border-bottom: 1px solid #e2ddd8;
  box-shadow: 0 12px 40px rgba(4,30,67,.12);
  animation: megaFadeIn .18s ease;
  z-index: 999;
}
.atlfp-mega-item.is-open .atlfp-mega-panel { display: block; }

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.atlfp-mega-grid {
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  gap: 3rem;
  padding: 2.5rem 0;
}

.atlfp-mega-intro-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #041e43;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.atlfp-mega-intro-desc {
  font-size: .875rem;
  color: #4d6481;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.atlfp-mega-view-all {
  font-size: .875rem;
  font-weight: 600;
  color: #b46748;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: gap .2s;
}
.atlfp-mega-view-all:hover { gap: .625rem; }

.atlfp-mega-groups {
  display: flex;
  gap: 3rem;
}
.atlfp-mega-group { min-width: 150px; }
.atlfp-mega-group-heading {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #b46748;
  margin-bottom: .75rem;
}
.atlfp-mega-group ul { list-style: none; padding: 0; margin: 0; }
.atlfp-mega-group li { margin-bottom: .375rem; }
.atlfp-mega-group a {
  font-size: .875rem;
  color: #041e43;
  transition: color .15s;
}
.atlfp-mega-group a:hover { color: #b46748; }

.atlfp-mega-feature {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.atlfp-mega-feature-img {
  flex: 1;
  min-height: 80px;
}
.atlfp-mega-feature-body { padding: 1.125rem; }
.atlfp-mega-feature-headline {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .25rem;
}
.atlfp-mega-feature-desc {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.atlfp-mega-feature-cta {
  font-size: .75rem;
  font-weight: 700;
  color: #f4c7b9;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: gap .2s;
}
.atlfp-mega-feature-cta:hover { gap: .625rem; }

/* ── Mobile Menu ── */
.atlfp-mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 998;
  overflow-y: auto;
  border-top: 1px solid #f0ece8;
}
.atlfp-mobile-menu.is-open { display: block; }

.atlfp-mobile-ctas {
  display: flex;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0ece8;
}
.atlfp-mobile-ctas .btn { flex: 1; justify-content: center; padding: .625rem 1rem; }

.atlfp-mobile-item { border-bottom: 1px solid #f0ece8; }
.atlfp-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  font-weight: 600;
  color: #041e43;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}
.atlfp-mobile-toggle .chevron {
  width: 1rem;
  height: 1rem;
  transition: transform .2s;
  color: #4d6481;
  flex-shrink: 0;
}
.atlfp-mobile-item.is-expanded .chevron { transform: rotate(180deg); }

.atlfp-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: #f8f5f2;
}
.atlfp-mobile-submenu-inner { padding: 1rem 1.25rem 1.25rem; }
.atlfp-mobile-group { margin-bottom: 1.25rem; }
.atlfp-mobile-group:last-child { margin-bottom: 0; }
.atlfp-mobile-group-heading {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #b46748;
  margin-bottom: .625rem;
  padding-top: .5rem;
}
.atlfp-mobile-group ul { list-style: none; padding: 0; margin: 0; }
.atlfp-mobile-group li { margin-bottom: .5rem; }
.atlfp-mobile-group a { font-size: .875rem; color: #4d6481; transition: color .15s; }
.atlfp-mobile-group a:hover { color: #b46748; }
.atlfp-mobile-view-all {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: #b46748;
  margin-top: .75rem;
}

/* ============================================================
   HOMEPAGE — Hero
   ============================================================ */
.atlfp-hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .atlfp-hero { padding-top: 9rem; padding-bottom: 8rem; }
}

.atlfp-hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .atlfp-hero-grid { grid-template-columns: 1fr 1fr; }
}

.atlfp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(244,199,185,.4);
  color: #b46748;
  padding: .5rem 1rem;
  border-radius: 9999px;
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.atlfp-hero-badge-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #b46748;
  flex-shrink: 0;
}

.atlfp-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #041e43;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.atlfp-hero-lead {
  font-size: 1.25rem;
  color: #4d6481;
  line-height: 1.65;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.atlfp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.atlfp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0ece8;
  font-size: .875rem;
  color: #4d6481;
}
.atlfp-hero-tag {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.atlfp-hero-tag-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #b46748;
}

.atlfp-hero-visual {
  background: linear-gradient(135deg, #041e43, #4d6481);
  border-radius: 1.25rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.atlfp-hero-visual-inner {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.atlfp-hero-visual-icon {
  width: 5rem;
  height: 5rem;
  background: #b46748;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.atlfp-hero-visual-icon svg { width: 2.5rem; height: 2.5rem; color: #fff; }
.atlfp-hero-visual-label {
  color: rgba(255,255,255,.8);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: .5rem;
}
.atlfp-hero-visual-sub { color: rgba(255,255,255,.5); font-size: .875rem; }
.atlfp-hero-visual-chips {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.atlfp-hero-visual-chip {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,.1);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e28b64;
  font-weight: 700;
  font-size: .75rem;
}
.atlfp-hero-visual-chip svg { width: 1.25rem; height: 1.25rem; }

/* ============================================================
   HOMEPAGE — Impact Metrics
   ============================================================ */
.atlfp-metrics {
  background: linear-gradient(135deg, #b46748, #e28b64);
  padding: 5rem 0;
}
.atlfp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  color: #fff;
}
@media (min-width: 768px) {
  .atlfp-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.atlfp-metric-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: .5rem;
}
.atlfp-metric-name {
  font-size: 1.125rem;
  font-weight: 600;
  opacity: .9;
  margin-bottom: .375rem;
}
.atlfp-metric-desc { font-size: .875rem; opacity: .7; line-height: 1.4; }

/* ============================================================
   HOMEPAGE — Explore Cards
   ============================================================ */
.atlfp-cards { background: #f8f5f2; padding: 5rem 0; }
.atlfp-cards-header { text-align: center; margin-bottom: 3rem; }
.atlfp-cards-header .section-title { margin-bottom: 1rem; }
.atlfp-cards-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .atlfp-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.atlfp-card {
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.atlfp-card:hover { box-shadow: 0 12px 40px rgba(4,30,67,.1); border-color: rgba(226,139,100,.4); }
.atlfp-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #041e43;
  margin-bottom: .75rem;
  transition: color .15s;
}
.atlfp-card:hover .atlfp-card-title { color: #b46748; }
.atlfp-card-desc { color: #4d6481; flex: 1; margin-bottom: 1.5rem; line-height: 1.6; }
.atlfp-card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: #b46748;
  transition: gap .2s;
}
.atlfp-card:hover .atlfp-card-link { gap: .625rem; }

/* ============================================================
   HOMEPAGE — CTA Band
   ============================================================ */
.atlfp-cta-band { padding: 6rem 0; background: #fff; }
.atlfp-cta-band-inner { text-align: center; max-width: 40rem; margin: 0 auto; }
.atlfp-cta-band-inner .section-title { margin-bottom: 1.25rem; }
.atlfp-cta-band-inner .section-lead { margin-bottom: 2.5rem; }
.atlfp-cta-note { font-size: .875rem; color: rgba(77,100,129,.6); margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.atlfp-site-footer {
  background: #041e43;
  color: #fff;
  padding: 4rem 0 2.5rem;
}
.atlfp-footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .atlfp-footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
}
.atlfp-footer-brand-logo {
  max-height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* white version of logo */
}
.atlfp-footer-brand-desc {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.65;
}
.atlfp-footer-col-heading {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.atlfp-footer-col ul { list-style: none; padding: 0; margin: 0; }
.atlfp-footer-col li { margin-bottom: .5rem; }
.atlfp-footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.atlfp-footer-col a:hover { color: #fff; }
.atlfp-footer-col span {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}

.atlfp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.atlfp-footer-copy, .atlfp-footer-tax {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   INTERIOR PAGE TEMPLATE
   ============================================================ */
.atlfp-page-wrap {
  padding-top: 6rem;
  padding-bottom: 5rem;
  min-height: 70vh;
}
.atlfp-page-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3.5rem;
}
.atlfp-page-header .section-title { margin-bottom: 1rem; }
.atlfp-page-content { max-width: 800px; margin: 0 auto; }
.atlfp-page-content h2 { font-size: 1.5rem; font-weight: 700; color: #041e43; margin: 2rem 0 .75rem; }
.atlfp-page-content p  { color: #4d6481; line-height: 1.75; margin-bottom: 1.25rem; }
.atlfp-page-content ul { list-style: disc; padding-left: 1.25rem; color: #4d6481; margin-bottom: 1.25rem; }
.atlfp-page-content li { margin-bottom: .375rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .atlfp-primary-nav  { display: none; }
  .atlfp-header-ctas  { display: none; }
  .atlfp-hamburger    { display: flex; }
  .atlfp-logo-img     { max-height: 36px; }
  .atlfp-mega-panel   { position: static; box-shadow: none; animation: none; }
}
@media (min-width: 1024px) {
  .atlfp-hamburger   { display: none; }
  .atlfp-mobile-menu { display: none !important; }
}

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
