:root {
  --ink: #1a1512;
  --brass: #c8952b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(circle at 20% 10%, #2a221b 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, #241d17 0%, transparent 45%),
    #17130f;
  color: #e7e0d5;
  font-family: 'Old Standard TT', serif;
  min-height: 100vh;
}

/* ---- chrome ---- */
.toolbar {
  background: linear-gradient(180deg, #23190f 0%, #1a130c 100%);
  border-bottom: 2px solid var(--brass);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.desk {
  background:
    linear-gradient(180deg, rgba(60,42,26,.95), rgba(38,28,18,.98));
  border-right: 1px solid rgba(200,149,43,.25);
  box-shadow: inset -20px 0 40px rgba(0,0,0,.3);
}
.desk-mono { font-family: 'IBM Plex Mono', monospace; }

.btn-ghost {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #f0d9a7;
  background: rgba(200,149,43,.12);
  border: 1px solid rgba(200,149,43,.4);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(200,149,43,.28); }

.print-btn {
  font-family: 'Abril Fatface', serif;
  font-size: 20px;
  letter-spacing: .02em;
  color: #1a130c;
  background: linear-gradient(180deg, #e0b656, #c8952b);
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 0 #8a6316, 0 6px 12px rgba(0,0,0,.4);
  transition: transform .1s, box-shadow .1s;
}
.print-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 0 #8a6316, 0 8px 16px rgba(0,0,0,.5); }
.print-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #8a6316; }
.print-btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-paper {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #2a2018;
  background: #e8e0cf;
  border: 1px solid #b8ab8f;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
}
.btn-paper:hover { background: #f5eede; }

/* ---- newspaper ---- */
.newspaper {
  position: relative;
  color: var(--ink);
  padding: 28px 26px 34px;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2);
  overflow: hidden;
  animation: unfold .5s ease;
}
@keyframes unfold {
  from { transform: perspective(1200px) rotateX(-12deg) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.newspaper .grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.paper-yellow { background: #efe6cf; }
.paper-yellow::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(180,140,60,.15), transparent 60%), radial-gradient(circle at 80% 90%, rgba(150,110,40,.18), transparent 55%); pointer-events:none; }
.paper-white { background: #fbfaf6; }
.paper-sepia { background: #e4d3b0; filter: sepia(.25); }
.paper-blueprint { background: #12395e; color: #dbeafe; }
.paper-blueprint .grain { opacity:.1; mix-blend-mode: screen; }
.paper-redscare { background: #f2e6df; color: #7a1010; }

.mh-blackletter { font-family: 'UnifrakturMaguntia', cursive; font-size: clamp(34px, 8vw, 64px); }
.mh-abril { font-family: 'Abril Fatface', serif; font-size: clamp(30px, 7vw, 56px); }
.mh-playfair { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(30px, 7vw, 56px); }

.headline-serif { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(22px, 5vw, 40px); }
.kicker { font-family: 'IBM Plex Mono', monospace; }

.body-serif { font-family: 'Old Standard TT', serif; }
.body-typewriter { font-family: 'Special Elite', monospace; }
.body-typewriter .headline-serif { font-family: 'Special Elite', monospace; text-transform: uppercase; }

.article-cols { columns: 2; column-gap: 22px; }
.article-cols > p { break-inside: avoid; }
@media (max-width: 640px) { .article-cols { columns: 1; } }

.dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  float: left;
  font-size: 3.2em;
  line-height: .8;
  padding: 4px 8px 0 0;
}

/* ---- fx ---- */
.press-spinner {
  width: 52px; height: 52px;
  border: 5px solid rgba(200,149,43,.25);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.stamp {
  position: absolute; z-index: 25; top: 30%; left: 50%;
  transform: translate(-50%,-50%) rotate(-14deg);
  font-family: 'Abril Fatface', serif;
  font-size: clamp(48px, 12vw, 110px);
  color: #b91c1c;
  border: 8px solid #b91c1c;
  padding: 6px 24px;
  border-radius: 8px;
  letter-spacing: .05em;
  opacity: 0;
  pointer-events: none;
  text-shadow: 2px 2px 0 rgba(0,0,0,.15);
  animation: stampIn 1.6s ease forwards;
}
@keyframes stampIn {
  0% { opacity: 0; transform: translate(-50%,-50%) rotate(-14deg) scale(2.4); }
  15% { opacity: .95; transform: translate(-50%,-50%) rotate(-14deg) scale(1); }
  70% { opacity: .95; }
  100% { opacity: 0; }
}

/* year slider */
.year-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4a3820, #c8952b);
  outline: none;
  cursor: pointer;
}
.year-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f0d9a7;
  border: 2px solid #8a6316;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.year-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f0d9a7;
  border: 2px solid #8a6316;
  cursor: pointer;
}

select:focus { outline: none; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #1a130c; }
::-webkit-scrollbar-thumb { background: #4a3820; border-radius: 5px; }