/* Reference-led editorial popup. Native CSS aesthetic, not an Apple component.
   DESIGN_VARIANCE 5 / MOTION_INTENSITY 3 / VISUAL_DENSITY 4.
   The desktop type family is retained; GSAP animates the sheet and Anime.js animates its content. */
.tb-about-me {
  --about-paper: #f5f5f3;
  --about-sheet: #fff;
  --about-ink: #242623;
  --about-body: #525650;
  --about-line: #dedfda;
  --about-muted: #676c65;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 860px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--about-sheet);
  color: var(--about-ink);
  font-family: var(--tb-font, -apple-system, BlinkMacSystemFont, sans-serif);
  text-shadow: none;
  box-shadow: 0 12px 36px rgba(17,25,24,.14), 0 2px 8px rgba(17,25,24,.07);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #bbbeb6 var(--about-paper);
}
.tb-about-me:not([open]) { display: none; }
.tb-about-me[open] { display: block; }
html:has(.tb-about-me[open]), body:has(.tb-about-me[open]) { overflow: hidden; }
.tb-about-me, .tb-about-me * { box-sizing: border-box; }
.tb-about-me::backdrop {
  background: rgba(15,21,24,var(--about-backdrop-opacity,.36));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tb-about-me-shell { position: relative; padding: 0; }
.tb-about-me-header { display: none; }
.tb-about-me-eyebrow {
  margin: 0 0 8px;
  color: var(--about-muted);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .06em;
}
.tb-about-me-title {
  margin: 0;
  padding-right: 40px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -1.1px;
}
.tb-about-me-subtitle {
  margin: 12px 0 0;
  color: var(--about-body);
  font-size: 15px;
  line-height: 1.5;
}
.tb-about-me-close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--about-line);
  border-radius: 50%;
  background: var(--about-paper);
  color: var(--about-body);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.tb-about-me-close::before, .tb-about-me-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
.tb-about-me-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tb-about-me-close:hover { background: var(--about-ink); color: var(--about-sheet); }
.tb-about-me-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  min-height: 0;
  padding: 38px 36px 30px;
  border: 0;
  border-radius: inherit;
  background: var(--about-sheet);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}
.tb-about-me-copy { position: relative; z-index: 1; }
.tb-about-me-greeting {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
}
.tb-about-me-lead {
  margin: 0 0 16px;
  color: var(--about-ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.2px;
}
.tb-about-me-paragraph {
  margin: 0 0 14px;
  color: var(--about-body);
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.15px;
  overflow-wrap: break-word;
}
@font-face {
  font-family: 'Jon Signature';
  src: url('../assets/fonts/signature/MrsSaintDelafield-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.tb-about-me-signature {
  margin: 18px 0;
  color: var(--about-ink);
  font: 400 50px/.9 'Jon Signature', 'Snell Roundhand', cursive;
  letter-spacing: 0;
  transform: rotate(-4deg);
  transform-origin: left center;
  width: fit-content;
}
.tb-about-me-citation {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #b0b4a9;
  text-underline-offset: 3px;
}
.tb-about-me-citation:hover { color: var(--about-ink); text-decoration-color: currentColor; }
.tb-about-me-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tb-about-me-cta, .tb-about-me-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 28px;
  border: 1px solid var(--about-ink);
  border-radius: 999px;
  background: var(--about-ink);
  color: var(--about-sheet);
  font: 500 13px/1.4 var(--tb-font, sans-serif);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.tb-about-me-cta:hover, .tb-about-me-retry:hover { background: #42473f; transform: translateY(-1px); }
.tb-about-me-links { display: flex; gap: 14px; flex-wrap: wrap; }
.tb-about-me-connect-label {
  display: block;
  margin-bottom: 4px;
  color: var(--about-muted);
  font: 9px/1.5 'SFMono-Regular', Consolas, monospace;
  letter-spacing: .06em;
}
.tb-about-me-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--about-body);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #c2c5bc;
  text-underline-offset: 4px;
}
.tb-about-me-link:hover { color: var(--about-ink); text-decoration-color: currentColor; }
.tb-about-me :is(button, a):not(.tb-about-me-close):focus-visible { outline: 2px solid var(--about-ink); outline-offset: 4px; }
.tb-about-me .tb-about-me-close:focus {
  outline: none;
  box-shadow: none;
}
.tb-about-me .tb-about-me-close:focus-visible {
  background: #e4e6df;
  color: var(--about-ink);
}
.tb-about-me-portrait {
  position: absolute;
  z-index: 0;
  right: -12px;
  bottom: -4px;
  width: 39%;
  margin: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 98%);
}
.tb-about-me-portrait img { display: block; width: 100%; height: auto; filter: grayscale(1); }
.tb-about-me-status { padding: 64px 24px; color: var(--about-body); font-size: 16px; text-align: center; }
.tb-about-me-status p { margin: 0 0 20px; }
@media (min-width: 769px) and (max-height: 850px) {
  .tb-about-me { width: 860px; }
  .tb-about-me-title { font-size: 30px; }
  .tb-about-me-subtitle { margin-top: 8px; font-size: 14px; }
  .tb-about-me-page { min-height: 0; padding: 28px 32px; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); }
  .tb-about-me-greeting { font-size: 30px; margin-bottom: 8px; }
  .tb-about-me-lead { font-size: 14px; margin-bottom: 12px; }
  .tb-about-me-paragraph { font-size: 13px; line-height: 1.55; margin-bottom: 14px; }
  .tb-about-me-signature { font-size: 48px; margin: 16px 0; }
}
@media (max-width: 768px) {
  .tb-about-me { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .tb-about-me-title { font-size: 28px; letter-spacing: -.7px; }
  .tb-about-me-close { position: sticky; top: 12px; right: auto; margin: 12px 12px -48px auto; }
  .tb-about-me-page { display: flex; flex-direction: column; min-height: 0; padding: 28px 24px 0; }
  .tb-about-me-greeting { font-size: 32px; }
  .tb-about-me-paragraph { font-size: 15px; line-height: 1.65; }
  .tb-about-me-portrait { position: relative; width: min(100%, 340px); margin: 24px auto -28px; right: auto; bottom: auto; }
  .tb-about-me-actions { gap: 20px; }
}
@media (max-width: 380px) {
  .tb-about-me-title { font-size: 25px; }
  .tb-about-me-page { padding-left: 18px; padding-right: 18px; }
  .tb-about-me-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-about-me :is(button, a) { transition: none; }
}
html[data-glass-motion="off"] .tb-about-me :is(button, a) { transition: none; }
@media (prefers-reduced-transparency: reduce) {
  .tb-about-me::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15,21,24,.6); }
}
