﻿:root {
  color-scheme: dark;
  background: #161616;
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }

.scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.25rem clamp(1.25rem, 11vw, 11rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 24% 26%, #412321, transparent 66%);
}

.lattice {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card {
  width: min(100%, 22rem);
  padding: 1.4rem 1.5rem;
  color: #242424;
  background: #e5e2dc;
  color-scheme: light;
  border-radius: 3px;
  box-shadow: 0 8px 32px #0005;
  overflow-wrap: anywhere;
}

.card h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.degree {
  display: block;
  margin-bottom: .35rem;
  color: #605853;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: normal;
}

.profession {
  margin: .38rem 0 0;
  color: #74433d;
  font-size: .79rem;
  font-weight: 600;
}

.bio {
  display: grid;
  gap: .28rem;
  margin: 1rem 0 1.15rem;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  line-height: 1.55;
}

.details {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding-top: .75rem;
  border-top: 1px solid #b9b1a5;
  font-size: .78rem;
}

.details dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

dd { margin: 0; }
.details a { color: inherit; text-decoration-color: #9c8981; text-underline-offset: .19em; }
.details a:hover { color: #74433d; }
.details .city { color: #605853; }

@media (max-width: 600px) {
  .scene {
    align-items: end;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

