:root {
    --bg: #111111;
    --paper: #1b1b1b;
    --ink: #f4f0e6;
    --ink-2: #c8c2b4;
    --muted: #8d877a;
    --line: #2e2e2e;
    --gold: #e0b44a;
    --gold-deep: #c4921f;
    --max: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans SC', 'IBM Plex Sans', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
}

a { color: inherit; }

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(17, 17, 17, 0.94);
    border-bottom: 1px solid var(--line);
}

.top-inner {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.mark {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover,
.nav a.active { color: var(--gold); }

.nav .go {
    color: #111;
    background: var(--gold);
    padding: 8px 14px;
}

.nav .go:hover { background: var(--gold-deep); color: #111; }

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    padding: 6px 10px;
    font: inherit;
    cursor: pointer;
}

.hero {
    padding: 80px 0 72px;
    border-bottom: 1px solid var(--line);
}

.idx {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.lead {
    margin-top: 22px;
    max-width: 38em;
    font-size: 18px;
    color: var(--ink-2);
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.desk {
    margin-top: 40px;
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    color: #d8d8d8;
}

.desk-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
    font-size: 13px;
}

.desk-name { font-weight: 600; color: #eee; }

.desk-acts { display: flex; gap: 6px; }

.desk-acts span {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.desk-acts .run { background: #2d5aa0; color: #fff; }
.desk-acts .ghost { background: #333; color: #bbb; border: 1px solid #444; }

.desk-body {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 220px;
}

.desk-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.desk-col + .desk-col { border-left: 1px solid #3a3a3a; }

.desk-h {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #262626;
    border-bottom: 1px solid #3a3a3a;
    font-size: 12px;
    color: #cfcfcf;
}

.desk-h b {
    background: #2d5aa0;
    color: #fff;
    padding: 0 6px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 11px;
}

.desk-orders {
    flex: 1;
    margin: 10px 12px 12px;
    padding: 8px 10px;
    border: 1px solid #404040;
    background: #191919;
    color: #c8c8c8;
    font: 12px/1.7 'IBM Plex Sans', Consolas, monospace;
    overflow-y: auto;
    max-height: 180px;
}

.desk-orders .row { color: #c8c8c8; }
.desk-orders .row.on { color: #fff; background: #2d5aa0; }

.desk-log {
    flex: 1;
    overflow-y: auto;
    padding: 8px 10px 10px;
    max-height: 180px;
}

.desk-line {
    display: flex;
    gap: 8px;
    padding: 5px 8px;
    margin-bottom: 4px;
    background: rgba(76, 175, 80, 0.14);
    color: #8fd18f;
    font: 12px/1.5 'IBM Plex Sans', Consolas, monospace;
}

.desk-line .t { color: #777; flex-shrink: 0; }

.desk-line.in {
    animation: desk-in 0.28s ease;
}

@keyframes desk-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
    .desk-body { grid-template-columns: 1fr; }
    .desk-col + .desk-col { border-left: none; border-top: 1px solid #3a3a3a; }
}

@media (prefers-reduced-motion: reduce) {
    .desk-line.in { animation: none; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-solid { background: var(--gold); color: #111; }
.btn-solid:hover { background: var(--gold-deep); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #111; }

.pick {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pick a {
    display: block;
    padding: 22px 22px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
}

.pick a:hover { border-color: var(--gold); }

.pick b {
    display: block;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.pick h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pick p { color: var(--ink-2); font-size: 14px; }

.block {
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.sec-lead {
    color: var(--ink-2);
    margin-bottom: 28px;
    max-width: 40em;
}

.jobs {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.job {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.job h3 { font-size: 18px; }
.job p { color: var(--ink-2); }

.shot {
    margin-top: 28px;
    background: #0a0a0a;
    border: 1px solid var(--line);
}

.shot-cap {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: #222;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.files { display: grid; gap: 12px; }

.file {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 22px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.file h3 { font-size: 20px; }
.file p { margin-top: 4px; color: var(--ink-2); font-size: 14px; }

.hint {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted);
    max-width: 46em;
}

.hint code {
    font-family: 'IBM Plex Sans', monospace;
    background: #2a2a2a;
    padding: 1px 6px;
    color: var(--ink);
}

.contact-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
    max-width: 640px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.qr {
    width: 200px;
    height: auto;
    display: block;
    background: #fff;
}

.note { color: var(--ink-2); }

footer {
    padding: 36px 0 48px;
    color: var(--muted);
    font-size: 13px;
}

.foot-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 12px 24px 16px;
}

.mobile-nav.open { display: grid; gap: 10px; }
.mobile-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    padding: 8px 0;
}

.mobile-nav a.active { color: var(--gold); }

@media (max-width: 860px) {
    .nav { display: none; }
    .menu-btn { display: inline-flex; }
    .pick, .job, .file, .contact-box { grid-template-columns: 1fr; }
    .wrap, .top-inner { width: min(var(--max), calc(100% - 32px)); }
}

@media (max-width: 560px) {
    h1 { font-size: 36px; }
}
