/* Microsite themes — shared scaffolding (applies to Atelier / Hearth / Studio).
   Font imports, reset, base variables, shared button & WhatsApp FAB. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=JetBrains+Mono:wght@400;500&family=Caveat:wght@400;500&display=swap');

:root { --wa: #25D366; }

body.ms-body { margin: 0; padding: 0; font-family: 'Inter', system-ui, sans-serif; color: #0e0e0d; -webkit-font-smoothing: antialiased; }

.ms { min-height: 100vh; position: relative; font-size: 14.5px; line-height: 1.5; color: var(--ink); background: var(--bg); }
.ms img, .ms svg, .ms video { max-width: 100%; height: auto; display: block; }
.ms *, .ms *::before, .ms *::after { box-sizing: border-box; }
.ms .offers .card, .ms .social .block, .ms .comm, .ms .faq details { display: block; width: 100%; }
.ms .offers .cover, .ms .hero .portrait, .ms .social .yt { width: 100%; }
.ms a { color: inherit; text-decoration: none; }
.ms .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 10px; font: 500 13px/1 Inter, sans-serif; cursor: pointer; border: 1px solid transparent; }
.ms .btn.primary { background: var(--accent); color: #fff; }
.ms .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.ms .btn.ink { background: var(--ink); color: var(--bg); }
.ms .btn-sm { padding: 8px 13px; font-size: 12px; border-radius: 8px; }

.wa-fab { position: fixed; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px 11px 13px; background: var(--wa); color: #fff; border-radius: 999px; font: 500 12.5px Inter, sans-serif; box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .5); border: 0; cursor: pointer; z-index: 60; text-decoration: none; }
.wa-fab .ic { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }

@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .5 } }

/* Journal strip on microsite home */
.ms .ms-journal {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px; margin: 16px 0 12px;
}
.ms .ms-journal .jcard {
    display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: var(--surface, transparent);
    transition: border-color .15s, transform .15s;
}
.ms .ms-journal .jcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.ms .ms-journal .jcard .cover {
    position: relative; aspect-ratio: 16/9;
    background: var(--surface-2, var(--line-2, rgba(0,0,0,.06)));
}
.ms .ms-journal .jcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.ms .ms-journal .jcard .body h3 { font-size: 16px; margin: 0; line-height: 1.3; }
.ms .ms-journal .jcard .body .d {
    color: var(--ink-2); font-size: 13.5px; margin: 0; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ms .ms-journal .jcard .specs {
    display: flex; gap: 10px; flex-wrap: wrap;
    color: var(--ink-3); font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em;
}
.ms .ms-journal-more { margin-top: 8px; }
.ms .ms-journal-more a {
    color: var(--accent); font-size: 13px; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em;
}
