/* night-notes.css — henri's stylesheet, assembled over a few winters
   velvet red + old gold + lamplight cream. don't 'optimise' it again,
   last time someone did the tables went full-width on phones. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body.mtm{
    margin:0;
    font-family: Georgia,'Times New Roman',serif;
    background:#f4efe6;
    color:#2b2320;
    line-height:1.65;
}

.mtm-in{ max-width:1180px; margin:0 auto; padding:0 20px; }

/* header */
.mtm-top{
    background:#3d0d17;
    background:linear-gradient(140deg,#2a0810 0%,#4d1220 60%,#5c1a26 100%);
    color:#f0e4d0;
    padding:26px 0 20px;
    border-bottom:4px solid #b8934a;
}
.mtm-brand{ color:#f0e4d0; text-decoration:none; font-size:1.5rem; letter-spacing:.4px; display:flex; align-items:center; gap:12px; }
.mtm-brand b{ font-weight:700; }
.mtm-brand img{ display:block; }
.mtm-tag{ margin:8px 0 0; color:#cfa97a; font-size:.86rem; font-style:italic; }

/* nav — sticky enough, don't make it sticky, it jumps on old phones */
.mtm-nav{
    background:#1c1015;
    border-bottom:1px solid #46262f;
}
.mtm-nav .mtm-in{ display:flex; flex-wrap:wrap; padding:0 10px; }
.mtm-nav a{
    color:#d8c8b4; text-decoration:none; font-size:.9rem;
    padding:12px 14px; display:block;
}
.mtm-nav a:hover{ color:#fff; background:#3d1a24; }
.mtm-nav a.on{ color:#fff; background:#6b1f2e; }

/* layout */
.mtm-wrap{ display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:26px; padding:28px 20px 40px; }
@media (max-width:900px){ .mtm-wrap{ grid-template-columns:1fr; } }

.mtm-main{
    background:#fffdf8;
    padding:30px 34px 40px;
    border:1px solid #e3d9c6;
    box-shadow:0 1px 3px rgba(40,20,20,.08);
}

/* type */
.mtm-main h1{ font-size:2rem; line-height:1.2; margin:0 0 14px; color:#3d0d17; }
.mtm-main h2{ font-size:1.42rem; margin:34px 0 12px; color:#4d1220; border-bottom:2px solid #b8934a; padding-bottom:6px; }
.mtm-main h3{ font-size:1.12rem; margin:24px 0 8px; color:#5c1a26; }
.mtm-main p{ margin:0 0 15px; }
.mtm-main ul,.mtm-main ol{ margin:0 0 15px 22px; padding:0; }
.mtm-main li{ margin-bottom:6px; }
.mtm-main a{ color:#7c2533; }
.mtm-main a:hover{ color:#4d1220; }

.kicker{ font-size:.78rem; text-transform:uppercase; letter-spacing:1.6px; color:#b8934a; margin:0 0 10px; }
.lede{ font-size:1.08rem; color:#4a3a32; }
.byline{ font-size:.82rem; color:#9a8a76; margin:4px 0 24px; }

/* hero strip — used on home only */
.mtm-hero{ margin:-30px -34px 26px; background:#3d0d17; color:#f0e4d0; padding:40px 34px 34px; }
.mtm-hero h1{ color:#f5e8d2; }
.mtm-hero .lede{ color:#d9c3a5; }
.mtm-cta{ margin-top:18px; }
.mtm-cta a{
    display:inline-block; padding:11px 20px; margin-right:10px;
    text-decoration:none; font-size:.95rem; border:1px solid #b8934a;
}
.mtm-cta a.solid{ background:#b8934a; color:#2a0810; }
.mtm-cta a.ghost{ color:#d9c3a5; }
.mtm-cta a:hover{ background:#cfa97a; color:#2a0810; }

/* toc on home */
.toc{ background:#faf3e4; border:1px solid #e3d3b0; padding:14px 18px; margin:20px 0 26px; font-size:.9rem; }
.toc strong{ display:block; margin-bottom:6px; color:#4d1220; }
.toc a{ display:inline-block; margin-right:16px; color:#7c2533; }

/* figures */
.mtm-fig{ margin:22px 0; }
.mtm-fig img{ width:100%; height:auto; display:block; border:1px solid #d8cdbb; }
.mtm-fig figcaption{ font-size:.82rem; color:#8a7a66; font-style:italic; padding:8px 2px 0; }

/* sidebar cards */
.mtm-card{
    background:#fffdf8; border:1px solid #e3d9c6;
    padding:18px 20px; margin-bottom:18px;
    box-shadow:0 1px 2px rgba(40,20,20,.06);
}
.mtm-card h3{ margin:0 0 10px; font-size:1rem; color:#4d1220; }
.mtm-card p{ margin:0; font-size:.9rem; color:#54463c; }
.mtm-card--note{ background:#fbf3df; border-color:#d9bc86; }

/* tiers table */
table.mtm-tiers{ width:100%; border-collapse:collapse; font-size:.86rem; }
.mtm-tiers th{ text-align:left; color:#4d1220; border-bottom:2px solid #b8934a; padding:6px 4px; }
.mtm-tiers td{ border-bottom:1px solid #ede3d0; padding:8px 4px; vertical-align:top; }
.mtm-tiers td b{ font-size:.8rem; letter-spacing:.4px; color:#5c1a26; }

/* the big table on the formats page — same skin, wider cells */
table.mtm-price{ width:100%; border-collapse:collapse; margin:18px 0 24px; font-size:.95rem; }
.mtm-price th{ background:#3d0d17; color:#f0e4d0; text-align:left; padding:10px 12px; }
.mtm-price td{ border-bottom:1px solid #e5d9c4; padding:12px; vertical-align:top; }
.mtm-price tr:nth-child(even) td{ background:#faf5ea; }

/* faq */
dl.mtm-faq dt{ font-weight:700; color:#4d1220; margin:16px 0 4px; }
dl.mtm-faq dd{ margin:0 0 10px 18px; color:#41342c; }

/* footer */
.mtm-foot{ background:#1c1015; color:#b9a68e; padding:26px 0 30px; margin-top:0; }
.mtm-foot a{ color:#d8c8b4; }
.mtm-foot p{ margin:0 0 8px; font-size:.9rem; }
.mtm-legal a{ margin-right:8px; }
.mtm-tiny{ font-size:.78rem; color:#8f7f6e; }

/* little dated touches — henri never took them out */
.hr{ border:0; border-top:1px solid #e0d4bd; margin:30px 0; }
.note-inline{ font-size:.82rem; color:#9a7f5c; font-style:italic; }
