/* Camp 99 — hand-authored stylesheet, replaces Elementor/Astra CSS chain */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-accent: #c580c9;
  --color-accent-hover: #59d600;
  --color-cta: #dd3333;
  --font-heading: 'Open Sans Condensed', sans-serif;
  --font-display: 'Racing Sans One', sans-serif;
  --breakpoint-xs: 480px;
  --breakpoint-sm: 544px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1180px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.7em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
}

h1 { font-size: 86px; font-weight: 900; font-family: var(--font-display); line-height: 1.4em; }
h2 { font-size: 84px; line-height: 1.3em; }
h3 { font-size: 28px; line-height: 1.3em; }

a { color: var(--color-accent); }
a:hover, a:focus { color: var(--color-accent-hover); }

.container {
  max-width: var(--breakpoint-xl);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  h1 { font-size: 70px; }
  h2 { font-size: 68px; }
  h3 { font-size: 25px; }
}

@media (max-width: 544px) {
  h1 { font-size: 40px; }
  h2 { font-size: 39px; }
  h3 { font-size: 20px; }
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  padding: 16px 0;
  transition: background 0.3s;
}
.site-header.is-scrolled { background: var(--color-bg); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { width: 200px; height: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #000; transition: background 0.3s; }
.site-header.is-scrolled .nav-toggle span { background: var(--color-text); }

.site-nav__list {
  display: flex;
  gap: 24px;
  position: relative;
}
.site-nav__list > li { position: relative; }
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 30px;
  text-transform: uppercase;
  color: #000;
  transition: color 0.3s;
}
.site-header.is-scrolled .site-nav__list a { color: var(--color-text); }
.site-nav.is-open .site-nav__list a { color: var(--color-text); }
.site-nav__list a:hover, .site-nav__list a:focus { color: var(--color-accent-hover); }
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: var(--color-accent);
}
.nav-caret { color: inherit; transition: transform 0.2s; flex-shrink: 0; }
.has-children.is-open > .nav-caret,
.has-children.is-open .submenu-toggle .nav-caret { transform: rotate(180deg); }

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #111;
  border: 1px solid #eaeaea;
  padding: 8px 0;
}
.has-children.is-open > .sub-menu { display: block; }
.sub-menu li { position: relative; }
.sub-menu a {
  padding: 8px 16px;
  display: flex;
  width: 100%;
  color: var(--color-text) !important;
}
.sub-menu a:hover, .sub-menu a:focus { color: var(--color-accent-hover) !important; }
.sub-menu .sub-menu { top: 0; left: 100%; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .sub-menu { position: static; border: 0; padding-left: 16px; }
}

/* --- Hero --- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
}
.hero__content { position: relative; padding: 60px 20px; }
.hero h1 { margin-bottom: 16px; }
.hero h2 { font-size: 32px; text-transform: none; }
.hero__cta {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 24px;
  background: var(--color-cta);
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  border-radius: 0;
}
.hero__cta:hover { background: var(--color-accent-hover); color: #fff; }

@media (max-width: 768px) { .hero h2 { font-size: 24px; } }
@media (max-width: 544px) { .hero h2 { font-size: 18px; } }

/* --- About / Services shared --- */
.section-marker {
  display: block;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.about { position: relative; padding: 60px 0; }
.about__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: 0.3;
}
.about__inner { padding: 0 20px; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
.about__text p { margin-bottom: 1.3em; font-size: 32px; }
.about__images img { border-radius: 4px; }

.services { position: relative; padding: 60px 0; }
.services__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: 0.3;
}
.services__inner { padding: 0 20px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.service-card {
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(197, 128, 201, 0.3);
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card img { margin: 0 auto 16px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { font-size: 30px; text-align: center; }

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 544px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* --- Carousel / Come On Out --- */
.carousel-section { position: relative; padding: 60px 0; }
.carousel-section__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: 0.4;
}
.carousel-section__inner { padding: 0 20px; }

.carousel { position: relative; margin-top: 24px; }
.carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto;
  width: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: 4px;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 40px auto;
}
.video-wrapper__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel-section__blurb { text-align: center; margin-top: 24px; }

@media (max-width: 544px) {
  .carousel__item { width: 240px; }
}

/* --- Location --- */
.location { position: relative; padding: 60px 0; }
.location__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1; opacity: 0.25;
}
.location__inner { padding: 0 20px; }
.location__map { margin-top: 24px; }
.location__map iframe { width: 100%; height: 400px; border: 0; }

/* --- Footer --- */
.site-footer { padding: 60px 20px; border-top: 1px solid #333; text-align: center; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
}
.site-footer h3 { font-size: 20px; letter-spacing: 0.08em; color: var(--color-footer-accent, #efd37d); margin-bottom: 12px; }
.site-footer__contact p { font-size: 30px; margin-top: 8px; }
.site-footer__row { display: flex; gap: 12px; align-items: baseline; justify-content: center; font-size: 26px; margin-top: 10px; }
.site-footer__label { opacity: 0.6; min-width: 70px; text-align: right; }
.site-footer a { color: var(--color-footer-accent, #efd37d); }
.site-footer a:hover, .site-footer a:focus { color: #f5e3a3; }
.social-icons { display: flex; gap: 12px; margin-top: 12px; justify-content: center; }
.social-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #222;
  transition: color 0.3s;
}
.site-footer__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 28px;
}
.site-footer__cta {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--color-footer-accent, #efd37d);
  border-radius: 4px;
  font-weight: 700;
}
.site-footer__cta:hover { background: var(--color-footer-accent, #efd37d); color: #000; }
.site-footer__copyright { grid-column: 1 / -1; margin-top: 24px; font-size: 26px; opacity: 0.7; }
@media (max-width: 544px) { .site-footer__row { flex-direction: column; gap: 2px; } }

/* --- The Next Step: 3x3 story grid --- */
.tns-list { max-width: none; }
.tns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tns-story {
  display: block;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tns-story:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.3); transform: translateY(-2px); }
.tns-story img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.tns-story__body { padding: 18px 20px 22px; }
.tns-story__body h3 { font-size: 22px; margin-bottom: 8px; }
.tns-story__body p { font-size: 18px; line-height: 1.5; opacity: 0.85; }
@media (max-width: 1024px) { .tns-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tns-grid { grid-template-columns: 1fr; } }

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 200;
}
.scroll-to-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-to-top--on-light { color: #000; }
.scroll-to-top__icon { width: 26px; height: 13px; color: inherit; }

@media (max-width: 544px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* --- Inner page template (hero banner + content) --- */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 100px;
}
.page-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
}
.page-hero__content { position: relative; padding: 40px 20px; }
.page-hero__rule { display: block; width: 60px; height: 2px; background: var(--color-text); margin-bottom: 16px; }
.page-hero h1 { font-family: var(--font-heading); font-weight: 700; font-size: 64px; }
.page-hero__byline { font-size: 22px; margin-top: 12px; max-width: 640px; }

@media (max-width: 768px) { .page-hero h1 { font-size: 48px; } }
@media (max-width: 544px) { .page-hero h1 { font-size: 34px; } }

@media (max-width: 1024px) { .page-hero--serif h1 { font-size: 130px; } }
@media (max-width: 768px) { .page-hero--serif h1 { font-size: 90px; letter-spacing: -3px; } .page-hero--serif .page-hero__subtitle { font-size: 28px; } }
@media (max-width: 544px) { .page-hero--serif h1 { font-size: 60px; letter-spacing: -2px; } }

.page-hero__trailer-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
.page-hero__trailer-link:hover, .page-hero__trailer-link:focus { color: var(--color-accent-hover); border-color: var(--color-accent-hover); }

.page-content { position: relative; padding: 60px 20px; background: #0d0d0d; }
.page-content__inner { max-width: var(--breakpoint-xl); margin: 0 auto; }
.page-content h2 { font-size: 56px; margin-bottom: 24px; }
.page-content p { font-size: 30px; margin-bottom: 1.3em; max-width: 900px; }
.page-content__figure { float: right; width: 320px; margin: 0 0 24px 32px; border-radius: 4px; }
.page-content__callout {
  border-left: 3px solid var(--color-cta);
  padding-left: 20px;
  margin-top: 40px;
  font-style: italic;
  font-weight: 700;
  color: var(--color-cta);
  font-size: 28px;
}

@media (max-width: 768px) {
  .page-content h2 { font-size: 44px; }
  .page-content__figure { float: none; width: 100%; margin: 0 0 24px; }
}

.page-content__videos { padding: 20px 20px 60px; display: flex; flex-direction: column; gap: 32px; }
.page-content__videos .video-wrapper { max-width: 640px; margin: 0 auto; }

.page-content__wall { max-width: 800px; margin: 0 auto; font-size: 22px; line-height: 1.8; }
.page-content__wall table { margin: 24px 0; }
.page-content__wall a { text-decoration: underline; }

.page-content__inner--article { max-width: 800px; margin: 0 auto; }
.page-content__inner--article p { max-width: none; }
.page-content__subhead { font-size: 44px; margin-top: 56px; margin-bottom: 16px; color: var(--color-accent); }
.page-content__article-img { margin: 24px auto; border-radius: 4px; }
.page-content__byline { font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; margin-bottom: 32px; }
.page-content__byline strong { color: var(--color-accent); opacity: 1; }
.page-content__pullquote {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  color: var(--color-accent);
  max-width: 640px;
  line-height: 1.3;
  margin: 56px auto;
}

.page-content__img-grid { display: grid; gap: 12px; margin: 24px auto; }
.page-content__img-grid--2 { grid-template-columns: repeat(2, 1fr); }
.page-content__img-grid--3 { grid-template-columns: repeat(3, 1fr); }
.page-content__img-grid .page-content__article-img { margin: 0; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 768px) {
  .page-content__img-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-content__img-grid--2, .page-content__img-grid--3 { grid-template-columns: 1fr; }
  .page-content__img-grid .page-content__article-img { aspect-ratio: auto; }
}

.page-content__linklist { margin-top: 16px; }
.page-content__linklist li { margin-bottom: 12px; }
.page-content__linklist a { font-size: 30px; text-decoration: underline; }

.page-gallery-carousel { padding: 40px 20px; }
.page-gallery { padding: 0; }
.page-gallery img { width: 100%; }
.page-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px;
}
