/* ─────────────────────────────────────────────────────────────────────────────
   Field Notes
   Short, dated write-ups of one real finding at a time. Reuses archive + the
   experiment detail styles; this file only covers what's specific to the format:
   the index hero, the note card, and the in-note data blocks (tables + callouts).
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Index hero ─────────────────────────────────────────────────────────────── */
.fieldnote-hub-hero {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}
.fieldnote-hub-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 0.75rem;
}
.fieldnote-hub-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 0.9rem;
  color: var(--color-text-primary);
}
.fieldnote-hub-hero__lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 46ch;
  margin: 0 0 1.4rem;
}
.fieldnote-hub-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fieldnote-hub-hero__data {
  margin: 1.1rem 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.fieldnote-hub-hero__data code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--color-text-secondary);
}
.fieldnote-hub-hero__data a { color: var(--color-gold-muted); }

/* ── "How to read" band ────────────────────────────────────────────────────── */
.fieldnote-standards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0 0 3rem;
}
.fieldnote-standard {
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-premium-gold);
  border-radius: 4px;
  padding: 1.1rem 1.2rem;
  background: var(--color-surface);
}
.fieldnote-standard__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 0.4rem;
}
.fieldnote-standard h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-md);
  margin: 0 0 0.35rem;
  color: var(--color-text-primary);
}
.fieldnote-standard p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Note card (index grid) ────────────────────────────────────────────────── */
.fieldnote-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fieldnote-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 2px 18px var(--glow-gold);
}
.fieldnote-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.fieldnote-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: 1.2rem;
  margin: 0;
}
.fieldnote-card__title a { color: var(--color-text-primary); text-decoration: none; }
.fieldnote-card__title a:hover { color: var(--color-gold-muted); }
.fieldnote-card__dek {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0;
}
.fieldnote-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.15rem; }
.fieldnote-card__footer { margin-top: auto; padding-top: 0.5rem; }

/* ── In-note data blocks ──────────────────────────────────────────────────── */
.fieldnote-datablock { margin: 1.75rem 0; }

.fieldnote-figure {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  overflow: hidden;
  background: var(--color-bg);
}
.fieldnote-figure__caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.fieldnote-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fieldnote-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.fieldnote-table th,
.fieldnote-table td {
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
  color: var(--color-text-secondary);
}
.fieldnote-table th {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.fieldnote-table tbody tr:last-child td { border-bottom: none; }
.fieldnote-table tr.is-highlight td {
  background: var(--badge-new-bg);
  color: var(--badge-new-text);
  font-weight: 600;
}
.fieldnote-figure__note {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
  padding: 0.65rem 1rem 0.8rem;
  border-top: 1px solid var(--color-border);
}

.fieldnote-callout {
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--color-premium-gold);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  background: var(--glow-gold);
}
.fieldnote-callout__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 0.35rem;
}
.fieldnote-callout__body {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ── Watching-for open loop ────────────────────────────────────────────────── */
.fieldnote-watching {
  margin: 2rem 0 0;
  border-top: 2px solid var(--color-premium-gold);
  padding-top: 1rem;
}
.fieldnote-watching__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: 0.4rem;
}
.fieldnote-watching__body {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-text-primary);
  margin: 0;
}
