/* Mthenga story: a delivery-day page. Plum and orange accent, a reading column, the how-to drawn as one route line
   with numbered stops, facts as a short ledger, phone pictures in a pair. Chromium 67 safe (no flex gap, clamp, inset
   or aspect-ratio). Written 2026-11-26. */
@font-face { font-family: 'MTG UI'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'MTG Display'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); }
body.page-mthenga {
  --accent: #FF8A4A; --accent-ink: #2A1000; --accent-soft: rgba(255, 138, 74, .13);
  --plum: #C9A0D2; --plum-soft: rgba(201, 160, 210, .10);
  --head: 'MTG Display', 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'MTG UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Frame */
.page-mthenga main .wrap { max-width: 820px; }
.page-mthenga main > .wrap:first-child { padding-top: 40px; }
.page-mthenga .crumb { margin: 0 0 28px; font-size: 14px; }
.page-mthenga .crumb a { color: var(--muted); text-decoration: none; }
.page-mthenga .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-mthenga .crumb a:hover { color: var(--accent); }
.page-mthenga .story-app { margin-bottom: 36px; }
.page-mthenga main strong { color: var(--text); font-weight: 600; }
.mtg-a, .page-mthenga .mtg-end a:not(.btn) { color: var(--text); text-decoration: underline; -webkit-text-decoration-color: var(--accent); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.mtg-a:hover, .page-mthenga .mtg-end a:not(.btn):hover { color: var(--accent); }

/* Title block: a short route line runs under it */
.mtg-hero { padding: 0 0 36px; position: relative; }
.mtg-hero:after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--hair-2); }
.mtg-hero:before { content: ""; position: absolute; left: 0; bottom: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); z-index: 1; }
.mtg-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.mtg-hero h1 { margin: 0 0 18px; font-size: 32px; line-height: 1.15; }
.mtg-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Sections */
.mtg-sec { padding-top: 40px; }

.mtg-sec > .wrap:after { content: ""; display: table; clear: both; }
.mtg-h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; }
.mtg-p { margin: 0 0 18px; color: var(--text-2); }

/* The how-to as one route line with numbered stops */
.mtg-route { list-style: none; margin: 8px 0 28px; padding: 0; counter-reset: mtgstop; position: relative; }
.mtg-route:before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--hair-2); }
.mtg-route li { counter-increment: mtgstop; position: relative; margin: 0 0 20px; padding: 2px 0 0 56px; color: var(--text-2); }
.mtg-route li:last-child { margin-bottom: 0; }
.mtg-route li:before { content: counter(mtgstop); position: absolute; left: 0; top: 0; width: 33px; height: 33px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 15px/33px var(--head); text-align: center; }

/* Short ledger of facts */
.mtg-ledger { list-style: none; margin: 6px 0 24px; padding: 0; }
.mtg-ledger li { position: relative; margin: 0 0 12px; padding: 12px 16px 12px 40px; background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; color: var(--text-2); }
.mtg-ledger li:before { content: ""; position: absolute; left: 16px; top: 20px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--accent); box-sizing: border-box; }

/* A small table of the five cities */
.mtg-cities { margin: 6px 0 24px; padding: 0; list-style: none; overflow: hidden; }
.mtg-cities li { float: left; margin: 0 10px 10px 0; padding: 7px 16px; border: 1px solid var(--plum); border-radius: 999px; background: var(--plum-soft); color: var(--text); font-size: 15px; }
.mtg-cities:after { content: ""; display: table; clear: both; }

/* Phone pictures */
.mtg-shot { margin: 28px auto 32px; max-width: 280px; text-align: center; }
.mtg-pair { margin: 28px 0 32px; }
.mtg-pair:after { content: ""; display: table; clear: both; }
.mtg-pair .mtg-shot { margin: 0 auto 28px; }
.mtg-pic { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--hair-2); }
.mtg-cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Limits and the close */
.mtg-limits { margin-top: 40px; padding: 26px 24px 12px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; }
.mtg-limits .mtg-h2 { font-size: 22px; }
.mtg-limits .mtg-ledger li { background: transparent; border-color: var(--hair-2); }
.mtg-end { margin: 40px 0 48px; }
.mtg-end .btn { margin: 0 18px 12px 0; vertical-align: middle; }
.page-mthenga .mtg-end a:not(.btn) { display: inline-block; margin-bottom: 12px; vertical-align: middle; }

@media (min-width: 760px) {
  .mtg-pair .mtg-shot { float: left; width: 280px; max-width: none; margin: 0 40px 0 0; text-align: left; }
  .mtg-pair .mtg-shot + .mtg-shot { margin-right: 0; }
  .mtg-solo + .mtg-ledger { overflow: hidden; }
  .mtg-shot.mtg-solo { float: right; width: 280px; max-width: none; margin: 6px 0 24px 36px; text-align: left; }
}
@media (min-width: 900px) {
  .page-mthenga main > .wrap:first-child { padding-top: 64px; }
  .mtg-hero h1 { font-size: 44px; }
  .mtg-lead { font-size: 20px; }
  .mtg-sec { padding-top: 56px; }
  .mtg-h2 { font-size: 28px; }
  .mtg-limits .mtg-h2 { font-size: 24px; }
}
