/* Sevendyne case study — print/PDF layout (matches portfolio brochure tone) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a1a1a;
  --rule: #c8b89a;
  --gold: #a8894a;
  --muted: #5c5648;
  --light: #f7f4ef;
  --white: #fefcf9;
  --accent: #2563eb;
  --pad: 36px;
}

html { font-size: 15px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #e8e4dd;
  line-height: 1.55;
}

.page {
  max-width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

@media print {
  @page { size: A4; margin: 10mm 8mm; }
  html, body { background: #fff !important; }
  .page { box-shadow: none; max-width: none; min-height: 0; page-break-after: always; }
  .page:last-child { page-break-after: auto; }
}

.header {
  padding: 28px var(--pad) 20px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.25rem;
}

.doc-type {
  text-align: right;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.hero {
  padding: 24px var(--pad) 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, var(--white) 100%);
  border-bottom: 1px solid var(--rule);
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.meta-row strong { color: var(--ink); font-weight: 600; }

.lede {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 52rem;
}

.body {
  padding: 24px var(--pad) 32px;
}

.section { margin-bottom: 1.35rem; }

.section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section p, .section li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section ul {
  margin: 0.5rem 0 0 1.15rem;
}

.section li { margin-bottom: 0.35rem; }

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.stack-pills span {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  background: var(--light);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink);
}

.outcomes {
  background: var(--light);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.15rem;
  margin-top: 0.25rem;
}

.footer {
  padding: 18px var(--pad);
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer a { color: var(--accent); text-decoration: none; }

.confidential {
  font-size: 0.7rem;
  font-style: italic;
  margin-top: 1rem;
  color: #888;
}
