/* Thunder Wolf Native Arts and Culture */

:root {
  --black:   #111111;
  --rose:    #c94f6a;
  --teal:    #3ec9bf;
  --white:   #ffffff;
  --offwhite:#f7f6f4;
  --gray:    #666666;
  --border:  #e4e4e7;

  --max-w: 1100px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; height: auto; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Nav ── */
nav {
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
}

.nav-brand img { width: 48px; height: 48px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a { color: var(--black); }
.nav-links a:hover { color: var(--rose); text-decoration: none; }
.nav-links a.active { color: var(--black); border-bottom: 2px solid #bbb; padding-bottom: 2px; }

.nav-donate {
  background: var(--rose);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
}
.nav-donate:hover { background: #b03d58; }

/* ── Hero ── */
.hero {
  padding-block: 2rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
  margin-inline: auto;
}

.hero .donate-cta {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ── Image grid ── */
.hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block: 1.25rem;
}

.hero-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

/* ── Mission / Vision ── */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.25rem;
  text-align: left;
}

.mission-vision p { color: var(--gray); font-size: 1rem; }
.mission-vision strong { color: var(--black); }

/* ── Value props ── */
.value-props {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-block: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rose);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-block: 1.25rem;
}

.value-props span::before {
  content: "✓ ";
}

/* ── Event Spotlight ── */
.event-spotlight {
  background: #161a1d;
  color: var(--white);
  padding-block: 2.5rem;
}

.event-spotlight-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: center;
}

.event-poster img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.event-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.event-details h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.event-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.event-meta li {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

.event-meta strong {
  color: var(--teal);
  margin-right: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-details p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.event-link {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.event-link:hover {
  background: #b03d58;
  text-decoration: none;
}

@media (max-width: 768px) {
  .event-spotlight-inner {
    grid-template-columns: 1fr;
  }
  .event-poster img {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ── Practice Areas ── */
.practice {
  padding-block: 2rem 2.5rem;
  background: var(--offwhite);
}

.practice-header {
  margin-bottom: 1.25rem;
}

.practice-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-num {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Page Hero (interior pages) ── */
.page-hero {
  padding-block: 2rem 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 780px;
  margin-bottom: 1rem;
}

.page-hero .ein {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
  border-left: 3px solid var(--teal);
  padding-left: 0.75rem;
}

/* ── Founder ── */
.founder {
  padding-block: 2rem 4rem;
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.founder-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.founder-text p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 620px;
}

.founder-photo img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .founder-inner {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    order: -1;
  }
  .founder-photo img {
    max-width: 320px;
  }
}

/* ── Contact ── */
.contact-hero {
  background: #161a1d;
  color: var(--white);
  padding-block: 4rem 3rem;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
}

.contact-body {
  padding-block: 3rem 4rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.contact-sidebar {
  background: #161a1d;
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-sidebar h2 {
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-sidebar > p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-email {
  color: var(--teal);
  font-size: 0.9rem;
  word-break: break-all;
}

.contact-email:hover { opacity: 0.8; text-decoration: none; }

.contact-donate {
  display: inline-block;
  margin-top: auto;
  background: var(--rose);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
}

.contact-donate:hover { background: #b03d58; text-decoration: none; }

.contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--offwhite);
  padding: 2.5rem;
}

.contact-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-image img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

/* ── Events ── */
.events-hero {
  background: #161a1d;
  color: var(--white);
  padding-block: 2rem 1.5rem;
}

.events-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.events-hero p {
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 560px;
}

.events-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* Upcoming cards */
.events-upcoming-section {
  padding-block: 1.5rem 1rem;
}

.upcoming-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.upcoming-card {
  border-left: 3px solid var(--rose);
  background: var(--offwhite);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
}

.upcoming-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--black);
}

.upcoming-card a { color: var(--rose); }

/* Past events timeline */
.events-past-section {
  background: var(--offwhite);
  padding-block: 1.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 860px;
}

.timeline-item {
  padding: 0.9rem 1.25rem 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.timeline-item:nth-child(even) {
  padding-left: 1.25rem;
  padding-right: 0;
  border-left: 1px solid var(--border);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  white-space: nowrap;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.timeline-item a { color: var(--rose); }

/* Gallery */
.events-gallery-section {
  padding-block: 1.5rem 1rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 0.6rem;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.mosaic img:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.mosaic img:nth-child(2) { grid-column: 2; grid-row: 1; }
.mosaic img:nth-child(3) { grid-column: 3; grid-row: 1; }
.mosaic img:nth-child(4) { grid-column: 2; grid-row: 2; }
.mosaic img:nth-child(5) { grid-column: 3; grid-row: 2; }
.mosaic img:nth-child(6) { grid-column: 4; grid-row: 1 / 3; object-position: 25% center; }

.events-donate {
  padding-block: 1rem 2rem;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .upcoming-cards {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 120px 1fr;
    padding-left: 0 !important;
    border-left: none !important;
  }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .mosaic img:nth-child(1) { grid-column: 1; grid-row: 1; }
  .mosaic img:nth-child(2) { grid-column: 2; grid-row: 1; }
  .mosaic img:nth-child(3) { grid-column: 1; grid-row: 2; }
  .mosaic img:nth-child(4) { grid-column: 2; grid-row: 2; }
  .mosaic img:nth-child(5) { grid-column: 1; grid-row: 3; }
  .mosaic img:nth-child(6) { grid-column: 2; grid-row: 3; }
}

/* ── Donate ── */
.donate-ways {
  padding-block: 0 1.25rem;
}

.donate-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1.25rem;
  max-width: 760px;
}

.donate-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
}

.donate-list li strong { color: var(--black); }

.donate-cta-section {
  padding-block: 1rem 2rem;
}

.donate-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.donate-box-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 560px;
}

.donate-box-text .ein {
  font-size: 0.85rem;
  border-left: 3px solid var(--teal);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

.donate-button {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
}

.donate-button:hover { background: #b03d58; text-decoration: none; }

.donate-qr {
  text-align: center;
}

.donate-qr img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  background: var(--white);
}

.donate-qr p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .donate-box {
    grid-template-columns: 1fr;
  }
  .donate-qr {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .donate-qr p { margin-top: 0; }
}

/* ── Footer ── */
footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

footer a { color: var(--gray); }

.footer-ein {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-images {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-images {
    grid-template-columns: 1fr 1fr;
  }
  .hero-images img:last-child {
    grid-column: span 2;
  }
}
