:root {
  color-scheme: dark;
  --of-primary: #00aff0;
  --of-secondary: #008ccf;
  --ink: #001c2c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #080d10; }
body { margin: 0; min-width: 280px; color: #fff; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.portrait-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 20px 12px;
  overflow: clip;
  background: #080d10;
}
.portrait-backdrop { position: absolute; z-index: -1; inset: -32px; pointer-events: none; }
.portrait-backdrop img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  filter: blur(28px); transform: scale(1.05);
}
.portrait-backdrop::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 74%); }
.portrait-frame {
  width: min(100%, 390px);
  overflow: clip;
  border-radius: 28px;
  background: #101517;
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%), 0 0 0 1px rgb(255 255 255 / 12%);
}
/* The photo has its own frame, so longer text can never crop the face. */
.portrait-image {
  position: relative; display: block;
  height: clamp(350px, 62vh, 560px);
  height: clamp(350px, 62svh, 560px);
}
.portrait-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 28%; }
.portrait-image::after {
  content: ""; position: absolute; inset: 65% 0 0;
  background: linear-gradient(transparent, #101517); pointer-events: none;
}
.portrait-content { position: relative; margin-top: -42px; padding: 0 18px 18px; }
.private-card {
  padding: 22px 22px 12px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 22px;
  background: rgb(2 6 9 / 88%);
  box-shadow: 0 12px 34px rgb(0 0 0 / 26%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.private-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px; font-weight: 600;
  letter-spacing: -.8px; line-height: 1.2; overflow-wrap: anywhere;
}
.private-card__identity { margin: 5px 0 0; color: #b9c1c7; font-size: 14px; line-height: 1.5; }
.private-card__identity span { margin-inline: 3px; }
.private-card__description { margin: 17px 0 0; color: #e4e7ea; font-size: 17px; line-height: 1.45; }
.private-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; margin-top: 20px; padding: 14px 12px;
  border: 1px solid rgb(255 255 255 / 12%); border-radius: 12px;
  background: var(--of-primary); color: var(--ink);
  font-size: 16px; font-weight: 750; line-height: 1.4;
  text-align: center; text-decoration: none;
  box-shadow: 0 7px 26px rgb(0 175 240 / 15%);
  transition: background 160ms ease;
}
.private-card__cta svg { flex: 0 0 18px; }
.private-card__cta:hover { background: #37bff2; }
.private-card__cta:active { background: var(--of-secondary); }
.private-card__footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 4px 16px; margin-top: 9px; color: #b9c1c7; font-size: 11px; line-height: 1.5;
}
.private-card__footer a { display: inline-flex; align-items: center; min-height: 30px; text-underline-offset: 3px; }
@media (max-width: 440px) {
  .portrait-shell { padding: 0; }
  .portrait-frame { border-radius: 0; box-shadow: none; }
}
@media (max-width: 350px) {
  .portrait-content { padding-inline: 14px; }
  .private-card { padding-inline: 18px; }
  .private-card h1 { font-size: 30px; }
  .private-card__cta { font-size: 15px; }
}
@media (min-width: 650px) and (max-height: 500px) {
  .portrait-frame { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 740px); }
  .portrait-image { height: max(300px, calc(100svh - 40px)); }
  .portrait-image::after { inset: 0 0 0 75%; background: linear-gradient(90deg, transparent, #101517); }
  .portrait-content { margin: 0; padding: 16px; align-self: center; }
  .private-card { padding: 20px 18px 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
