/* Tjaldland Theme CSS */
:root {
  --ink:    #060d0a; --deep:  #0d1810; --moss:  #2d4a36;
  --sage:   #4a7a5a; --mist:  #8bb89a; --gold:  #c9a84c;
  --amber:  #e8b84a; --fire:  #e85a2a; --dawn:  #d4896a; --cream: #f0ece2;
  --nav-h:  68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ink); color: var(--cream);
  overflow-x: hidden;
}
body.admin-bar { --nav-h: 100px; }

/* ── 3D CANVAS ── */
#hero-canvas {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(6,13,10,.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,184,74,.1);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 2rem; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--amber);
  letter-spacing: .04em; text-decoration: none;
  display: flex; align-items: center; gap: .45rem;
}
.logo-ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a {
  font-size: .82rem; font-weight: 400; color: var(--cream);
  text-decoration: none; letter-spacing: .1em; text-transform: uppercase;
  opacity: .65; transition: opacity .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px; background: var(--amber); transition: width .3s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(240,236,226,.07); border: 1px solid rgba(240,236,226,.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: .9rem; transition: background .2s;
}
.nav-icon-btn:hover { background: rgba(232,184,74,.15); }
.nav-hamburger {
  display: none; background: none; border: none; color: var(--cream);
  font-size: 1.4rem; cursor: pointer; padding: .25rem .5rem;
}

/* ── LAYOUT ── */
#page-wrap { position: relative; z-index: 10; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.site-main { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero-section {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 2rem calc(4rem);
  overflow: hidden;
}
.aurora-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); mix-blend-mode: screen;
  animation: bfloat var(--d,10s) ease-in-out infinite alternate;
}
@keyframes bfloat { 0%{transform:translate(0,0) scale(1);opacity:var(--a0,.5);} 100%{transform:translate(var(--tx,5%),var(--ty,4%)) scale(var(--s,1.1));opacity:var(--a1,.9);} }
.tent-hero-svg { position: absolute; bottom: 0; right: 5%; width: 340px; opacity: .13; animation: tsway 7s ease-in-out infinite; transform-origin: bottom center; }
@keyframes tsway { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-7px);} }
.ground-mist { position: absolute; bottom: 0; left: 0; right: 0; height: 160px; background: linear-gradient(to top,rgba(45,74,54,.22) 0%,transparent 100%); pointer-events: none; }

.hero-content { position: relative; z-index: 5; max-width: 760px; }
.hero-eyebrow {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  animation: slideUp 1s .2s ease both;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--amber); }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 300; line-height: .92;
  letter-spacing: -.02em; color: var(--cream);
  animation: slideUp 1s .35s ease both;
}
.hero-h1 strong {
  font-weight: 700; font-style: italic; display: block;
  background: linear-gradient(120deg, var(--amber) 0%, var(--fire) 45%, var(--amber) 100%);
  background-size: 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shim 5s 2s linear infinite;
}
@keyframes shim { 0%{background-position:0%;} 100%{background-position:200%;} }
.hero-sub { font-size: .98rem; font-weight: 300; color: rgba(240,236,226,.48); line-height: 1.8; max-width: 480px; margin: 1.5rem 0 2rem; animation: slideUp 1s .55s ease both; }

.hero-stats {
  display: flex; margin-top: 1.5rem;
  background: rgba(6,13,10,.7); backdrop-filter: blur(14px);
  border: 1px solid rgba(240,236,226,.07); border-radius: 1rem;
  overflow: hidden; max-width: 380px;
  animation: slideUp 1s .85s ease both;
}
.hstat { flex: 1; padding: .9rem .75rem; text-align: center; border-right: 1px solid rgba(240,236,226,.05); }
.hstat:last-child { border-right: none; }
.hstat-n { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--cream); line-height: 1; }
.hstat-n b { color: var(--amber); }
.hstat-l { font-size: .6rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,236,226,.3); margin-top: .2rem; }

/* ── SECTIONS ── */
.home-section { padding: 6rem 0; }
.bg-deep { background: rgba(13,24,16,.97); }
.bg-ink  { background: rgba(6,13,10,.97); }
.section-eye {
  font-size: .7rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-eye::after { content: ''; flex: 1; max-width: 50px; height: 1px; background: linear-gradient(to right, var(--amber), transparent); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1; color: var(--cream);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--mist); }

/* ── ARCHIVE ── */
.archive-header { background: var(--deep); padding: 4rem 0 3rem; }
.archive-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,5vw,3.5rem); font-weight: 300; color: var(--cream); }
.archive-desc { color: rgba(240,236,226,.45); margin-top: .5rem; }

/* ── SINGLE ── */
.single-camp .site-main { background: #fff; color: #1a1a1a; }
.single-camp .site-main .container { padding-top: 3rem; padding-bottom: 4rem; }

/* ── FOOTER ── */
.site-footer { background: #070b0a; border-top: 1px solid rgba(240,236,226,.05); padding: 5rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--amber); margin-bottom: .75rem; }
.footer-brand p { font-size: .82rem; color: rgba(240,236,226,.35); line-height: 1.75; max-width: 280px; }
.footer-col h4 { font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(240,236,226,.3); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .82rem; color: rgba(240,236,226,.45); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(240,236,226,.05); font-size: .72rem; color: rgba(240,236,226,.2); flex-wrap: wrap; gap: .5rem; }

/* ── ANIMATIONS ── */
@keyframes slideUp { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn  { from{opacity:0;} to{opacity:1;} }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; } .reveal-delay-2 { transition-delay:.2s; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .main-nav { display:none; }
  .nav-hamburger { display:block; }
  .main-nav.open { display:flex; position:fixed; inset:var(--nav-h) 0 0 0; background:rgba(6,13,10,.97); flex-direction:column; align-items:center; justify-content:center; z-index:199; }
  .main-nav.open .nav-links { flex-direction:column; align-items:center; gap:2rem; }
  .main-nav.open .nav-links a { font-size:1.2rem; }
  .hero-section { padding: 0 1.25rem 3rem; }
  .tent-hero-svg { width:200px; }
  .footer-inner { grid-template-columns:1fr; }
  .home-section { padding:3rem 0; }
}
@media(max-width:600px){
  .container { padding:0 1.25rem; }
  .header-inner { padding:0 1.25rem; }
}
