/* ─────────────────────────────────────────────────────────────
   LA GAZZETTA DELLA NONNA — al-dente.ai
   A scandal newspaper lying on a trattoria tablecloth.
   Bodoni (Parma, 1798) for the masthead, Anton for tabloid
   headlines, Old Standard for the body, a ballpoint hand
   for Nonna's marginalia. No gradients, no glass, no purple.
   ───────────────────────────────────────────────────────────── */

:root {
  --paper: #f3ead6;
  --paper-deep: #e9dcc0;
  --ink: #1b1611;
  --ink-soft: #4b4137;
  --ink-faint: rgba(27, 22, 17, 0.28);
  --red: #b5281d;
  --red-deep: #8e1d14;
  --pen: #1e3f93;

  --serif: "Old Standard TT", "Times New Roman", Georgia, serif;
  --display: "Bodoni Moda", "Didot", "Bodoni MT", "Times New Roman", serif;
  --tabloid: "Anton", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
  --hand: "Homemade Apple", "Segoe Script", "Bradley Hand", cursive;

  --check: 26px;
}

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

[hidden] {
  display: none !important;
}

html {
  background: #8e1d14;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(10px, 3vw, 44px) clamp(8px, 2.5vw, 32px) clamp(40px, 6vw, 80px);
  font-family: var(--serif);
  color: var(--ink);
  /* Gingham tablecloth: two bands of white over tomato red make pink, crossings make white. */
  background-color: #c4352a;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 245, 235, 0.62) 0 var(--check), transparent var(--check) calc(var(--check) * 2)),
    repeating-linear-gradient(90deg, rgba(255, 245, 235, 0.62) 0 var(--check), transparent var(--check) calc(var(--check) * 2));
  overflow-x: clip;
}

/* ───────────── THE SHEET ───────────── */
.paper {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(14px, 2.6vw, 40px) clamp(14px, 3.6vw, 54px) clamp(22px, 3.4vw, 48px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 50px rgba(60, 10, 5, 0.45),
    0 2px 6px rgba(60, 10, 5, 0.35);
}

/* paper grain */
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.2  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* a ring left by the espresso cup */
.paper::after {
  content: "";
  position: absolute;
  top: 3%;
  right: 4%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  pointer-events: none;
  border: 9px solid rgba(120, 70, 30, 0.16);
  border-left-color: rgba(120, 70, 30, 0.06);
  border-bottom-color: rgba(120, 70, 30, 0.1);
  transform: rotate(-30deg) scaleX(0.96);
  filter: blur(0.5px);
}

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

/* ───────────── MASTHEAD ───────────── */
.ears {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ear {
  white-space: nowrap;
}
.ear-center {
  font-family: var(--tabloid);
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}
.ear-right {
  display: flex;
  gap: 14px;
  align-items: center;
}
.lang {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.lang button {
  all: unset;
  cursor: pointer;
  padding: 0 2px;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}
.lang button:hover {
  color: var(--ink);
}
.lang button.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.lang button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.3rem, 8.4vw, 6.9rem);
  line-height: 0.92;
  text-align: center;
  margin: 0.38em 0 0.18em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.title-la,
.title-della {
  font-weight: 400;
  font-style: italic;
  font-size: 0.52em;
  vertical-align: 0.18em;
  margin: 0 0.05em;
}

.tagline {
  text-align: center;
  font-style: italic;
  font-size: clamp(0.82rem, 1.5vw, 1.02rem);
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.rule {
  height: 0;
}
.rule-double {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 5px;
}

/* ───────────── ABOUT / HOW-TO ───────────── */
.about-btn {
  all: unset;
  cursor: pointer;
  margin-left: 10px;
  padding: 0 4px 1px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.about-btn:hover,
.about-btn[aria-expanded="true"] {
  background: var(--red);
  color: var(--paper);
}
.about-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.about {
  margin: clamp(14px, 2vw, 22px) 0 0;
  border: 3px double var(--ink);
  padding: 16px 20px 18px;
  background: rgba(27, 22, 17, 0.03);
  max-width: 76ch;
  animation: print-in 0.4s ease both;
}
.about-title {
  font-family: var(--tabloid);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.about-text {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 14px;
}
.howto {
  list-style: none;
  margin: -6px 0 20px;
  padding: 10px 0 8px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}
.howto li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.howto-n {
  flex: 0 0 auto;
  font-family: var(--tabloid);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 50%;
  width: 1.6em;
  height: 1.6em;
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
}
@media (max-width: 640px) {
  .howto {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-btn {
    margin-left: 6px;
  }
}

/* ───────────── FRONT PAGE GRID ───────────── */
.front {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(16px, 2.4vw, 28px);
}
.main-col {
  min-width: 0;
}
.side-col {
  min-width: 0;
  border-left: 1px solid var(--ink);
  padding-left: clamp(14px, 2vw, 26px);
}

.view[hidden] {
  display: none !important;
}

/* ───────────── TYPE ───────────── */
.kicker {
  font-family: var(--tabloid);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}
.headline {
  font-family: var(--tabloid);
  font-weight: 400;
  font-size: clamp(2rem, 5.3vw, 4.1rem);
  line-height: 0.93;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
.deck {
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  font-style: italic;
  line-height: 1.45;
  max-width: 44ch;
  margin: 0 0 20px;
}

/* ───────────── EVIDENCE FRAME ───────────── */
.evidence {
  position: relative;
  margin: 0 0 22px;
}
.evidence-inner {
  position: relative;
  border: 3px solid var(--ink);
  padding: 9px;
  background: var(--paper-deep);
}
.evidence-inner::before {
  /* thin inner line, like a printed photo border */
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--ink-faint);
  pointer-events: none;
  z-index: 2;
}
.evidence img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: cover;
  background: var(--paper-deep);
}
.evidence figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
}
.evidence-small {
  max-width: 360px;
}
.evidence-small img {
  aspect-ratio: 4 / 3;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.75;
}

/* printed look after the verdict: desaturated, contrasty, dot screen */
.printed img {
  filter: sepia(0.28) contrast(1.14) saturate(0.8) brightness(1.02);
}
.halftone::after {
  content: "";
  position: absolute;
  inset: 9px;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(circle at center, rgba(27, 22, 17, 0.5) 0.55px, transparent 1.1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.5;
}

/* drop zone (inside the frame) */
.drop {
  display: block;
  position: relative;
  cursor: pointer;
  min-height: 220px;
  aspect-ratio: 3 / 2;
  max-height: 56vh;
  border: 2px dashed rgba(27, 22, 17, 0.5);
  outline: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.drop.has-image {
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
  border-color: transparent;
  overflow: hidden;
}
.drop.has-image img {
  max-height: 62vh;
  object-fit: cover;
}
.drop:hover,
.drop:focus-visible,
.drop.dragover {
  background: rgba(181, 40, 29, 0.06);
  border-color: var(--red);
}
.drop-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  color: var(--ink-soft);
}
.drop-icon {
  width: 54px;
  height: 54px;
  color: var(--ink);
  margin-bottom: 4px;
}
.drop-title {
  font-family: var(--tabloid);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.drop-hint {
  font-size: 0.85rem;
  font-style: italic;
  max-width: 30ch;
}
.drop-change {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--tabloid);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 6px 9px;
  cursor: pointer;
}
.drop-change:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ───────────── COOK NAME ───────────── */
.cook-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: -6px 0 18px;
  padding: 10px 0 8px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}
.cook-label {
  flex: 1 1 100%;
  font-family: var(--tabloid);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cook-line input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--hand);
  font-size: 1.15rem;
  color: var(--pen);
  background: transparent;
  border: 0;
  border-bottom: 1px dotted var(--ink);
  padding: 2px 4px 0;
  outline: none;
}
.cook-line input::placeholder {
  color: rgba(27, 22, 17, 0.38);
  font-size: 0.95rem;
}
.cook-line input:focus {
  border-bottom: 1px solid var(--red);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: -4px 0 16px;
  padding: 8px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  font-family: var(--tabloid);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.byline strong {
  font-weight: 400;
  color: var(--red);
}

/* ───────────── CTA ───────────── */
.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}
.stamp-btn {
  font-family: var(--tabloid);
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: transparent;
  border: 4px double var(--red);
  padding: 0.45em 1em 0.4em;
  transform: rotate(-2deg);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s, color 0.15s;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 -8 6.2'/></filter><rect width='100%' height='100%' fill='black' filter='url(%23g)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 -8 6.2'/></filter><rect width='100%' height='100%' fill='black' filter='url(%23g)'/></svg>");
}
.stamp-btn:hover:not(:disabled) {
  transform: rotate(-2deg) scale(1.05);
  background: var(--red);
  color: var(--paper);
}
.stamp-btn:active:not(:disabled) {
  transform: rotate(-1deg) scale(0.97);
}
.stamp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.stamp-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.fineprint {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0;
}

/* ───────────── ERROR = newspaper correction ───────────── */
.correction {
  margin-top: 18px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.correction strong {
  font-family: var(--tabloid);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-right: 6px;
}

/* ───────────── LOADING ───────────── */
.press {
  height: 14px;
  border: 1px solid var(--ink);
  overflow: hidden;
  margin: 4px 0 14px;
  background: var(--paper-deep);
}
.press-roll {
  height: 100%;
  width: 200%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 36px);
  animation: roll 0.9s linear infinite;
}
@keyframes roll {
  to {
    transform: translateX(-36px);
  }
}
.loading-line {
  font-style: italic;
  font-size: 1.05rem;
  min-height: 1.5em;
  margin: 0 0 18px;
  animation: blink-in 0.4s ease both;
}
@keyframes blink-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ───────────── VERDICT STORY ───────────── */
.story {
  animation: print-in 0.6s ease both;
}
@keyframes print-in {
  from {
    opacity: 0;
    filter: blur(2px) contrast(1.4);
  }
  to {
    opacity: 1;
    filter: none;
  }
}
.story .evidence {
  margin-bottom: 26px;
}
.story .headline {
  font-size: clamp(1.9rem, 4.9vw, 3.7rem);
}

.body {
  column-count: 2;
  column-gap: 30px;
  column-rule: 1px solid var(--ink-faint);
  font-size: 1rem;
  line-height: 1.52;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.body p {
  margin: 0 0 0.9em;
  break-inside: avoid-column;
}
.body p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 900;
  font-size: 3.3em;
  line-height: 0.78;
  float: left;
  padding: 0.1em 0.1em 0 0;
  color: var(--red);
}

.sentence {
  margin: 18px 0 14px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  font-size: 1rem;
  line-height: 1.45;
}
.sentence strong {
  display: inline-block;
  font-family: var(--tabloid);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-right: 10px;
  color: var(--red);
}

.note {
  font-family: var(--hand);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--pen);
  transform: rotate(-1.4deg);
  transform-origin: left center;
  margin: 14px 0 22px;
  padding-left: 4px;
}
.note-sign {
  display: inline-block;
  margin-left: 12px;
  white-space: nowrap;
}

/* rubber stamp on the evidence */
.stamp {
  position: absolute;
  right: -8px;
  bottom: 34px;
  z-index: 4;
  color: var(--red);
  border: 5px double var(--red);
  border-radius: 6px;
  padding: 8px 16px 9px;
  text-align: center;
  font-family: var(--tabloid);
  text-transform: uppercase;
  line-height: 1;
  transform: rotate(11deg);
  opacity: 0.95;
  background: rgba(243, 234, 214, 0.86);
  box-shadow: 0 0 0 2px rgba(243, 234, 214, 0.5);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 -9 6.6'/></filter><rect width='100%' height='100%' fill='black' filter='url(%23g)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 -9 6.6'/></filter><rect width='100%' height='100%' fill='black' filter='url(%23g)'/></svg>");
  animation: stamp-in 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) 0.35s both;
}
@keyframes stamp-in {
  from {
    transform: rotate(20deg) scale(1.7);
    opacity: 0;
  }
  60% {
    opacity: 0.95;
  }
  to {
    transform: rotate(11deg) scale(1);
    opacity: 0.92;
  }
}
.stamp-score {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
}
.stamp-word {
  display: block;
  font-size: clamp(0.8rem, 1.8vw, 1.2rem);
  letter-spacing: 0.2em;
  border-top: 2px solid var(--red);
  margin-top: 6px;
  padding-top: 5px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn {
  font-family: var(--tabloid);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px 11px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
}
.btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

/* ───────────── PUBLISH (archive) ───────────── */
.publish {
  margin: 6px 0 0;
  border: 3px double var(--ink);
  padding: 14px 16px 16px;
  background: rgba(181, 40, 29, 0.04);
}
.publish-text {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.publish-text.small {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 12px;
}
.stamp-btn-small {
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  transform: rotate(-1.5deg);
}
.link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}
.link-row code {
  flex: 1 1 240px;
  min-width: 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  background: var(--paper-deep);
  border: 1px solid var(--ink-faint);
  padding: 7px 9px;
  overflow-wrap: anywhere;
}
.btn-mini {
  padding: 8px 12px 7px;
  font-size: 0.72rem;
}
.publish .correction {
  margin-top: 12px;
}
.report {
  align-self: center;
  margin-left: auto;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-soft);
}
.report:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.actions a.btn {
  text-decoration: none;
  display: inline-block;
}
.vl-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.vl-link:hover .vl-dish {
  color: var(--red);
}
.archive-link {
  margin-top: 10px;
}

/* ───────────── ARCHIVE PAGE ───────────── */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px 20px;
  margin-top: 22px;
}
.arch-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}
.arch-card:hover .arch-head {
  color: var(--red);
}
.arch-photo {
  position: relative;
  display: block;
  border: 2px solid var(--ink);
  padding: 5px;
  background: var(--paper-deep);
  margin-bottom: 8px;
}
.arch-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(0.28) contrast(1.12) saturate(0.8);
}
.arch-stamp {
  position: absolute;
  right: -4px;
  bottom: 10px;
  transform: rotate(8deg);
  font-family: var(--tabloid);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 3px double currentColor;
  border-radius: 4px;
  padding: 3px 8px 2px;
  background: rgba(243, 234, 214, 0.9);
  color: var(--red);
}
.arch-stamp em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  margin-left: 4px;
}
.arch-stamp.s-mid {
  color: var(--ink-soft);
}
.arch-stamp.s-high {
  color: #2f5a34;
}
.arch-kicker {
  display: block;
  font-family: var(--tabloid);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
}
.arch-head {
  display: block;
  font-family: var(--tabloid);
  font-size: 1.15rem;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.arch-meta {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ───────────── SHARE ───────────── */
.share-box {
  margin-top: 14px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 14px 0 14px;
}
.share-label {
  margin: 0 0 10px;
  font-family: var(--tabloid);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.share-box .actions {
  margin-top: 0;
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 10px;
}
.chip {
  font-family: var(--tabloid);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 7px 10px 6px;
  background: transparent;
  transition: background-color 0.15s, color 0.15s;
}
.chip:hover {
  background: var(--ink);
  color: var(--paper);
}
.chip:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.share-hint {
  margin: 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
}
.share-how {
  margin-top: 12px;
  border: 1px solid var(--ink);
  padding: 10px 14px 11px;
  background: rgba(27, 22, 17, 0.03);
}
.share-how-title {
  margin: 0 0 6px;
  font-family: var(--tabloid);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.share-how-steps {
  margin: 0 0 8px;
  padding-left: 1.2em;
  font-size: 0.86rem;
  line-height: 1.5;
}
.share-how-steps li {
  margin: 0 0 3px;
}
.share-how-steps li::marker {
  font-family: var(--tabloid);
  color: var(--red);
}
.share-how kbd {
  font-family: var(--tabloid);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  border-bottom-width: 2px;
  padding: 1px 6px 0;
  background: var(--paper);
  vertical-align: 1px;
}
.actions-again {
  margin-top: 16px;
}
.btn-ghost {
  border-color: var(--ink-faint);
  color: var(--ink-soft);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

.photo-missing {
  position: relative;
  z-index: 2;
  aspect-ratio: 3 / 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(27, 22, 17, 0.05) 14px 15px),
    var(--paper-deep);
}
.photo-missing-title {
  font-family: var(--tabloid);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 4px double var(--red);
  padding: 8px 18px 6px;
  transform: rotate(-6deg);
}
.photo-missing-text {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 32ch;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--tabloid);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: toast-in 0.25s ease both;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.demo-flag {
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 2px dashed var(--red);
  color: var(--red);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.4;
  background: rgba(181, 40, 29, 0.05);
}
.demo-flag strong {
  font-family: var(--tabloid);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.16em;
  margin-right: 8px;
}

/* ───────────── SIDEBAR ───────────── */
.box {
  border: 1px solid var(--ink);
  padding: 12px 14px 13px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  background: transparent;
}
.box h3 {
  font-family: var(--tabloid);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}
.box p {
  margin: 0;
}

.box.ad {
  border: 4px double var(--ink);
  text-align: center;
  padding: 14px 14px 16px;
  position: relative;
}
.ad-label {
  position: absolute;
  top: -0.65em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 8px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ad-small {
  font-style: italic;
  font-size: 0.85rem;
  margin: 2px 0 4px !important;
}
.ad-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
  margin: 4px 0 6px !important;
  letter-spacing: -0.01em;
}
.ad-mid {
  font-size: 0.86rem;
  line-height: 1.45;
}
.ad-quote {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 0.95rem;
  margin: 10px 0 6px !important;
  transform: rotate(-1deg);
}
.ad-link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--tabloid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
}
.ad-link:hover {
  background: var(--red);
  color: var(--paper);
}
.box.caz {
  transform: rotate(0.7deg);
}
.box.wanted {
  transform: rotate(-0.6deg);
}
.box.wanted .ad-label {
  color: var(--red);
  font-family: var(--tabloid);
  font-size: 0.72rem;
}

.verdict-list,
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.verdict-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dotted var(--ink-faint);
}
.verdict-list li:last-child {
  border-bottom: 0;
}
.vl-dish {
  font-style: italic;
}
.vl-score {
  font-family: var(--tabloid);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.vl-score em {
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  margin-left: 3px;
}
.s-low {
  color: var(--red);
}
.s-mid {
  color: var(--ink-soft);
}
.s-high {
  color: #2f5a34;
}
.news-list li {
  padding: 5px 0;
  border-bottom: 1px dotted var(--ink-faint);
  font-size: 0.86rem;
}
.news-list li:last-child {
  border-bottom: 0;
}
.news-list li::before {
  content: "■ ";
  font-size: 0.6em;
  vertical-align: 0.25em;
  color: var(--red);
}

/* ───────────── COLOPHON ───────────── */
.colophon {
  margin-top: clamp(24px, 4vw, 44px);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.colophon .rule {
  margin-bottom: 12px;
}
.colophon a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.colophon a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.colophon-main {
  margin: 0 0 4px;
}
.colophon-small {
  margin: 0;
  font-style: italic;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 860px) {
  .front {
    grid-template-columns: 1fr;
  }
  .side-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ink);
    padding-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
    align-items: start;
  }
  .box {
    margin-bottom: 14px;
  }
  .body {
    column-count: 1;
  }
}
@media (max-width: 560px) {
  :root {
    --check: 20px;
  }
  .ears {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    gap: 8px;
  }
  .ear-center,
  .price,
  .ear-left [data-i18n="ear.edition"] {
    display: none;
  }
  .ear {
    white-space: normal;
  }
  .about-btn {
    margin-left: 0;
  }
  .side-col {
    grid-template-columns: 1fr;
  }
  .stamp {
    right: -4px;
    bottom: 30px;
    padding: 6px 12px 7px;
    border-width: 4px;
  }
  .cta-row {
    gap: 14px;
  }
  .paper::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stamp,
  .story,
  .loading-line,
  .press-roll {
    animation: none !important;
  }
}
