/* ==========================================================
   Camping Gear Hun — main stylesheet
   Theme: White + Blazing Flame | Cherry Rose nav | Bubblegum Pink footer
   ========================================================== */

:root {
  --flame: #ff5a1f;          /* Blazing Flame */
  --flame-deep: #c73a0a;     /* flame for small text on white */
  --flame-soft: #fff1ea;
  --ember: #ffb23d;
  --cherry: #b3164a;         /* Cherry Rose (navigation) */
  --cherry-dark: #8c0f38;
  --bubblegum: #ffc1d8;      /* Bubblegum Pink (footer) */
  --bubblegum-deep: #ffa6c7;
  --ink: #23140e;
  --ink-soft: #5a463d;
  --line: #f1dfd6;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 18px 40px -22px rgba(92, 30, 8, .45);
  --wrap: 1200px;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--flame-deep); text-underline-offset: 3px; }
a:hover { color: var(--cherry); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--flame-deep); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--flame);
}
.flame-text { color: var(--flame); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-flame { background: var(--flame); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(255, 90, 31, .9); }
.btn-flame:hover { background: #ff7440; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--flame-soft); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================
   Header — Cherry Rose navigation bar
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cherry);
  color: #fff;
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(60, 5, 25, .6); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: #fff; text-decoration: none; flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand-mark { width: 46px; height: 46px; color: #fff; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-name strong { font-size: 1.15rem; letter-spacing: .01em; }
.brand-name span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.brand-name em { font-style: normal; color: #ffd0b8; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background .2s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.main-nav a[aria-current="page"] { background: #fff; color: var(--cherry); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .5); background: transparent; color: #fff;
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; border-radius: 3px; background: currentColor;
  position: relative; transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cherry-dark);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.is-open { max-height: 520px; box-shadow: 0 20px 30px -18px rgba(0,0,0,.5); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 1.25rem 1.2rem; }
  .main-nav a { padding: .8rem 1rem; border-radius: 12px; font-size: 1.02rem; }
}

/* ==========================================================
   HOME — Hero "tent-peak" split
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 90, 31, .16), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(255, 178, 61, .14), transparent 38%),
    var(--white);
}
.hero::before { /* faint topographic lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    repeating-radial-gradient(circle at 15% 30%, transparent 0 34px, #ffe3d6 34px 35.5px),
    repeating-radial-gradient(circle at 80% 85%, transparent 0 42px, #ffe9df 42px 43.5px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--flame-soft); border: 1px solid #ffd9c8;
  padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); }

.hero-media { position: relative; }
.tent-frame {
  position: relative; aspect-ratio: 4 / 5; width: 100%;
  clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: #2a1a12;
}
.tent-frame video, .tent-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { /* flame glow base */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -18px; height: 36px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 90, 31, .55), transparent 70%); filter: blur(8px);
}
.frame-tag {
  position: absolute; left: -14px; bottom: 11%;
  background: #fff; border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem; max-width: 250px;
}
.frame-tag .dot {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--flame), var(--ember)); display: grid; place-items: center; color: #fff;
}
.frame-tag .dot svg { width: 20px; height: 20px; }
.frame-tag strong { display: block; font-size: .95rem; line-height: 1.2; }
.frame-tag small { color: var(--ink-soft); font-size: .8rem; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center;
}
.video-toggle svg { width: 18px; height: 18px; }

/* ---------- Gear marker strip ---------- */
.marker-strip { background: var(--ink); color: #fff; }
.marker-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.marker-strip li + li { border-left: 1px solid rgba(255,255,255,.12); }
.marker-strip a {
  display: flex; align-items: center; gap: .75rem; justify-content: center;
  padding: 1.25rem .75rem; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .03em;
  transition: background .2s ease;
}
.marker-strip a:hover { background: var(--flame); color: var(--ink); }
.marker-strip svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-soft { background: var(--flame-soft); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Featured gear cards (home) ---------- */
.gear-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.gear-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gear-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gear-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--flame-soft); }
.gear-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gear-card:hover .thumb img { transform: scale(1.05); }
.gear-card .body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.gear-card .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cherry); background: #ffe6ef; padding: .25rem .6rem; border-radius: 6px; margin-bottom: .7rem;
}
.gear-card h3 { margin-bottom: .4rem; }
.gear-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Mission tabs (home) ---------- */
.mission { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.mission-tabs { display: flex; flex-direction: column; gap: .6rem; }
.mission-tab {
  text-align: left; font: inherit; cursor: pointer;
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.1rem; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; transition: border-color .2s, background .2s, color .2s;
}
.mission-tab .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--flame-soft); color: var(--flame-deep); font-size: .85rem;
}
.mission-tab:hover { border-color: var(--flame); }
.mission-tab[aria-selected="true"] { background: var(--flame); border-color: var(--flame); color: var(--ink); }
.mission-tab[aria-selected="true"] .num { background: var(--ink); color: #fff; }
.mission-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.mission-panel[hidden] { display: none; }
.mission-panel .pic { background: var(--flame-soft); min-height: 100%; }
.mission-panel .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.mission-panel .info { padding: clamp(1.5rem, 3vw, 2.4rem); }
.mission-panel .info p { color: var(--ink-soft); }
.spotted { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.spotted li { font-size: .85rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; border: 1px dashed var(--flame); color: var(--ink); }
.spotted-label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); margin: 1.4rem 0 0; }

/* ---------- Shelter mosaic ---------- */
.mosaic {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-areas: "tall wide wide" "tall night card";
}
.tile { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; background: #2a1a12; min-height: 250px; }
.tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1.1rem; color: #fff;
  background: linear-gradient(to top, rgba(20, 8, 4, .85), transparent);
}
.tile figcaption strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.tile figcaption span { font-size: .9rem; opacity: .9; }
.tile-tall { grid-area: tall; min-height: 520px; }
.tile-wide { grid-area: wide; }
.tile-night { grid-area: night; }
.tile-card {
  grid-area: card; background: var(--flame); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem;
}
.tile-card img { position: static; width: 58%; height: auto; margin: 0 auto .6rem; border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; }
.tile-card h3 { margin-bottom: .3rem; }
.tile-card p { font-size: .93rem; margin-bottom: .6rem; }
.tile-card a { color: var(--ink); }

/* ---------- Field notes (features) ---------- */
.notes-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.notes-photo { position: relative; }
.notes-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-lg); }
.notes-photo .stamp {
  position: absolute; right: -12px; top: 24px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--cherry); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-10deg); box-shadow: var(--shadow); padding: 1rem; line-height: 1.25;
}
.note-list { list-style: none; margin: 0; padding: 0; counter-reset: note; display: grid; gap: 1.1rem; }
.note-list li {
  counter-increment: note; position: relative; padding: 1.2rem 1.3rem 1.2rem 4.4rem;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.note-list li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute; left: 1.2rem; top: 1.15rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--flame);
}
.note-list h3 { margin-bottom: .25rem; }
.note-list p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Trunk to trail timeline ---------- */
.trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.trail::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--flame) 0 12px, transparent 12px 22px);
}
.trail li { position: relative; text-align: center; padding: 0 .4rem; }
.trail .pin {
  position: relative; width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 7px #fff;
}
.trail .pin svg { transform: rotate(45deg); width: 26px; height: 26px; color: var(--ember); }
.trail li:nth-child(odd) .pin { background: var(--flame); }
.trail li:nth-child(odd) .pin svg { color: var(--ink); }
.trail h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.trail p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ---------- Night band ---------- */
.night-band { position: relative; color: #fff; overflow: hidden; }
.night-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.night-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 8, 20, .88) 0%, rgba(18, 8, 20, .45) 60%, rgba(18,8,20,.15) 100%); }
.night-band .wrap { position: relative; z-index: 1; padding: clamp(4.5rem, 11vw, 8rem) 0; }
.night-band .copy { max-width: 36rem; }
.night-band .eyebrow { color: #ffc9ae; }
.night-band p { color: #f6e7e0; font-size: 1.1rem; }

/* ---------- Mail CTA ---------- */
.mail-cta {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center;
  background: linear-gradient(120deg, var(--flame) 0%, #ff7a3d 55%, var(--ember) 100%);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); color: var(--ink);
}
.mail-cta .icon { width: 72px; height: 72px; border-radius: 22px; background: #fff; display: grid; place-items: center; color: var(--flame-deep); }
.mail-cta .icon svg { width: 34px; height: 34px; }
.mail-cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .3rem; }
.mail-cta p { margin: 0; }
.mail-cta a.mail { color: var(--ink); font-weight: 800; word-break: break-word; }

/* ==========================================================
   Page hero (inner pages)
   ========================================================== */
.page-hero { position: relative; background: var(--flame-soft); overflow: hidden; }
.page-hero .wrap { position: relative; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 40rem; }
.crumbs { font-size: .88rem; margin-bottom: 1rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.page-hero.split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.page-hero .ph-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.page-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero.legal { background: #fff; border-bottom: 4px solid var(--flame); }
.page-hero.legal::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.18), transparent 70%);
}
.updated { display: inline-block; font-size: .85rem; font-weight: 700; background: var(--ink); color: #fff; padding: .35rem .8rem; border-radius: 8px; }

/* ==========================================================
   CAMPING page
   ========================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter-btn {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: .6rem 1.15rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink);
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--flame); }
.filter-btn.is-active { background: var(--cherry); border-color: var(--cherry); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product[hidden] { display: none; }
.product .media { position: relative; aspect-ratio: 4 / 3; background: var(--flame-soft); overflow: hidden; }
.product .media img { width: 100%; height: 100%; object-fit: cover; }
.product .media .tag {
  position: absolute; top: 12px; left: 12px; background: #fff; color: var(--cherry);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 6px;
}
.product .content { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product .content p { color: var(--ink-soft); font-size: .96rem; }
.use-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .35rem; flex: 1; }
.use-list li { position: relative; padding-left: 1.4rem; font-size: .92rem; }
.use-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--flame); transform: rotate(45deg); }

.pack-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pack-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); }
.pack-card header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pack-card h3 { margin: 0; }
.pack-progress { font-size: .85rem; font-weight: 800; color: var(--flame-deep); background: var(--flame-soft); padding: .3rem .7rem; border-radius: 999px; }
.pack-bar { height: 8px; border-radius: 8px; background: var(--flame-soft); overflow: hidden; margin-bottom: 1.2rem; }
.pack-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--flame), var(--ember)); transition: width .3s ease; }
.pack-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.pack-card label { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: 10px; cursor: pointer; }
.pack-card label:hover { background: var(--flame-soft); }
.pack-card input { width: 20px; height: 20px; accent-color: var(--flame); flex-shrink: 0; }
.pack-card input:checked + span { text-decoration: line-through; color: var(--ink-soft); }

.video-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.video-box { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #1d120c; box-shadow: var(--shadow); }
.video-box video { width: 100%; height: 100%; object-fit: cover; }

.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.3rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--flame-soft); color: var(--flame-deep);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--flame); color: var(--ink); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* ==========================================================
   CONTACT page
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); overflow: hidden;
  display: flex; flex-direction: column; gap: .6rem;
}
.contact-card.email { background: var(--flame); color: var(--ink); }
.contact-card.address { background: var(--ink); color: #fff; }
.contact-card .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--flame-deep); margin-bottom: .6rem; }
.contact-card.address .ic { background: var(--cherry); color: #fff; }
.contact-card .ic svg { width: 28px; height: 28px; }
.contact-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.contact-card .big { font-size: clamp(1.1rem, 2.3vw, 1.45rem); font-weight: 800; word-break: break-word; line-height: 1.35; }
.contact-card.email a { color: var(--ink); }
.contact-card address { font-style: normal; }
.contact-card p { margin: 0; opacity: .9; }
.contact-card .btn { align-self: flex-start; margin-top: .8rem; }
.contact-card.address .btn-light { color: var(--ink); }

.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.tip .n { font-family: var(--font-head); font-weight: 800; color: var(--flame); font-size: 2rem; line-height: 1; margin-bottom: .6rem; }
.tip p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ==========================================================
   LEGAL pages — three distinct structures
   ========================================================== */
.legal-body p, .legal-body li { color: #3b2a22; }
.legal-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.4rem; }
.legal-body h3 { margin-top: 1.4rem; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.legal-body li { margin-bottom: .45rem; }

/* Privacy: sidebar table-of-contents layout */
.privacy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; }
.privacy-layout > * { min-width: 0; }
.toc { position: sticky; top: 100px; background: var(--flame-soft); border-radius: var(--radius); padding: 1.3rem; }
.toc strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cherry); margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .93rem; }
.toc li { margin-bottom: .4rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--flame-deep); text-decoration: underline; }
.privacy-layout section:first-child h2 { margin-top: 0; }
.data-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.data-table th, .data-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--ink); color: #fff; font-weight: 700; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: #fffaf7; }
.callout { border-left: 5px solid var(--flame); background: var(--flame-soft); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }

/* Terms: numbered article clauses with margin numerals */
.terms-wrap { max-width: 900px; margin-inline: auto; }
.terms-intro { font-size: 1.12rem; padding: 1.4rem 1.6rem; border: 2px dashed var(--flame); border-radius: var(--radius); margin-bottom: 2.5rem; }
.terms-intro p:last-child { margin: 0; }
.article { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.article .art-no {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--flame);
}
.article .art-no small { display: block; font-size: .7rem; letter-spacing: .18em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: .3rem; }
.article h2 { margin-top: 0 !important; }
.clauses { list-style: none; padding: 0 !important; counter-reset: cl; }
.clauses li { counter-increment: cl; position: relative; padding-left: 2.8rem; }
.clauses li::before { content: attr(data-art) "." counter(cl); position: absolute; left: 0; font-weight: 800; color: var(--cherry); font-size: .92rem; }
.defs { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.2rem; margin: 0 0 1rem; }
.defs dt { font-weight: 800; color: var(--ink); }
.defs dd { margin: 0; color: #3b2a22; }

/* Cookie: question cards grid */
.cookie-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.quick-fact { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.quick-fact b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ember); line-height: 1.1; margin-bottom: .4rem; }
.quick-fact span { font-size: .93rem; color: #f0e2dc; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.qa { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--flame); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.qa.wide { grid-column: 1 / -1; }
.qa h2 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin: 0 0 .7rem !important; }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.browser-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; list-style: none; padding: 0 !important; }
.browser-list li { padding: .6rem .9rem; background: var(--flame-soft); border-radius: 10px; margin: 0 !important; font-size: .93rem; }

/* ==========================================================
   Footer — Bubblegum Pink
   ========================================================== */
.site-footer { background: var(--bubblegum); color: #3a0f22; margin-top: 0; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.15fr 1fr 1.25fr; gap: 2.5rem; padding: 3rem 0 2.5rem; }
.site-footer .brand { color: #3a0f22; }
.site-footer .brand-mark { color: var(--cherry); }
.site-footer .brand-name em { color: var(--flame-deep); }
.footer-about p { margin: 1rem 0 0; max-width: 24rem; color: #5a2338; }
.site-footer h2 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cherry-dark); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.footer-links a, .footer-contact a { color: #3a0f22; text-decoration: none; font-weight: 600; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cherry); text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .2rem; color: var(--cherry); }
.footer-contact address { font-style: normal; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact li:first-child a { font-size: .97rem; }
.footer-bottom {
  border-top: 1px solid rgba(58, 15, 34, .18); padding: 1.2rem 0 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .9rem; color: #5a2338;
}
.footer-bottom a { color: #3a0f22; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .gear-row { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: 1fr; }
  .mission-tabs { flex-direction: row; flex-wrap: wrap; }
  .mission-tab { flex: 1 1 180px; }
  .trail { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .trail::before { display: none; }
  .privacy-layout { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; width: 100%; margin-inline: auto; }
  .tent-frame { aspect-ratio: 4 / 3.4; clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); }
  .frame-tag { left: 10px; }
  .marker-strip ul { grid-template-columns: repeat(3, 1fr); }
  .marker-strip li:nth-child(4) { border-left: 0; }
  .marker-strip li { border-top: 1px solid rgba(255,255,255,.12); }
  .mission-panel { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: "tall wide" "tall night" "card card"; }
  .tile-tall { min-height: 480px; }
  .notes-grid, .video-feature, .page-hero.split .wrap { grid-template-columns: 1fr; }
  .notes-photo { max-width: 520px; }
  .notes-photo .stamp { right: 10px; }
  .mail-cta { grid-template-columns: 1fr; text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .pack-lists, .contact-grid, .qa-grid { grid-template-columns: 1fr; }
  .tips-grid, .cookie-quick { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: .6rem; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { width: min(var(--wrap), 100% - 2rem); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name strong { font-size: 1.02rem; }
  .gear-row, .product-grid { grid-template-columns: 1fr; }
  .marker-strip ul { grid-template-columns: repeat(2, 1fr); }
  .marker-strip li:nth-child(4) { border-left: 1px solid rgba(255,255,255,.12); }
  .marker-strip li:nth-child(odd) { border-left: 0; }
  .marker-strip li:last-child { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: 1fr; grid-template-areas: "tall" "wide" "night" "card"; }
  .tile-tall { min-height: 440px; }
  .trail { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-strip img:last-child { display: none; }
  .browser-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .defs { grid-template-columns: 1fr; gap: .2rem; }
  .defs dd { margin-bottom: .6rem; }
  .frame-tag { position: static; margin-top: 1rem; max-width: none; }
}

@media (max-width: 380px) {
  .brand-name span { display: none; }
  .trail { grid-template-columns: 1fr; }
}
