/* =========================================================================
   aarav.me  ·  Risograph (V5 — print zine)
   "two colours, one pass, slight misregistration as feature."
   ========================================================================= */

:root {
  --paper:      #F4F0E4;
  --paper-deep: #ECE5D2;
  --ink:        #1A1A1A;
  --ink-soft:   #4A4A48;
  --ink-muted:  #8A8782;
  --rule:       #1A1A1A;
  --orange:     #FF4D2E;
  --orange-d:   #D63A1F;

  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='9'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
  transition: color 50ms steps(2), background 50ms steps(2);
}
a:hover {
  color: var(--orange-d);
  background: rgba(255, 77, 46, 0.10);
}

/* ============================ KICKER BAR ============================ */

.kicker-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.kicker-bar__right { margin-left: auto; }

/* ============================ PRESS (main) ============================ */

.press {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 64px;
}

/* ============================ HERO ============================ */

.hero { margin-bottom: 56px; padding-bottom: 36px; border-bottom: 2px solid var(--ink); }

.pre {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* The misregistration trick: same headline rendered twice, second offset in orange */
.banner {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 12vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0 0 36px;
  text-transform: uppercase;
}

.banner__front,
.banner__back {
  display: block;
  text-wrap: balance;
}
.banner__back {
  position: absolute;
  top: 4px;
  left: 6px;
  color: var(--orange);
  z-index: 0;
  user-select: none;
}
.banner__front {
  position: relative;
  color: var(--ink);
  z-index: 1;
  mix-blend-mode: multiply;
}

.lede {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
  font-weight: 400;
}

/* ============================ SPREAD (section) ============================ */

.spread { padding: 48px 0; border-bottom: 2px solid var(--ink); }
.spread:last-of-type { border-bottom: 0; }

.spread__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}

.spread__head h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  color: var(--ink);
}

.spread__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--orange-d);
}

/* ============================ CATALOG (work) ============================ */

.catalog { display: flex; flex-direction: column; gap: 2px; }
.catalog li {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 8px 22px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed var(--ink-muted);
  font-family: var(--sans);
}
.catalog__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-transform: uppercase;
}
.catalog__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.018em;
  color: var(--ink);
  border-bottom: 0;
}
.catalog__name:hover { color: var(--orange-d); background: none; }
.catalog__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.catalog__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 3px 8px;
  border: 1.5px solid currentColor;
  color: var(--ink);
  text-transform: uppercase;
}
.catalog__tag.tag--press  { background: var(--orange); color: var(--paper); border-color: var(--orange); }
.catalog__tag.tag--killed { color: var(--orange-d); text-decoration: line-through; }

@media (max-width: 700px) {
  .catalog li { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================ CARDS (writing) ============================ */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.card {
  padding: 24px 22px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  transition: background 50ms steps(2);
}
.card:hover { background: var(--paper-deep); }

.card__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--orange-d);
  margin-bottom: 10px;
}
.card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.18;
  margin-bottom: 8px;
  color: var(--ink);
}
.card__title a { color: var(--ink); border-bottom: 0; }
.card__title a:hover { color: var(--orange-d); background: none; }
.card__lede {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
}

/* ============================ ABOUT ============================ */

.about {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: 18px;
}
.about strong { font-weight: 700; }
.about em { color: var(--orange-d); font-style: normal; font-weight: 500; }

.channels {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================ PRESS FOOT ============================ */

.press-foot {
  background: var(--orange);
  color: var(--paper);
  padding: 8px 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-align: center;
  white-space: nowrap;
}

::selection { background: var(--orange); color: var(--paper); }
