@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #080808;
  color: #f5f5f5;
  font-family: Inter, Arial, sans-serif;
}
.topline {
  height: 64px;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #292929;
}
.topline a:hover,
.links a:hover {
  color: #c6f277;
}
.theme-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.content {
  width: min(1000px, calc(100% - 36px));
  margin: 55px auto 90px;
}
.back {
  font: 10px monospace;
  letter-spacing: 1px;
  color: #999;
}
.eyebrow {
  font: 10px monospace;
  letter-spacing: 1.2px;
  color: #999;
  margin: 36px 0 15px;
}
.content h1 {
  font-size: clamp(48px, 9vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.08em;
  margin: 0 0 30px;
}
.content h1 span {
  color: #777;
}
.lead {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
  color: #ccc;
  max-width: 800px;
}
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 55px;
}
.panel {
  border-top: 1px solid #292929;
  padding-top: 18px;
}
.panel h2 {
  font-size: 21px;
  letter-spacing: -0.04em;
}
.panel p {
  font-size: 14px;
  line-height: 1.9;
  color: #aaa;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips span {
  border: 1px solid #393939;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #ddd;
}
.links {
  display: grid;
  margin-top: 40px;
}
.links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  border-top: 1px solid #292929;
  padding: 22px 0;
  font-size: 13px;
}
.links a > * {
  min-width: 0;
}
.links b {
  overflow-wrap: anywhere;
  text-align: right;
}
.links span {
  color: #888;
  font: 10px monospace;
}
.bottom-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #292929;
  margin-top: 55px;
  padding-top: 20px;
  font-size: 12px;
}
.footer {
  padding: 22px 16px;
  border-top: 1px solid #292929;
  color: #777;
  font: 9px monospace;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.light {
  background: #f1f1ee;
  color: #111;
}
.light .lead {
  color: #444;
}
.light .panel p {
  color: #555;
}
.light .chips span {
  color: #222;
  border-color: #ccc;
}
@media (max-width: 650px) {
  .columns {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }
  .content {
    width: calc(100% - 32px);
    margin: 32px auto 64px;
  }
  .content h1 {
    font-size: clamp(38px, 10vw, 62px);
    overflow-wrap: break-word;
  }
  .lead {
    line-height: 1.55;
  }
  .links a {
    font-size: 12px;
    gap: 10px;
  }
  .bottom-links {
    margin-top: 36px;
  }
  .footer {
    padding: 18px 12px;
  }
}


/* Consistent link treatment: white text, no underline, across all pages. */
a, a:link, a:visited, a:hover, a:focus, a:active {
  color: #fff;
  text-decoration: none;
}


/* Embedded resume PDF viewer */
.resume-viewer .resume-pdf {
  display: block;
  width: 100%;
  height: min(82vh, 1100px);
  min-height: 650px;
  border: 1px solid #292929;
  border-radius: 12px;
  background: #fff;
  margin: 24px 0 50px;
}
.resume-open {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border: 1px solid #555;
  border-radius: 24px;
  padding: 11px 16px;
}
.resume-open:hover { border-color: #aaa; }
@media (max-width: 650px) {
  .resume-viewer .resume-pdf {
    min-height: 70vh;
    height: 70vh;
  }
}


/* Résumé page actions and PDF viewer chrome */
.resume-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 30px;
}
.resume-actions .resume-open,
.resume-actions .resume-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid #555;
  border-radius: 999px;
  padding: 11px 17px;
  font-size: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.resume-actions .resume-open:hover,
.resume-actions .resume-download:hover {
  border-color: #c6f277;
  background: #151515;
}
.resume-frame {
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 12px;
  background: #111;
}
.resume-frame-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  color: #999;
  font: 10px monospace;
  letter-spacing: 1px;
  border-bottom: 1px solid #292929;
}
.resume-viewer .resume-pdf {
  margin: 0;
  width: 100%;
  height: min(82vh, 1100px);
  min-height: 650px;
  display: block;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.resume-footnote {
  color: #777;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 14px;
}
@media (max-width: 650px) {
  .resume-viewer .resume-pdf { min-height: 70vh; }
  .resume-actions { align-items: stretch; flex-direction: column; }
  .resume-actions a { width: 100%; }
}

@media (max-width: 380px) {
  .content {
    width: calc(100% - 28px);
  }
  .topline {
    padding: 0 10px;
    font-size: 12px;
  }
  .chips span {
    padding: 8px 10px;
    font-size: 11px;
  }
  .resume-frame-head {
    padding: 12px;
    letter-spacing: 0.5px;
  }
}
