/* ROB RUN unofficial guide. Dark studio layout, amber accent for this guide only. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600&family=Barlow:wght@400;500;600&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
    --bg: #090909;
    --ink: #f4f3ef;
    --muted: #c4c0b6;
    --line: rgba(244, 243, 239, 0.16);
    --accent: #ffb020;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Zen Kaku Gothic New", "Barlow", sans-serif;
    font-weight: 400;
    line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 40;
    background: var(--accent);
    color: #141414;
    padding: 8px 12px;
    text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header-h);
    background: rgba(9, 9, 9, 0.96);
    border-bottom: 1px solid var(--line);
}
.header-bar {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    color: var(--ink);
    text-decoration: none;
    line-height: 1.1;
}
.wordmark span {
    color: var(--accent);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-nav a {
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
}
.site-nav a[aria-current="page"] { color: var(--accent); }

.unofficial {
    border-bottom: 1px solid var(--line);
    background: #120e08;
    color: var(--muted);
    font-size: 0.92rem;
}
.unofficial .wrap { padding: 10px 0; }
.unofficial a { font-weight: 700; }

.hero { padding: 36px 0 12px; }
.kicker {
    margin: 0 0 8px;
    font-family: "Barlow", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}
h1 {
    margin: 0 0 12px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.lead { margin: 0; max-width: 42rem; color: var(--muted); }
.hero-shot {
    width: fit-content;
    max-width: 100%;
    margin: 22px 0 0;
    border: 1px solid var(--line);
    background: #000;
}
.hero-shot figcaption, .shot figcaption {
    padding: 8px 12px;
    color: var(--muted);
    font-size: 0.82rem;
}
.shot {
    margin: 18px 0;
    border: 1px solid var(--line);
    background: #000;
    max-width: 960px;
}
.shot.diagram { background: #f3f0e6; }
.shot.diagram figcaption { color: #3d3a34; }
.callout {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid var(--accent);
    background: rgba(255, 176, 32, 0.08);
    max-width: 46rem;
}
.crumbs { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; }
.crumbs a { font-weight: 700; text-decoration: none; }

.page { padding: 28px 0 72px; }
.page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { margin: 2.2rem 0 0.6rem; font-size: 1.35rem; }
h3 { margin: 1.4rem 0 0.4rem; font-size: 1.05rem; }
.page p, .page li { max-width: 46rem; }
ul, ol { padding-left: 1.2rem; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.quick a, .btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700;
}
.quick a:hover, .btn:hover { border-color: var(--accent); color: var(--accent); }

.facts, .news, table { width: 100%; border-collapse: collapse; margin: 12px 0 0; }
.facts th, .facts td, .news th, .news td, table th, table td {
    border-top: 1px solid var(--line);
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}
.facts th, .news th { color: var(--muted); font-weight: 500; width: 9rem; }
.news th { width: 7.5rem; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.card {
    border: 1px solid var(--line);
    background: #101010;
    padding: 16px 18px 18px;
    text-decoration: none;
}
.card strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.card span { color: var(--muted); }

.sources {
    margin-top: 36px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}
.unknown { color: var(--accent); font-weight: 700; }
pre {
    overflow: auto;
    max-width: 46rem;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #101010;
    font-size: 0.85rem;
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }
.site-footer a { font-weight: 700; }

@media (max-width: 720px) {
    .wrap { width: min(1080px, calc(100% - 28px)); }
    .header-bar, .cards { display: block; }
    .site-nav { margin-top: 8px; }
    .site-header { height: auto; }
    .header-bar { height: auto; padding: 12px 0; }
    .facts th, .news th { width: auto; display: block; padding-bottom: 0; }
    .facts td, .news td { display: block; padding-top: 2px; }
}
