:root {
  color-scheme: light;
  --ink: #1f252b;
  --muted: #5d656e;
  --red: #b71924;
  --red-hover: #94131c;
  --paper: #fff;
  --line: #dce0e3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  background: #f0f2f3;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #176eb7; outline-offset: 5px; }
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 64px 28px;
}
.card {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
  box-shadow: 0 18px 64px #1723310d, 0 2px 8px #17233105;
}
.identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
  color: white;
  background: var(--ink);
  border-top: 6px solid var(--red);
}
.wordmark {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.monogram {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  flex-shrink: 0;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.03em;
}
.brand {
  margin: 60px 0 28px;
  font-size: clamp(3.1rem, 5.5vw, 4.75rem);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 700;
}
.brand span { display: block; }
.name { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; }
.role { margin: 4px 0 0; font-size: 1rem; color: #d3d8dd; }
.experience {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid #51575d;
  width: 100%;
  color: #e0e3e6;
  font-size: .875rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.contact { padding: 50px 44px 36px; display: flex; flex-direction: column; }
.contact h2 { margin: 0 0 25px; font-size: 1.75rem; line-height: 1.25; letter-spacing: -.03em; font-weight: 650; }
.actions { display: grid; gap: 12px; }
.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 15px 20px;
  border: 1px solid #bcc3ca;
  border-radius: 4px;
  background: white;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.action svg { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.action.primary { background: var(--red); border-color: var(--red); color: white; }
.details { display: grid; justify-items: start; gap: 3px; margin: 25px 0 29px; font-style: normal; }
.details a { max-width: 100%; overflow-wrap: anywhere; text-underline-offset: 4px; text-decoration-color: #b7bec4; }
.phone { font-size: 1.125rem; font-weight: 600; letter-spacing: .02em; }
.email { font-size: 1rem; color: var(--muted); }
.affiliation { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.affiliation strong { display: block; font-size: 1.125rem; letter-spacing: -.02em; }
.affiliation strong span { color: var(--red); }
.affiliation p { margin: 1px 0 0; font-size: .875rem; color: var(--muted); }
@media (hover: hover) {
  .action:hover { background: #f2f4f5; border-color: #8b949d; }
  .action.primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
  .details a:hover { color: var(--red); text-decoration-color: currentColor; }
}
@media (max-width: 800px) {
  .page { padding: 24px 16px; }
  .card { max-width: 440px; grid-template-columns: minmax(0, 1fr); }
  .identity { padding: 26px 28px 25px; border-top-width: 5px; }
  .wordmark { font-size: .8125rem; }
  .monogram { width: 2rem; height: 2rem; font-size: .875rem; }
  .brand { margin: 27px 0 18px; font-size: 3.25rem; }
  .brand span { display: inline; }
  .brand span + span::before { content: " "; }
  .name { font-size: 1.1875rem; }
  .role { margin-top: 2px; }
  .experience { margin-top: 19px; padding-top: 15px; font-size: .8125rem; }
  .contact { padding: 26px 28px 27px; }
  .contact h2 { font-size: 1.375rem; margin-bottom: 19px; }
  .action { min-height: 56px; padding: 14px 16px; }
  .actions { gap: 10px; }
  .details { margin: 21px 0 23px; }
  .affiliation { padding-top: 17px; }
}
@media (max-width: 359px) {
  .page { padding: 0; }
  .identity, .contact { padding-left: 23px; padding-right: 23px; }
  .brand { font-size: 2.875rem; }
}
@media (prefers-reduced-motion: reduce) { .action { transition: none; } }
