@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-regular.ttf') format('truetype');
}
:root {
  color-scheme: light;
  --font-serif: Baskerville, "Times New Roman", serif;
  --text-size: 16px;
  --small-size: 14px;
  --h1-size: clamp(44px, 6vw, 66px);
  --h2-size: clamp(32px, 4vw, 45px);
  --h3-size: 27px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  padding: 64px 24px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
  font-size: var(--text-size);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.profile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
}
h1 {
  margin: 0;
  font-size: var(--h1-size);
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: center;
}
h2 { margin: 0 0 22px; font-size: var(--h2-size); line-height: 1.4; letter-spacing: -.02em; }
h3 { margin: 0 0 16px; font-size: var(--h3-size); line-height: 1.5; }
.portrait { width: min(100%, 560px); margin: 28px auto 0; }
.portrait img { display: block; width: 100%; height: auto; object-fit: contain; }
.slideshow-images { display: grid; }
.slideshow-images .slideshow-image { grid-area: 1 / 1; align-self: center; height: auto; aspect-ratio: auto; opacity: 0; transition: opacity 900ms ease; }
.slideshow-images .is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .slideshow-images .slideshow-image { transition: none; } }
a { color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-skip-ink: auto; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #111; outline-offset: 8px; }
.contact { margin-top: 24px; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) {
  body { padding: 48px 28px; }
}


.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: #fff; color: #111; border: 2px solid #111; transform: translateY(calc(-100% - 24px)); }
.skip-link:focus { transform: translateY(0); }
img { max-width: 100%; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
