:root {
  --zakki-ink: #141414;
  --zakki-paper: #f6f2ea;
  --zakki-paper-strong: #efe9dd;
  --zakki-card: #fffdf8;
  --zakki-muted: #5d5953;
  --zakki-line: #181818;
  --zakki-accent: #e84d2a;
  --zakki-accent-dark: #bd3518;
  --zakki-blue: #2556d8;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--zakki-ink);
  background: var(--zakki-paper);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

#quarto-header {
  border-bottom: 1px solid var(--zakki-line);
}

.navbar {
  min-height: 3.8rem;
  background: var(--zakki-paper) !important;
}

.navbar-brand,
.navbar-nav .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--zakki-ink) !important;
}

.navbar-brand {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar-toggler {
  border-color: var(--zakki-line);
}

#quarto-content {
  background: var(--zakki-paper);
}

.editorial-hero {
  position: relative;
  overflow: hidden;
  margin: 2rem 0 4.5rem;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  color: var(--zakki-paper);
  background: var(--zakki-ink);
}

.editorial-hero::before {
  position: absolute;
  z-index: 0;
  top: -12rem;
  right: -7rem;
  width: min(44vw, 32rem);
  aspect-ratio: 1;
  border: 1px solid rgb(246 242 234 / 45%);
  border-radius: 50%;
  content: "";
}

.editorial-hero::after {
  position: absolute;
  z-index: 0;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 4vw, 3rem);
  width: clamp(3.8rem, 11vw, 8rem);
  aspect-ratio: 1;
  background: var(--zakki-accent);
  border-radius: 50%;
  content: "";
}

.editorial-hero > * {
  position: relative;
  z-index: 1;
}

.issue-line,
.card-topline,
.hero-footer,
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.issue-line {
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgb(246 242 234 / 60%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.issue-scope {
  color: rgb(246 242 234 / 75%);
}

.editorial-hero h1 {
  max-width: 11ch;
  color: var(--zakki-paper);
  margin: clamp(2rem, 6vw, 5.5rem) 0 1.2rem;
  font-size: clamp(3.25rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.editorial-hero p {
  max-width: 44rem;
  color: var(--zakki-paper);
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-link,
.card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-link {
  padding: 0.65rem 1rem;
  color: var(--zakki-ink);
  background: var(--zakki-paper);
}

.hero-link:hover {
  color: var(--zakki-paper);
  background: var(--zakki-accent);
  transform: translateY(-2px);
}

.hero-link-secondary {
  color: var(--zakki-paper);
  background: transparent;
  border: 1px solid rgb(246 242 234 / 70%);
}

.hero-link-secondary:hover {
  color: var(--zakki-ink);
  background: var(--zakki-paper);
}

.hero-footer {
  margin-top: clamp(2.5rem, 7vw, 6rem);
  color: rgb(246 242 234 / 70%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  align-items: end;
  margin: 0 0 1.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 2px solid var(--zakki-line);
}

.section-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--zakki-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.section-kicker,
.card-role,
.card-kind {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker,
.card-role {
  color: var(--zakki-accent);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 4rem;
  border-top: 1px solid var(--zakki-line);
  border-left: 1px solid var(--zakki-line);
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 23rem;
  padding: clamp(1.25rem, 2.8vw, 2rem);
  background: var(--zakki-card);
  border-right: 1px solid var(--zakki-line);
  border-bottom: 1px solid var(--zakki-line);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.content-card:hover {
  color: var(--zakki-paper);
  background: var(--zakki-ink);
  transform: translateY(-0.35rem);
}

.card-index {
  display: block;
  margin-bottom: auto;
  color: var(--zakki-line);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
}

.card-topline {
  align-items: center;
  margin: 1.8rem 0 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid currentcolor;
}

.card-kind {
  color: var(--zakki-muted);
}

.content-card h3 {
  margin: 0 0 0.65rem;
  color: inherit;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.content-card p,
.content-card > :not(h3):not(.card-index):not(.card-topline):not(.card-link) {
  color: var(--zakki-muted);
  line-height: 1.75;
}

.content-card code {
  width: fit-content;
  padding: 0.18rem 0.35rem;
  color: inherit;
  background: var(--zakki-paper-strong);
  border-radius: 0;
  font-size: 0.78rem;
}

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--zakki-blue);
  font-size: 0.88rem;
}

.card-link:hover {
  color: var(--zakki-accent);
  transform: translateX(0.25rem);
}

.content-card:hover .card-index,
.content-card:hover .card-kind,
.content-card:hover .content-card p,
.content-card:hover .content-card > :not(h3):not(.card-index):not(.card-topline):not(.card-link) {
  color: rgb(246 242 234 / 72%);
}

.content-card:hover .card-role,
.content-card:hover .card-link {
  color: #ff8b6d;
}

.content-card:hover code {
  color: var(--zakki-paper);
  background: rgb(246 242 234 / 16%);
}

.featured-card {
  color: var(--zakki-paper);
  background: var(--zakki-blue);
}

.featured-card .card-index,
.featured-card .card-kind,
.featured-card p,
.featured-card > :not(h3):not(.card-index):not(.card-topline):not(.card-link) {
  color: rgb(246 242 234 / 78%);
}

.featured-card .card-role,
.featured-card .card-link {
  color: #ffc2b1;
}

.featured-card code {
  color: var(--zakki-paper);
  background: rgb(246 242 234 / 16%);
}

.editorial-note {
  max-width: 54rem;
  margin: 0 0 3.5rem auto;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 4px solid var(--zakki-accent);
}

.editorial-note .section-kicker {
  display: block;
  margin-bottom: 0.6rem;
}

.editorial-note blockquote {
  margin: 0;
  color: var(--zakki-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

#quarto-content :focus-visible {
  outline: 3px solid var(--zakki-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .editorial-hero {
    margin-top: 1rem;
  }

  .editorial-hero h1 {
    letter-spacing: -0.06em;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 0.6rem;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 19rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-link,
  .card-link,
  .content-card {
    transition: none;
  }

  .hero-link:hover,
  .card-link:hover,
  .content-card:hover {
    transform: none;
  }
}


.feed-card {
  min-height: 31rem;
  margin: 0;
  background: var(--zakki-card);
}

.feed-card#antenna {
  background: #e8eee8;
}

.feed-card-index {
  display: block;
  margin-bottom: auto;
  color: var(--zakki-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feed-card .card-topline {
  margin: 1.5rem 0 0.7rem;
}

.feed-card .card-kind {
  max-width: 11rem;
  overflow: hidden;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card h3 {
  margin-bottom: 0.45rem;
}

.feed-card .feed-intro {
  margin: 0 0 1rem;
  color: var(--zakki-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.feed-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid currentcolor;
}

.feed-item {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: start;
  padding: 0.68rem 0;
  border-bottom: 1px solid currentcolor;
}

.feed-item > p {
  margin: 0;
}

.feed-item .feed-index {
  grid-column: 1;
  grid-row: 1;
}

.feed-item .feed-copy {
  grid-column: 2;
  grid-row: 1;
}

.feed-item .feed-arrow {
  grid-column: 3;
  grid-row: 1;
}

.feed-copy > p {
  margin: 0;
}

.feed-title,
.feed-arrow {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.feed-title:hover,
.feed-arrow:hover {
  color: var(--zakki-accent);
}

.feed-title:hover {
  display: -webkit-box;
  transform: translateX(0.15rem);
}

.feed-index {
  color: var(--zakki-accent);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.feed-copy {
  display: grid;
  gap: 0.16rem;
}

.feed-meta {
  color: var(--zakki-muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feed-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.feed-arrow {
  color: var(--zakki-blue);
  font-size: 0.95rem;
  line-height: 1.2;
}

.feed-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.feed-updated {
  margin: 0;
  color: var(--zakki-muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.feed-source {
  flex: 0 0 auto;
  color: var(--zakki-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid currentcolor;
}

.feed-source:hover {
  color: var(--zakki-accent);
}

.feed-card:hover .feed-card-index,
.feed-card:hover .feed-meta,
.feed-card:hover .feed-updated {
  color: rgb(246 242 234 / 72%);
}

.feed-card:hover .feed-source,
.feed-card:hover .feed-title:hover,
.feed-card:hover .feed-arrow {
  color: #ffc2b1;
}

@media (max-width: 768px) {
  .feed-card {
    min-height: 27rem;
  }
}


.editorial-home #title-block-header.quarto-title-block {
  display: none;
}


.feed-card > p,
.feed-card .card-topline > p,
.feed-footer > p {
  margin: 0;
}
