/* ── Automatos · plates.css ────────────────────────────────────────
   Reusable editorial plates. Uses host page tokens — works in bone
   mode by default, inverts automatically under body[data-mood="pitch"].
   ──────────────────────────────────────────────────────────────── */

.plate {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--rule-c);
  display: block;
}

/* ── Watch bill ────────────────────────────────────────────────── */
.plate-watchbill {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--fg);
  padding: 28px 30px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.plate-watchbill::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg,
    color-mix(in srgb, var(--fg) 2%, transparent) 0 1px, transparent 1px 3px);
}
.plate-watchbill .wb-title {
  font-family: var(--serif); font-style: italic;
  font-size: 26px; line-height: 1; letter-spacing: -.01em;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong);
  display: flex; justify-content: space-between; align-items: baseline;
}
.plate-watchbill .wb-title small {
  font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.plate-watchbill .wb-sub {
  margin-top: 6px; font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between;
}
.plate-watchbill table {
  width: 100%; margin-top: 16px; border-collapse: collapse; table-layout: fixed;
}
.plate-watchbill th, .plate-watchbill td {
  padding: 6px 4px; text-align: left; vertical-align: baseline;
  font-weight: 400; border-bottom: 1px dashed var(--rule-c);
}
.plate-watchbill th {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--rule-strong);
}
.plate-watchbill td.num { color: var(--muted); width: 32px; }
.plate-watchbill td.name { font-family: var(--serif); font-size: 16px; letter-spacing: -.005em; }
.plate-watchbill td.watch { width: 44px; text-align: right; color: var(--fg-2); }
.plate-watchbill .wb-foot {
  position: absolute; left: 30px; right: 30px; bottom: 16px;
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px; border-top: 1px solid var(--rule-c);
}
.plate-watchbill .wb-stamp {
  position: absolute; right: 24px; top: 80px;
  width: 92px; height: 92px;
  border: 1.5px solid var(--accent); color: var(--accent);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; transform: rotate(-8deg);
  opacity: .55; text-align: center; line-height: 1.3;
}
.plate-watchbill .wb-stamp b { font-weight: 500; }

/* ── Cutaway ───────────────────────────────────────────────────── */
.plate-cutaway {
  background: radial-gradient(ellipse 80% 70% at 50% 50%, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--fg);
  padding: 28px 30px 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
}
.plate-cutaway::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 15%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 15%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
}
.plate-cutaway .ct-title {
  font-family: var(--serif); font-style: italic;
  font-size: 26px; line-height: 1; letter-spacing: -.01em;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong);
  display: flex; justify-content: space-between; align-items: baseline;
  position: relative; z-index: 1;
}
.plate-cutaway .ct-title small {
  font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.plate-cutaway .ct-sub {
  margin-top: 6px; font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between;
  position: relative; z-index: 1;
}
.plate-cutaway .ct-stage {
  position: absolute; left: 0; right: 0; top: 120px; bottom: 56px;
  display: grid; place-items: center;
}
.plate-cutaway .ct-stage svg { width: 100%; height: 100%; display: block;
  stroke: var(--fg); }
.plate-cutaway .ct-stage svg text { fill: var(--fg); }
.plate-cutaway .ct-stage svg .ink-muted { fill: var(--muted); }
.plate-cutaway .ct-stage svg .ink-accent { fill: var(--accent); stroke: var(--accent); }
.plate-cutaway .ct-foot {
  position: absolute; left: 30px; right: 30px; bottom: 16px;
  display: flex; justify-content: space-between;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px; border-top: 1px solid var(--rule-c);
}
.plate-cutaway .ct-stamp {
  position: absolute; right: 24px; top: 80px;
  width: 92px; height: 92px;
  border: 1.5px solid var(--accent); color: var(--accent);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; transform: rotate(-8deg);
  opacity: .55; text-align: center; line-height: 1.3;
  z-index: 2;
}
.plate-cutaway .ct-stamp b { font-weight: 500; }

/* ── Field note ────────────────────────────────────────────────── */
.plate-fieldnote {
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--fg);
  padding: 32px 36px 28px;
  display: grid; gap: 14px;
}
.plate-fieldnote .fn-meta {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--rule-c); padding-bottom: 10px;
}
.plate-fieldnote .fn-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 28px; line-height: 1.18; letter-spacing: -.015em;
  text-wrap: pretty;
}
.plate-fieldnote .fn-attr {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Card-scoped overrides ─────────────────────────────────────────
   When a plate is dropped into a 33%-width grid card, scale fonts +
   stamp size down so the figure stays legible without overflow. */
.note .plate { min-height: 320px; }
.note .plate-watchbill { padding: 22px 22px 20px; font-size: 10px; }
.note .plate-watchbill .wb-title { font-size: 20px; padding-bottom: 8px; }
.note .plate-watchbill .wb-title small { font-size: 9px; letter-spacing: .14em; }
.note .plate-watchbill .wb-sub { font-size: 8.5px; }
.note .plate-watchbill table { margin-top: 12px; }
.note .plate-watchbill th, .note .plate-watchbill td { padding: 4px 3px; }
.note .plate-watchbill td.name { font-size: 13px; }
.note .plate-watchbill .wb-stamp {
  width: 64px; height: 64px; right: 16px; top: 60px;
  font-size: 7.5px; letter-spacing: .18em;
}
.note .plate-watchbill .wb-foot { left: 22px; right: 22px; bottom: 12px; font-size: 8px; }

.note .plate-cutaway { padding: 22px 22px 20px; }
.note .plate-cutaway .ct-title { font-size: 20px; padding-bottom: 8px; }
.note .plate-cutaway .ct-title small { font-size: 9px; letter-spacing: .14em; }
.note .plate-cutaway .ct-sub { font-size: 8.5px; }
.note .plate-cutaway .ct-stage { top: 88px; bottom: 44px; }
.note .plate-cutaway .ct-foot { left: 22px; right: 22px; bottom: 12px; font-size: 8px; }
.note .plate-cutaway .ct-stamp {
  width: 64px; height: 64px; right: 16px; top: 60px;
  font-size: 7.5px; letter-spacing: .18em;
}

.note .plate-fieldnote { padding: 22px 24px 20px; gap: 12px; }
.note .plate-fieldnote .fn-quote { font-size: 22px; line-height: 1.15; }
.note .plate-fieldnote .fn-meta { font-size: 8.5px; padding-bottom: 8px; }
.note .plate-fieldnote .fn-attr { font-size: 9px; }

/* ── Plate caption — sits below the plate, mono uppercase ──────── */
.plate-caption {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--rule-c);
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ── Responsive · tablet (≤900px) ──────────────────────────────── */
@media (max-width: 900px) {
  .featured .photo .plate { min-height: 360px !important; }
  .hero-photo .plate { min-height: 380px !important; }
  .note .plate { min-height: 280px; }
}

/* ── Responsive · mobile (≤560px) ──────────────────────────────── */
@media (max-width: 560px) {
  .featured .photo .plate { min-height: 320px !important; }
  .hero-photo .plate { min-height: 320px !important; }
  .note .plate { min-height: auto; padding: 22px 20px 18px; }
  .note .plate-fieldnote .fn-quote { font-size: 20px; }
  .note .plate-watchbill .wb-title,
  .note .plate-cutaway .ct-title { font-size: 18px; }
  /* Stamps shrink so they don't crowd narrow plates */
  .plate-watchbill .wb-stamp,
  .plate-cutaway .ct-stamp { width: 56px; height: 56px; top: 56px; right: 14px; font-size: 7px; }
}
