/* Mildly Wild — hikecampharvest.com */
:root {
  --forest: #16382a;
  --forest-deep: #0f2a20;
  --moss: #2c5a43;
  --cream: #f7f2e7;
  --cream-dark: #efe7d3;
  --gold: #c09a4a;
  --gold-deep: #a37f33;
  --ink: #2b2b26;
  --ink-soft: #5a5a52;
  --white: #fffdf7;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 42, 32, .14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: .01em;
}

h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .4rem; }

p { margin-bottom: 1rem; }
i { font-style: italic; }

a { color: var(--moss); }
a:hover { color: var(--gold-deep); }

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

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 720px; }

section { padding: 4.5rem 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: .6rem;
}

.section-lede { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.25rem;
  background: rgba(247, 242, 231, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 56, 42, .12);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { height: 38px; width: auto; }
.brand-name {
  font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700;
  color: var(--forest); letter-spacing: .02em;
}

.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  text-decoration: none; color: var(--forest); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { color: var(--gold-deep); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .4rem;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--forest); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 6rem 1.25rem 4rem;
  background: var(--forest-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/img/drone-coast-4x5.jpg") center 30% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,32,.55) 0%, rgba(15,42,32,.35) 45%, rgba(15,42,32,.78) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-logo { width: min(300px, 64vw); margin: 0 auto 1.2rem; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); }
.hero-tag {
  font-family: Georgia, serif; font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-style: italic; margin-bottom: 2rem; color: #fdf9ef;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--gold); color: var(--forest-deep); box-shadow: 0 6px 22px rgba(0,0,0,.3); }
.btn-solid:hover { background: #d3ab58; color: var(--forest-deep); }
.btn-ghost { border: 2px solid rgba(255,253,247,.85); color: var(--white); }
.btn-ghost:hover { background: rgba(255,253,247,.14); color: var(--white); }

.scroll-hint {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,253,247,.8); font-size: 1.4rem; text-decoration: none; z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- about ---------- */
.about { background: var(--cream); }
.about h2 { margin-bottom: 1.2rem; }

/* ---------- pillars ---------- */
.pillars { background: var(--white); }
.pillar-grid {
  display: grid; gap: 1.5rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pillar {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.pillar:hover { transform: translateY(-4px); }
.pillar img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.pillar h3, .pillar p { padding: 0 1.3rem; }
.pillar h3 { padding-top: 1.1rem; }
.pillar p { padding-bottom: 1.4rem; color: var(--ink-soft); font-size: .97rem; }
.pillar p i { color: var(--ink-soft); }

/* ---------- gallery ---------- */
.gallery { background: var(--forest-deep); }
.gallery h2, .gallery .eyebrow { color: var(--cream); }
.gallery .eyebrow { color: var(--gold); }
.gallery .section-lede { color: rgba(247,242,231,.75); }
.gallery-grid {
  display: grid; gap: .9rem; margin-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid figure {
  position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in;
  background: #0b1f17;
}
.gallery-grid img {
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  transition: transform .35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.045); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(10,26,19,.85));
  color: #fdf9ef; font-size: .85rem; font-weight: 600;
}
.gallery-grid figcaption i { font-weight: 400; opacity: .85; }
.gallery-note { color: rgba(247,242,231,.55); font-size: .85rem; margin-top: 1.4rem; }

/* ---------- events ---------- */
.events { background: var(--cream); }
.event-list { list-style: none; margin: 1.4rem 0; }
.event-list li {
  padding: .9rem 1.1rem; margin-bottom: .7rem;
  background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
}
.event-list li strong { color: var(--forest); }
.events .btn { margin-top: .6rem; }

/* ---------- team ---------- */
.team { background: var(--white); }
.team-grid {
  display: grid; gap: 1.5rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.teammate {
  background: var(--cream); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--moss);
}
.teammate .role {
  color: var(--gold-deep); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem;
}
.teammate p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact { background: var(--cream-dark); text-align: center; }
.contact-cards {
  display: grid; gap: 1rem; margin: 1.8rem 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 1.3rem;
  text-decoration: none; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .2rem;
  transition: transform .2s ease;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold-deep); font-weight: 700;
}
.contact-value { color: var(--forest); font-weight: 700; font-size: 1.05rem; }
.socials { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.socials a {
  color: var(--forest); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.socials a:hover { color: var(--gold-deep); }

/* ---------- footer ---------- */
footer { background: var(--forest-deep); color: rgba(247,242,231,.8); text-align: center; padding: 2.6rem 1.25rem; }
.footer-mark { height: 52px; margin: 0 auto 1rem; }
footer p { margin-bottom: .3rem; font-size: .95rem; }
.footer-sub { color: var(--gold); letter-spacing: .2em; font-size: .78rem; text-transform: uppercase; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10, 22, 17, .94);
  align-items: center; justify-content: center; flex-direction: column;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 78vh; max-width: 92vw; border-radius: 8px; }
.lightbox-cap { color: #fdf9ef; margin-top: 1rem; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.3rem;
  background: none; border: 0; color: #fdf9ef; font-size: 2.4rem; cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(22,56,42,.12); gap: 1rem;
  }
  .nav-links.open { display: flex; }
  section { padding: 3.5rem 0; }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- creed ---------- */
.creed { background: var(--cream); }
.creed h2 { margin-bottom: 1.2rem; }
.creed-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.2rem; }
.creed-list li { display: flex; gap: 1.2rem; align-items: flex-start; }
.creed-num {
  font-family: Georgia, serif; font-size: 1.6rem; font-weight: 700;
  color: var(--gold); line-height: 1.2; min-width: 3rem;
}
.creed-list h3 { margin-bottom: .3rem; }
.creed-list p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- field notes ---------- */
.field-notes { background: var(--forest-deep); }
.field-notes h2, .field-notes .eyebrow { color: var(--cream); }
.field-notes .eyebrow { color: var(--gold); }
.note-feature {
  display: grid; gap: 1.8rem; margin: 2rem 0 3rem;
  grid-template-columns: 1fr;
}
.note-feature img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.note-feature-text { color: rgba(247,242,231,.88); font-size: 1.05rem; align-self: center; }
.note-feature-text p { margin-bottom: 1rem; }
.note-cap { color: var(--gold); font-style: italic; font-size: .95rem; }
.gallery-title { color: var(--cream); margin: 0 0 .6rem; font-size: 1.5rem; }
.gallery-title.from-camp { margin-top: 3rem; }
.section-lede.light { color: rgba(247,242,231,.75); }
.btn-ghost-dark {
  display: inline-block; padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--gold); color: var(--gold);
  transition: background .15s ease, color .15s ease;
}
.btn-ghost-dark:hover { background: var(--gold); color: var(--forest-deep); }
.camp-trio {
  display: grid; gap: .9rem; margin-top: 1.4rem;
  grid-template-columns: repeat(3, 1fr);
}
.camp-trio figure { position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.camp-trio img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.camp-trio figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(10,26,19,.85));
  color: #fdf9ef; font-size: .85rem; font-weight: 600;
}

/* ---------- experiences ---------- */
.experiences { background: var(--cream); }
.dev-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-deep); border: 1px solid var(--gold);
  border-radius: 999px; padding: .15rem .7rem; margin-bottom: .5rem;
}
.event-list li strong { color: var(--forest); display: block; margin: .3rem 0; }
.outreach-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1rem; }
.copy-hint { min-height: 1.4rem; color: var(--moss); font-size: .9rem; margin-top: .6rem; }

/* ---------- follow ---------- */
.follow { background: var(--white); text-align: center; }
.follow .socials { margin-top: 1.8rem; }

/* ---------- hero title ---------- */
.hero-title {
  font-size: clamp(2.2rem, 7vw, 3.6rem); color: #fdf9ef;
  letter-spacing: .06em; margin-bottom: 1rem;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

@media (min-width: 800px) {
  .note-feature { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .camp-trio { grid-template-columns: 1fr; }
}
