/* Jung Fortis — shared shell for the pages served under fortisdigital.dev/jung/.
   Shell (nav, footer, type, colour, spacing) defined once here; the markup is
   copied per page and differs only in which nav item is marked current. */
:root {
  --cream: #F4F0E6;
  --ink: #0A0A0A;
  --acid: #C6FF00;
  --muted: #5b5b52;
  --border: 3px solid #0A0A0A;
  --shadow: 4px 4px 0 #0A0A0A;
  --shadow-acid: 4px 4px 0 #C6FF00;
  --font-head: 'Archivo Black', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body); background: var(--cream); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.045) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none; z-index: 0;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ── Shell: nav ── */
nav { position: sticky; top: 0; background: var(--cream); border-bottom: 3px solid var(--ink); z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1100px; margin: 0 auto; padding: 16px 28px; flex-wrap: wrap; }
.logo { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-icon { width: 34px; height: 34px; background: var(--ink); color: var(--acid); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1rem; box-shadow: 3px 3px 0 var(--acid); }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-links a[aria-current="page"] { background: var(--acid); border: 2px solid var(--ink); padding: 3px 9px; box-shadow: 2px 2px 0 var(--ink); }

/* ── Shell: footer ── */
footer { background: var(--ink); color: var(--cream); padding: 52px 0 38px; margin-top: 80px; position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-logo { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; color: var(--cream); }
.footer-logo .acid { color: var(--acid); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a, .footer-bottom a { color: var(--cream); text-decoration: none; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--acid); }
.footer-bottom { border-top: 2px solid var(--cream); padding-top: 20px; font-family: var(--font-mono); font-size: 0.72rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .email { color: var(--acid); }

/* ── Content ── */
main { padding: 8px 0 0; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border: 2px solid var(--ink); background: var(--ink); color: var(--acid); padding: 6px 12px; margin: 40px 0 24px; box-shadow: var(--shadow); }
h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 22px; }
h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3.2vw, 2.2rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; margin: 60px 0 18px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
h3 { font-family: var(--font-head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.lede { font-size: clamp(1.05rem, 2.1vw, 1.3rem); max-width: 760px; }
p + p { margin-top: 10px; }
a { color: var(--ink); }
.card { background: var(--cream); border: var(--border); box-shadow: var(--shadow); padding: 26px 24px; margin: 18px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid .card { margin: 0; }
.num { font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; display: inline-block; border: 2px solid var(--ink); background: var(--acid); padding: 3px 9px; margin-bottom: 14px; }
.price { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 14px 0; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 2px solid var(--ink); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
pre { background: var(--ink); color: var(--cream); padding: 16px; overflow: auto; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.5; border: var(--border); box-shadow: var(--shadow); margin: 14px 0; }
code { font-family: var(--font-mono); font-size: 0.88em; background: #e8e3d6; padding: 1px 5px; border: 1px solid var(--ink); }
.note { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); margin-top: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; border: 2px solid var(--ink); background: var(--acid); color: var(--ink); box-shadow: var(--shadow-acid); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--acid); }
.btn-ghost { background: var(--cream); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { box-shadow: 2px 2px 0 var(--ink); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 0; }
ul.plain { margin: 12px 0 0 20px; }
ul.plain li { margin-bottom: 7px; }
