/* --------------------------------------------------
   JYMM — Ceremonial Intelligence Wing
   Museum‑grade minimalism, quiet rhythm, no clutter
-------------------------------------------------- */

/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #ffffff;
    color: #111;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    height: 100%;
}

/* Shell */
.jymm-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* --------------------------------------------------
   Header / Temple Lintel
-------------------------------------------------- */

.jymm-header {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.jymm-mark {
    display: flex;
    align-items: center;
    gap: 18px;
}

.jymm-logo {
    width: 70px;
    height: auto;
    opacity: 0.92;
}

.jymm-title-block {
    display: flex;
    flex-direction: column;
}

.jymm-title {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.jymm-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------
   Search Panel
-------------------------------------------------- */

.jymm-search-panel {
    background: #f8f8f5;
    border: 1px solid #e5e5e0;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.jymm-search-label {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    display: block;
}

.jymm-search-row {
    display: flex;
    gap: 10px;
}

.jymm-search-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fafafa;
}

.jymm-search-input:focus {
    outline: none;
    border-color: #999;
    background: #fff;
}

.jymm-search-button {
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.jymm-search-button:hover {
    background: #333;
}

/* --------------------------------------------------
   Results
-------------------------------------------------- */

.jymm-results {
    margin-top: 28px;
}

/* Placeholder for future result card styling */
.jymm-card {
    background: #fff;
    border: 1px solid #e5e5e0;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 18px;
}

/* --------------------------------------------------
   Footer Badge
-------------------------------------------------- */

.jymm-footer {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid #e0e0dc;
    text-align: center;
}

.jymm-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.jymm-footer-icon {
    width: 26px;
    opacity: 0.85;
}

.jymm-footer-text {
    font-size: 0.9rem;
    color: #444;
    letter-spacing: 0.3px;
}

.jymm-footer-line {
    font-size: 0.8rem;
    color: #777;
    letter-spacing: 0.2px;
}

/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 600px) {
    .jymm-shell {
        padding: 30px 16px 60px;
    }

    .jymm-logo {
        width: 58px;
    }

    .jymm-search-row {
        flex-direction: column;
    }

    .jymm-search-button {
        width: 100%;
    }
}
/* --------------------------------------------------
   JYMM RESULT CARDS — Ceremonial Visual Intelligence
   Quiet river tones, gold accents, museum clarity
-------------------------------------------------- */

.jymm-card {
    background: #ffffff;
    border: 1px solid #e6e2d8;
    border-left: 4px solid #c7a96b; /* subtle gold compass accent */
    padding: 22px 24px;
    border-radius: 6px;
    margin-bottom: 22px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    animation: jymmFade 0.35s ease-out;
}

.jymm-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2a2a2a;
    letter-spacing: 0.3px;
}

.jymm-card p {
    font-size: 0.98rem;
    color: #444;
    line-height: 1.55;
    margin-bottom: 6px;
}

/* Ripple‑calm fade-in animation */
@keyframes jymmFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect — subtle, ceremonial */
.jymm-card:hover {
    border-left-color: #d8b878; /* slightly brighter gold */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.2s ease;
}
.return-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
}

.return-link:hover {
    text-decoration: underline;
}

