/* === YES! Camp — Warm Burner Aesthetic === */

:root {
  --color-bg: #1a0e05;
  --color-bg-light: #2a1a0d;
  --color-bg-accent: #3d2415;
  --color-text: #f5ebe0;
  --color-text-muted: #c4a882;
  --color-accent: #e8832a;
  --color-accent-light: #f0a050;
  --color-warm: #d4783a;
  --color-gold: #c9a84c;
  --color-kraft: #c9a97a;
  --font-display: 'Permanent Marker', cursive;
  --font-handwritten: 'Caveat', cursive;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(4rem, 10vw, 8rem);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-gold); }
ul, ol { list-style: none; }

/* === Container === */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(26, 14, 5, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: var(--color-accent-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.nav-cta:hover { background: var(--color-accent-light); color: var(--color-bg) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,14,5,0.2) 0%,
    rgba(26,14,5,0.05) 35%,
    rgba(26,14,5,0.4) 65%,
    rgba(26,14,5,0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.85;
  color: var(--color-text);
  text-shadow:
    0 0 60px rgba(232, 131, 42, 0.4),
    0 0 120px rgba(232, 131, 42, 0.2),
    0 4px 40px rgba(0,0,0,0.6);
  transform: rotate(-2deg);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--color-text);
  margin-top: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow:
    0 2px 20px rgba(0,0,0,0.9),
    0 0 40px rgba(0,0,0,0.6);
}
.hero-tagline {
  font-family: var(--font-handwritten);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-accent-light);
  margin-top: 1.5rem;
  font-weight: 500;
  text-shadow:
    0 2px 15px rgba(0,0,0,0.8),
    0 0 30px rgba(0,0,0,0.5);
}
.hero-scroll {
  display: inline-block;
  margin-top: 3rem;
  color: var(--color-text-muted);
  animation: bob 2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--color-text); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* === Sections === */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-dark {
  background: var(--color-bg-light);
}
.section-accent {
  background: var(--color-bg-accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-align: center;
}
.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}
.about-text p { margin-bottom: 1.25rem; color: var(--color-text-muted); }
.about-text .lead { color: var(--color-text); }
.about-image img {
  border-radius: 12px;
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* === Essentials === */
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.essential-card {
  background: linear-gradient(135deg, rgba(232,131,42,0.08), rgba(201,168,76,0.04));
  border: 1px solid rgba(232,131,42,0.15);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.essential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,131,42,0.35);
  box-shadow: 0 8px 30px rgba(232,131,42,0.1);
}
.essential-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
}
.essential-icon svg { width: 100%; height: 100%; }
.essential-card h3 {
  font-family: var(--font-handwritten);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent-light);
}
.essential-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Cosmic Laws === */
.laws-list {
  max-width: 800px;
  margin: 0 auto;
  counter-reset: law;
}
.laws-list li {
  counter-increment: law;
  position: relative;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid rgba(232,131,42,0.1);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.laws-list li:hover { color: var(--color-text); }
.laws-list li::before {
  content: counter(law);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  width: 2.5rem;
  text-align: center;
}
.law-yes {
  color: var(--color-accent);
  font-family: var(--font-handwritten);
  font-weight: 700;
  font-size: 1.2em;
}

/* === Workshops === */
.workshops-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.workshops-text p { margin-bottom: 1.25rem; color: var(--color-text-muted); }
.workshops-text .lead { color: var(--color-text); }
.workshops-image img {
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* === Gallery — Polaroid Pinboard === */
.section-gallery {
  background: var(--color-kraft);
  padding: var(--section-pad) 0;
  /* Subtle paper texture via gradient noise */
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(180,140,90,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(160,120,70,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(140,100,60,0.15) 0%, transparent 50%);
  background-color: var(--color-kraft);
}
.gallery-title {
  color: var(--color-bg) !important;
}
.section-gallery .section-intro {
  color: rgba(26,14,5,0.6);
}
.gallery-pinboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  max-width: 1100px;
  margin: 0 auto;
}
.polaroid {
  background: #fefcf8;
  padding: 12px 12px 44px;
  box-shadow:
    2px 4px 14px rgba(0,0,0,0.18),
    0 1px 4px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s, z-index 0s;
  position: relative;
  flex: 0 0 auto;
  width: 22%;
}
.polaroid img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.polaroid-caption {
  display: block;
  text-align: center;
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  font-weight: 500;
  color: #5a3e2a;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

/* Scrapbook: varied sizes and strong rotations */
.polaroid:nth-child(1) { width: 52%; transform: rotate(-2.5deg); margin-bottom: -1rem; }
.polaroid:nth-child(1) img { aspect-ratio: 2.2/1; }

.polaroid:nth-child(2) { width: 22%; transform: rotate(3.5deg); margin-top: 1rem; }
.polaroid:nth-child(2) img { aspect-ratio: 3/4; }

.polaroid:nth-child(3) { width: 24%; transform: rotate(-1.5deg); margin-top: -0.5rem; }
.polaroid:nth-child(3) img { aspect-ratio: 4/3; }

.polaroid:nth-child(4) { width: 20%; transform: rotate(2deg); margin-left: 1rem; }
.polaroid:nth-child(4) img { aspect-ratio: 1; }

.polaroid:nth-child(5) { width: 28%; transform: rotate(-3deg); margin-top: -1.5rem; }
.polaroid:nth-child(5) img { aspect-ratio: 3/4; }

.polaroid:nth-child(6) { width: 22%; transform: rotate(1.5deg); margin-top: 0.5rem; }
.polaroid:nth-child(6) img { aspect-ratio: 4/5; }

.polaroid:nth-child(7) { width: 26%; transform: rotate(-2deg); margin-top: -1rem; }
.polaroid:nth-child(7) img { aspect-ratio: 4/3; }

.polaroid:nth-child(8) { width: 20%; transform: rotate(4deg); margin-left: -0.5rem; margin-top: 0.5rem; }
.polaroid:nth-child(8) img { aspect-ratio: 3/4; }

.polaroid:hover {
  transform: rotate(0deg) scale(1.05) !important;
  box-shadow: 6px 8px 24px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Tape strips on some */
.polaroid:nth-child(1)::before,
.polaroid:nth-child(4)::before,
.polaroid:nth-child(7)::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  width: 55px;
  height: 16px;
  background: rgba(232, 200, 140, 0.5);
  border-radius: 1px;
  z-index: 3;
}
.polaroid:nth-child(3)::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 40%;
  transform: rotate(8deg);
  width: 50px;
  height: 16px;
  background: rgba(220, 190, 130, 0.45);
  border-radius: 1px;
  z-index: 3;
}
/* Pin dots on others */
.polaroid:nth-child(2)::before,
.polaroid:nth-child(6)::before,
.polaroid:nth-child(8)::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 3;
}
.polaroid:nth-child(5)::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 45%;
  width: 10px;
  height: 10px;
  background: #c9a84c;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  z-index: 3;
}

/* === Accordions === */
.accordion-list {
  max-width: 800px;
  margin: 0 auto 3rem;
}
.accordion {
  border-bottom: 1px solid rgba(232,131,42,0.15);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-title {
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
}
.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.3s;
}
.accordion-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.accordion[open] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.accordion-body {
  padding: 0 0 1.5rem;
}
.accordion-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.accordion-body p:last-child { margin-bottom: 0; }

/* Small accordions for "What We're Not" */
.accordion-small .accordion-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}
.accordion-list-compact {
  margin-bottom: 0;
}

/* Not section */
.not-section {
  text-align: left;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(232,131,42,0.1);
}
.not-section h3 {
  font-family: var(--font-handwritten);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent-light);
}

/* === Join Us === */
.section-join {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.join-content {
  position: relative;
  z-index: 1;
}
.join-content .section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  text-shadow:
    0 0 40px rgba(232, 131, 42, 0.3),
    0 4px 30px rgba(0,0,0,0.5);
  transform: rotate(-1deg);
}
.join-content .lead {
  color: var(--color-text);
  max-width: 500px;
  margin: 1rem auto 2.5rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}
.btn-apply {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-handwritten);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
  text-shadow: none;
}
.btn-apply:hover {
  background: var(--color-accent-light);
  color: var(--color-bg);
  transform: translateY(-2px) rotate(1deg);
}

/* === Footer === */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(232,131,42,0.1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26,14,5,0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .about-grid,
  .workshops-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image { order: -1; }
  .about-image img { aspect-ratio: 16/9; }

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

  .expectations-grid { grid-template-columns: 1fr; }
  .not-grid { grid-template-columns: 1fr; }

  .polaroid:nth-child(n) { width: calc(50% - 1rem) !important; margin: 0.25rem !important; }
  .polaroid:nth-child(1) { width: 100% !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(4rem, 22vw, 8rem); }
  .polaroid:nth-child(n) { width: 100% !important; }
}
