:root {
  color-scheme: dark;
  background: #111713;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  min-width: 320px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 12%, rgba(35, 48, 39, .32), transparent 49%), #111713;
}
.masthead { position: relative; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #eeeae0; text-align: center; }
.masthead h1 { margin: 0; font-family: "Didot", "Bodoni MT", "Times New Roman", serif; font-size: clamp(1.7rem, 4vw, 2rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.eyebrow { margin: 0; color: rgba(238, 234, 224, .62); font-family: Arial, Helvetica, sans-serif; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; }
.download { position: absolute; top: 50%; right: clamp(14px, 3vw, 38px); display: inline-flex; min-height: 38px; align-items: center; gap: 9px; transform: translateY(-50%); padding: 0 16px; border: 1px solid rgba(238, 234, 224, .38); border-radius: 999px; color: #eeeae0; font-family: "Didot", "Bodoni MT", "Times New Roman", serif; font-size: .88rem; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.download:hover { border-color: rgba(238, 234, 224, .75); background: rgba(238, 234, 224, .08); }
.download:focus-visible { outline: 2px solid #eeeae0; outline-offset: 4px; }
.cv-page { width: 100%; height: calc(100vh - 118px); height: calc(100dvh - 118px); margin: 0; padding: 0; }
.cv-viewer { display: block; width: 100%; height: 100%; margin: 0; border: 0; background: #111713; }
@media (max-width: 600px) {
  .masthead { height: 132px; justify-content: flex-start; padding-top: 20px; }
  .masthead h1 { font-size: 1.75rem; }
  .download { top: auto; right: 50%; bottom: 13px; transform: translateX(50%); min-height: 34px; padding-inline: 14px; font-size: .84rem; }
  .cv-page { height: calc(100vh - 132px); height: calc(100dvh - 132px); }
}
