/* ============================================================
   Artists Collaborative Theatre — act4.org
   Design: light + deep plum, per client's ChatGPT mockup
   (see design-brief.md)
   ============================================================ */

/* 1. Custom properties */
:root {
  --color-bg:        #faf9f6;  /* warm off-white page background */
  --color-surface:   #ffffff;  /* cards */
  --color-alt:       #f2efe9;  /* alternating light sections */
  --color-primary:   #532e54;  /* deep plum */
  --color-primary-2: #3f2140;  /* plum hover */
  --color-dark:      #241d31;  /* dark navy-plum bands */
  --color-text:      #2a2233;  /* body text */
  --color-muted:     #6b6472;  /* secondary text */
  --color-line:      #e4dfd6;  /* borders, dividers */
  --color-green:     #5d7b4c;  /* donate/support accent */
  --color-blue:      #3c5a7d;  /* volunteer accent */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-primary-2); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h4 { line-height: 1.3; }
ul { list-style: none; }

/* 3. Container */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* 4. Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-2); border-color: var(--color-primary-2); color: #fff; }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-green { background: var(--color-green); color: #fff; border-color: var(--color-green); }
.btn-green:hover { background: #4a6540; border-color: #4a6540; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--color-dark); }
.btn-solid-light { background: #fff; color: var(--color-dark); border-color: #fff; }
.btn-solid-light:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* 5. Header + hamburger nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42, 34, 51, 0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  background: var(--color-primary);
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.logo-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.4;
}
.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }
.main-nav a.nav-cta { padding: 10px 22px; color: #fff; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta.active { color: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. Hero / page-hero — dark plum bands standing in for production photos */
.hero {
  padding: 130px 0 120px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(36, 29, 49, 0.82), rgba(36, 29, 49, 0.7)),
    url('images/hero-quilters.jpg') center 30% / cover no-repeat,
    var(--color-dark);
}
.hero-label, .section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero .hero-label { color: #cbb3cc; }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  color: #fff;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #d5cfda;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.page-hero {
  padding: 90px 0 76px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(83, 46, 84, 0.55), transparent 65%),
    var(--color-dark);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.015em; color: #fff; }
.page-hero .hero-label { color: #cbb3cc; }

/* 7. Section titles */
.section { padding: 96px 0; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 18px; }
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* 8. Page-specific sections */

/* Now Playing / Facebook band — evergreen, per mockup's Now Playing strip */
.fb-band {
  padding: 88px 0;
  text-align: center;
  background: var(--color-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.fb-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.fb-band p { max-width: 620px; margin: 0 auto 34px; color: var(--color-muted); }
.fb-band .band-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Light cards */
.card-grid { display: grid; gap: 28px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 38px 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 14px 34px rgba(42, 34, 51, 0.14);
}
.card-icon { font-size: 2rem; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--color-muted); margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: 0.92rem; }

/* "Get In On The ACT" — 4 solid-color action cards per mockup */
.act-cards { text-align: center; }
.act-cards .section-divider { margin-left: auto; margin-right: auto; }
.act-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.act-card {
  border-radius: 8px;
  padding: 42px 26px 34px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* TODO: when client photos arrive, add an image slot above each card's icon */
.act-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(42, 34, 51, 0.25); }
.act-card.perform { background: var(--color-primary); }
.act-card.volunteer { background: var(--color-blue); }
.act-card.learn { background: var(--color-green); }
.act-card.support { background: var(--color-dark); }
.act-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.act-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.act-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); flex-grow: 1; }
.act-card .btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.75rem;
}
.act-card .btn:hover { background: #fff; color: var(--color-text); }

/* Two-column feature rows (More Than Theatre, Education, Future) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row .section-label { margin-bottom: 12px; }
.feature-row p { color: var(--color-muted); margin-bottom: 20px; }
.feature-row .btn { margin-top: 6px; }
.feature-media {
  border-radius: 8px;
  min-height: 340px;
  background: var(--color-dark) center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(42, 34, 51, 0.18);
}
.feature-media.media-singer { background-image: url('images/performance-singer.jpg'); }
.feature-media.media-hsm { background-image: url('images/hsm-dancing.jpg'); }
.feature-media.media-building { background-image: url('images/act-building.jpg'); }

/* Photo strips (about/contact) */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.photo-frame { border-radius: 8px; overflow: hidden; }
.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.photo-frame:hover img { transform: scale(1.05); }
.card .card-photo { margin-bottom: 20px; }

/* Numbers band — dark, per mockup */
.numbers-band {
  padding: 88px 0;
  background: var(--color-dark);
  color: #fff;
  text-align: center;
}
.numbers-band .section-label { color: #cbb3cc; }
.numbers-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 48px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stat {
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b5aec0;
}

/* Education checklist */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 8px 0 26px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-text);
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Future of ACT — dark feature band */
.future-band { padding: 96px 0; background: var(--color-dark); color: #fff; }
.future-band .section-label { color: #cbb3cc; }
.future-band .section-title { color: #fff; }
.future-band p { color: #c9c3d1; }
.future-band .feature-media { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }

/* Mission pull-quote band */
.quote-band {
  padding: 80px 0;
  background: var(--color-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  text-align: center;
}
.quote-band blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
}
.quote-band blockquote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--color-primary);
  margin-bottom: 22px;
}
.quote-band cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Help Build the Future — dark donate band */
.support-band { padding: 88px 0; background: var(--color-dark); color: #fff; text-align: center; }
.support-band .section-label { color: #cbb3cc; }
.support-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.support-band p { max-width: 620px; margin: 0 auto 34px; color: #c9c3d1; }
.support-band .band-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Newsletter band */
.newsletter-band {
  padding: 76px 0;
  text-align: center;
  background: linear-gradient(120deg, var(--color-primary-2), var(--color-primary));
  color: #fff;
}
.newsletter-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: #fff; margin-bottom: 14px; }
.newsletter-band p { max-width: 560px; margin: 0 auto 30px; color: #dccfdd; }

/* Kids band (about page) */
.kids-band {
  text-align: center;
  background: var(--color-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.kids-band .section-divider { margin-left: auto; margin-right: auto; }
.kids-intro { max-width: 720px; margin: 0 auto 18px; color: var(--color-muted); }
.kids-note { max-width: 720px; margin: 0 auto 34px; font-weight: 600; }

/* Story / recognition prose, centered card headers */
.story p, .recognition p { color: var(--color-muted); margin-bottom: 20px; }
.mission-band { padding-top: 0; }
.numbers { padding-top: 0; text-align: center; }
.numbers .section-divider { margin-left: auto; margin-right: auto; }
.box-office .section-label, .box-office .section-title,
.contact-cards .section-label, .contact-cards .section-title,
.fb-band .section-label, .act-cards .section-label { text-align: center; }
.box-office .section-divider, .contact-cards .section-divider { margin-left: auto; margin-right: auto; }

/* 9. Footer */
.site-footer { background: var(--color-dark); color: #fff; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
  padding: 72px 24px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbb3cc;
  margin-bottom: 18px;
}
.footer-col p { color: #b5aec0; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b5aec0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 18px; margin-top: 6px; }
.footer-social a { font-weight: 600; }
.footer-bottom {
  background: #1a1425;
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #b5aec0;
}
.footer-bottom a { color: #cbb3cc; }
.footer-bottom a:hover { color: #fff; }

/* 10. Responsive */
@media (max-width: 900px) {
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .act-card-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 8px; }
  .stat:nth-child(3n) { border-right: 0; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-media { min-height: 260px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px; }

  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 24px; }
  .main-nav ul li { width: 100%; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--color-line); }
  .main-nav ul li:last-child a { border-bottom: 0; }
  .main-nav a.nav-cta { margin-top: 14px; text-align: center; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding: 84px 0 76px; }
  .page-hero { padding: 68px 0 56px; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .act-card-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; }
  .checklist { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn, .band-ctas .btn { width: 100%; text-align: center; }
  .logo-text { display: none; }
}
