/* Shared site CSS — Camps for Song House */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--sh-bg);
  color: var(--sh-fg);
  scroll-behavior: smooth;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Embers (CSS-only) -------------------------------------- */
@keyframes sh-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: var(--o, .8); }
  100% { transform: translateY(-110vh) translateX(var(--dx, 0px)); opacity: 0; }
}
.ember-field {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.ember-field .ember {
  position: absolute; bottom: -10px;
  border-radius: 50%;
  background: var(--sh-ember);
  box-shadow: 0 0 8px rgba(240,160,74,.55);
  opacity: 0;
  animation: sh-rise var(--dur, 18s) linear var(--delay, 0s) infinite;
}

/* ---------- Header --------------------------------------------------- */
.sh-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: rgba(12, 9, 7, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sh-border);
}
.sh-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--sh-cream);
}
.sh-brand img { height: 36px; }
.sh-brand span {
  font-family: var(--sh-font-display); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; font-size: 13px;
}
.sh-nav { display: flex; gap: 28px; align-items: center; }
.sh-nav a {
  font-family: var(--sh-font-display); font-weight: 500;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sh-cream); text-decoration: none;
  transition: letter-spacing var(--sh-dur) var(--sh-ease-out),
              color var(--sh-dur) var(--sh-ease-out);
}
.sh-nav a:hover, .sh-nav a[data-active] {
  color: var(--sh-gold-100); letter-spacing: .30em;
}

/* ---------- Buttons ------------------------------------------------- */
.sh-btn {
  font-family: var(--sh-font-display); font-weight: 500;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px; border: 0;
  transition: letter-spacing var(--sh-dur) var(--sh-ease-out),
              color var(--sh-dur) var(--sh-ease-out),
              background var(--sh-dur) var(--sh-ease-out),
              border-color var(--sh-dur) var(--sh-ease-out),
              box-shadow var(--sh-dur) var(--sh-ease-out);
}
.sh-btn--ghost {
  color: var(--sh-cream);
  background: transparent;
  border: 1px solid var(--sh-cream);
  padding: 14px 28px;
  border-radius: 999px;
}
.sh-btn--ghost:hover {
  color: var(--sh-gold-100);
  border-color: var(--sh-gold-100);
  letter-spacing: .32em;
}
.sh-btn--ghost.sh-btn--sm { padding: 10px 20px; font-size: 11px; }
.sh-btn--gold {
  color: var(--sh-ink);
  background: var(--sh-gold);
  border: 1px solid var(--sh-gold);
  padding: 14px 28px;
  border-radius: 4px;
}
.sh-btn--gold:hover {
  background: var(--sh-gold-200);
  border-color: var(--sh-gold-200);
  letter-spacing: .32em;
  box-shadow: var(--sh-shadow-glow);
}

.sh-btn--text {
  color: var(--sh-gold);
  padding: 14px 6px;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.sh-btn--text:hover { color: var(--sh-gold-200); letter-spacing: .32em; border-bottom-color: var(--sh-gold-200); }

/* ---------- Eyebrow + display ----------------------------- */
.sh-eyebrow {
  font-family: var(--sh-font-display); font-weight: 500;
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--sh-gold);
}
.sh-rule {
  width: 100px; height: 1px;
  background: var(--sh-gold);
  margin: 16px auto;
}
.sh-rule--left { margin-left: 0; }

/* ---------- Footer -------------------------------------------------- */
.sh-footer {
  background: var(--sh-ink);
  border-top: 1px solid var(--sh-border);
  padding: 80px 40px 24px;
}
.sh-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px;
  max-width: 1280px; margin: 0 auto;
}
.sh-footer__brand img { height: 56px; margin-bottom: 18px; }
.sh-footer__brand p {
  font-family: var(--sh-font-serif); font-style: italic;
  color: var(--sh-parchment); margin: 8px 0 22px;
}
.sh-footer__social { display: flex; gap: 14px; }
.sh-footer__social a {
  display: inline-flex; width: 38px; height: 38px;
  border: 1px solid var(--sh-border); border-radius: 999px;
  align-items: center; justify-content: center;
  color: var(--sh-cream);
  transition: border-color var(--sh-dur), color var(--sh-dur);
}
.sh-footer__social a:hover { border-color: var(--sh-gold); color: var(--sh-gold-100); }
.sh-footer__col { display: flex; flex-direction: column; gap: 10px; }
.sh-footer__col .sh-eyebrow { margin-bottom: 8px; }
.sh-footer__col a {
  font-family: var(--sh-font-body); font-size: 14px;
  color: var(--sh-fg-muted); text-decoration: none;
  transition: color var(--sh-dur);
}
.sh-footer__col a:hover { color: var(--sh-gold-100); }
.sh-footer__base {
  max-width: 1280px; margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--sh-border);
  font-family: var(--sh-font-mono); font-size: 11px;
  color: var(--sh-fg-subtle);
  display: flex; justify-content: space-between;
}

/* ---------- Section helpers ---------------------------------------- */
.sh-section {
  padding: 96px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.sh-section--warm {
  max-width: none;
  background: var(--sh-bg-warm);
  margin: 0;
  padding: 96px 40px;
}
.sh-section--warm > .sh-section__inner { max-width: 1280px; margin: 0 auto; }

.sh-section-header { text-align: center; margin-bottom: 56px; }
.sh-section-header--left { text-align: left; }
.sh-section-header--left .sh-rule { margin-left: 0; }
.sh-section-header h2 {
  font-family: var(--sh-font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sh-cream); margin: 14px 0 0;
}
.sh-section-header p {
  font-family: var(--sh-font-serif); font-style: italic;
  font-size: 1.25rem; line-height: 1.5;
  color: var(--sh-parchment); margin: 18px auto 0; max-width: 640px;
}

/* ---------- Responsive base ---------------------------------------- */
@media (max-width: 900px) {
  .sh-header { padding: 16px 22px; }
  .sh-nav { display: none; }
  .sh-section, .sh-section--warm { padding: 64px 22px; }
  .sh-footer { padding: 56px 22px 24px; }
  .sh-footer__top { grid-template-columns: 1fr; gap: 36px; }
  .sh-footer__base { flex-direction: column; gap: 8px; }
}
