/* ============================================================
   CAMP CHEENEY CREEK  ·  mini design system
   ------------------------------------------------------------
   CONCEPT   : a hand-routed cedar camp signboard. A family pet
               camp since 1982, not a vet clinic template.
   SIGNATURE : the carved wooden camp-sign plate at the hero
               (beveled kraft plaque, engraved-look heading),
               echoed small as section "trail-marker" eyebrows.
   ACCENT    : --tan is signal only. Budget = sign plate,
               trail-marker eyebrows, Sample tags, form focus
               rings, hairline dividers. Nowhere else.
   DEPTH     : flat color planes + hairlines everywhere. The
               ONLY bevel is the signature sign plate (named
               exception to the flat rule).
   TYPE      : Fraunces (display 600 / 900) + Inter (text 400 / 600).
   ============================================================ */

:root {
  --cream:      #F6F1E7;   /* page ground */
  --paper:      #FFFDF8;   /* card / surface, warm white */
  --forest:     #2F5D3A;   /* primary: headers, buttons, footer */
  --forest-deep:#24492D;   /* primary hover / footer deepen */
  --tan:        #C9A66B;   /* accent, signal only */
  --tan-soft:   #E4D3AC;   /* sign plate light face */
  --tan-deep:   #A9863F;   /* engraved edge on sign plate */
  --ink:        #1E1E1E;   /* text */
  --ink-soft:   #55534B;   /* muted text, tinted warm */
  --line:       #DAD0BA;   /* hairline, tinted cream */

  --wrap: 1100px;
  --radius: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
h1, h2, h3, .hero-tag, .card-list li { overflow-wrap: break-word; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--forest); }
h1, h2, h3, .footer-title { font-family: var(--font-display); font-weight: 900; line-height: 1.1; }
p { margin: 0 0 1rem; }
ul { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-text); font-weight: 600;
  font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--tan); }
.btn-ghost:hover { background: rgba(201,166,107,.18); }
.btn-block { width: 100%; text-align: center; padding: 15px; font-size: 1.05rem; }

/* ---------- trail-marker eyebrow (signature echo) ---------- */
.trail-marker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-text); font-weight: 600; font-size: .8rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--tan-deep); margin: 0 0 12px;
}
.trail-marker::before {
  content: ""; width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 8px solid var(--tan);
}

.section { padding: 76px 0; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 14px; }
.section-lede { max-width: 60ch; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--forest); color: var(--cream);
  border-bottom: 3px solid var(--tan);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brandmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.2rem;
  color: var(--cream); text-decoration: none; white-space: nowrap;
}
.brandmark-badge { display: inline-flex; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--cream); text-decoration: none; font-size: .96rem; font-weight: 600; }
.site-nav a:hover { color: var(--tan); }
.nav-call { border: 1.5px solid var(--tan); border-radius: 8px; padding: 7px 12px; }
.nav-call:hover { background: rgba(201,166,107,.2); color: var(--cream) !important; }

/* ---------- hero ---------- */
.hero { background: var(--forest); color: var(--cream); padding: 66px 0 74px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .trail-marker { color: var(--tan); }

/* SIGNATURE ELEMENT: the routed camp-sign plate */
.hero-sign {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 22px 30px 26px;
  background: linear-gradient(180deg, var(--tan-soft), var(--tan));
  border-radius: 14px;
  border-top: 2px solid #F0E4C6;
  border-bottom: 3px solid var(--tan-deep);
  box-shadow: 0 10px 0 -2px rgba(0,0,0,.18), 0 16px 26px rgba(0,0,0,.22);
}
.hero-brand {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: .98; color: var(--forest-deep);
  text-shadow: 0 1px 0 #F1E6C8, 0 -1px 0 rgba(0,0,0,.18);
}
.hero-tag {
  display: block; margin-top: 12px; font-family: var(--font-text); font-weight: 600;
  font-size: clamp(.95rem, 2vw, 1.12rem); color: #5A4318; letter-spacing: .01em;
}
.hero-lede { max-width: 46ch; font-size: 1.14rem; color: #EAF0E6; }
.hero-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-secondary { margin: 0; color: #DCE6D8; font-size: .98rem; }

.hero-photo { min-height: 300px; }

/* ---------- photo placeholders ---------- */
.photo-block {
  position: relative; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(0,0,0,.03) 14px 28px),
    linear-gradient(160deg, #6E8F63, #3F6647);
  border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
}
.photo-block.small { min-height: 150px; margin-bottom: 18px; background: linear-gradient(160deg, #E7DEC7, #CBB584); border-color: var(--line); }
.photo-label {
  font-family: var(--font-text); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85); background: rgba(30,30,30,.28);
  padding: 5px 12px; border-radius: 999px;
}
.photo-block.small .photo-label { color: #6A5320; background: rgba(255,255,255,.55); }

/* ---------- services ---------- */
.services { background: var(--paper); }
.cards { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.card h3 { font-size: 1.45rem; margin: 0 0 12px; color: var(--forest); }
.card-list { list-style: none; padding: 0; margin: 0 0 18px; }
.card-list li { position: relative; padding-left: 20px; margin-bottom: 9px; color: var(--ink-soft); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--tan);
}
.card-foot {
  margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-weight: 600; color: var(--forest);
}

/* ---------- before you check in ---------- */
.checkin { background: var(--forest-deep); color: var(--cream); }
.checkin-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.checkin .trail-marker { color: var(--tan); }
.checkin .section-lede { color: #D6E1D2; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid rgba(201,166,107,.35);
  font-size: 1.08rem;
}
.checklist li:last-child { border-bottom: none; }
.check-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tan); color: var(--forest-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; margin-top: 1px;
}

/* ---------- reserve ---------- */
.reserve { background: var(--cream); }
.reserve-inner { max-width: 760px; margin: 0 auto; }
.reserve-intro { text-align: left; margin-bottom: 30px; }
.reserve-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px;
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
input, select, textarea {
  font-family: var(--font-text); font-size: 1rem; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; width: 100%;
}
input[type="file"] { padding: 9px; background: var(--cream); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(201,166,107,.35); }
.field-hint { margin: 6px 0 0; font-size: .82rem; color: var(--ink-soft); }
.form-error { color: #8f2f2f; font-weight: 600; margin: 4px 0 14px; }

.reserve-confirm {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  border-top: 4px solid var(--forest); padding: 40px 30px; text-align: center;
}
.confirm-badge {
  width: 62px; height: 62px; border-radius: 50%; background: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.reserve-confirm h3 { font-size: 1.6rem; margin: 0 0 12px; color: var(--forest); }
.reserve-confirm p { max-width: 46ch; margin: 0 auto; color: var(--ink-soft); }

/* ---------- testimonials ---------- */
.families { background: var(--paper); }
.quotes { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  position: relative; margin: 0; background: var(--cream);
  border: 1px solid var(--line); border-left: 4px solid var(--tan);
  border-radius: var(--radius); padding: 24px 22px 20px;
}
.sample-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-text); font-weight: 600; font-size: .64rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--tan-deep); background: rgba(201,166,107,.18);
  border: 1px solid var(--tan); border-radius: 999px; padding: 3px 9px;
}
.quote blockquote { margin: 8px 0 16px; font-size: 1.02rem; color: var(--ink); }
.quote figcaption { font-weight: 600; color: var(--forest); font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: 60px 0 26px; border-top: 3px solid var(--tan); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-title { font-size: 1.5rem; margin: 0 0 14px; }
.footer-subtitle { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin: 0 0 14px; color: var(--tan); }
.footer-line { color: #E4EADF; margin: 0 0 8px; }
.footer-line a, .footer-col a { color: var(--cream); }
.footer-col .btn-ghost { margin-top: 8px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid rgba(201,166,107,.28); color: #E4EADF; }
.hours li span:first-child { font-weight: 600; color: var(--cream); }
.footer-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(201,166,107,.28); }
.footer-note p { margin: 0; font-size: .84rem; color: #B9C6B3; }

/* ============================================================
   ASK CAMP  ·  client-side chat widget
   ============================================================ */
.askcamp { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: var(--font-text); }
.askcamp-bubble {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--forest); color: var(--cream);
  border: 2px solid var(--tan); border-radius: 999px;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem;
  padding: 13px 20px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.askcamp-bubble:hover { background: var(--forest-deep); }
.askcamp-bubble-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tan); }

.askcamp-panel {
  position: absolute; right: 0; bottom: 64px;
  width: min(340px, calc(100vw - 40px)); height: 460px; max-height: calc(100vh - 120px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden;
}
.askcamp-panel[hidden] { display: none; }
.askcamp-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--forest); color: var(--cream); padding: 12px 16px; border-bottom: 3px solid var(--tan);
}
.askcamp-head-title { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; }
.askcamp-close { background: none; border: none; color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.askcamp-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 12px; font-size: .95rem; line-height: 1.5; }
.msg-bot { align-self: flex-start; background: var(--cream); border: 1px solid var(--line); border-bottom-left-radius: 3px; color: var(--ink); }
.msg-user { align-self: flex-end; background: var(--forest); color: var(--cream); border-bottom-right-radius: 3px; }
.askcamp-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--cream); }
.askcamp-form input { flex: 1; padding: 10px 12px; font-size: .95rem; }
.askcamp-form button {
  background: var(--forest); color: var(--cream); border: none; border-radius: 8px;
  font-family: var(--font-text); font-weight: 600; padding: 0 16px; cursor: pointer;
}
.askcamp-form button:hover { background: var(--forest-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .site-nav { gap: 14px; }
  .site-nav a:not(.nav-call) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { min-height: 200px; order: -1; }
  .checkin-inner { grid-template-columns: 1fr; gap: 26px; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-sign { padding: 18px 20px 20px; }
  .reserve-form { padding: 20px; }
  .header-inner { height: 60px; }
  .brandmark { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
