/* 2026 lampblack atelier: pine soot, ox-glue gold, drying-rack umber */
:root {
  --soot: #140f0c;
  --panel: #221a14;
  --gold: #c4a15a;
  --glue: #e6d2a8;
  --mute: #9a8b76;
  --crack: #c45a3a;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; background: var(--soot); color: var(--glue); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); color: var(--gold); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 40; background: var(--gold); color: #111; padding: 8px; }
.soot-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px; background: #100c09; border-bottom: 1px solid #3d3228;
}
.logo { font-family: var(--serif); font-weight: 700; }
.logo small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--mute); }
#links { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
#links a { font-size: 13px; color: var(--mute); }
#links a.now { color: var(--gold); }
.out { background: var(--gold); color: #140f0c !important; padding: 6px 12px; font-weight: 700; }
.ham { display: none; background: transparent; color: var(--glue); border: 1px solid #3d3228; padding: 6px 10px; }
.lamp { position: relative; min-height: 86vh; display: grid; align-items: end; }
.lamp > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lamp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, #140f0c 82%); }
.copy { position: relative; z-index: 1; padding: 36px 7vw 48px; max-width: 920px; }
.eye { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--gold); margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--serif); margin: 0 0 10px; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.say { max-width: 62ch; }
.mute { color: var(--mute); }
.pot { margin: 18px 0; padding: 12px 14px; background: rgba(34, 26, 20, 0.88); border-left: 5px solid var(--gold); }
.pot strong { display: block; margin: 4px 0; color: var(--crack); }
.pot p { margin: 0; color: var(--mute); font-size: 14px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hit { display: inline-flex; align-items: center; padding: 9px 14px; background: var(--gold); color: #140f0c; font-weight: 700; border: 0; font-size: 14px; }
.hit.ghost { background: transparent; color: var(--glue); border: 1px solid #3d3228; font-weight: 400; }
.wide { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
.night { background: #0d0a08; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.cols article { background: var(--panel); padding: 18px; border: 1px solid #3d3228; }
.cols .alert { border-color: var(--crack); }
.cols ul { margin: 0; padding-left: 1.1em; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 40px 0; }
.step.flip { direction: rtl; }
.step.flip > * { direction: ltr; }
.k { font-family: var(--mono); color: var(--gold); font-size: 12px; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--mute); margin-top: 6px; }
.half { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.half article { background: var(--panel); padding: 16px 18px; border-top: 3px solid var(--gold); }
footer { border-top: 1px solid #3d3228; background: #0a0705; }
.end { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0; }
@media (max-width: 860px) {
  .ham { display: block; }
  #links { display: none; position: absolute; top: 50px; left: 10px; right: 10px; flex-direction: column; background: var(--panel); padding: 10px; }
  #links.open { display: flex; }
  .cols, .step, .half { grid-template-columns: 1fr; }
  .step.flip { direction: ltr; }
  .lamp { min-height: 0; }
  .copy { padding: 28px 18px; }
  .end { flex-direction: column; align-items: flex-start; }
}
