/* MatthiasStampfer.com: compact centred card, local consistent outline icons. */
:root {
  color-scheme: light;
  --ink: #26333a;
  --muted: #586d77;
  --accent: #245467;
  --hairline: #dce3e6;
  --card: #fafafa;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 40px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #203a43;
  background: linear-gradient(to left, #2c5364, #203a43);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.profile-card {
  position: relative;
  z-index: 1;
  width: min(100%, 496px);
  padding: 32px 43px 28px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(4, 19, 27, .22), 0 5px 15px rgba(4, 19, 27, .12);
}
.avatar-frame {
  position: relative;
  display: block;
  width: 126px;
  height: 126px;
  border: 6px solid #e9edef;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 17px;
  background: #e9edef;
}
.avatar-image, .avatar-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-video { opacity: 0; pointer-events: none; transition: opacity 1s ease-in-out; will-change: opacity; }
.avatar-video.is-playing { opacity: 1; }
h1, h2, p { margin: 0; }
h1, .profession, .fact-label, .contact-link { font-family: "Unica One", "Arial Narrow", sans-serif; }
h1 { font-size: clamp(27px, 5vw, 34px); font-weight: 400; line-height: 1.08; letter-spacing: .015em; }
.profession { margin-top: 8px; font-size: 18px; line-height: 1.28; color: var(--accent); }
.profession-separator { margin: 0 .15em; color: #86969d; }
.intro { margin: 12px auto 0; max-width: 335px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.values {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 13px;
  margin: 22px 0 0;
  padding: 0;
}
.values li { min-width: 0; }
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #edf1f2;
  border: 1px solid #e5ebed;
  border-radius: 50%;
  color: #345e6a;
}
.value-icon .icon { width: 23px; height: 23px; }
.separator { display: block; width: 98px; height: 0; margin: 25px auto 21px; border: 0; border-top: 1px solid var(--hairline); }
.facts { display: grid; gap: 20px; }
.fact-label { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--accent); font-size: 12px; letter-spacing: .11em; }
.label-icon { width: 15px; height: 15px; stroke-width: 1.8; }
.fact h2 { margin: 0 0 4px; font-weight: 600; line-height: 1.34; font-size: 15px; }
.fact-copy { margin: 0 auto; max-width: 345px; font-size: 13px; line-height: 1.52; color: var(--muted); }
.location .fact-copy { color: var(--ink); }
.fact-new-line { display: block; }
.separator-bottom { margin: 24px auto 16px; }
.profile-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid #d4dfe3;
  border-radius: 999px;
  background: #f0f4f4;
  color: #204d5e;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .01em;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.contact-link:hover:not(.is-disabled) { background: #e5eff1; border-color: #aac1cb; transform: translateY(-1px); }
.contact-link:focus-visible { outline: 3px solid #2b7085; outline-offset: 4px; }
.button-icon { width: 16px; height: 16px; }
.arrow-icon { width: 13px; height: 13px; }
.secondary-link { background: transparent; }
.contact-link.is-disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 600px) {
  #particles { display: none; }
  body { padding: 22px 14px; }
  .profile-card { padding: 27px 23px 25px; }
}
@media (max-width: 360px) {
  .profile-card { padding-right: 14px; padding-left: 14px; }
  .values { gap: 9px; }
  .value-icon { width: 43px; height: 43px; }
  .value-icon .icon { width: 21px; height: 21px; }
  .profession { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #particles { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
