:root {
  --ink: #2b2520;
  --ink-soft: #6b5f52;
  --paper: #f4ecdd;
  --paper-2: #fbf6ec;
  --accent: #b5341f;
  --gold: #b08a3e;
  --line: #d8c9af;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, #fbf6ec 0%, transparent 55%),
    radial-gradient(circle at 90% 90%, #f0e6d2 0%, transparent 50%),
    #efe4cf;
  color: var(--ink);
  font-family: 'Spectral', Georgia, serif;
  line-height: 1.6;
  padding: 24px 16px 64px;
}

.zine {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(60, 45, 25, 0.18);
  padding: clamp(24px, 5vw, 56px);
  position: relative;
}

.zine::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Cover */
.cover {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 3px double var(--line);
  margin-bottom: 36px;
}
.cover__edition {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.cover__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 12vw, 92px);
  line-height: 0.95;
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}
.cover__subtitle {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.cover__progress { max-width: 360px; margin: 0 auto; }
.cover__bar {
  height: 6px;
  background: #e4d6bb;
  border-radius: 99px;
  overflow: hidden;
}
.cover__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transition: width 0.4s ease;
}
.cover__count {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* Briefing */
.briefing {
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 3px double var(--line);
}
.briefing__head {
  text-align: center;
  margin-bottom: 24px;
}
.briefing__kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.briefing__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 6vw, 38px);
  margin: 6px 0 8px;
}
.briefing__lead {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 56ch;
}
.briefing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.brief {
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 2px 2px 0 var(--line);
  padding: 18px 20px;
}
.brief__title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.brief__text {
  margin: 0 0 8px;
  font-size: 15px;
}
.brief__points {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.brief__points li { margin: 5px 0; }

/* Day */
.day { margin-bottom: 40px; }
.day__head { margin-bottom: 20px; }
.day__num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 12px;
}
.day__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 6vw, 40px);
  margin: 10px 0 6px;
}
.day__lead {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

/* Entry */
.entry {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.3s ease;
}
.entry__check {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  width: 28px;
}
.entry__check input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 50%;
  cursor: pointer;
  display: block;
  margin: 0;
  transition: all 0.2s ease;
}
.entry__check input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.entry__check input:checked::after {
  content: "✓";
  color: #fff;
  position: absolute;
  top: 1px;
  left: 5px;
  font-size: 15px;
  font-weight: 700;
}
.entry__stamp {
  position: absolute;
  top: 30px;
  left: -6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 1px 4px;
  transform: rotate(-12deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.entry.is-done .entry__stamp { opacity: 0.85; }

.entry__body { flex: 1; }
.entry__time {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.entry__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 2px 0 6px;
}
.entry__text { margin: 0 0 8px; }
.entry__notes {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--ink-soft);
}
.entry__notes li { margin: 2px 0; }
.entry__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.pill {
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 1px 1px 0 var(--line);
}

.entry.is-done .entry__title,
.entry.is-done .entry__text { text-decoration: line-through; }
.entry.is-done { opacity: 0.62; }

.colophon {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 3px double var(--line);
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}

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

@media (max-width: 480px) {
  body { padding: 12px 6px 40px; }
  .entry__stamp { display: none; }
}
