@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
	--rp-bg: #0e2740;
	--rp-bg-alt: #0b2036;
	--rp-bg-deep: #081726;
	--rp-line: #6f9db9;
	--rp-line-soft: rgba(111,157,185,0.16);
	--rp-ink: #eaf2f7;
	--rp-ink-muted: #a9c3d4;
	--rp-amber: #f2a71b;
	--rp-copper: #c98a4b;
	--rp-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
	--rp-body: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--rp-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* Reset */
.rp-site, .rp-site *, .rp-site *::before, .rp-site *::after { box-sizing: border-box; }
.rp-site { margin: 0; background: var(--rp-bg); color: var(--rp-ink); font-family: var(--rp-body); line-height: 1.5; }
.rp-site ul { margin: 0; padding: 0; list-style: none; }
.rp-site h1, .rp-site h2, .rp-site h3 { margin: 0; font-family: var(--rp-display); }
.rp-site a { color: var(--rp-copper); text-decoration: underline dotted; text-underline-offset: 3px; }
.rp-site a:hover, .rp-site a:focus-visible { color: var(--rp-amber); }
.rp-site :focus-visible { outline: 2px solid var(--rp-amber); outline-offset: 3px; }
.rp-site img { max-width: 100%; height: auto; }

.rp-shell { max-width: 980px; margin: 0 auto; }

/* Site header / nav */
.rp-sitehead { background: var(--rp-bg-deep); border-bottom: 2px solid var(--rp-line); position: sticky; top: 0; z-index: 20; }
.rp-sitehead-inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 40px; gap: 16px; }
.rp-brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.rp-brand-main { font-family: var(--rp-display); font-size: 20px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--rp-ink); }
.rp-brand-sub { font-family: var(--rp-mono); font-size: 11px; color: var(--rp-amber); letter-spacing: 0.1em; }
.rp-nav-toggle { display: none; background: none; border: 1px solid var(--rp-line); width: 38px; height: 34px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.rp-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--rp-ink); }
.rp-nav ul { display: flex; gap: 20px; flex-wrap: wrap; }
.rp-nav a { font-family: var(--rp-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--rp-ink-muted); }
.rp-nav a:hover, .rp-nav a:focus-visible { color: var(--rp-amber); }

/* Shared sheet chrome */
.rp-sheet { position: relative; padding: 48px 40px; border-bottom: 1px solid var(--rp-line-soft); background: var(--rp-bg); }
.rp-sheet.rp-alt { background: var(--rp-bg-alt); }
.rp-sheet-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.rp-eyebrow { font-family: var(--rp-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--rp-amber); text-transform: uppercase; }
.rp-sheet-title { font-size: 26px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--rp-ink); }
.rp-sheet-tag { font-family: var(--rp-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--rp-ink-muted); white-space: nowrap; }

/* Hero */
.rp-hero {
	padding: 56px 40px 40px;
	background:
		repeating-linear-gradient(0deg, var(--rp-line-soft) 0 1px, transparent 1px 32px),
		repeating-linear-gradient(90deg, var(--rp-line-soft) 0 1px, transparent 1px 32px),
		var(--rp-bg-deep);
	border-bottom: 2px solid var(--rp-line);
}
.rp-hero-grid { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start; }
.rp-hero-tag { font-family: var(--rp-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--rp-amber); text-transform: uppercase; margin-bottom: 10px; }
.rp-name { font-size: clamp(38px, 6vw, 58px); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.rp-role { font-family: var(--rp-mono); font-size: 15px; color: var(--rp-ink-muted); margin-top: 12px; letter-spacing: 0.03em; }
.rp-titleblock { border: 1px solid var(--rp-line); font-family: var(--rp-mono); font-size: 11px; }
.rp-titleblock-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--rp-line-soft); }
.rp-titleblock-row:last-child { border-bottom: none; }
.rp-titleblock-row span:first-child { color: var(--rp-ink-muted); letter-spacing: 0.08em; }
.rp-titleblock-row span:last-child { color: var(--rp-ink); text-align: right; }
.rp-contact-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-family: var(--rp-mono); font-size: 13px; }
.rp-contact-strip span { color: var(--rp-ink-muted); letter-spacing: 0.06em; }

/* Summary */
.rp-summary-text { max-width: 66ch; font-size: 16px; color: var(--rp-ink); border-left: 2px solid var(--rp-amber); padding-left: 18px; }

/* I/O table (skills) */
.rp-io { display: grid; grid-template-columns: 96px 1fr; border-top: 1px solid var(--rp-line-soft); }
.rp-io-row { display: contents; }
.rp-io-addr, .rp-io-body { padding: 14px 0; border-bottom: 1px solid var(--rp-line-soft); }
.rp-io-addr { font-family: var(--rp-mono); font-size: 13px; color: var(--rp-amber); }
.rp-io-cat { font-family: var(--rp-display); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rp-ink); margin-bottom: 8px; }
.rp-io-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-io-terms span { font-family: var(--rp-mono); font-size: 12px; border: 1px solid var(--rp-line); padding: 4px 8px; color: var(--rp-ink-muted); }

/* Ladder logic (experience) */
.rp-ladder-rails { display: flex; justify-content: space-between; font-family: var(--rp-mono); font-size: 12px; color: var(--rp-amber); letter-spacing: 0.1em; padding-bottom: 6px; }
.rp-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rp-amber); margin-right: 6px; }
@media (prefers-reduced-motion: no-preference) {
	.rp-live-dot { animation: rp-pulse 2.4s ease-in-out infinite; }
}
@keyframes rp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.rp-ladder { border-top: 2px solid var(--rp-line); border-bottom: 2px solid var(--rp-line); }
.rp-rung { display: flex; align-items: flex-start; gap: 18px; padding: 26px 4px; border-bottom: 1px solid var(--rp-line-soft); transition: background 0.2s ease; }
.rp-rung:last-child { border-bottom: none; }
.rp-rung:hover, .rp-rung:focus-within { background: rgba(242,167,27,0.05); }
.rp-rung-num { font-family: var(--rp-mono); font-size: 11px; color: var(--rp-ink-muted); width: 68px; flex-shrink: 0; letter-spacing: 0.06em; padding-top: 4px; }
.rp-rung-glyph { font-family: var(--rp-mono); font-size: 20px; color: var(--rp-line); letter-spacing: -3px; flex-shrink: 0; padding-top: 1px; }
.rp-rung-main { flex: 1; min-width: 0; }
.rp-rung-title { font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.rp-rung-meta { font-family: var(--rp-mono); font-size: 12px; color: var(--rp-ink-muted); margin-top: 4px; letter-spacing: 0.03em; }
.rp-rung-list { margin-top: 10px; }
.rp-rung-list li { font-size: 14px; color: var(--rp-ink); padding-left: 16px; position: relative; margin-top: 6px; }
.rp-rung-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--rp-amber); font-family: var(--rp-mono); }
.rp-coil-wrap { flex-shrink: 0; display: flex; align-items: center; gap: 8px; width: 78px; justify-content: flex-end; }
.rp-coil { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--rp-amber); display: flex; align-items: center; justify-content: center; font-family: var(--rp-mono); font-size: 11px; font-weight: 500; color: var(--rp-amber); flex-shrink: 0; }

/* Field notes / projects */
.rp-panel { border: 1px solid var(--rp-line); padding: 22px; }
.rp-panel-title { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.rp-panel ul { margin-top: 12px; }
.rp-panel li { font-size: 14px; padding-left: 16px; position: relative; margin-top: 6px; }
.rp-panel li::before { content: "\203A"; position: absolute; left: 0; color: var(--rp-amber); font-family: var(--rp-mono); }

/* Licenses / volunteer */
.rp-cardgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.rp-card { border: 1px solid var(--rp-line); padding: 20px; }
.rp-card-title { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.rp-card-meta { font-family: var(--rp-mono); font-size: 12px; color: var(--rp-ink-muted); margin-top: 4px; }
.rp-card ul { margin-top: 10px; }
.rp-card li { font-size: 13.5px; padding-left: 16px; position: relative; margin-top: 6px; }
.rp-card li::before { content: "\203A"; position: absolute; left: 0; color: var(--rp-amber); font-family: var(--rp-mono); }
.rp-morse { font-family: var(--rp-mono); font-size: 12px; color: var(--rp-amber); margin-top: 10px; letter-spacing: 0.08em; }
.rp-qth { font-family: var(--rp-mono); font-size: 11px; color: var(--rp-ink-muted); margin-top: 2px; }

/* Education / nameplate */
.rp-nameplate { border: 1px solid var(--rp-line); padding: 20px 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.rp-nameplate-row { font-family: var(--rp-mono); font-size: 12.5px; color: var(--rp-ink-muted); letter-spacing: 0.04em; }
.rp-nameplate-row b { color: var(--rp-ink); font-weight: 600; }
.rp-nameplate + .rp-nameplate { margin-top: 12px; }

/* Site footer */
.rp-sitefoot { background: var(--rp-bg-deep); padding: 32px 40px; }
.rp-sitefoot-default { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.rp-footer-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--rp-mono); font-size: 12.5px; color: var(--rp-ink-muted); }
.rp-footer-rev { font-family: var(--rp-mono); font-size: 11px; color: var(--rp-line); letter-spacing: 0.1em; text-align: right; }

/* Inner pages (Joomla articles / components rendered through the normal region) */
.rp-page { padding: 48px 40px; }
.rp-page-component { max-width: 74ch; }
.rp-page-component h1, .rp-page-component h2, .rp-page-component h3 { text-transform: uppercase; letter-spacing: 0.02em; margin-top: 1.4em; margin-bottom: 0.5em; }
.rp-page-component p { margin: 0 0 1em; }
.rp-page-component a { word-break: break-word; }

/* Error / offline pages */
.rp-error-wrap { max-width: 640px; margin: 0 auto; text-align: left; }
.rp-error-code { font-family: var(--rp-mono); font-size: 48px; color: var(--rp-amber); font-weight: 500; margin: 8px 0; }
