:root {
  --white: #ffffff;
  --paper: #eceeec;
  --ink: #141210;
  --ink-soft: rgba(20,18,16,0.6);
  --line: rgba(20,18,16,0.14);
  --rust: #ec6a2e;
  --olive: #4a4a48;
  --wood: #2b2b2a;
  --concrete: #b9b2a4;
  --duo-a: #6a3fa0;
  --duo-b: #e8536b;
  --charcoal: #35342f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Grain overlay — the "lived-in" texture, sits over everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
/* Typography system — locked to two families only:
   Archivo Black  → all bold display headlines
   IBM Plex Mono  → everything else: body, nav, labels, meta, numbering */
h1, h2, h3, .display, .poster {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-transform: none;
}
code, .mono-tag { font-family: 'IBM Plex Mono', monospace; }

/* Numbered doc-label, like [001] / POST N.66 */
.doc-label {
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--rust);
}
.doc-frame {
  border: 1px solid var(--line); position: relative; padding: 6px 0;
}
.doc-frame .corner {
  display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft);
  padding: 8px 14px; border-bottom: 1px solid var(--line);
}

/* System-tag pill — dark badge, top-corner label style */
.system-tag {
  display: inline-block; background: var(--charcoal); color: var(--white);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 8px 14px; border-radius: 4px;
}
.tag-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tag-arrows { font-family: 'IBM Plex Mono', monospace; color: var(--ink-soft); letter-spacing: 4px; font-size: 15px; }

/* Data readout — asterisk-bordered terminal block */
.data-readout {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); line-height: 1.7;
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 12px 0;
  overflow-wrap: break-word; word-break: break-word; white-space: normal;
}
.data-readout .rule { letter-spacing: 1px; opacity: 0.5; overflow: hidden; white-space: nowrap; text-overflow: clip; }
.data-readout strong { color: var(--ink); font-weight: 600; }

/* Vertical rotated label */
.vert-label {
  writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg);
  font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 15px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink);
}

/* Icon marks */
.icon-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--ink-soft); border-radius: 50%; color: var(--ink-soft); font-size: 15px; }
.icon-crosshair { width: 34px; height: 34px; position: relative; }
.icon-crosshair span { position: absolute; background: var(--ink-soft); }
.icon-crosshair .h { top: 50%; left: 15%; width: 70%; height: 1px; }
.icon-crosshair .v { left: 50%; top: 15%; height: 70%; width: 1px; }
.icon-crosshair::before { content:""; position:absolute; inset: 22%; border: 1.5px solid var(--ink-soft); }
.icon-crosshair::after { content:""; position:absolute; top:-3px; left:-3px; right:-3px; bottom:-3px; border-radius: 4px; }

/* Ribbon shape — the bold accent band behind a headline */
.ribbon-wrap { position: relative; overflow: hidden; }
.ribbon-shape {
  position: absolute; left: 0; right: 0; height: 40%; top: 32%;
  background: var(--rust); transform: skewX(-18deg); z-index: 0;
}
.ribbon-wrap h1, .ribbon-wrap .poster-h { position: relative; z-index: 1; }

/* Image slot — formal reserved space for future real photography */
.img-slot {
  border: 1.5px solid var(--ink); position: relative; overflow: hidden; background: var(--white);
}
.img-slot .tag {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; background: var(--ink); color: var(--white); padding: 6px 10px;
}
.img-slot .frame-num {
  position: absolute; top: 0; right: 0; z-index: 2;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600;
  border: 1px solid var(--ink); background: var(--white); padding: 6px 10px;
}
.img-slot .fill {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, var(--line) 0, var(--line) 1px, transparent 1px, transparent 14px);
}
.img-slot .fill::after {
  content: "+"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'IBM Plex Mono', monospace; font-size: 26px; color: var(--ink-soft); opacity: 0.4;
}

/* Print-register decorations, gig-poster style */
.reg-mark { position: relative; }
.reg-mark::before, .reg-mark::after {
  content: "+"; position: absolute; font-size: 20px; color: var(--ink); opacity: 0.35; font-family: monospace;
}
.reg-mark::before { top: -6px; left: -14px; }
.reg-mark::after { bottom: -6px; right: -14px; }
.dot-row { display: flex; gap: 8px; margin-top: 14px; }
.dot-row span { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.dot-row span:nth-child(1) { background: var(--duo-a); }
.dot-row span:nth-child(2) { background: var(--duo-b); }
.dot-row span:nth-child(3) { background: var(--ink); }
.dot-row.outline span { background: transparent; border: 1.5px solid var(--ink); }

/* Duotone visual block, replaces flat ring for a poster-photo feel */
.duo-block {
  aspect-ratio: 4/3; position: relative; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(155deg, var(--duo-a) 0%, var(--duo-b) 100%);
}
.duo-block::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1.4px);
  background-size: 6px 6px;
}
.duo-block .crosshair {
  position: absolute; top: 50%; left: 62%; width: 34%; aspect-ratio: 1/1; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.65);
}
.duo-block .crosshair::before, .duo-block .crosshair::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.65);
}
.duo-block .crosshair::before { top: 50%; left: -18%; width: 136%; height: 1px; }
.duo-block .crosshair::after { left: 50%; top: -18%; height: 136%; width: 1px; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Texture strip — the one bold color moment carried over */
.texture-strip { display: flex; height: 8px; }
.texture-strip span { flex: 1; }
.texture-strip span:nth-child(1) { background: var(--rust); }
.texture-strip span:nth-child(2) { background: var(--charcoal); }
.texture-strip span:nth-child(3) { background: var(--ink); }
.texture-strip span:nth-child(4) { background: var(--concrete); }

/* Nav */
header.site { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.wordmark { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.wordmark span { color: var(--rust); }
nav.links { display: flex; gap: 30px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
nav.links a { text-decoration: none; opacity: 0.6; transition: opacity 0.15s; }
nav.links a:hover, nav.links a.active { opacity: 1; }

/* Hero */
.hero { padding: 110px 0 90px; border-bottom: 1px solid var(--line); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700; color: var(--rust); margin-bottom: 30px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; background: var(--rust); border-radius: 50%; display: inline-block; }
.hero h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; max-width: 780px; font-weight: 800; }
.hero .accent { color: var(--rust); font-style: italic; font-weight: 700; }
.hero p.lede { max-width: 580px; font-size: 19px; margin-top: 30px; color: var(--ink-soft); font-weight: 400; }
.hero .ctas { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 15px 28px; border-radius: 2px; text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.primary:hover { background: var(--rust); }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { border-color: var(--rust); color: var(--rust); }

/* Section shared */
section { padding: 90px 0; }
section.bordered { border-bottom: 1px solid var(--line); }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rust); margin-bottom: 18px; font-weight: 700; }
.section-title { font-size: clamp(24px, 3.4vw, 38px); max-width: 720px; font-weight: 800; line-height: 1.1; }
.section-body { max-width: 600px; color: var(--ink-soft); margin-top: 20px; font-size: 16px; }

/* Manifesto quote */
blockquote.big {
  font-family: 'Archivo Black', sans-serif; font-style: normal; font-weight: 400; font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.25; max-width: 820px; margin: 40px 0 0; color: var(--ink);
  border-top: 3px solid var(--ink); padding-top: 28px;
}

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 50px; }
.pillar-card { background: var(--white); padding: 36px 30px; }
.pillar-card .num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--rust); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; display: block; }
.pillar-card h3 { font-size: 24px; margin-bottom: 12px; font-weight: 700; }
.pillar-card p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* Lineage chips */
.lineage-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; align-items: center; }
.chip { background: var(--white); border: 1.5px solid var(--ink); padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.lineage-arrow { font-size: 20px; color: var(--rust); font-weight: 700; }

/* Now / split layout */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.visual-block { aspect-ratio: 4/3; background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; }
.visual-block .ring { position: absolute; top: 50%; left: 50%; width: 58%; aspect-ratio: 1/1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--ink); }
.visual-block .ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--line); }
.visual-block .dot { position: absolute; top: 50%; left: 50%; width: 15%; aspect-ratio: 1/1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--rust); }

/* Journal listing */
.post-list { margin-top: 50px; border-top: 1px solid var(--line); }
.post-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row:hover .post-title { color: var(--rust); }
.post-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--rust); min-width: 150px; }
.post-title { font-family: 'Archivo Black', sans-serif; font-size: clamp(18px, 2.2vw, 26px); font-weight: 400; flex: 1; transition: color 0.15s; }
.post-meta { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

/* Article page */
.article-head { padding: 70px 0 40px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.1; max-width: 780px; }
.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-soft); margin-top: 24px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.article-body { max-width: 720px; padding: 56px 0; font-size: 18px; }
.article-body p { margin: 0 0 26px; color: var(--ink); }
.article-body h2 { font-size: 30px; margin: 48px 0 20px; font-weight: 700; }
.article-body .drop { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 20px; color: var(--rust); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-links { display: flex; gap: 26px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--rust); }
.footer-note { margin-top: 40px; font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 22px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Category tabs (Journal) */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 10px; }
.cat-tab {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink);
}
.cat-tab.active { background: var(--ink); color: var(--white); }
.cat-tab:hover:not(.active) { border-color: var(--rust); color: var(--rust); }

/* Store / lookbook grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 3px; margin-top: 50px; }
.gallery-item {
  aspect-ratio: 1/1; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(155deg, var(--duo-a) 0%, var(--duo-b) 100%);
}
.gallery-item::before {
  content: ""; position: absolute; inset: 0; opacity: 0.3; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1.4px); background-size: 6px 6px;
}
.gallery-item .ring { position: absolute; top: 42%; left: 50%; width: 46%; aspect-ratio: 1/1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7); }
.gallery-item .cap {
  position: relative; z-index: 1; width: 100%; padding: 14px 16px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.94) 55%);
  font-size: 13px; font-weight: 700;
}
.gallery-item .cap small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 11.5px; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.store-note { max-width: 640px; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid p { margin: 0 0 22px; color: var(--ink-soft); font-size: 16.5px; }
.stat-row { display: flex; flex-direction: column; gap: 26px; }
.stat { border-top: 2px solid var(--ink); padding-top: 12px; }
.stat .n { font-family: 'Archivo Black', sans-serif; font-size: 32px; font-weight: 400; }
.stat .l { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* Weekly highlight / review */
.review-block { display: grid; grid-template-columns: 240px 1fr; gap: 44px; margin-top: 44px; }
@media (max-width: 700px) { .review-block { grid-template-columns: 1fr; } }
.review-cover { aspect-ratio: 1/1; background: var(--paper); border: 1px solid var(--line); position: relative; }
.review-cover .ring { position: absolute; top: 50%; left: 50%; width: 60%; aspect-ratio: 1/1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid var(--ink); }
.review-cover .dot { position: absolute; top: 50%; left: 50%; width: 16%; aspect-ratio: 1/1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--rust); }
.stars { font-size: 20px; letter-spacing: 3px; color: var(--rust); margin: 6px 0 18px; }
.editor-tag { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--ink); color: var(--white); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Comments */
.comments-section { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 44px; }
.comment-form { display: grid; gap: 12px; max-width: 560px; margin-top: 24px; }
.comment-form input, .comment-form textarea {
  border: 1.5px solid var(--ink); padding: 13px 16px; font-family: 'IBM Plex Mono', monospace; font-size: 14px; border-radius: 2px;
}
.comment-form textarea { min-height: 90px; resize: vertical; }
.star-picker { display: flex; gap: 6px; font-size: 22px; color: var(--line); }
.star-picker span { cursor: pointer; }
.comment-item { border-top: 1px solid var(--line); padding: 22px 0; }
.comment-item .who { font-weight: 700; font-size: 14px; }
.comment-item .stars-mini { color: var(--rust); font-size: 13px; margin: 4px 0 8px; }
.comment-item p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.note-box { background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; font-size: 13.5px; color: var(--ink-soft); margin-top: 30px; border-left: 3px solid var(--rust); }
