/* =========================================================
   DMZ pages on jome.gg (jome.gg/dmz and jome.gg/dmz/routes/<name>)
   Colors, fonts and shapes come from /shared/jome-theme.css; this adds the DMZ page layout.
   ========================================================= */
:root {
  --soft: 0 14px 28px -6px rgba(10,36,102,.28), 0 4px 10px rgba(10,36,102,.10);
  --shadow-sm: 3px 3px 0 var(--navy), 4px 7px 12px -4px rgba(10,36,102,.22);
  --lift-sm: 3px 3px 0 var(--navy), 8px 18px 28px -6px rgba(10,36,102,.34);
  --always: #FF4F6D; --sometimes: #FFC23D;
}
body.jt {
  min-height: 100vh; overflow-x: hidden; margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(10,36,102,.07) 1.5px, transparent 0) 0 0/22px 22px,
    linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 380px);
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 22px 18px 56px; }
a { color: inherit; }

/* Top bar: back link + socials */
.topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.socials { margin-left: auto; display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--white);
  border: var(--line) solid var(--navy); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.socials a:hover { transform: translateY(-3px); box-shadow: var(--lift-sm); }
.socials svg { width: 18px; height: 18px; fill: var(--navy); }

/* Hub hero */
.hero { display: flex; align-items: center; gap: 20px; margin: 18px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--sky);
  border: 4px solid var(--navy); box-shadow: 0 0 0 4px var(--white), var(--soft); }
.eyebrow { font: 900 13px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.jt .hero h1 { font-size: clamp(44px, 8vw, 72px); line-height: .95; margin: 4px 0 6px; }
.lede { margin: 0; color: var(--muted); font-weight: 800; font-size: 17px; line-height: 1.45; max-width: 640px; }
@media (max-width: 560px) { .hero { flex-direction: column; align-items: flex-start; gap: 14px; } .hero img { width: 76px; height: 76px; } }

.section-head { display: flex; align-items: baseline; gap: 12px; margin: 38px 0 14px; flex-wrap: wrap; }
.jt .section-head h2 { font-size: 30px; margin: 0; }
.section-head span { color: var(--muted); font-weight: 800; font-size: 14px; }

/* Route cards */
.routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.rcard { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius);
  border: var(--line) solid var(--navy); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--lift-sm); }
.rcard .thumb { aspect-ratio: 4 / 3; background: #1d2a30; border-bottom: var(--line) solid var(--navy); overflow: hidden; }
.rcard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard .txt { padding: 12px 16px 16px; }
.rcard .name { font: 400 22px/1.1 var(--font-display); letter-spacing: .3px; }
.rcard .meta { color: var(--muted); font-weight: 800; font-size: 13px; margin-top: 5px; }
.rcard .new { display: inline-block; margin-left: 6px; vertical-align: 3px; font: 900 11px var(--font-body); letter-spacing: .06em;
  color: var(--white); background: var(--always); border-radius: 999px; padding: 2px 8px; }

.empty { background: var(--white); border: var(--line) dashed var(--navy); border-radius: var(--radius); padding: 26px; text-align: center;
  font-weight: 800; color: var(--muted); }
.empty b { display: block; font: 400 22px var(--font-display); color: var(--navy); margin-bottom: 4px; }

.soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.soon div { border: var(--line) dashed rgba(10,36,102,.45); border-radius: var(--radius); padding: 16px 18px; background: rgba(255,255,255,.55); }
.soon b { font: 400 20px var(--font-display); }
.soon p { margin: 4px 0 0; color: var(--muted); font-weight: 800; font-size: 14px; }
.chip { display: inline-block; font: 900 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
  background: var(--sky); border-radius: 999px; padding: 3px 9px; margin-left: 6px; vertical-align: 3px; }

/* Route page */
.rhead { margin: 26px 0 18px; }
.jt .rhead h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1; margin: 4px 0 8px; }
.rhead .sub { margin: 0; color: var(--muted); font-weight: 800; font-size: 17px; }
.rhead .meta { margin: 8px 0 0; color: var(--muted); font-weight: 800; font-size: 14px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.actions .jt-btn { text-decoration: none; }
.layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.layout.landscape { grid-template-columns: 1fr; }
.shot { position: sticky; top: 84px; display: block; border-radius: 16px; overflow: hidden; background: var(--white);
  border: var(--line) solid var(--navy); box-shadow: var(--shadow-sm); }
.layout.landscape .shot { position: static; }
.shot img { display: block; width: 100%; height: auto; }
.shot .zoom { position: absolute; right: 10px; bottom: 10px; font: 900 12px var(--font-body); color: var(--navy); background: var(--white);
  border: 2px solid var(--navy); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } .shot { position: static; } }

.legend { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 800; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--navy); margin-right: 6px; vertical-align: -1px; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.layout.landscape .notes { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.note { display: flex; gap: 14px; background: var(--white); border: 2px solid rgba(10,36,102,.14); border-left: 8px solid var(--always);
  border-radius: 14px; padding: 12px 14px; }
.note.sometimes { border-left-color: var(--sometimes); }
.note .n { font: 400 24px/1 var(--font-display); min-width: 34px; color: var(--navy); }
.note b { display: block; font: 900 15px var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.note p { margin: 3px 0 0; color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1.45; }
.note .tag { display: inline-block; margin-top: 6px; font: 900 11px var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  border-radius: 999px; padding: 2px 8px; background: #FFF4D6; color: #8A5A00; }

.notfound { margin-top: 40px; }
.foot { margin-top: 48px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 800; }
.foot a { text-decoration: none; }
.foot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px; border: 3px solid var(--navy); }

/* Toast (Share → "Link copied!"): hidden until shown */
.jt-toast:not(.show) { visibility: hidden; transition: transform .25s, visibility 0s .25s; }

#routes { scroll-margin-top: 16px; }
.tab-intro { margin: -6px 0 18px; color: var(--muted); font-weight: 800; font-size: 15px; line-height: 1.45; max-width: 680px; }
#routes .section-head { margin-top: 22px; }
.rhead { margin-top: 14px; }
