/* =====================================================
   Arike Home Care — Annual Report 2025
   Editorial / magazine layout, A4 print-ready
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Page setup ---------- */
@page {
  size: A4;
  margin: 0;
  /* 3mm bleed allowance is achieved via .bleed elements going to page edge */
}

@media print {
  html, body { background: #ffffff; }
  .page { box-shadow: none !important; margin: 0 !important; }
  .no-print { display: none !important; }
}

* { box-sizing: border-box; }

:root {
  /* Warm, human palette — palliative care */
  --cream:        #fbf6ee;
  --cream-deep:   #f4ead8;
  --paper:        #fffdf8;
  --terracotta:   #b94a2c;
  --terracotta-d: #8a3520;
  --ochre:        #d99036;
  --saffron:      #e9a93b;
  --sage:         #6da894;
  --teal-deep:    #2c5e5a;
  --plum:         #6e3a4f;
  --ink:          #2a221d;
  --ink-soft:     #4b3f37;
  --muted:        #8a7d72;
  --rule:         #d8c8af;

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #e8e2d6;            /* off-page workspace tone on screen */
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "kern", "liga";
}

/* ---------- Page frame ---------- */
.page {
  width: 210mm;
  height: 297mm;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  page-break-after: always;
  break-after: page;
  /* Screen-only nicety */
  margin: 10mm auto;
  box-shadow: 0 6px 30px rgba(0,0,0,.15);
}

.page:last-child { page-break-after: auto; }

.page-inner {
  position: absolute;
  inset: 18mm 16mm 18mm 16mm;     /* generous margins */
}

.page--cream      { background: var(--cream); }
.page--cream-deep { background: var(--cream-deep); }
.page--ink        { background: var(--ink); color: var(--paper); }
.page--terracotta { background: var(--terracotta); color: var(--paper); }

/* ---------- Bleed image (edge-to-edge) ---------- */
.bleed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Folio / running head ---------- */
.folio {
  position: absolute;
  left: 16mm; right: 16mm;
  bottom: 8mm;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sans);
  font-size: 8pt;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.folio .num { font-family: var(--serif); font-size: 11pt; letter-spacing: 0; color: var(--terracotta); }
.page--ink .folio, .page--terracotta .folio { color: rgba(255,255,255,0.65); }
.page--ink .folio .num, .page--terracotta .folio .num { color: var(--saffron); }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 8.5pt;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin: 0 0 14pt 0;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18pt; height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: 10pt;
  transform: translateY(-2px);
}

h1.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 64pt;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 16pt 0;
  color: var(--ink);
}
h1.display em { font-style: italic; color: var(--terracotta); font-weight: 500; }

h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: 38pt;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 14pt 0;
  color: var(--ink);
}
h2.section-title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

h3.kicker {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22pt;
  line-height: 1.15;
  margin: 18pt 0 8pt 0;
  letter-spacing: -0.01em;
}

h4.sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 14pt 0 6pt 0;
}

p, li {
  font-family: var(--sans);
  font-size: 10pt;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 8pt 0;
}

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16pt;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 16pt 0;
  letter-spacing: -0.005em;
}
.lede em { color: var(--terracotta); font-style: italic; }

.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 56pt;
  line-height: 0.85;
  float: left;
  padding: 4pt 8pt 0 0;
  color: var(--terracotta);
}

/* Pull quote */
.pullquote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22pt;
  line-height: 1.25;
  color: var(--ink);
  padding: 12pt 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 14pt 0;
}
.pullquote::before { content: "“"; color: var(--terracotta); font-size: 36pt; line-height: 0; vertical-align: -14pt; margin-right: 4pt; }

/* Lists */
ul.clean { list-style: none; padding-left: 0; }
ul.clean li {
  padding-left: 16pt;
  position: relative;
  margin-bottom: 5pt;
}
ul.clean li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8pt; height: 1px;
  background: var(--terracotta);
}

/* ---------- Cover ---------- */
.cover {
  background:
    linear-gradient(110deg, rgba(24,18,14,0.78) 0%, rgba(24,18,14,0.62) 45%, rgba(24,18,14,0.42) 100%),
    url('images/cover_1.jpg') center center / cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 18mm 16mm;
}
.cover .cover-head {
  display: flex; justify-content: space-between; align-items: center;
}
.cover .cover-logo {
  height: 14mm; width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}
.cover .cover-place {
  font-family: var(--sans);
  font-size: 8.5pt;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
}
.cover .cover-headline { margin-top: 13mm; }
.cover .cover-headline .org {
  font-family: var(--sans);
  font-size: 9.5pt;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.cover .cover-headline .thin-rule {
  width: 26mm; height: 2px;
  background: var(--saffron);
  margin: 8pt 0 12pt;
}
.cover .cover-headline h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 58pt;
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}
.cover .cover-headline h1 em {
  font-style: italic;
  color: var(--saffron);
  font-weight: 500;
}
.cover .cover-headline .cover-lede {
  font-family: var(--serif);
  font-size: 12.5pt;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 125mm;
  margin: 12pt 0 0;
}
.cover .cover-photo {
  flex: 1 1 auto;
  min-height: 0;
  margin: 12mm 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233,169,59,0.28);
  border-radius: 2mm;
  padding: 4mm;
  background: rgba(255,255,255,0.03);
}
.cover .cover-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 1mm;
}
.cover .cover-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10mm;
  margin-top: auto;
  padding-top: 13pt;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.cover .cover-stats { display: flex; gap: 12mm; }
.cover .cover-stats > div { display: flex; flex-direction: column; }
.cover .cover-stats strong {
  font-family: var(--serif);
  font-size: 24pt;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.cover .cover-stats span {
  font-family: var(--sans);
  font-size: 8pt;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 5pt;
}
.cover .cover-foot .year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20pt;
  color: var(--saffron);
  white-space: nowrap;
}

/* Full-width infographic (image spans page, text above/below) */
.infographic-full {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 10pt;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infographic-full img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6mm; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5mm; }

/* TOC */
.toc { columns: 2; column-gap: 14mm; }
.toc .toc-item {
  display: flex; align-items: baseline; gap: 6pt;
  font-family: var(--sans);
  font-size: 10pt;
  margin-bottom: 9pt;
  break-inside: avoid;
}
.toc .toc-item .label { flex: 1; color: var(--ink); }
.toc .toc-item .dots { flex: 0 1 auto; border-bottom: 1px dotted var(--rule); min-width: 8pt; height: 8pt; }
.toc .toc-item .pg { font-family: var(--serif); color: var(--terracotta); font-size: 11pt; }
.toc .toc-group {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13pt;
  color: var(--terracotta);
  margin: 0 0 6pt 0;
  break-after: avoid;
}

/* ---------- Stat blocks ---------- */
.stat {
  border-top: 1px solid var(--rule);
  padding-top: 8pt;
}
.stat .num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38pt;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--terracotta);
  display: block;
  white-space: nowrap;
}
.stat .num small {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 1.5pt;
}
.stat .label {
  font-family: var(--sans);
  font-size: 9pt;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4pt;
}

/* ---------- Scaling band (economic impact) ---------- */
.hero-figure {
  padding: 12pt 16pt 13pt;
  background: rgba(185,74,44,0.07);
  border: 1px solid rgba(185,74,44,0.22);
  border-radius: 5px;
}
.hero-figure .hf-label {
  display: block;
  font-family: var(--sans);
  font-size: 8pt;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.hero-figure .hf-num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50pt;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--terracotta);
  white-space: nowrap;
  margin: 4pt 0 2pt;
}
.hero-figure .hf-num small {
  font-size: 0.36em;
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 1pt;
}
.hero-figure .hf-text {
  display: block;
  font-family: var(--sans);
  font-size: 9.5pt;
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero-figure .hf-text strong { color: var(--ink); font-weight: 600; }
.hero-figure .hf-calc {
  margin-top: 9pt;
  padding-top: 8pt;
  border-top: 1px solid rgba(185,74,44,0.22);
  font-family: var(--serif);
  font-size: 10pt;
  color: var(--terracotta-d);
}
.hero-figure .hf-calc strong { color: var(--terracotta); }

.scale-band {
  display: flex;
  align-items: stretch;
  margin-top: 4pt;
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
  background: var(--cream);
}
.scale-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15pt 8pt;
}
.scale-step.is-goal { background: rgba(185,74,44,0.08); }
.scale-step .scale-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 33pt;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--terracotta);
  white-space: nowrap;
}
.scale-step .scale-num small { font-size: 0.42em; font-weight: 500; margin-left: 1pt; }
.scale-step .scale-cap {
  font-family: var(--sans);
  font-size: 8pt;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8pt;
}
.scale-op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22pt;
  color: var(--muted);
  background: var(--cream);
  padding: 0 2pt;
}

/* Calculation chip + cost ledger */
.calc-chip {
  margin-top: 9pt;
  padding: 8pt 11pt;
  background: rgba(185,74,44,0.07);
  border-left: 3px solid var(--terracotta);
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 10pt;
  line-height: 1.4;
  color: var(--terracotta-d);
}
.cost-list { list-style: none; padding: 0; margin: 7pt 0 0; }
.cost-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10pt;
  padding: 7pt 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.cost-list li:first-child { border-top: 1px solid var(--rule); }
.cost-list li strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 13pt;
  color: var(--terracotta);
  white-space: nowrap;
}
.cost-list li span {
  font-family: var(--sans);
  font-size: 8.5pt;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: right;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6mm;
  margin: 10pt 0 14pt 0;
}

/* Opening statement (inside cover) */
.page-inner.statement { display: flex; flex-direction: column; }
.statement .statement-body { flex: 0 0 auto; }
.numbers-band {
  margin-top: auto;
  padding-top: 14pt;
  border-top: 1px solid var(--rule);
}
.numbers-band .eyebrow { margin-bottom: 12pt; }
.numbers-band .stat-row { margin: 0; grid-template-columns: repeat(3, 1fr); }
.numbers-band .stat-row + .stat-row { margin-top: 9mm; }
.numbers-band .stat { border-top: none; padding-top: 0; }
.numbers-band .stat .num { font-size: 29pt; }
.numbers-band .stat .num small { font-size: 14pt; font-weight: 500; margin-left: 1pt; }
.numbers-band .stat .label { font-size: 8pt; margin-top: 5pt; }

/* Tables */
table.report {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 9pt;
  margin: 6pt 0 10pt 0;
}
table.report th, table.report td {
  text-align: left;
  padding: 6pt 8pt;
  border-bottom: 1px solid var(--rule);
}
table.report th {
  font-size: 8pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
  font-weight: 600;
}
table.report td.num { font-family: var(--serif); color: var(--ink); font-size: 10.5pt; }
table.report tr:last-child td { border-bottom: none; }
table.report tr.total td {
  border-top: 1px solid var(--ink);
  font-weight: 600;
  color: var(--ink);
}

/* Photo helpers */
figure { margin: 0; }
figure img { width: 100%; display: block; }
figure figcaption {
  font-family: var(--sans);
  font-size: 8pt;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 5pt;
  font-style: italic;
}
.photo-frame { overflow: hidden; background: var(--cream-deep); }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Full-bleed photo page */
.photo-page { padding: 0; background: var(--ink); }
.photo-page .bleed { object-fit: cover; object-position: 62% center; }
.photo-page .caption-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16mm;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 100%);
  color: var(--paper);
}
.photo-page .caption-strip .eyebrow { color: var(--saffron); }
.photo-page .caption-strip h2 { color: white; font-family: var(--serif); font-size: 36pt; line-height: 1.02; margin: 0 0 6pt 0; letter-spacing: -0.015em; }
.photo-page .caption-strip p { color: rgba(255,255,255,0.85); max-width: 130mm; }

/* Section divider page */
.divider {
  display: flex; flex-direction: column; justify-content: center;
}
.divider .num-large {
  font-family: var(--serif);
  font-size: 200pt;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 0.85;
  color: var(--terracotta);
  opacity: 0.18;
  position: absolute;
  top: 10mm; right: 14mm;
  letter-spacing: -0.04em;
}

/* Two-column body text */
.cols-2 { columns: 2; column-gap: 8mm; column-rule: 0; }
.cols-2 p { break-inside: avoid; }
.cols-2 .lede { column-span: all; }
.cols-2 h3.kicker { column-span: all; }

/* Sidebar box */
.sidebar {
  background: var(--cream);
  padding: 10pt 12pt;
  border-left: 3pt solid var(--terracotta);
}
.sidebar h4 { margin-top: 0; }

.card {
  background: var(--cream);
  padding: 10pt 12pt;
  border-radius: 2pt;
}

/* CSR / partner grid */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5mm 6mm;
}
.partner-grid .partner {
  padding: 8pt 0;
  border-top: 1px solid var(--rule);
}
.partner-grid .partner .name {
  font-family: var(--serif);
  font-size: 11pt;
  color: var(--ink);
  line-height: 1.2;
}
.partner-grid .partner .amt {
  font-family: var(--sans);
  font-size: 9pt;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 2pt;
}

/* Timeline */
.timeline { position: relative; padding-left: 20pt; }
.timeline::before {
  content: ""; position: absolute;
  left: 4pt; top: 4pt; bottom: 4pt;
  width: 1px; background: var(--rule);
}
.timeline .year-block { margin-bottom: 10pt; position: relative; break-inside: avoid; }
.timeline .year-block::before {
  content: ""; position: absolute;
  left: -19pt; top: 6pt;
  width: 8pt; height: 8pt; border-radius: 50%;
  background: var(--terracotta);
}
.timeline .year-block .yr {
  font-family: var(--serif);
  font-size: 18pt;
  color: var(--terracotta);
  font-weight: 500;
  display: block;
  margin-bottom: 3pt;
  letter-spacing: -0.01em;
}
.timeline .year-block p { font-size: 9.2pt; line-height: 1.5; margin-bottom: 3pt; }

/* Cover decorative line */
.thin-rule {
  height: 1px;
  background: var(--terracotta);
  width: 30mm;
  margin: 8pt 0;
}

/* Two-column with image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.split.bleed-left .img-pane { position: relative; }
.split .img-pane { position: relative; overflow: hidden; }
.split .img-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.split .content-pane { padding: 18mm 16mm; display: flex; flex-direction: column; justify-content: center; }

/* Utility */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6pt; }
.mt-2 { margin-top: 14pt; }
.mt-3 { margin-top: 22pt; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.full-h { height: 100%; }
.flex-col { display: flex; flex-direction: column; }
.flex-between { display: flex; justify-content: space-between; align-items: baseline; }

/* On-screen page marker */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------- Infographic (chart/diagram) display ---------- */
.infographic {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* Dedicated infographic page: heading on top, chart fills the rest at 100% width */
.page--chart .page-inner {
  display: flex;
  flex-direction: column;
}
.page--chart .chart-frame {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 10pt;
}
.page--chart .chart-frame img {
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.page--chart .chart-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11pt;
  color: var(--muted);
  margin-top: 8pt;
  text-align: center;
}

/* ---------- Merged chart layouts ---------- */
.chart-pair {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6mm;
  min-height: 0;
  margin-top: 8pt;
}
.chart-pair.row { flex-direction: row; }
.chart-pair .cell {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.chart-pair .cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.chart-pair .cell .chart-caption { margin-top: 4pt; font-size: 9.5pt; }
/* Inline chart that fits remaining vertical space on a merged page */
.chart-fit {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8pt;
}
.chart-fit img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ---------- Placeholder image ---------- */
.placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--cream) 0,
      var(--cream) 8pt,
      var(--cream-deep) 8pt,
      var(--cream-deep) 16pt
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--sans);
  border: 1px solid var(--rule);
  text-align: center;
  padding: 14pt;
  overflow: hidden;
}
.placeholder::before {
  content: "";
  width: 38pt; height: 38pt;
  border-radius: 50%;
  border: 1.5pt solid var(--terracotta);
  background:
    radial-gradient(circle at 30% 30%, var(--terracotta) 0, var(--terracotta) 3pt, transparent 4pt),
    linear-gradient(135deg, transparent 50%, var(--terracotta) 50% 60%, transparent 60%);
  opacity: 0.75;
  margin-bottom: 10pt;
}
.placeholder .ph-label {
  font-size: 8pt;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
.placeholder .ph-hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 11pt;
  color: var(--ink-soft);
  margin-top: 4pt;
  max-width: 80%;
  line-height: 1.3;
}

/* placeholder used as a bleed image */
.placeholder.bleed { position: absolute; inset: 0; }

/* Print toolbar (screen only) */
.print-controls {
  position: fixed;
  top: 12px; right: 12px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.print-btn {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.print-btn:hover { background: var(--terracotta-d); }
.print-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 240px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 9px 11px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.print-info strong { color: var(--terracotta); font-weight: 600; }
.print-info__icon {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  font-family: var(--serif);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 1000;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--terracotta); }
