:root {
  --bg: #fdfbf8;
  --text: #7f2549;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
}

/* -----------------------------
   Layout
   ----------------------------- */

/* Default page layout: top-aligned */
.page {
  min-height: 100vh;
  padding: 24px;
  text-align: center; /* centers text across pages */
}

/* Use this class ONLY on pages you want vertically+horizontally centered */
.page--center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------
   Card (home/resume landing)
   ----------------------------- */

.card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  padding: 28px 22px;
  border: 2px solid rgba(127, 37, 73, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
}

.card-wide {
  max-width: 860px;
}

.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  border: 2px solid rgba(127, 37, 73, 0.35);
  display: grid;
  place-items: center;
}

.avatar span {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.headline {
  margin: 6px 0 6px 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
}

.subhead {
  margin: 0 0 18px 0;
  font-size: 14px;
  color: var(--text);
}

.section-title {
  margin: 22px 0 10px 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* -----------------------------
   Buttons (global / reusable)
   ----------------------------- */

.button-stack {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  padding-bottom: 30px;
  width: 100%;
  max-width: 520px;
  text-align: center;     /* ensures button text aligns center */
  justify-items: center;  /* centers buttons if they ever shrink */
}

.btn {
  display: inline-block; /* allows centering behavior cleanly */
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 2px solid rgba(127, 37, 73, 0.6);
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: rgba(253, 251, 248, 0.9);
  transition: transform 0.08s ease, background 0.15s ease;
  text-align: center; /* centers text inside the button */
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(253, 251, 248, 1);
}

.btn:active {
  transform: translateY(0px);
}

/* -----------------------------
   Footer / Links
   ----------------------------- */

.footer {
  margin-top: 22px;
  font-size: 12px;
  opacity: 0.9;
  color: var(--text);
}

.link {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
}

/* -----------------------------
   PDF Embed
   ----------------------------- */

.pdf-wrap {
  width: 100%;
  height: min(75vh, 780px);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(127, 37, 73, 0.25);
  background: rgba(255, 255, 255, 0.35);
}

.pdf {
  width: 100%;
  height: 100%;
  border: 0;
}
