/*
Theme Name: Joseph Otieno
Theme URI: https://joemcotiey.com
Author: Joseph Otieno
Description: A single-screen, no-scroll portfolio theme for a web designer, developer and ICT expert. Navy, blue and maroon palette.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: joseph-otieno
*/

:root {
  --bg: #050912;
  --panel: #091126;
  --panel-2: #0c1630;
  --navy: #101c3d;
  --navy-2: #14234a;
  --line: rgba(88, 118, 200, .22);
  --line-2: rgba(88, 118, 200, .12);
  --blue: #3b6bff;
  --blue-2: #5a82ff;
  --red: #b8303f;
  --red-2: #d23a4b;
  --maroon: #7d1f2c;
  --text: #e9edf9;
  --muted: #8d97b3;
  --dim: #6a7592;
  --mono: 'JetBrains Mono', 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --head: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); }

body {
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(1144px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Shell ---------- */
.jo-shell {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 90% 6%, rgba(40, 80, 210, .24), transparent 62%),
    radial-gradient(720px 520px at 0% 100%, rgba(125, 31, 44, .26), transparent 62%),
    var(--bg);
}
body.admin-bar .jo-shell { height: calc(100vh - 32px); height: calc(100dvh - 32px); }

.jo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 45% 25%, #000 0, transparent 70%);
          mask-image: radial-gradient(ellipse at 45% 25%, #000 0, transparent 70%);
  opacity: .55;
  pointer-events: none;
}
.jo-shell > * { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.jo-header { flex: none; height: 65px; border-bottom: 1px solid var(--line-2); background: rgba(5, 9, 18, .55); backdrop-filter: blur(8px); }
.jo-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }

.jo-brand { display: flex; align-items: center; gap: 12px; }
.jo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #4a78ff, #2447b8);
  box-shadow: 0 0 22px rgba(59, 107, 255, .45);
  font-family: var(--head); font-weight: 700; font-size: 13px; color: #fff;
}
.jo-brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.jo-brand__txt strong { font-family: var(--head); font-size: 14px; font-weight: 600; }
.jo-brand__txt small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: var(--dim); margin-top: 3px; }

.jo-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(9, 17, 38, .7);
}
.jo-nav a { padding: 8px 17px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .2s, background .2s; }
.jo-nav a:hover { color: var(--text); }
.jo-nav a.is-active { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px rgba(90, 130, 255, .18); }

.jo-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 13px; cursor: pointer; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.jo-btn svg { width: 12px; height: 12px; }
.jo-btn:hover { transform: translateY(-1px); }
.jo-btn--red { background: linear-gradient(180deg, #c43547, #a22837); color: #fff; box-shadow: 0 6px 22px rgba(184, 48, 63, .3); }
.jo-btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 26px rgba(59, 107, 255, .35); }
.jo-btn--ghost { background: rgba(9, 17, 38, .6); border-color: var(--line); color: var(--text); }
.jo-btn--lg { padding: 13px 20px; border-radius: 10px; }
.jo-header .jo-btn { padding: 10px 17px; }

/* ---------- Main ---------- */
.jo-main { flex: 1; min-height: 0; display: flex; overflow-y: auto; scrollbar-width: none; }
.jo-main::-webkit-scrollbar { display: none; }
.jo-main > .wrap { margin-block: auto; padding-block: 14px; }

/* ---------- Footer ---------- */
.jo-footer { flex: none; height: 42px; border-top: 1px solid var(--line-2); }
.jo-footer__in { height: 100%; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jo-footer__links { display: flex; gap: 16px; }
.jo-footer__links a:hover { color: var(--text); }

/* ---------- Shared bits ---------- */
.jo-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 12px; }
.jo-eyebrow b { font-weight: 500; color: var(--red-2); }
.jo-eyebrow i { display: block; width: 52px; height: 1px; background: var(--line); }

.jo-title { font-size: clamp(34px, 6vh, 46px); line-height: 1.08; margin-top: 12px; }
.jo-title .dot { color: var(--red); }

.mono-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

.jo-card {
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 24, 52, .72), rgba(7, 13, 28, .85));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

/* Marquee */
.jo-marquee {
  overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(7, 13, 28, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.jo-marquee__track { display: flex; width: max-content; animation: jo-scroll 38s linear infinite; }
.jo-marquee__item { display: inline-flex; align-items: center; gap: 22px; padding: 13px 0 13px 22px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #aab4d0; white-space: nowrap; }
.jo-marquee__item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
@keyframes jo-scroll { to { transform: translateX(-50%); } }

/* ---------- Home ---------- */
.jo-home { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 40px; align-items: center; }
.jo-home__wrap { display: flex; flex-direction: column; gap: 22px; }

.jo-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9, 17, 38, .6); font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #aab4d0; }
.jo-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.jo-hero-title { font-size: clamp(40px, 7.4vh, 58px); line-height: 1; margin-top: 18px; }
.jo-hero-title .dot { color: var(--red); }
.jo-roles { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-2); margin-top: 12px; }
.jo-roles span { color: var(--red); margin: 0 6px; }
.jo-lead { margin-top: 16px; max-width: 420px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.jo-cta { display: flex; gap: 10px; margin-top: 26px; }

.jo-stats { display: flex; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.jo-stats > div { padding: 0 32px; border-left: 1px solid var(--line-2); }
.jo-stats > div:first-child { padding-left: 0; border-left: 0; }
.jo-stats strong { display: block; font-family: var(--head); font-size: 22px; font-weight: 600; }
.jo-stats strong em { font-style: normal; color: var(--red); }
.jo-stats span { display: block; margin-top: 4px; }

.jo-term { overflow: hidden; box-shadow: 0 30px 90px rgba(30, 60, 180, .28), 0 0 0 1px rgba(90, 130, 255, .05); }
.jo-term__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.jo-term__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.jo-term__bar i:nth-child(2) { background: var(--blue); }
.jo-term__bar i:nth-child(3) { background: #35415f; }
.jo-term__bar span { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--muted); }
.jo-term__view { position: relative; height: clamp(190px, 38vh, 266px); background:
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 38px 38px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 38px 38px,
  radial-gradient(circle at 50% 45%, rgba(59, 107, 255, .14), transparent 65%); }
.jo-term canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jo-pill { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border: 1px solid rgba(90, 130, 255, .4); border-radius: 999px; background: rgba(20, 40, 100, .5); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: var(--blue-2); }
.jo-term__log { position: absolute; left: 16px; bottom: 12px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: #98a4c4; line-height: 1.9; text-transform: uppercase; }
.jo-term__log b { color: var(--blue-2); font-weight: 500; margin-right: 6px; }
.jo-term__metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.jo-term__metrics > div { padding: 11px 16px; border-left: 1px solid var(--line-2); }
.jo-term__metrics > div:first-child { border-left: 0; }
.jo-term__metrics strong { display: block; margin-top: 3px; font-family: var(--head); font-size: 15px; font-weight: 600; }

.jo-home .jo-marquee { grid-column: 1 / -1; }

/* ---------- About ---------- */
.jo-about { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 40px 90px; align-items: center; }
.jo-about h1 { font-size: clamp(34px, 6.4vh, 46px); line-height: 1.1; margin-top: 14px; }
.jo-grad { background: linear-gradient(90deg, #6f7dff, #c9506a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jo-about h1 .dot { color: var(--text); }
.jo-about__copy { max-width: 410px; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.jo-about__copy strong { color: var(--text); font-weight: 500; }
.jo-facts { display: grid; grid-template-columns: repeat(4, auto); margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 17, 38, .6); width: 100%; max-width: 650px; }
.jo-facts > div { padding: 11px 14px; border-left: 1px solid var(--line-2); }
.jo-facts > div:first-child { border-left: 0; }
.jo-facts strong { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--text); font-family: var(--body); }

.jo-profile__head { display: flex; align-items: center; gap: 16px; padding: 16px; }
.jo-profile__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(145deg, #4a78ff, #1f3fa8); font-family: var(--head); font-weight: 700; font-size: 18px; box-shadow: 0 0 30px rgba(59, 107, 255, .4); }
.jo-profile__head strong { display: block; font-family: var(--head); font-size: 17px; font-weight: 600; }
.jo-profile__head small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: var(--dim); }
.jo-profile__loc { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; color: var(--blue-2); text-transform: uppercase; }
.jo-profile__loc i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.jo-profile__how { padding: 14px 16px 16px; border-top: 1px solid var(--line-2); }
.jo-profile__how ul { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.jo-profile__how li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c5cde4; }
.jo-profile__how li::before { content: ""; width: 10px; height: 1px; background: var(--red); }
.jo-profile__foot { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-top: 1px solid var(--line-2); }
.jo-profile__foot span:last-child { display: flex; align-items: center; gap: 7px; color: var(--blue-2); }
.jo-profile__foot span:last-child::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.jo-about .jo-marquee { grid-column: 1 / -1; }

/* ---------- Services ---------- */
.jo-services { display: grid; grid-template-columns: minmax(0, 1fr) 452px; column-gap: 40px; }
.jo-services__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 40px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 0; }
.jo-services__head h2 { font-size: clamp(32px, 5.6vh, 40px); line-height: 1.1; margin-top: 12px; }
.jo-services__head h2 .dot { color: var(--red); }
.jo-side { color: var(--muted); font-size: 12.5px; line-height: 1.65; }

.jo-svc { display: grid; grid-template-columns: 26px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.jo-svc:last-child { border-bottom: 0; }
.jo-svc__n { font-family: var(--mono); font-size: 9.5px; color: var(--red-2); padding-top: 4px; }
.jo-svc h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.jo-svc p { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.jo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.jo-tags span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .16em; text-transform: uppercase; color: #98a4c4; background: rgba(9, 17, 38, .6); }

.jo-cap { margin-top: 16px; padding: 16px 18px 12px; }
.jo-cap__head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.jo-cap__head span:last-child { color: var(--blue-2); }
.jo-cap__group { padding: 11px 0 6px; border-bottom: 1px solid var(--line-2); }
.jo-cap__group:last-child { border-bottom: 0; }
.jo-cap__group h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.jo-cap__group h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.jo-cap__group--red h4::before { background: var(--red); }
.jo-row { display: grid; grid-template-columns: 1fr 186px 22px; align-items: center; gap: 14px; padding: 3px 0; font-size: 11.5px; color: #aab4d0; }
.jo-row i { display: block; height: 4px; border-radius: 4px; background: rgba(88, 118, 200, .16); overflow: hidden; }
.jo-row i b { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.jo-cap__group--red .jo-row i b { background: var(--red); }
.jo-row em { font-style: normal; font-family: var(--mono); font-size: 8.5px; color: var(--muted); text-align: right; }

.jo-plans { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 17, 38, .6); }
.jo-plans > div { padding: 12px 14px; border-left: 1px solid var(--line-2); }
.jo-plans > div:first-child { border-left: 0; }
.jo-plans header { display: flex; justify-content: space-between; align-items: center; }
.jo-plans header strong { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.jo-plans header span { color: var(--blue-2); }
.jo-plans p { margin-top: 6px; font-size: 12px; color: #aab4d0; }

/* ---------- Work ---------- */
.jo-work__head { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.jo-work__head h2 { font-size: clamp(32px, 5.6vh, 40px); line-height: 1.1; margin-top: 14px; }
.jo-work__head h2 .dot { color: var(--red); }
.jo-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 17px; }
.jo-proj { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(13, 22, 48, .8), rgba(7, 12, 26, .9)); transition: border-color .25s, transform .25s; }
.jo-proj:hover { border-color: rgba(90, 130, 255, .5); transform: translateY(-2px); }
.jo-proj__art { position: relative; height: clamp(96px, 18vh, 143px); background: linear-gradient(180deg, rgba(25, 45, 100, .35), rgba(10, 18, 40, .2)); overflow: hidden; }
.jo-proj__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jo-proj__art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(180deg, transparent, rgba(8, 14, 32, .95)); }
.jo-proj__art .jo-date { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: rgba(7, 13, 28, .75); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; color: #aab4d0; }
.jo-proj__body { padding: 13px 15px 14px; }
.jo-proj__top { display: flex; justify-content: space-between; align-items: baseline; }
.jo-proj__top h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.jo-proj__top span { font-family: var(--mono); font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.jo-proj p { margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.jo-proj__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; }
.jo-proj__tech { display: flex; gap: 8px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.jo-scores { display: flex; gap: 12px; }
.jo-score { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.jo-score i { width: 22px; height: 4px; border-radius: 4px; background: var(--blue); }
.jo-score b { color: var(--text); font-weight: 600; }

/* ---------- Contact ---------- */
.jo-contact { display: grid; grid-template-columns: minmax(0, 1fr) 650px; gap: 40px; align-items: center; }
.jo-contact__intro h1 { font-size: clamp(36px, 6.6vh, 46px); line-height: 1.08; margin-top: 12px; }
.jo-contact__intro h1 .dot { color: var(--red); }
.jo-contact__intro > p { margin-top: 14px; max-width: 290px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.jo-mail { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(9, 17, 38, .6); max-width: 453px; }
.jo-mail strong { font-family: var(--body); font-size: 12.5px; font-weight: 600; }
.jo-info { max-width: 453px; }
.jo-info > div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; color: #c5cde4; }
.jo-info > div:first-child { border-top: 1px solid var(--line-2); margin-top: 12px; }

.jo-form { padding: 0; overflow: hidden; }
.jo-form__head { display: flex; justify-content: space-between; margin: 18px 20px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.jo-form__head span:last-child { color: var(--blue-2); }
.jo-form__body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 14px 20px 8px; }
.jo-field { display: flex; flex-direction: column; gap: 6px; }
.jo-field--wide { grid-column: 1 / -1; }
.jo-field input, .jo-field select, .jo-field textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(5, 9, 20, .8); color: var(--text); font-family: var(--body); font-size: 12.5px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.jo-field select { appearance: none; -webkit-appearance: none; padding-right: 34px; font-weight: 500; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23c5cde4' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.jo-field select option { background: #070d1c; color: var(--text); }
.jo-field textarea { height: 70px; resize: none; }
.jo-field ::placeholder { color: #4f5a78; }
.jo-field input:focus, .jo-field select:focus, .jo-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 107, 255, .15); }
.jo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jo-form__foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 20px; }
.jo-form__foot .jo-btn { border-radius: 10px; padding: 12px 18px; }
.jo-status { font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; }
.jo-status--ok { color: #6f95ff; }
.jo-status--err { color: var(--red-2); }

/* ---------- Generic fallback ---------- */
.jo-generic { max-width: 720px; color: var(--muted); }
.jo-generic h1 { font-size: 36px; color: var(--text); margin-bottom: 14px; }

/* ---------- Compact heights (keeps every page on one screen) ---------- */
@media (max-height: 760px) {
  .jo-main > .wrap { padding-block: 8px; }
  .jo-svc { padding: 8px 0; }
  .jo-svc p { margin-top: 4px; }
  .jo-tags { margin-top: 6px; }
  .jo-cap { margin-top: 10px; padding-block: 10px 6px; }
  .jo-cap__group { padding: 7px 0 3px; }
  .jo-row { padding: 1px 0; }
  .jo-plans { margin-top: 10px; }
  .jo-services__head { padding-bottom: 10px; }
  .jo-work__grid { margin-top: 12px; gap: 12px; }
  .jo-proj__body { padding: 10px 14px 11px; }
  .jo-proj__foot { margin-top: 8px; }
  .jo-home__wrap { gap: 14px; }
  .jo-cta { margin-top: 18px; }
  .jo-stats { margin-top: 18px; padding-top: 12px; }
}
@media (max-height: 640px) {
  .jo-lead { margin-top: 10px; }
  .jo-svc p { display: none; }
  .jo-proj p { display: none; }
  .jo-about__copy { gap: 8px; font-size: 12.5px; }
  .jo-info > div { padding: 8px 0; }
  .jo-form__body { gap: 8px 10px; }
}

/* ---------- Small screens: stack and allow the screen to scroll if it must ---------- */
@media (max-width: 1000px) {
  body { overflow: auto; }
  .jo-shell, body.admin-bar .jo-shell { height: auto; min-height: 100vh; overflow: visible; }
  .jo-main { overflow: visible; }
  .jo-nav { position: static; transform: none; }
  .jo-header { height: auto; padding: 10px 0; }
  .jo-header__in { flex-wrap: wrap; gap: 10px; }
  .jo-home, .jo-about, .jo-services, .jo-contact { grid-template-columns: 1fr; gap: 28px; }
  .jo-services__head, .jo-work__head { grid-template-columns: 1fr; }
  .jo-work__grid { grid-template-columns: 1fr; }
  .jo-facts { grid-template-columns: repeat(2, 1fr); }
  .jo-plans { grid-template-columns: 1fr; }
  .jo-footer { height: auto; padding: 12px 0; }
  .jo-footer__in { flex-direction: column; gap: 8px; }
  .jo-form__body { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .jo-marquee__track { animation: none; }
}
