@page {
  size: A4;
  margin: 12mm;
}

:root {
  --ember: #c41a2b;
  --ink: #14161a;
  --steel: #5c636b;
  --paper: #ffffff;
  --font-d: "Syne", sans-serif;
  --font-b: "Source Sans 3", sans-serif;
  --font-m: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 10.5pt;
  line-height: 1.4;
}

.sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 14mm 14mm 12mm;
  background: #fff;
  position: relative;
}

.sheet-land {
  width: 297mm;
  min-height: 210mm;
  padding: 12mm;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.brand-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 12pt;
}

.brand-lock img { width: 22px; height: 22px; }

.doc-id {
  font-family: var(--font-m);
  font-size: 8pt;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: right;
}

h1 {
  font-family: var(--font-d);
  font-size: 22pt;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

h2 {
  font-family: var(--font-d);
  font-size: 13pt;
  margin: 16px 0 8px;
}

.kicker {
  font-family: var(--font-m);
  font-size: 8pt;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 6px;
}

.cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.hero-pic img {
  width: 100%;
  height: 78mm;
  object-fit: cover;
  background: #111;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 4px 0;
  border-bottom: 1px solid #ddd;
  font-size: 9.5pt;
}

th {
  font-family: var(--font-m);
  font-size: 7.5pt;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}

.foot {
  position: absolute;
  left: 14mm;
  right: 14mm;
  bottom: 10mm;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 7.5pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border-top: 1px solid #ddd;
  padding-top: 6px;
}

.screen-bar {
  max-width: 210mm;
  margin: 16px auto;
  display: flex;
  gap: 8px;
}

.screen-bar a,
.screen-bar button {
  font: 12px/1 var(--font-b);
  padding: 8px 12px;
  background: #c41a2b;
  color: #fff;
  border: 0;
  text-decoration: none;
}

@media print {
  .screen-bar { display: none !important; }
  .sheet, .sheet-land {
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
  }
  .foot { position: fixed; }
}

.flyer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 186mm;
}

.flyer .panel {
  border: 1px solid #e4e0d8;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.flyer img {
  width: 100%;
  height: 72mm;
  object-fit: cover;
}

.muted { color: var(--steel); }
