:root {
  --ink: #1a120c;
  --muted: #5c534a;
  --paper: rgba(245, 240, 230, 0.95);
  --card: transparent;
  --line: rgba(26, 18, 12, 0.18);
  --accent: #9d2a1f;
  --accent-ink: #7a1f16;
  --shadow: none;
  --shadow-hover: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --display: Outfit, "Source Sans 3", "Segoe UI", sans-serif;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #2a2118;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/pictures/eye-desk.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #e7a28f; outline-offset: 3px; }
.sheet {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 40px;
  padding: 18px 26px 8px;
  background: transparent;
  box-shadow: none;
}
.deckle {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-color: rgba(245, 240, 230, 0.95);
  background-image: url("/assets/pictures/fiber.svg?v=15");
  background-size: 160px 160px;
  box-shadow:
    1px 1px 0 rgba(236, 228, 216, 0.95),
    2px 2px 0 rgba(224, 214, 200, 0.9);
  filter:
    drop-shadow(0 2px 2px rgba(36, 20, 8, 0.45))
    drop-shadow(0 12px 18px rgba(28, 14, 6, 0.38));
}
.sheet::before, .sheet::after, .mark {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--ink);
  border-style: solid;
  pointer-events: none;
}
.sheet::before { content: ""; top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.sheet::after { content: ""; top: 8px; right: 8px; border-width: 1px 1px 0 0; }
.mark.bl { bottom: 8px; left: 8px; border-width: 0 0 1px 1px; }
.mark.br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.mast { padding: 6px 8px 0; }
.ears {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 5px 2px;
}
.bug { color: var(--accent); }
.brand {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(3.1rem, 8vw, 6.2rem);
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-align: center;
  display: block;
  margin: 22px 0 4px;
  color: var(--ink);
}
.brand:hover { color: var(--accent-ink); }
.dateline {
  text-align: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.mast::after {
  content: "";
  display: block;
  height: 7px;
  margin-top: 8px;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 240, 230, 0.95);
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a332c;
  padding: 8px 8px;
  border-radius: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s var(--ease);
}
.nav a:hover { background: transparent; color: var(--accent); transform: none; }
.nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.search { display: flex; gap: 6px; align-items: center; position: relative; }
.search .meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search input {
  font: inherit;
  font-size: 0.92rem;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
  padding: 6px 4px;
  width: 140px;
  color: var(--ink);
  box-shadow: none;
  transition: width 0.45s var(--ease);
}
.search input:focus { width: 190px; background: transparent; box-shadow: none; outline: none; }
.search button, .more, .pager a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 6px 10px;
  min-height: 34px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.search button:hover, .more:hover, .pager a:hover {
  background: var(--ink);
  color: #f5f0e6;
  transform: none;
  box-shadow: none;
}
main { padding: 16px 6px 4px; }
.kicker {
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
}
.kicker:hover { transform: none; }
.tone-culture, .tone-news, .tone-sports, .tone-politics, .tone-technology, .tone-health, .tone-food, .tone-environment { background: transparent; }
.tone-culture { color: #9a5410; }
.tone-news { color: #1d4f91; }
.tone-sports { color: #1c7a45; }
.tone-politics { color: #5336a8; }
.tone-technology { color: #0f6e6b; }
.tone-health { color: #b4233c; }
.tone-food { color: #b45309; }
.tone-environment { color: #4d7c0f; }
.shot { display: block; border-radius: 1px; overflow: hidden; margin: 0 0 10px; aspect-ratio: 16 / 10; background: #e6dfd2; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.lead:hover .shot img, .story:hover .shot img, .col:hover .shot img { transform: scale(1.03); }
.shot-lead { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.shot-story { aspect-ratio: 16 / 8; margin-bottom: 8px; }
.shot-col { aspect-ratio: 16 / 10; margin-bottom: 8px; }
.credit { color: var(--muted); font-size: 0.82rem; margin: 0 0 14px; font-style: italic; }
.front {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.78fr);
  border-bottom: 4px solid var(--ink);
  margin-bottom: 8px;
}
.lead {
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 22px 16px 2px;
  margin: 0;
  border-right: 1px solid var(--line);
}
.lead:hover { transform: none; box-shadow: none; }
.lead h2 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 8px 0;
}
.lead h2 a, .brief h3 a, .card h3 a, .result h2 a, .col h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
.lead:hover h2 a, .brief:hover h3 a, .card:hover h3 a, .result:hover h2 a { background-size: 100% 1px; }
.deck { font-size: 1.15rem; color: #2c261f; margin: 0 0 14px; max-width: 40rem; }
.meta { color: var(--muted); font-size: 0.88rem; margin: 0; }
.rail {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  position: static;
  padding: 2px 2px 12px 16px;
}
.slug, .rule-title {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 4px 0 6px;
}
.rule-title { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.brief { padding: 9px 0; border-top: 1px solid var(--line); }
.brief h3, .col h3, .card h3, .result h2, .row h3 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 3px 0 2px;
}
.folio-more { margin: 10px 0 0; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { padding: 0 12px 8px; border-left: 1px solid var(--line); }
.col:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.col h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  margin: 0 0 2px;
}
.col h2 a:hover { color: var(--accent); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.card, .result, .row {
  background: transparent;
  border-radius: 0;
  padding: 12px 0 10px;
  box-shadow: none;
  border-top: 1px solid var(--line);
}
.card:hover, .result:hover, .row:hover { transform: none; box-shadow: none; }
.card h3, .result h2 { font-size: 1.4rem; }
.card p, .result p { color: #3c362f; margin: 6px 0 0; }
.page-head { margin: 4px 0 12px; padding-bottom: 8px; border-bottom: 4px solid var(--ink); }
.page-head h1, .story h1 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 6px;
}
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.story {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 12px;
  box-shadow: none;
  max-width: 44rem;
  margin: 0 auto;
}
.story h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 10px 0 8px; }
.story .body { font-size: 1.12rem; line-height: 1.7; color: #241e18; margin-top: 16px; }
.story .body p, .story .body div { margin: 0 0 1em; }
.story .body p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.3rem;
  line-height: 0.8;
  padding: 4px 8px 0 0;
  font-weight: 650;
}
.story .body a { color: var(--accent-ink); box-shadow: inset 0 -1px 0 rgba(157, 42, 31, 0.45); }
.story .body a:hover { color: var(--accent); }
.pager { display: flex; gap: 10px; align-items: center; margin: 18px 0 8px; }
.sections { display: grid; grid-template-columns: repeat(3, 1fr); }
.sections a {
  background: transparent;
  border-radius: 0;
  padding: 12px 10px;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--line);
}
.sections a:hover { transform: none; box-shadow: none; color: var(--accent-ink); }
.sections strong { font-family: var(--serif); font-weight: 650; font-size: 1.2rem; }
.foot {
  margin-top: 16px;
  padding: 8px 4px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 4px solid var(--ink);
  box-shadow: inset 0 1px 0 var(--ink);
}
.foot p { margin: 0 0 4px; }
.foot a { color: var(--ink); box-shadow: inset 0 -1px 0 rgba(26, 18, 12, 0.35); }
.foot a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .sheet { width: calc(100% - 16px); margin: 10px auto 18px; padding: 12px 12px 6px; }
  .brand { font-size: 2.7rem; }
  .ears { letter-spacing: 0.06em; font-size: 0.64rem; }
  .bar { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; }
  .search { margin-left: auto; }
  .search input, .search input:focus { width: 120px; }
  .front, .cols, .grid, .sections { display: block; }
  .lead, .rail, .col { border: 0; padding: 0; }
  .col { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
  .story { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
