/* Hopes House — "warm" design preview. Layered on top of styles.css, scoped to body.warm.
   Keeps the navy + blush brand and adds the sky, sunshine and sage of the renderings. */
body.warm {
  --sky: #7fb8e0;
  --sky-soft: #eaf4fb;
  --sun: #f5c451;
  --sun-soft: #fff6e2;
  --sage: #8fb08a;
  --sage-soft: #edf4ea;
  --peach: #f2a98d;
  --peach-soft: #fdeee7;
  --cream: #fffaf3;
  --radius: 22px;
  --sans: 'Nunito', 'Inter', system-ui, sans-serif;
  --sparkle-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E");
  --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='white' d='M30 58h66a22 22 0 0 0 2-44 28 28 0 0 0-53-4 20 20 0 0 0-15 48z'/%3E%3C/svg%3E");
  font-family: var(--sans);
  background: var(--cream);
  font-size: 16.5px;
}
body.warm p, body.warm li { line-height: 1.7; }


/* ---------- accent color options (preview: ?accent=blush|sky|coral|sage) ---------- */
body.warm.accent-blush, body.warm { --accent: #d9a891; --accent-hover: #e4bba8; --accent-soft: #f9ede6; --accent-text: #b56f52; --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9a891' d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E"); }
body.warm.accent-sky { --accent: #8ec3e6; --accent-hover: #a8d2ee; --accent-soft: #e8f3fb; --accent-text: #3d7bab; --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238ec3e6' d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E"); }
body.warm.accent-coral { --accent: #f09c86; --accent-hover: #f4b4a2; --accent-soft: #fdece6; --accent-text: #c4624a; --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f09c86' d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E"); }
body.warm.accent-sage { --accent: #a9c4a0; --accent-hover: #bed3b6; --accent-soft: #ecf3e8; --accent-text: #567d50; --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a9c4a0' d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E"); }

/* ---------- sections: soft colors + rounded, layered edges ---------- */
body.warm .section { border-radius: 44px 44px 0 0; margin-top: -44px; padding-top: calc(clamp(72px, 10vw, 128px) + 20px); }
body.warm .cream { background: var(--cream); }
body.warm #need { background: var(--accent-soft); }
body.warm #tour { background: var(--sky-soft); }
body.warm #cottages { background: #fff; }
body.warm #care { background: var(--sage-soft); }
body.warm #updates { background: var(--cream); }
body.warm #events { background: var(--sky-soft); }
body.warm #media { background: #fff; }
body.warm #community { background: var(--accent-soft); }
body.warm #involved { background: #fff; }
body.warm #faq { background: var(--sage-soft); }
body.warm .footer { border-radius: 44px 44px 0 0; margin-top: -44px; position: relative; }

/* navy sections become a starry night sky, like the lobby ceiling */
body.warm .navy { background: linear-gradient(180deg, #17304d 0%, var(--navy) 100%); }
body.warm .navy::before {
  background:
    var(--sparkle-white) 8% 18% / 14px no-repeat,
    var(--sparkle) 92% 12% / 22px no-repeat,
    var(--sparkle-white) 80% 70% / 10px no-repeat,
    var(--sparkle) 14% 82% / 16px no-repeat,
    var(--sparkle-white) 50% 8% / 9px no-repeat,
    radial-gradient(900px 400px at 85% 0%, rgba(255, 255, 255, .07), transparent 60%);
  opacity: .9;
}

/* gentle floating decorations */
body.warm #need::after, body.warm #community::after, body.warm #faq::after, body.warm #tour::after {
  content: ''; position: absolute; pointer-events: none; width: 140px; height: 70px; top: 36px; right: 5%;
  background: var(--cloud) center / contain no-repeat; opacity: .95; animation: drift 9s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 10px rgba(20, 35, 54, .06));
}
body.warm #community::after, body.warm #faq::after { right: auto; left: 4%; width: 110px; }
body.warm #care::after, body.warm #events::after, body.warm #cottages::after {
  content: ''; position: absolute; pointer-events: none; width: 26px; height: 26px; top: 48px; right: 7%;
  background: var(--sparkle) center / contain no-repeat; animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-28px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .6; } }

/* ---------- type ---------- */
body.warm .eyebrow { font-family: var(--sans); font-weight: 800; letter-spacing: .16em; color: var(--accent-text); }
body.warm .eyebrow.light, body.warm .navy .eyebrow { color: var(--accent); }
body.warm .display em, body.warm .gold { color: var(--accent-text); }
body.warm .navy .display em, body.warm .navy .gold, body.warm .hero .gold, body.warm .hero-lede em { color: var(--accent); }
body.warm .display { letter-spacing: -.005em; }

/* ---------- hero ---------- */
body.warm .hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 35, 54, .92) 0%, rgba(20, 35, 54, .8) 30%, rgba(20, 35, 54, .35) 62%, rgba(20, 35, 54, .1) 100%),
    linear-gradient(180deg, rgba(20, 35, 54, .45) 0%, transparent 25%, transparent 72%, rgba(20, 35, 54, .7) 100%);
}
@media (max-width: 900px) {
  body.warm .hero-shade { background: linear-gradient(180deg, rgba(20, 35, 54, .55) 0%, rgba(20, 35, 54, .5) 30%, rgba(20, 35, 54, .85) 62%, rgba(20, 35, 54, .95) 100%); }
}
body.warm .hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    var(--sparkle) 70% 30% / 20px no-repeat,
    var(--sparkle-white) 88% 10% / 14px no-repeat,
    var(--sparkle) 60% 12% / 12px no-repeat;
  opacity: .9; animation: drift 12s ease-in-out infinite alternate;
}
body.warm .hero-inner { padding-bottom: 130px; }
body.warm .hero-stats dt { color: #fff; }
body.warm .hero-stats dd { color: var(--accent); opacity: .9; }

/* ---------- buttons & chips ---------- */
body.warm .btn { font-family: var(--sans); font-weight: 800; letter-spacing: .01em; }
body.warm .btn-gold { background: var(--accent); color: var(--navy); }
body.warm .btn-gold:hover { background: var(--accent-hover); box-shadow: 0 10px 26px rgba(20, 35, 54, .18); }
body.warm .btn-navy:hover { background: #2a4a6e; }
body.warm .btn:hover { transform: translateY(-2px) scale(1.02); }
body.warm .chips li { border: 0; font-weight: 700; color: var(--navy); }
body.warm .chips li:nth-child(4n+1) { background: var(--accent-soft); }
body.warm .chips li:nth-child(4n+2) { background: var(--sky-soft); }
body.warm .chips li:nth-child(4n+3) { background: var(--sage-soft); }
body.warm .chips li:nth-child(4n+4) { background: var(--peach-soft); }
body.warm #need .chips li, body.warm #community .chips li { background: #fff; }
body.warm .tag { font-family: var(--sans); font-weight: 800; }

/* ---------- audience paths (preview only) ---------- */
body.warm .audience { background: #fff; padding-top: 110px; padding-bottom: 120px; }
body.warm .audience .center-head { margin-bottom: 40px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--navy); border-radius: 28px; padding: 30px 28px; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.path:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 18px 40px rgba(20, 35, 54, .12); }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 8px 0 0; line-height: 1.2; }
.path p { margin: 0; color: #4b5566; }
.path-go { margin-top: auto; padding-top: 10px; font-weight: 800; }
.path-family { background: var(--peach-soft); }
.path-partner { background: var(--sky-soft); }
.path-help { background: var(--sage-soft); }
.path-ic { width: 56px; height: 56px; border-radius: 18px; display: block; background-position: center; background-repeat: no-repeat; background-size: 30px; }
.path-family .path-ic { background-color: var(--peach); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.path-partner .path-ic { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3C/svg%3E"); }
.path-help .path-ic { background-color: var(--sage); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17l-6.1 3.4 1.5-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* ---------- stats & cards ---------- */
body.warm .stat-row { border-top: 0; gap: 14px; }
body.warm .stat, body.warm .stat + .stat { background: #fff; border: 0; border-radius: 22px; padding: 22px; }
body.warm .stat-label { color: #556070; }
@media (max-width: 480px) { body.warm .stat + .stat { border-top: 0; } }
body.warm .pull::before { width: 26px; height: 26px; background: var(--sparkle) center / contain no-repeat; }

/* care pods get friendly icons */
body.warm .pod { background: #fff; border: 0; border-radius: 26px; padding: 26px 26px 28px; }
body.warm .pod:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 16px 34px rgba(20, 35, 54, .1); }
body.warm .pod-n { display: block; width: 52px; height: 52px; border-radius: 17px; margin-bottom: 6px; font-size: 0; background-position: center; background-repeat: no-repeat; background-size: 28px; }
body.warm .pod:nth-child(1) .pod-n { background-color: var(--peach); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9h-6v-6H9v6H3z'/%3E%3C/svg%3E"); }
body.warm .pod:nth-child(2) .pod-n { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 8h11a3 3 0 1 0-3-3M3 12h15a3 3 0 1 1-3 3M3 16h8'/%3E%3C/svg%3E"); }
body.warm .pod:nth-child(3) .pod-n { background-color: #e88b8b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
body.warm .pod:nth-child(4) .pod-n { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17l-6.1 3.4 1.5-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E"); }
body.warm .pod:nth-child(5) .pod-n { background-color: #9a8fd1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
body.warm .pod:nth-child(6) .pod-n { background-color: var(--sage); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5M18 3v4h-4M20 12a8 8 0 0 1-14 5M6 21v-4h4'/%3E%3C/svg%3E"); }

body.warm .tab-list { border-bottom: 0; gap: 8px; }
body.warm .tab-list button { border: 0; border-radius: 999px; background: #fff; font-weight: 800; padding: 11px 20px; margin: 0; }
body.warm .tab-list button[aria-selected="true"] { background: var(--navy); color: #fff; }
body.warm .tab-panel img, body.warm .vision-img, body.warm .tour, body.warm .cottage-hero { border-radius: 30px; }

body.warm .update, body.warm .video, body.warm .card, body.warm .comment { border-radius: 24px; }
body.warm .update:hover { transform: translateY(-5px) rotate(-.3deg); }
body.warm .event { background: #fff; border: 0; border-radius: 24px; }
body.warm .event.past { background: rgba(255, 255, 255, .7); }
body.warm .event-date .d { color: var(--accent-text); }
body.warm .next-event { border-radius: 30px; }
body.warm .involve-card { border: 0; border-radius: 24px; }
body.warm .involve-card:nth-child(6n+1) { background: var(--peach-soft); }
body.warm .involve-card:nth-child(6n+2) { background: var(--sky-soft); }
body.warm .involve-card:nth-child(6n+3) { background: var(--accent-soft); }
body.warm .involve-card:nth-child(6n+4) { background: var(--sage-soft); }
body.warm .involve-card:nth-child(6n+5) { background: #f1edfb; }
body.warm .involve-card:nth-child(6n+6) { background: var(--peach-soft); }
body.warm .involve-card .ic { background: #fff; border-radius: 14px; }
body.warm .involve-card:hover { background: var(--navy); }
body.warm .newsletter { border-radius: 28px; }
body.warm .faq details { border: 0; border-radius: 18px; }
body.warm .faq summary::after { color: var(--accent-text); }
body.warm .g-item, body.warm .cottage-room { border-radius: 20px; }
body.warm input, body.warm select, body.warm textarea { border-radius: 14px; background: #fffdf8; }
body.warm .to-top { background: var(--accent); }
body.warm .roadmap li.done .rm-dot { background: var(--accent); border-color: var(--accent); }
body.warm .roadmap li.now .rm-dot { border-color: var(--accent); }
body.warm .rm-badge { background: var(--accent); }
body.warm .quote { border-radius: 24px; }
body.warm .quote blockquote::before { color: var(--accent); }
body.warm .announce { background: var(--accent); }

/* preview label */
.preview-pill { position: fixed; left: 16px; bottom: 16px; z-index: 45; background: var(--navy); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(20, 35, 54, .3); }
.preview-pill u { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  body.warm .hero::after, body.warm .section::after { animation: none !important; }
}

@media (max-width: 900px) {
  body.warm .hero::after {
    background: var(--sparkle) 88% 14% / 16px no-repeat, var(--sparkle-white) 72% 9% / 11px no-repeat, var(--sparkle) 95% 30% / 10px no-repeat;
  }
  body.warm #need::after, body.warm #community::after, body.warm #faq::after, body.warm #tour::after { width: 80px; height: 40px; top: 18px; right: 18px; left: auto; }
  .preview-pill { left: 50%; transform: translateX(-50%); bottom: 12px; font-size: 12px; padding: 8px 14px; white-space: nowrap; }
}

/* color switcher inside the preview label */
.preview-pill { display: flex; align-items: center; gap: 10px; }
.preview-pill a { color: #fff; }
.swatches { display: flex; gap: 6px; }
.swatches a { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); display: block; }
.swatches a.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

body.warm #team { background: #fff; }
body.warm .member-photo { border-radius: 28px; }
body.warm .member:nth-child(4n+1) .member-photo { background: var(--accent-soft); }

body.warm #careers { background: var(--accent-soft); }
body.warm #contact { background: #fff; }
body.warm .perks li, body.warm .job { border: 0; border-radius: 22px; }
body.warm .job { box-shadow: 0 1px 2px rgba(20, 35, 54, .05); }
body.warm .contact-card { border-radius: 24px; }
body.warm .contact-card:nth-child(1) { background: var(--peach-soft); }
body.warm .contact-card:nth-child(2) { background: var(--sky-soft); }
body.warm .contact-card:nth-child(3) { background: var(--sage-soft); }
body.warm .contact-card:nth-child(4) { background: var(--accent-soft); }
body.warm .cc-ic { border-radius: 16px; }
body.warm .cc-label, body.warm .job-dept { color: var(--accent-text); }
body.warm .map-wrap { border-radius: 28px; }

body.warm .page-hero-inner { padding-bottom: 104px; }
body.warm .page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--sparkle) 86% 26% / 18px no-repeat, var(--sparkle-white) 74% 18% / 11px no-repeat;
  opacity: .85;
}
@media (max-width: 900px) { body.warm .page-hero::after { background: var(--sparkle) 88% 22% / 14px no-repeat, var(--sparkle-white) 76% 14% / 10px no-repeat; } }
body.warm #home-news, body.warm #case-gap, body.warm #case-news { background: var(--cream); }
body.warm #case-states, body.warm #case-ask { background: #fff; }
body.warm .case-card, body.warm .ask, body.warm .case-callout { border-radius: 26px; }
body.warm .case-tag { color: var(--accent-text); }
