/* HERproductions — shared brand tokens */
:root {
  --pink: #FFB6D5;
  --pink-deep: #FF7AB6;
  --cobalt: #1535D4;
  --cobalt-deep: #0A1E8F;
  --white: #FBF9F4;
  --black: #0A0A0A;
  --ink: #171717;
  --grid: rgba(10,10,10,0.08);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-pill: 999px;

  --f-display: 'Fraunces', 'Vercetti', Georgia, serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: 'Inter', -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.f-display { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; }
.f-serif-it { font-family: var(--f-serif); font-style: italic; font-weight: 400; }

/* Brand wordmark — inline */
.wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.wordmark em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

/* Print: A4 page */
@page { size: A4; margin: 18mm 16mm; }
@media print {
  body { background: white; }
  .no-print { display: none !important; }
  .page-break { page-break-before: always; }
}

/* Generic print sheet container */
.sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 24px auto;
  padding: 22mm 18mm;
  background: var(--white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  position: relative;
}
@media print {
  .sheet { box-shadow: none; margin: 0; width: auto; min-height: auto; padding: 0; }
}

/* Common header bar */
.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}
.brand-bar .lockup {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-bar .lockup em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.brand-bar .meta {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
  text-align: right;
}

/* Footer */
.brand-foot {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Section heading */
h2.section {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 22px;
  margin-bottom: 10px;
}
h2.section em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--cobalt); }

/* Tables */
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
table.data th {
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 8px;
  border-bottom: 1px solid var(--ink);
  opacity: 0.7;
}
table.data td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--grid);
  vertical-align: top;
}
table.data tr.total td {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  border-top: 2px solid var(--ink);
  border-bottom: none;
  padding-top: 14px;
}
.num { font-variant-numeric: tabular-nums; text-align: right; font-feature-settings: 'tnum'; }

/* Field label / value pairs */
.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin-bottom: 18px; }
.kv .k {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 600;
  margin-bottom: 4px;
}
.kv .v {
  font-size: 13px;
  border-bottom: 1px solid var(--grid);
  padding-bottom: 6px;
  min-height: 22px;
}
.kv .v.fill { color: var(--ink); }
.kv .v.empty { color: var(--ink); opacity: 0.35; font-style: italic; }

/* Editable placeholder style */
[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  opacity: 0.35;
  font-style: italic;
}
[contenteditable="true"]:focus { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* Pill */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.pill.pink { background: var(--pink); color: var(--black); }
.pill.cobalt { background: var(--cobalt); color: var(--white); }
.pill.outline { border: 1px solid var(--ink); }
