/* ============================================================
   MENTAL TOUGHNESS — concept 18
   Theme: graphite (#1A1A1A) · steel grey (#3D3D3D) · ember (#D44A3C) ·
   forge orange (#E87530) · bone white (#F2EEE5)
   Pattern: every input → tailored toughness reading.
   ============================================================ */

.page-mental-toughness {
    --mt-bone:      #F2EEE5;
    --mt-bone-2:    #E4DECF;
    --mt-graphite:  #1A1A1A;
    --mt-steel:     #3D3D3D;
    --mt-steel-2:   #5A5A5A;
    --mt-ember:     #D44A3C;
    --mt-ember-d:   #A03228;
    --mt-orange:    #E87530;
    --mt-orange-d:  #B85820;
    --mt-ink:       #1A1A1A;
    --mt-mute:      #6E6E6E;

    --c-gold:    var(--mt-ember);
    --c-bg:      var(--mt-bone);
    --c-ink:     var(--mt-ink);
    --c-mute:    var(--mt-mute);
    --c-accent:  var(--mt-graphite);

    background: var(--mt-bone);
    color: var(--mt-ink);
}

[data-theme="dark"] .page-mental-toughness,
[data-theme="dark"].page-mental-toughness {
    --mt-bone:      #0C0C0C;
    --mt-bone-2:    #161616;
    --mt-ink:       #F2EEE5;
    --mt-mute:      #A8A8A8;
    --mt-graphite:  #E4DECF;
    --mt-steel:     #B0B0B0;
    --mt-steel-2:   #888888;
    --mt-ember:     #F26B5B;
    --mt-ember-d:   #C94E40;
    --mt-orange:    #F58D52;
    --mt-orange-d:  #D7702C;
    --c-bg:         #0C0C0C;
    --c-ink:        #F2EEE5;
    --c-mute:       #A8A8A8;
    background: #0C0C0C;
    color: #F2EEE5;
}

/* shared ---------------------------- */
.mt-section { padding: var(--s-10, 4rem) 0; position: relative; }
.mt-section-head { max-width: 820px; margin: 0 auto var(--s-7, 2.5rem); text-align: center; }
.mt-eyebrow {
    font-family: var(--f-mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mt-ember-d);
    margin-bottom: var(--s-3, 0.75rem);
}
.mt-h2 {
    font-family: var(--f-serif, serif);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    color: var(--mt-ink);
    margin-bottom: var(--s-4, 1rem);
    font-weight: 700;
}
.mt-h2 em { font-style: italic; color: var(--mt-ember-d); font-weight: 500; }
.mt-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mt-mute);
    max-width: 70ch;
    margin: 0 auto;
}
.mt-sub em { color: var(--mt-orange-d); font-style: italic; }
.mt-sub b  { color: var(--mt-ink); }

.mt-field { display: block; margin-bottom: var(--s-3, 0.75rem); }
.mt-field-label {
    display: block;
    font-size: 0.92rem;
    color: var(--mt-ink);
    font-weight: 600;
    margin-bottom: 4px;
}
.mt-input-text,
.mt-textarea,
.mt-field input[type=text],
.mt-field input[type=number],
.mt-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(61, 61, 61, 0.3);
    border-radius: 4px;
    background: var(--mt-bone-2);
    color: var(--mt-ink);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}
.mt-textarea { resize: vertical; line-height: 1.55; font-family: var(--f-serif, serif); font-size: 1.05rem; }
.mt-input-text:focus,
.mt-textarea:focus,
.mt-field select:focus { outline: none; border-color: var(--mt-ember); }
[data-theme="dark"] .mt-input-text,
[data-theme="dark"] .mt-textarea,
[data-theme="dark"] .mt-field input,
[data-theme="dark"] .mt-field select { background: #060606; color: #F2EEE5; }
.mt-q { font-weight: 700; color: var(--mt-ink); margin: var(--s-4, 1rem) 0 var(--s-2, 0.5rem); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }

.mt-form { max-width: 720px; margin: 0 auto; }
.mt-form .calc-btn { margin-top: var(--s-3, 0.75rem); }

.mt-range-row { display: flex; align-items: center; gap: var(--s-3, 0.75rem); }
.mt-slider { flex: 1; accent-color: var(--mt-ember); }
.mt-range-out {
    font-family: var(--f-mono, monospace);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--mt-ember-d);
    min-width: 3.5ch;
    text-align: right;
}

.mt-result {
    max-width: 740px;
    margin: var(--s-6, 2rem) auto 0;
    padding: var(--s-5, 1.5rem) var(--s-6, 2rem);
    background: var(--mt-bone-2);
    border-left: 3px solid var(--mt-ember);
    border-radius: 4px;
}
[data-theme="dark"] .mt-result { background: #111111; }
.mt-result-tag {
    font-family: var(--f-mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mt-ember-d);
    margin-bottom: var(--s-3, 0.75rem);
}
.mt-result-body { font-family: var(--f-serif, serif); font-size: 1.05rem; line-height: 1.7; color: var(--mt-ink); }
.mt-result-body p { margin-bottom: var(--s-3, 0.75rem); }
.mt-result-body p:last-child { margin-bottom: 0; }
.mt-result-body b { color: var(--mt-graphite); font-weight: 700; }
.mt-result-body em { color: var(--mt-orange-d); font-style: italic; }
[data-theme="dark"] .mt-result-body b { color: var(--mt-bone); }
[data-theme="dark"] .mt-result-body em { color: var(--mt-orange); }
.mt-result-body ul.mt-protocol { padding-left: 1.2rem; }
.mt-result-body ul.mt-protocol > li { margin-bottom: var(--s-3, 0.75rem); }
.mt-result-body ul.mt-protocol ul { padding-left: 1.2rem; margin-top: 0.25rem; }
.mt-result-body ul.mt-protocol ul li { font-size: 0.98rem; margin-bottom: 0.15rem; }
.mt-result-body blockquote.mt-mirror {
    background: var(--mt-graphite);
    color: var(--mt-bone);
    padding: var(--s-5, 1.5rem) var(--s-6, 2rem);
    border-left: 3px solid var(--mt-ember);
    border-radius: 4px;
    margin: 0 0 var(--s-3, 0.75rem);
    font-family: var(--f-serif, serif);
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
}
.mt-result-body blockquote.mt-mirror b {
    color: var(--mt-ember);
    font-style: normal;
    font-weight: 700;
}

/* ====== 1. HERO ====== */
.mt-hero {
    position: relative;
    overflow: hidden;
    background: #050505;
    color: #F2EEE5; /* hero is always dark — pin text light */
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 11vw, 8rem);
    isolation: isolate;
    min-height: 560px;
}
.mt-hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mt-forge-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* gentle ember pulse */
.mt-ember-bed {
    transform-origin: 600px 600px;
    animation: mtEmberPulse 5.5s ease-in-out infinite;
}
@keyframes mtEmberPulse {
    0%, 100% { opacity: 1;    transform: scale(1); }
    50%      { opacity: 0.78; transform: scale(1.04); }
}
/* sparks drift up */
.mt-sparks circle {
    animation: mtSparkRise 6s linear infinite;
    transform-box: fill-box;
    transform-origin: center;
}
.mt-sparks circle:nth-child(3n)   { animation-duration: 7.2s; animation-delay: -1.2s; }
.mt-sparks circle:nth-child(3n+1) { animation-duration: 8.4s; animation-delay: -3.0s; }
.mt-sparks circle:nth-child(3n+2) { animation-duration: 5.6s; animation-delay: -2.1s; }
@keyframes mtSparkRise {
    0%   { transform: translateY(0)     scale(1);   opacity: 0; }
    15%  {                               opacity: 1; }
    85%  {                               opacity: 1; }
    100% { transform: translateY(-180px) scale(0.4); opacity: 0; }
}

/* the 鉄 stamp — sits on the right, behind the content margin */
.mt-script {
    position: absolute;
    top: 50%;
    right: -2vw;
    transform: translateY(-46%);
    font-family: serif;
    font-size: clamp(10rem, 28vw, 24rem);
    color: rgba(212, 74, 60, 0.07);
    pointer-events: none;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-shadow: 0 0 60px rgba(255, 107, 61, 0.15);
}
@media (max-width: 800px) {
    .mt-script { right: -8vw; font-size: 16rem; opacity: 0.6; }
}

.mt-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.mt-hero .mt-eyebrow { color: var(--mt-orange); }
.mt-hero-title {
    font-family: var(--f-serif, serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.08;
    color: #F2EEE5;
    margin-bottom: var(--s-5, 1.5rem);
    font-weight: 700;
}
.mt-hero-title .mt-hero-line-1 { display: block; }
.mt-hero-title em {
    display: block;
    font-style: italic;
    color: var(--mt-ember);
    font-weight: 500;
}
.mt-hero-title .mt-hero-line-3 { display: block; color: var(--mt-orange); font-style: italic; }
.mt-hero-sub,
.mt-hero-promise {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(242, 238, 229, 0.92);
    max-width: 68ch;
    margin-bottom: var(--s-4, 1rem);
}
.mt-hero-sub em,
.mt-hero-promise em { color: var(--mt-orange); font-style: italic; }
.mt-hero-sub b,
.mt-hero-promise b { color: #FFFFFF; font-weight: 700; }
.mt-hero-cta { display: flex; gap: var(--s-3, 0.75rem); flex-wrap: wrap; margin-top: var(--s-5, 1.5rem); }

/* Override global .btn colors so CTAs are readable on the dark hero.
   Pin to hardcoded light values — hero is always dark, regardless of theme. */
.mt-hero .btn-primary {
    background: #D44A3C;
    color: #FFFFFF;
    border-color: #D44A3C;
}
.mt-hero .btn-primary:hover {
    background: #E87530;
    color: #FFFFFF;
    box-shadow: 0 8px 24px -8px rgba(232, 117, 48, 0.55);
}
.mt-hero .btn-ghost {
    background: transparent;
    color: #F2EEE5;
    border-color: rgba(242, 238, 229, 0.35);
}
.mt-hero .btn-ghost:hover {
    color: #F26B5B;
    border-color: #F26B5B;
    background: rgba(212, 74, 60, 0.08);
}

/* ====== 2. 40 / 5. INNER VOICE / 6. FEAR ====== */
.mt-forty { background: var(--mt-bone); }
.mt-voice { background: var(--mt-bone-2); }
.mt-fear { background: var(--mt-bone); }
[data-theme="dark"] .mt-forty { background: #0C0C0C; }
[data-theme="dark"] .mt-voice { background: #161616; }
[data-theme="dark"] .mt-fear { background: #0C0C0C; }

/* ====== 3. THREE MOUNTAINS ====== */
.mt-mountains { background: linear-gradient(180deg, var(--mt-bone) 0%, var(--mt-bone-2) 100%); }
[data-theme="dark"] .mt-mountains { background: linear-gradient(180deg, #0C0C0C 0%, #161616 100%); }
.mt-mountain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s-3, 0.75rem);
    margin-bottom: var(--s-3, 0.75rem);
}
.mt-mountain-opt {
    display: flex;
    gap: var(--s-3, 0.75rem);
    padding: var(--s-4, 1rem) var(--s-4, 1rem);
    border: 1px solid rgba(61, 61, 61, 0.3);
    border-radius: 6px;
    background: var(--mt-bone-2);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
[data-theme="dark"] .mt-mountain-opt { background: #111111; }
.mt-mountain-opt input { position: absolute; opacity: 0; }
.mt-mountain-mark {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--mt-steel);
    flex: none;
    margin-top: 4px;
    position: relative;
}
.mt-mountain-opt input:checked ~ .mt-mountain-mark::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--mt-ember);
}
.mt-mountain-opt:has(input:checked) {
    border-color: var(--mt-ember);
    background: rgba(212, 74, 60, 0.08);
}
.mt-mountain-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mt-mountain-num {
    font-family: var(--f-mono, monospace);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mt-orange-d);
}
.mt-mountain-name { font-weight: 700; color: var(--mt-ink); font-size: 1.1rem; }
.mt-mountain-meaning { font-size: 0.88rem; color: var(--mt-mute); line-height: 1.4; }

/* ====== 4. DISCOMFORT DIET ====== */
.mt-discomfort { background: var(--mt-bone-2); }
[data-theme="dark"] .mt-discomfort { background: #161616; }
.mt-discomfort-form { max-width: 820px; }
.mt-disc-group {
    border: none;
    padding: var(--s-4, 1rem) var(--s-5, 1.5rem);
    margin: 0 0 var(--s-4, 1rem);
    background: var(--mt-bone);
    border-radius: 6px;
    border-left: 3px solid var(--mt-orange);
}
[data-theme="dark"] .mt-disc-group { background: #0C0C0C; }
.mt-disc-group legend {
    font-family: var(--f-mono, monospace);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mt-ember-d);
    font-weight: 700;
    padding: 0 var(--s-2, 0.5rem) var(--s-3, 0.75rem);
}
.mt-disc-row {
    display: flex;
    gap: var(--s-3, 0.75rem);
    padding: 0.4rem 0;
    cursor: pointer;
    align-items: baseline;
}
.mt-disc-row input { position: absolute; opacity: 0; }
.mt-disc-mark {
    width: 16px; height: 16px;
    border: 1.5px solid var(--mt-steel);
    border-radius: 3px;
    flex: none;
    margin-top: 4px;
    position: relative;
    background: var(--mt-bone);
}
[data-theme="dark"] .mt-disc-mark { background: #060606; }
.mt-disc-row input:checked ~ .mt-disc-mark::after {
    content: '✓';
    position: absolute;
    inset: 0;
    color: var(--mt-ember);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.mt-disc-row:has(input:checked) .mt-disc-mark {
    border-color: var(--mt-ember);
    background: rgba(212, 74, 60, 0.1);
}
.mt-disc-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mt-disc-text { color: var(--mt-ink); font-size: 0.98rem; line-height: 1.5; }
.mt-disc-dose { color: var(--mt-mute); font-size: 0.84rem; font-style: italic; }

/* ====== 7. BOX BREATHING ====== */
.mt-breath { background: var(--mt-bone); }
[data-theme="dark"] .mt-breath { background: #0C0C0C; }
.mt-breath-stage { max-width: 820px; margin: 0 auto; }
.mt-ctx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--s-2, 0.5rem);
    margin-bottom: var(--s-3, 0.75rem);
}
.mt-ctx-opt {
    display: flex;
    gap: var(--s-3, 0.75rem);
    padding: var(--s-3, 0.75rem) var(--s-4, 1rem);
    border: 1px solid rgba(61, 61, 61, 0.3);
    border-radius: 6px;
    background: var(--mt-bone-2);
    cursor: pointer;
}
[data-theme="dark"] .mt-ctx-opt { background: #111111; }
.mt-ctx-opt input { position: absolute; opacity: 0; }
.mt-ctx-mark {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid var(--mt-steel);
    flex: none;
    margin-top: 4px;
    position: relative;
}
.mt-ctx-opt input:checked ~ .mt-ctx-mark::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--mt-ember);
}
.mt-ctx-opt:has(input:checked) {
    border-color: var(--mt-ember);
    background: rgba(212, 74, 60, 0.08);
}
.mt-ctx-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mt-ctx-name { font-weight: 700; color: var(--mt-ink); font-size: 1rem; }
.mt-ctx-meaning { font-size: 0.86rem; color: var(--mt-mute); line-height: 1.4; }

.mt-dur-row { display: flex; gap: var(--s-2, 0.5rem); flex-wrap: wrap; }
.mt-dur-opt { position: relative; cursor: pointer; }
.mt-dur-opt input { position: absolute; opacity: 0; }
.mt-dur-opt span {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(61, 61, 61, 0.3);
    border-radius: 4px;
    background: var(--mt-bone-2);
    font-size: 0.95rem;
    color: var(--mt-ink);
}
[data-theme="dark"] .mt-dur-opt span { background: #111111; }
.mt-dur-opt input:checked + span {
    border-color: var(--mt-ember);
    background: rgba(212, 74, 60, 0.12);
    color: var(--mt-ember-d);
    font-weight: 700;
}

.mt-breath-timer {
    max-width: 500px;
    margin: var(--s-7, 2.5rem) auto;
    padding: var(--s-7, 2.5rem) var(--s-6, 2rem);
    background: var(--mt-graphite);
    color: var(--mt-bone);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 20px 60px -20px rgba(212, 74, 60, 0.4);
    border: 1px solid var(--mt-ember-d);
}
.mt-timer-cue {
    font-family: var(--f-mono, monospace);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--mt-ember);
    margin-bottom: var(--s-3, 0.75rem);
    transition: opacity 0.3s;
}
.mt-timer-count {
    font-family: var(--f-mono, monospace);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    color: var(--mt-orange);
    line-height: 1;
    margin-bottom: var(--s-3, 0.75rem);
}
.mt-timer-display {
    font-family: var(--f-mono, monospace);
    font-size: 1.2rem;
    color: rgba(242, 238, 229, 0.7);
    margin-bottom: var(--s-4, 1rem);
}

/* ====== 8. MENTAL REPS ====== */
.mt-reps { background: var(--mt-bone-2); }
[data-theme="dark"] .mt-reps { background: #161616; }

/* ====== 9. ACCOUNTABILITY MIRROR ====== */
.mt-mirror { background: var(--mt-bone); }
[data-theme="dark"] .mt-mirror { background: #0C0C0C; }

/* ====== 10. COOKIE JAR ====== */
.mt-jar { background: linear-gradient(180deg, var(--mt-bone-2) 0%, var(--mt-bone) 100%); }
[data-theme="dark"] .mt-jar { background: linear-gradient(180deg, #161616 0%, #0C0C0C 100%); }
.mt-jar-stage {
    max-width: 760px;
    margin: var(--s-6, 2rem) auto 0;
    padding: var(--s-5, 1.5rem) var(--s-6, 2rem);
    background: var(--mt-bone-2);
    border-radius: 6px;
    border: 1px solid var(--mt-orange);
}
[data-theme="dark"] .mt-jar-stage { background: #111111; }
.mt-jar-count {
    font-family: var(--f-mono, monospace);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--mt-orange-d);
    margin-bottom: var(--s-4, 1rem);
    font-weight: 700;
}
.mt-jar-count span { color: var(--mt-ember); font-size: 1.3rem; }
.mt-jar-list { list-style: none; padding: 0; margin: 0; }
.mt-jar-list li {
    padding: 0.6rem 0;
    border-top: 1px dotted rgba(61, 61, 61, 0.2);
    display: flex;
    gap: var(--s-3, 0.75rem);
    flex-wrap: wrap;
    align-items: baseline;
}
.mt-jar-list li:first-child { border-top: none; }
.mt-jar-victory {
    flex: 1;
    color: var(--mt-ink);
    font-family: var(--f-serif, serif);
    font-size: 1.02rem;
    line-height: 1.5;
}
.mt-jar-victory::before { content: '🍪 '; opacity: 0.7; }
.mt-jar-when {
    font-family: var(--f-mono, monospace);
    color: var(--mt-mute);
    font-size: 0.84rem;
    font-style: italic;
}
.mt-jar-hint { font-style: italic; color: var(--mt-mute); margin-top: var(--s-3, 0.75rem); }

/* ====== 11. SUCK INDEX ====== */
.mt-suck { background: var(--mt-bone); }
[data-theme="dark"] .mt-suck { background: #0C0C0C; }

/* ====== 12. DAILY FORGE ====== */
.mt-forge { background: var(--mt-bone-2); }
[data-theme="dark"] .mt-forge { background: #161616; }
.mt-forge-stage {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s-6, 2rem);
    align-items: start;
}
@media (max-width: 600px) {
    .mt-forge-stage { grid-template-columns: 1fr; text-align: center; }
}
.mt-forge-stat {
    padding: var(--s-5, 1.5rem) var(--s-6, 2rem);
    background: var(--mt-graphite);
    color: var(--mt-bone);
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--mt-ember-d);
}
.mt-forge-num {
    font-family: var(--f-serif, serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--mt-ember);
    line-height: 1;
    margin-bottom: var(--s-2, 0.5rem);
}
.mt-forge-label {
    font-family: var(--f-mono, monospace);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mt-orange);
}
.mt-forge-form { margin: 0; flex: 1; }

.mt-recent {
    max-width: 760px;
    margin: var(--s-7, 2.5rem) auto 0;
    padding: var(--s-4, 1rem) var(--s-5, 1.5rem);
    background: var(--mt-bone);
    border-radius: 4px;
}
[data-theme="dark"] .mt-recent { background: #0C0C0C; }
.mt-recent-h {
    font-family: var(--f-mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mt-orange-d);
    margin-bottom: var(--s-2, 0.5rem);
}
.mt-recent-list { list-style: none; padding: 0; margin: 0; }
.mt-recent-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dotted rgba(61, 61, 61, 0.15);
    display: flex;
    gap: var(--s-3, 0.75rem);
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 0.94rem;
}
.mt-recent-list li:last-child { border-bottom: none; }
.mt-recent-date { font-family: var(--f-mono, monospace); color: var(--mt-orange-d); font-size: 0.84rem; min-width: 48px; }
.mt-recent-what { color: var(--mt-ink); flex: 1; }

/* ====== 13. QUOTES ====== */
.mt-quotes { background: var(--mt-bone); }
.mt-quote-card {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--s-7, 2.5rem) var(--s-6, 2rem);
    background: var(--mt-graphite);
    color: var(--mt-bone);
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--mt-ember-d);
}
.mt-quote-text {
    font-family: var(--f-serif, serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.55;
    color: var(--mt-bone);
    margin-bottom: var(--s-4, 1rem);
}
.mt-quote-meta { color: rgba(242, 238, 229, 0.65); font-size: 0.95rem; margin-bottom: var(--s-4, 1rem); }
.mt-quote-author { font-weight: 700; color: var(--mt-ember); }
.mt-quote-source { font-style: italic; }
.mt-quote-actions { display: flex; gap: var(--s-3, 0.75rem); justify-content: center; flex-wrap: wrap; }
.mt-quote-actions .btn-ghost { color: var(--mt-bone); border-color: rgba(242, 238, 229, 0.3); }
.mt-quote-actions .btn-ghost:hover { border-color: var(--mt-ember); color: var(--mt-ember); }
.mt-quote-actions button[aria-pressed="true"] { color: var(--mt-ember); font-weight: 700; }

/* fade-in animations ---------------------------- */
.fade-up { opacity: 0; transform: translateY(12px); animation: mtFadeUp 0.6s 0.05s forwards; }
.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }
.fade-up.delay-4 { animation-delay: 0.6s; }
@keyframes mtFadeUp { to { opacity: 1; transform: translateY(0); } }
