/* ============================================================================
   mrfirefly.css - styles for the Mr. Firefly pages (mrfirefly.php and friends).
   Build: 2026-11-03-A
   Standalone on purpose: these pages load ONLY this stylesheet (not base.css /
   site.css), so nothing from the retreats pages can collide with it.
   The palette and type below are copied from body.merch-page in shop.css
   (cream / sage / peach / Georgia). If the Merch look changes, change the
   :root values here to match - they are the only place the two files overlap.
   ============================================================================ */

  :root {
    --cream: #fdf8ef;
    --card: #fffcf6;
    --line: #ece3d4;
    --sage: #7f9473;
    --sage-dark: #62775a;
    --ink: #55604d;
    --muted: #8b9283;
    --peach: #fbebe1;
    --spark: #d99572;
    --serif: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    --sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
  a { color: var(--sage-dark); }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
  h1, h2, h3 { font-family: var(--serif); font-weight: normal; color: var(--sage-dark); margin: 0; }
  h2 { font-size: 1.7rem; text-align: center; margin-bottom: 8px; }
  .sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
  section { padding: 44px 0; }


  /* nav */
  nav.mrf-nav { background: var(--card); border-bottom: 1px solid var(--line); }
  nav.mrf-nav .wrap { display: flex; align-items: center; gap: 22px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  nav.mrf-nav img { height: 40px; width: auto; }
  nav.mrf-nav a { text-decoration: none; font-size: .95rem; }
  nav.mrf-nav .spacer { flex: 1; }
  nav.mrf-nav a.retreats { color: var(--muted); font-size: .85rem; }

  .ribbon { background: var(--peach); text-align: center; padding: 8px 20px; font-size: .92rem; }

  /* hero */
  .hero { position: relative; max-width: 1040px; margin: 18px auto 0; border-radius: 14px; overflow: hidden; background: #fffbf0; min-height: 300px; }
  .hero img.bg { width: 100%; height: 300px; object-fit: cover; }
  .hero .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(253,248,239,.93) 38%, rgba(253,248,239,.1) 80%);
    display: flex; flex-direction: column; justify-content: center; padding: 0 44px; }
  .hero h1 { font-size: 2.1rem; line-height: 1.2; max-width: 460px; }
  .hero p { max-width: 430px; margin: 12px 0 20px; }
  .btn { display: inline-block; background: var(--sage-dark); color: #fff; text-decoration: none; padding: 12px 26px;
    border-radius: 999px; font-weight: 600; }
  .btn.alt { background: transparent; color: var(--sage-dark); border: 1.5px solid var(--sage); margin-left: 8px; }

  /* promise tiles */
  .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; text-align: center; }
  .tile .ico { font-size: 1.7rem; color: var(--spark); line-height: 1; margin-bottom: 8px; }
  .tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .tile p { margin: 0; font-size: .92rem; }

  /* product grid */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
  .pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f4ecdc; }
  .pcard .body { padding: 14px 16px 18px; }
  .pcard h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .pcard p { margin: 0; font-size: .9rem; color: var(--muted); }
  .soon-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center;
    background: repeating-linear-gradient(45deg, #fbf3e3, #fbf3e3 12px, #f7ecd6 12px, #f7ecd6 24px); color: var(--muted);
    font-family: var(--serif); font-size: 1.15rem; }
  .badge { display: inline-block; background: var(--peach); color: #a35d3a; font-size: .72rem; padding: 2px 9px; border-radius: 999px; margin-bottom: 6px; }
  .center { text-align: center; margin-top: 26px; }

  /* band */
  .band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
  .split h2 { text-align: left; }
  .split p { margin: 10px 0; }
  .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }

  /* savings */
  .save { background: var(--peach); border-radius: 14px; padding: 28px; text-align: center; }
  .save table { margin: 16px auto 0; border-collapse: collapse; }
  .save td, .save th { padding: 6px 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
  .save th { font-family: var(--serif); font-weight: normal; color: var(--sage-dark); }
  .save small { display: block; margin-top: 12px; color: var(--muted); }

  /* reviews placeholder */
  .ph { border: 2px dashed var(--line); border-radius: 14px; padding: 34px 20px; text-align: center; color: var(--muted); }

  /* faq */
  details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 2px 18px; }
  summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--sage); font-size: 1.3rem; font-weight: normal; }
  details[open] summary::after { content: "\2212"; }
  details .a { padding: 0 0 16px; }
  details .a p { margin: 0 0 8px; }
  .faq-wrap { max-width: 720px; margin: 0 auto; }

  footer { text-align: center; padding: 30px 20px 50px; font-size: .85rem; color: var(--muted); }

  @media (max-width: 800px) {
    .tiles { grid-template-columns: 1fr 1fr; }
    .grid { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .hero .overlay { background: rgba(253,248,239,.88); padding: 0 24px; }
    .hero h1 { font-size: 1.6rem; }
  }
  @media (max-width: 480px) {
    .tiles, .grid { grid-template-columns: 1fr; }
    .btn.alt { margin-left: 0; margin-top: 8px; }
  }

  .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  nav.mrf-nav a[aria-current="page"] { font-weight: 600; border-bottom: 2px solid var(--sage); }
  .ribbon a { color: inherit; }
  footer.mrf-footer a { color: var(--muted); }
  a.pcard { text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
  a.pcard:hover { box-shadow: 0 6px 16px rgba(0,0,0,.10); transform: translateY(-2px); }
  a.pcard h3 { color: var(--sage-dark); }
  .page-title { text-align: center; padding: 38px 20px 6px; }
  .page-title h1 { font-size: 2rem; }
  .page-title p { color: var(--muted); max-width: 560px; margin: 10px auto 0; }
  .care-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 18px; }
  .care-card h2 { text-align: left; font-size: 1.3rem; margin-bottom: 10px; }
  .care-card p { margin: 0 0 10px; }
  .care-card p:last-child { margin-bottom: 0; }
  .care-card ol { margin: 0 0 10px; padding-left: 22px; }
  .care-card li { margin-bottom: 6px; }
  .care-card img.chart { max-width: 260px; margin-top: 12px; }
  .story { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; max-width: 880px; margin: 0 auto; }
  .story-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%; border-radius: 14px; border: 1px solid var(--line); }
  .story-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; }
  .story-text p { margin: 0 0 16px; }
  .story-text .btn { font-family: var(--sans); font-size: 1rem; margin-top: 6px; }
  @media (max-width: 800px) { .story { grid-template-columns: 1fr; gap: 22px; } .story-photo { max-width: 320px; margin: 0 auto; } }

  /* order map (mrf_order_map.php) */
  .order-map { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
  .om-land { fill: #efe6d2; stroke: var(--cream); stroke-width: 1; stroke-linejoin: round; }
  .om-dot { fill: #e8a93a; fill-opacity: .8; stroke: #fff3c4; stroke-opacity: .55; stroke-width: 1; }
  .om-dot.tw { animation: om-glow 4s ease-in-out infinite; }
  @keyframes om-glow { 0%, 100% { fill-opacity: .55; } 50% { fill-opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .om-dot.tw { animation: none; } }
  .om-top { text-align: center; margin: 18px 0 0; }
