@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ===== NOIR & GOLD PALETTE ===== */
:root {
  --sb-bg: #0f1923;
  --sb-text: #e8e4df;
  --sb-muted: #b5afa8;
  --sb-accent: #d4a853;
  --sb-heading: #ffffff;
  --sb-card-bg: rgba(255,255,255,0.06);
  --sb-divider: rgba(255,255,255,0.12);
  --main-bg: #ffffff;
  --main-text: #2e2a25;
  --main-heading: #0f1923;
  --main-muted: #4a4540;
  --main-accent: #b8923f;
  --main-divider: #e8e4df;
  --main-border: #0f1923;
  --tag-biz: #2d6a4f;
  --tag-health: #7b2d26;
  --tag-ent: #4a3875;
  --tag-default: #b8923f;
  --tag-text: #ffffff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
@page { size: letter; margin: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #e8e4df;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 40px;
  min-height: 100vh;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -50px; left: 0;
  background: #000; color: #fff;
  padding: 10px 18px; z-index: 100;
  font-size: 14px; text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ===== PAGE CONTAINER ===== */
.page {
  width: 100%;
  max-width: 8.5in;
  background: var(--main-bg);
  display: grid;
  grid-template-columns: 2.9in 1fr;
  box-shadow: 0 4px 40px rgba(0,0,0,0.12);
  border-radius: 2px;
  overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: var(--sb-bg);
  color: var(--sb-text);
  padding: 0.5in 0.35in 0.4in;
  display: flex;
  flex-direction: column;
}
.sidebar h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--sb-heading);
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.sidebar .title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--sb-accent);
  margin-bottom: 14px;
  line-height: 1.45;
}
.sidebar .contact {
  font-size: 12px;
  line-height: 1.65;
  color: var(--sb-text);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sb-divider);
  padding-bottom: 14px;
  font-style: normal;
  word-break: break-word;
}
.sidebar .contact a {
  color: var(--sb-text);
  text-decoration: underline;
  text-decoration-color: var(--sb-accent);
  text-underline-offset: 3px;
}
.sidebar .contact a:hover { color: var(--sb-accent); }
.sidebar .contact a:focus-visible { outline: 2px solid var(--sb-accent); outline-offset: 2px; }

.sidebar .section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sb-accent);
  margin-bottom: 10px;
  margin-top: 4px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sb-divider);
  padding-bottom: 16px;
}
.stat-card {
  background: var(--sb-card-bg);
  border-radius: 4px;
  padding: 8px 10px;
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--sb-accent);
  line-height: 1;
}
.stat-card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--sb-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.skill-list {
  list-style: none;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--sb-divider);
  padding-bottom: 14px;
}
.skill-list li {
  font-size: 12px;
  line-height: 1.65;
  color: var(--sb-text);
  padding-left: 14px;
  position: relative;
}
.skill-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--sb-accent);
  font-weight: 700;
  font-size: 11px;
}

.edu-block {
  font-size: 12px;
  line-height: 1.5;
  color: var(--sb-muted);
  margin-bottom: 8px;
}
.edu-block strong { color: var(--sb-text); font-weight: 600; }

.teaching-section {
  margin-top: 8px;
}
.teaching-list {
  list-style: none;
}
.teaching-list li {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--sb-muted);
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.teaching-list li::before {
  content: '\203A';
  position: absolute;
  left: 2px;
  color: var(--sb-accent);
  font-weight: 700;
  font-size: 13px;
  top: -1px;
}

/* ===== MAIN CONTENT ===== */
.main {
  background: var(--main-bg);
  padding: 0.5in 0.45in 0.4in;
  display: flex;
  flex-direction: column;
}
.summary {
  font-size: 13px;
  line-height: 1.55;
  color: var(--main-muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--main-border);
  font-style: italic;
}
.summary strong { color: var(--main-heading); font-style: normal; }

.section-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--main-heading);
  margin-bottom: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--main-divider);
}
.section-head.mentorship-head { margin-top: 14px; }

.client-block { margin-bottom: 14px; }

.client-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.client-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--main-heading);
  line-height: 1.2;
}
.client-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tag-text);
  background: var(--tag-default);
  padding: 2px 7px;
  border-radius: 2px;
  display: inline-block;
  line-height: 1.4;
}
.client-tag.biz { background: var(--tag-biz); }
.client-tag.health { background: var(--tag-health); }
.client-tag.ent { background: var(--tag-ent); }

.client-block ul { list-style: none; padding: 0; }
.client-block li {
  font-size: 12px;
  line-height: 1.55;
  color: var(--main-text);
  padding-left: 14px;
  position: relative;
  margin-bottom: 3px;
}
.client-block li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--main-accent);
  font-size: 11px;
  top: 1px;
}
.client-block li strong { color: var(--main-heading); font-weight: 600; }

.mentorship-block p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--main-text);
}
.mentorship-block strong { color: var(--main-heading); }

/* ===== RESPONSIVE (MOBILE / TABLET) ===== */
@media (max-width: 820px) {
  body { padding: 0; background: var(--main-bg); }
  .page {
    grid-template-columns: 1fr;
    max-width: 100%;
    min-height: auto;
    box-shadow: none;
    border-radius: 0;
  }
  .sidebar {
    padding: 28px 22px 24px;
  }
  .sidebar h1 { font-size: 36px; }
  .sidebar .title { font-size: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .main {
    padding: 26px 22px 32px;
  }
  .client-name { font-size: 15px; }
  .client-block li { font-size: 13px; }
}

@media (max-width: 520px) {
  .sidebar { padding: 24px 18px 22px; }
  .sidebar h1 { font-size: 32px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .main { padding: 24px 18px 28px; }
  .summary { font-size: 13px; }
  .client-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ===== PRINT ===== */
@media print {
  body { background: #fff; padding: 0; }
  .page {
    box-shadow: none;
    border-radius: 0;
    grid-template-columns: 2.9in 1fr;
    width: 8.5in;
    max-width: 8.5in;
  }
  .skip-link { display: none; }
}