/* Camp Lineup — one stylesheet, one definition per component.
   The per-page CSS that preceded this shipped the same button bug twice. */

:root{
  --paper:#FCFCFD;
  --ground:#F4F5F7;
  --card:#FFFFFF;
  --ink:#16181D;
  --muted:#5C636C;
  --soft:#8A9098;
  --faint:#9AA0AA;
  --line:#E9EAEC;
  --teal:#0E7C86;
  --teal-deep:#0A6B6F;
  --teal-wash:#E3F3F4;
  --amber:#F5B54A;
  --amber-wash:#FFF8EC;
  --amber-ink:#8A6A17;
  --red:#D0342C;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;background:var(--ground);color:var(--ink);
  font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;}

/* ── the one button definition ────────────────────────────── */
.btn{
  display:inline-block;background:var(--red);color:#fff;border:none;
  border-radius:13px;padding:14px 22px;font-size:15.5px;font-weight:700;
  font-family:inherit;cursor:pointer;white-space:nowrap;text-align:center;
  box-shadow:0 1px 2px rgba(120,20,14,.20),0 5px 14px rgba(208,52,44,.24);
}
.btn:hover{filter:brightness(1.06);}
.btn.ghost{background:#F1F2F4;color:var(--ink);box-shadow:none;}
.btn.teal{background:var(--teal);box-shadow:none;}
.btn:focus-visible{outline:3px solid var(--teal);outline-offset:2px;}

/* ── chrome ───────────────────────────────────────────────── */
.hdr{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;}
.hdrin{max-width:1020px;margin:0 auto;padding:12px 18px;display:flex;align-items:center;
  justify-content:space-between;gap:12px;}
.mark{display:flex;align-items:center;gap:9px;}
.msq{width:32px;height:32px;border-radius:9px;background:var(--teal);display:flex;
  flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:800;
  font-size:8.5px;line-height:.92;letter-spacing:-.03em;flex-shrink:0;}
.msq em{font-style:normal;color:var(--amber);}
.mname{font-size:15.5px;font-weight:800;letter-spacing:-.02em;}
.hdrright{display:flex;align-items:center;gap:10px;}
.pill{font-size:13.5px;font-weight:700;color:#4A5059;background:#F1F2F4;padding:7px 11px;border-radius:9px;}
.pill.on{color:var(--teal);background:var(--teal-wash);}
.signin{font-size:14px;font-weight:700;color:var(--teal);}

/* ── landing ──────────────────────────────────────────────── */
.page{background:var(--paper);}
.wrap{max-width:1020px;margin:0 auto;padding:0 18px;}
.hero{padding:60px 0 18px;}
.kick{font-size:12.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  color:var(--teal);margin-bottom:16px;}
h1{font-size:clamp(2.3rem,6.6vw,3.9rem);font-weight:800;letter-spacing:-.04em;line-height:1.03;
  margin:0 0 18px;text-wrap:balance;}
h1 em{font-style:normal;color:var(--teal);}
.sub{font-size:clamp(1.02rem,2.3vw,1.26rem);line-height:1.55;color:var(--muted);
  max-width:38ch;margin:0 0 28px;}
.row{display:flex;gap:11px;flex-wrap:wrap;align-items:center;}
.micro{font-size:13.5px;color:var(--soft);margin-top:13px;}
.strip{background:var(--teal);border-radius:22px;padding:32px 28px;margin:48px 0 0;color:#fff;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:24px;}
.st .n{font-size:32px;font-weight:800;letter-spacing:-.03em;line-height:1;margin-bottom:7px;}
.st .n em{font-style:normal;color:var(--amber);}
.st .d{font-size:14.5px;line-height:1.5;opacity:.86;}
section{padding:72px 0 0;}
h2{font-size:clamp(1.7rem,3.8vw,2.4rem);font-weight:800;letter-spacing:-.03em;line-height:1.1;
  margin:0 0 13px;text-wrap:balance;}
.lead{font-size:17px;line-height:1.6;color:var(--muted);max-width:52ch;margin:0 0 32px;}
.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;}
.tile{background:var(--card);border-radius:20px;padding:25px 23px;
  box-shadow:0 1px 2px rgba(16,18,24,.05),0 8px 22px rgba(16,18,24,.05);}
.tile .ic{width:40px;height:40px;border-radius:12px;background:var(--teal-wash);margin-bottom:15px;
  display:flex;align-items:center;justify-content:center;}
.tile h3{font-size:18px;font-weight:800;letter-spacing:-.015em;margin:0 0 8px;}
.tile p{font-size:15px;line-height:1.6;color:var(--muted);margin:0;}
.honest{background:var(--amber-wash);border-radius:20px;padding:28px 26px;margin-top:20px;}
.honest h3{font-size:19px;font-weight:800;margin:0 0 9px;letter-spacing:-.015em;}
.honest p{font-size:15.5px;line-height:1.6;color:#7A6E56;margin:0;max-width:58ch;}
.metros{display:flex;gap:9px;flex-wrap:wrap;margin-top:6px;}
.metro{font-size:14px;font-weight:700;padding:9px 15px;border-radius:11px;background:#F1F2F4;color:#4A5059;}
.metro.live{background:var(--teal-wash);color:var(--teal-deep);}
.metro.live::before{content:"● ";color:var(--teal);font-size:11px;}
.cap{background:#F5F6F7;border-radius:22px;padding:32px 28px;margin-top:32px;}
.capform{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px;}
.capform input{flex:1;min-width:190px;border:1.5px solid #E1E4E7;border-radius:13px;
  padding:15px 16px;font-size:15.5px;font-family:inherit;background:#fff;color:var(--ink);}
.capform input::placeholder{color:#A8AEB6;}
footer{padding:64px 0 56px;margin-top:70px;border-top:1px solid var(--line);
  font-size:14px;color:var(--soft);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
footer a{color:var(--teal);font-weight:600;}

/* ── browse: filters + feed ───────────────────────────────── */
.cols{display:grid;grid-template-columns:238px 1fr;gap:30px;padding:24px 0 60px;align-items:start;}
/* ★ Grid items default to min-width:auto, so a child wider than the column —
   the ten-week rail — pushes the whole column past the viewport instead of
   scrolling inside itself. At 390px this made the page 760px wide. */
.cols > *{min-width:0;}
.feedcol{min-width:0;}
.side{position:sticky;top:74px;}
.ai{background:var(--teal);border-radius:17px;padding:19px 18px;color:#fff;margin-bottom:22px;}
.ai .t{font-size:16px;font-weight:800;letter-spacing:-.015em;margin-bottom:6px;}
.ai .d{font-size:13px;line-height:1.5;opacity:.86;margin-bottom:13px;}
.ai .b{background:var(--amber);color:#3B2A05;border-radius:11px;padding:11px;text-align:center;
  font-size:14px;font-weight:800;cursor:pointer;border:none;width:100%;font-family:inherit;}
.fg{margin-bottom:22px;}
.fl{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);
  margin-bottom:10px;display:flex;justify-content:space-between;align-items:baseline;}
.fl .n{font-weight:700;letter-spacing:0;text-transform:none;font-size:12.5px;color:var(--teal);}
.ages{display:flex;gap:6px;flex-wrap:wrap;}
.age{width:36px;height:36px;border-radius:10px;background:#fff;display:flex;align-items:center;
  justify-content:center;font-size:14px;font-weight:700;color:#4A5059;cursor:pointer;border:none;
  font-family:inherit;box-shadow:0 1px 2px rgba(16,18,24,.05);}
.age.on{background:var(--teal);color:#fff;box-shadow:none;}
.chips{display:flex;gap:6px;flex-wrap:wrap;}
.chip{font-size:13.5px;font-weight:700;padding:8px 12px;border-radius:10px;background:#fff;
  color:#4A5059;cursor:pointer;border:none;font-family:inherit;box-shadow:0 1px 2px rgba(16,18,24,.05);}
.chip.on{background:var(--teal);color:#fff;box-shadow:none;}
.clear{font-size:13px;font-weight:700;color:var(--soft);margin-top:10px;cursor:pointer;
  background:none;border:none;padding:0;font-family:inherit;}
.count{margin-bottom:14px;}
.c1{font-size:22px;font-weight:800;letter-spacing:-.025em;line-height:1.2;}
.c2{font-size:13.5px;color:var(--soft);margin-top:3px;}
.wkrow{display:flex;gap:7px;overflow-x:auto;margin-bottom:16px;padding-bottom:2px;
  scrollbar-width:none;}
.wkrow::-webkit-scrollbar{display:none;}
.wk{flex-shrink:0;min-width:62px;border-radius:11px;padding:8px 10px;text-align:center;background:#fff;
  box-shadow:0 1px 2px rgba(16,18,24,.05);cursor:pointer;border:none;font-family:inherit;color:inherit;}
.wk.on{background:var(--teal);color:#fff;box-shadow:none;}
.wk .m{font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.6;}
.wk .d{font-size:15px;font-weight:800;letter-spacing:-.02em;}
.wk .n{font-size:9.5px;font-weight:600;opacity:.6;}
.card{background:var(--card);border-radius:17px;padding:18px 18px 16px;margin-bottom:10px;
  box-shadow:0 1px 2px rgba(16,18,24,.05),0 4px 14px rgba(16,18,24,.045);}
.ctop{display:flex;gap:14px;align-items:flex-start;}
.ctx{flex:1;min-width:0;}
.cnm{font-size:17.5px;font-weight:800;letter-spacing:-.02em;line-height:1.25;overflow-wrap:break-word;}
.cpv{font-size:13px;color:var(--soft);font-weight:600;margin-top:3px;}
.crt{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:9px;}
.price{font-size:18.5px;font-weight:800;letter-spacing:-.02em;line-height:1;}
.add{width:36px;height:36px;border-radius:11px;background:#F4F5F7;display:flex;align-items:center;
  justify-content:center;color:#6E7480;font-size:19px;font-weight:700;cursor:pointer;border:none;
  font-family:inherit;}
.add.on{background:var(--teal-wash);color:var(--teal);}
.cdesc{font-size:14.5px;line-height:1.55;color:var(--muted);margin:10px 0 12px;}
.meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
/* ★ Scoped to .meta on purpose. `.m` is ALSO the month label inside .wk, and
   the chip modifier was `.age`, which collided with the 36x36 age-filter
   button and squashed every "Ages 6-13" chip into a square. One class name,
   two meanings — the same shape as the .btn colour bug. Keep them scoped. */
.meta .m{font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:9px;background:#F4F5F7;
  color:#5A6069;max-width:100%;overflow-wrap:break-word;
  /* ★ Flex items shrink before they wrap. Without flex:0 0 auto the chips were
     squeezed to 36px squares ("Ages" over "6-13") instead of moving to the
     next line. Do not remove. */
  flex:0 0 auto;}
.m.m-age{background:var(--teal-wash);color:var(--teal-deep);}
.m.m-cat{background:#FFF3DE;color:var(--amber-ink);}
.m.m-loc{background:transparent;color:var(--faint);padding-left:2px;font-weight:600;}
.nudge{background:var(--amber-wash);border-radius:17px;padding:20px;margin-bottom:10px;
  display:flex;gap:15px;align-items:center;flex-wrap:wrap;}
.nudge .tx{flex:1;min-width:200px;}
.nudge .t{font-size:16px;font-weight:800;margin-bottom:4px;letter-spacing:-.015em;}
.nudge .d{font-size:13.5px;color:#7A6E56;line-height:1.5;}
.empty{background:var(--card);border-radius:17px;padding:38px 24px;text-align:center;}
.empty .t{font-size:17px;font-weight:800;margin-bottom:6px;}
.empty .d{font-size:14.5px;color:var(--muted);}
.banner{background:var(--amber-wash);border-bottom:1px solid #F0E3CB;font-size:13.5px;
  color:#7A6E56;text-align:center;padding:9px 18px;}
.banner b{color:var(--amber-ink);}
.mfbar{display:none;}

/* ── mobile ───────────────────────────────────────────────── */
@media (max-width:880px){
  .cols{grid-template-columns:1fr;gap:0;padding:0 0 60px;}
  .side{position:fixed;inset:auto 0 0 0;z-index:60;background:var(--paper);
    border-radius:22px 22px 0 0;padding:8px 18px 18px;max-height:82vh;overflow-y:auto;
    box-shadow:0 -8px 30px rgba(16,18,24,.22);transform:translateY(101%);
    transition:transform .22s ease;}
  .side.open{transform:translateY(0);}
  .side::before{content:"";display:block;width:36px;height:4px;border-radius:2px;
    background:#D5D9DE;margin:0 auto 14px;}
  .scrim{position:fixed;inset:0;background:rgba(16,18,24,.42);z-index:55;display:none;}
  .scrim.open{display:block;}
  .mfbar{display:flex;gap:7px;padding:9px 14px;background:var(--paper);
    border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;
    position:sticky;top:56px;z-index:38;}
  .mfbar::-webkit-scrollbar{display:none;}
  .fbtn{font-size:13px;font-weight:800;padding:8px 13px;border-radius:10px;background:var(--teal);
    color:#fff;display:flex;align-items:center;gap:6px;white-space:nowrap;border:none;
    font-family:inherit;cursor:pointer;flex-shrink:0;}
  .fbtn .c{background:var(--amber);color:#3B2A05;border-radius:20px;font-size:10.5px;
    padding:1px 6px;font-weight:800;}
  .mchip{font-size:13px;font-weight:700;padding:8px 12px;border-radius:10px;background:#F1F2F4;
    color:#4A5059;white-space:nowrap;flex-shrink:0;}
  .wkrow{position:sticky;top:105px;z-index:37;background:var(--paper);margin:0;
    padding:9px 14px 10px;border-bottom:1px solid var(--line);
    box-shadow:0 2px 6px rgba(16,18,24,.05);}
  .feedcol{padding:14px;}
  .count{padding:0 0 12px;}
  .sapply{display:block;width:100%;background:var(--teal);color:#fff;border-radius:13px;padding:14px;
    text-align:center;font-size:15px;font-weight:800;margin-top:6px;border:none;font-family:inherit;}
  .hero{padding:44px 0 12px;}
  .strip{padding:26px 22px;}
}
@media (min-width:881px){
  .feedcol{padding:0;}
  .sapply{display:none;}
  .scrim{display:none!important;}
}

/* ── detail sheet ─────────────────────────────────────────────
   Chassis mirrored from One Little City's .cgap-* gap picker
   (styles.css:8616) so the two products behave identically:
   same 22px top radius, same .26s cubic-bezier rise, same
   safe-area padding for the iPhone home indicator. */
.cl-sheet{position:fixed;inset:0;z-index:100000;pointer-events:none;}
.cl-backdrop{position:absolute;inset:0;background:rgba(20,25,40,.45);opacity:0;
  transition:opacity .22s ease;pointer-events:auto;}
.cl-sheet.open .cl-backdrop{opacity:1;}
.cl-card{position:absolute;left:0;right:0;bottom:0;max-height:88vh;background:var(--card);
  border-radius:22px 22px 0 0;box-shadow:0 -16px 48px rgba(20,25,40,.25);
  display:flex;flex-direction:column;pointer-events:auto;transform:translateY(100%);
  transition:transform .26s cubic-bezier(.2,.8,.25,1);
  padding-bottom:max(env(safe-area-inset-bottom,12px),12px);}
.cl-sheet.open .cl-card{transform:translateY(0);}
@media (prefers-reduced-motion:reduce){
  .cl-card{transition:none;} .cl-backdrop{transition:none;}
}
@media (min-width:881px){
  .cl-card{left:50%;right:auto;bottom:auto;top:50%;width:520px;max-width:calc(100vw - 40px);
    transform:translate(-50%,-46%) scale(.97);border-radius:22px;opacity:0;
    transition:transform .2s ease,opacity .2s ease;}
  .cl-sheet.open .cl-card{transform:translate(-50%,-50%) scale(1);opacity:1;}
}
.cl-grab{width:36px;height:4px;border-radius:2px;background:var(--line);margin:8px auto 4px;flex-shrink:0;}
@media (min-width:881px){ .cl-grab{display:none;} }
.cl-body{overflow-y:auto;padding:10px 20px 4px;-webkit-overflow-scrolling:touch;}
.cl-title{font-size:22px;font-weight:800;letter-spacing:-.025em;line-height:1.18;
  margin:6px 0 4px;overflow-wrap:break-word;}
.cl-prov{font-size:14px;font-weight:600;color:var(--soft);margin-bottom:15px;}
.cl-facts{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px;}
.cl-fact{font-size:12.5px;font-weight:700;padding:6px 11px;border-radius:9px;
  background:#F4F5F7;color:#4A5059;}
.cl-fact.pr{background:var(--teal-wash);color:var(--teal-deep);}
.cl-fact.cat{background:#FFF3DE;color:var(--amber-ink);}
.cl-desc{font-size:15.5px;line-height:1.6;color:var(--muted);margin:0 0 16px;}
.cl-where{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--soft);
  line-height:1.45;padding:14px 0;border-top:1px solid var(--line);}
.cl-where svg{flex-shrink:0;margin-top:2px;opacity:.5;}
.cl-when{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--soft);
  line-height:1.45;padding:14px 0;border-top:1px solid var(--line);}
.cl-note{background:var(--amber-wash);border-radius:13px;padding:13px 15px;margin:4px 0 14px;
  font-size:13.5px;line-height:1.5;color:#7A6E56;}
.cl-foot{padding:12px 20px 8px;border-top:1px solid var(--line);display:flex;gap:9px;flex-shrink:0;}
.cl-foot .btn{flex:1;}
.cl-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border-radius:50%;
  background:#F1F2F4;border:none;font-size:19px;line-height:1;color:#5A6069;cursor:pointer;
  display:none;font-family:inherit;}
@media (min-width:881px){ .cl-close{display:block;} }
.card{cursor:pointer;}
.card:focus-visible{outline:3px solid var(--teal);outline-offset:2px;}
