@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #123b4b;
  --muted: #455f66;
  --red: #ac292f;
  --red-dark: #882026;
  --paper: #f8f7f2;
  --line: #d7dfdf;
}

* { box-sizing: border-box }
body {
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  font: 400 1rem/1.5 "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(154deg, #edf3f4, var(--paper) 55%, #eaf2f3);
}
body::before, body::after {
  position: fixed;
  z-index: -1;
  width: clamp(460px, 67vw, 1260px);
  height: clamp(390px, 81vh, 850px);
  pointer-events: none;
  opacity: .83;
  content: "";
}
body::before {
  --drift-x: 5vw;
  --drift-y: 4vh;
  top: -21vh;
  left: -18vw;
  background: radial-gradient(ellipse at 42% 47%, #86b7cd 0%, #a7cedcaa 29%, #c0dce66b 49%, transparent 72%);
}
body::after {
  --drift-x: -5vw;
  --drift-y: -5vh;
  right: -16vw;
  bottom: -24vh;
  background: radial-gradient(ellipse at 57% 52%, #a5c8df 0%, #c1d9e9b5 33%, #cde5eb7a 52%, transparent 74%);
}
@media (min-width: 681px) and (prefers-reduced-motion: no-preference) {
  body::before { animation: bio-drift 25s ease-in-out -6s infinite alternate }
  body::after { animation: bio-drift 31s ease-in-out -17s infinite alternate }
}
@keyframes bio-drift {
  from { transform: translate(0, 0); opacity: .72 }
  to { transform: translate(var(--drift-x), var(--drift-y)) scale(1.08); opacity: .94 }
}
a { color: inherit }
:is(a, button):focus-visible { outline: 2px solid #084e6b; outline-offset: 4px }
h1, h2, p { margin: 0 }

.bio-header {
  border-bottom: 1px solid #cdd9da;
  padding: 9px 20px;
  background: #fbfaf6;
}
.bio-header a {
  display: block;
  width: fit-content;
  margin-inline: auto;
  color: #155066;
  text-decoration: none;
}
.bio {
  width: min(100% - 32px, 510px);
  margin: 0 auto;
  padding-block: clamp(30px, 5vw, 54px) 42px;
  text-align: center;
}
.bio-portrait {
  display: block;
  width: 116px;
  height: 116px;
  margin: 0 auto 17px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid #fbfaf6;
  border-radius: 50%;
  outline: 1px solid #bacdce;
}
.bio-profile h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.bio-profile p { margin-top: 8px; color: var(--muted) }
.bio-workshop-topics { padding-inline-start: 22px; text-align: start; color: var(--muted) }
.bio-workshop-topics li + li { margin-top: 6px }
.bio-actions { display: grid; gap: 12px; margin-top: 25px }
.bio-action {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: 63px;
  padding: 9px 14px;
  border: 1px solid var(--red);
  border-radius: 7px;
  background: var(--red);
  color: white;
  text-decoration: none;
  line-height: 1.25;
  transition: background-color .16s ease, border-color .16s ease;
}
.bio-action:hover { background: var(--red-dark); border-color: var(--red-dark) }
.bio-action strong { font-size: 1.0625rem; font-weight: 600 }
.bio-action span { font-size: .875rem }
.bio-action.cta-red {
  --cta-pulse-spread: 10px;
  padding-inline: 32px;
  background-image: linear-gradient(115deg, #bc3239, #a3212b);
  border-color: #a3212b;
  box-shadow: 0 7px 16px -10px rgba(117, 18, 30, .55);
}
.bio-action.cta-red:is(:hover, :focus-visible) { background-image: linear-gradient(115deg, #a32730, #821923) }
.bio-action-agenda {
  background: #e5eff1;
  border-color: #a9c4ca;
  color: #155066;
}
.bio-action-agenda:is(:hover, :focus-visible) {
  background: #d7e8eb;
  border-color: #789fa8;
}
.bio-actions .cta-red:nth-child(2) { --cta-pulse-delay: .25s }
.bio-actions .cta-red:nth-child(3) { --cta-pulse-delay: .5s }
@media (prefers-reduced-motion: no-preference) {
  .bio-action.cta-red.cta-pulse::before { animation-iteration-count: 3 }
}

.bio-socials { margin-top: 24px }
.bio-socials h2, .bio-case h2 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3 }
.network-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 5px;
}
.network-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding-inline: 4px;
  font-size: 1.625rem;
  text-decoration: none;
}
.network-list a:hover { text-decoration: underline; text-underline-offset: 4px }
.network-list svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round }
.network-list .solid { fill: currentColor; stroke: none }
.bio-case {
  margin-top: 17px;
  padding: 19px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef2ee;
}
.bio-source-logo {
  display: block;
  width: 186px;
  height: 51px;
  margin: 0 auto 11px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.bio-case h2 + p { margin-top: 5px; font-size: .9375rem; color: var(--muted); text-wrap: balance }
.bio-case a { display: inline-grid; place-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px }

@media (max-width: 680px) {
  body::before, body::after { opacity: .4 }
}

@media (max-width: 480px) {
  .network-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px }
  .network-list a { flex-direction: column; justify-content: center; gap: 2px; padding-inline: 0; font-size: clamp(1.125rem, 5.7vw, 1.5rem) }
  .network-list svg { width: 31px; height: 31px }
}

@media (prefers-reduced-motion: reduce) {
  .bio-action { transition: none }
}
