:root {
    --bg: #121417;
    --bg-card: #1C1F24;
    --border: #2E333A;
    --orange: #F2772B;
    --orange-dim: rgba(242, 119, 43, 0.12);
    --text: #F5F6F7;
    --text-secondary: #A8B0BA;
    --text-muted: #6B7280;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }

  .container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* === HERO === */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
  }

  .hero-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 24px;
  }

  .hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
  }

  .scroll-hint {
    margin-top: 64px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
  }

  /* === DIVIDER === */
  .divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 80px 0;
    opacity: 0.6;
  }

  /* === TEXT SECTIONS === */
  .text-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
  }

  .text-section .label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 32px;
  }

  .text-section h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 32px;
  }

  .text-section p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
  }

  .text-section p.body-primary {
    color: var(--text);
  }

  .text-section blockquote {
    border-left: 2px solid var(--orange);
    padding-left: 20px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text);
  }

  .text-section .section-break {
    text-align: center;
    color: var(--text-muted);
    margin: 40px 0;
    font-size: 14px;
    letter-spacing: 0.3em;
  }

  /* === QUOTE BLOCK === */
  .quote-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    margin: 40px 0;
  }

  .quote-block p {
    color: var(--text);
    font-style: italic;
    margin-bottom: 16px;
  }

  .quote-block p:last-child {
    margin-bottom: 0;
  }

  .quote-block .attribution {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    font-style: normal;
    margin-top: 20px;
    letter-spacing: 0.05em;
  }

  /* === RUSSIAN TEXT === */
  .russian {
    font-style: italic;
    color: var(--orange);
    opacity: 0.85;
  }

  /* === FOOTER === */
  .footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .footer .lion {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .footer p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
  }

  .footer a {
    color: var(--orange);
    text-decoration: none;
  }

  .footer a:hover {
    text-decoration: underline;
  }

  /* === NAV === */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 20, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .nav.visible {
    transform: translateY(0);
  }

  .nav-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
  }

  .nav-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--orange);
    text-decoration: none;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text);
  }

  /* === RESPONSIVE === */
  @media (max-width: 480px) {
    .container { padding: 0 16px; }
    .text-section { padding: 60px 0; }
    .quote-block { padding: 24px 20px; }
    .nav-inner { padding: 0 16px; gap: 16px; }
    .nav-links { gap: 14px; }
  }

  /* === REDUCED MOTION === */
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

  /* === LOG ENTRIES === */
  .log-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 12px;
  }

  .log-title {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 16px;
  }
