html.yoz-about-open { overflow: hidden; }
.yoz-about-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(48px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left));
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: #282726;
  color-scheme: light;
  font-family: 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif;
  opacity: 0;
  transition: opacity 220ms ease;
}
.yoz-about-dialog[open] { display: grid; align-items: safe center; justify-items: center; }
.yoz-about-dialog.is-visible { opacity: 1; }
.yoz-about-dialog::backdrop {
  background: linear-gradient(143deg, #ffffff80, #ffffffb3);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.yoz-about-dialog.is-visible::backdrop { opacity: 1; }
html[data-theme='dark'] .yoz-about-dialog::backdrop { background: linear-gradient(135deg, #0000008c, #000000d9); }
.yoz-about-stage {
  position: relative;
  width: min(960px, 100%);
  transform: translateY(16px) rotate(-1.1deg);
  transition: transform 400ms cubic-bezier(.22,1,.36,1);
}
.is-visible .yoz-about-stage { transform: rotate(-1.1deg); }
.yoz-about-face {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #25211e08;
  border-radius: 3px;
  box-shadow: 0 18px 42px #28221d1a, 0 3px 8px #28221d12;
}
.yoz-about-front { min-height: 520px; padding: 54px 56px; }
.yoz-about-copy { position: relative; z-index: 1; width: 58%; }
.yoz-about-dialog .yoz-about-eyebrow { margin: 0 0 16px; font: 400 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #77736f; }
.yoz-about-dialog h2 { margin: 0 0 16px; font: 600 46px/1.1 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif; letter-spacing: -.03em; color: #282726; }
.yoz-about-dialog .yoz-about-lead { margin: 0 0 20px; font: 400 21px/1.4 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif; color: #706b67; }
.yoz-about-lead strong { font-weight: 600; color: #282726; }
.yoz-about-dialog .yoz-about-bio { margin: 0 0 22px; font: 400 19px/1.5 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif; color: #696460; letter-spacing: -.01em; }
.yoz-about-portrait { position: absolute; right: 0; bottom: 0; width: 46%; max-width: none; height: auto; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 60%, transparent 100%), linear-gradient(to right, transparent, #000 6%); mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 60%, transparent 100%), linear-gradient(to right, transparent, #000 6%); -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; }
.yoz-about-action { margin-top: 28px; }
.yoz-about-dialog .yoz-about-say-hi { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; min-width: 148px; box-sizing: border-box; padding: 11px 22px; border: 1px solid #39342f; border-radius: 999px; background: #201e1c; color: #fff; box-shadow: 0 2px 4px #0002; font: 500 15px/1.2 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif; text-decoration: none; }
.yoz-about-dialog .yoz-about-say-hi:hover { background: #393430; }
.yoz-about-dialog .yoz-about-close { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #696460; font: 300 28px/1 ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.yoz-about-close::before { content: ''; position: absolute; inset: -4px; }
.yoz-about-dialog .yoz-about-close:hover { background: #2827260a; color: #282726; }
.yoz-about-dialog :where(a, button):focus-visible { outline: 2px solid #8b35ed; outline-offset: 4px; }
.yoz-about-back, .yoz-about-mobile, .yoz-about-flip { display: none; }
@media (max-width: 640px) {
  .yoz-about-dialog { padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .yoz-about-stage { width: min(380px, 100%); perspective: 1400px; }
  .yoz-about-flipper { position: relative; transform-style: preserve-3d; transition: transform 650ms cubic-bezier(.22,1,.36,1); }
  .is-flipped .yoz-about-flipper { transform: rotateY(180deg); }
  .yoz-about-face { min-height: 304px; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .yoz-about-front { padding: 28px 28px 66px; }
  .yoz-about-copy { width: 100%; }
  .yoz-about-dialog .yoz-about-eyebrow { margin-bottom: 14px; font-size: 9px; }
  .yoz-about-dialog h2 { margin-bottom: 8px; font-size: 32px; }
  .yoz-about-dialog .yoz-about-lead { margin-bottom: 20px; font-size: 16px; }
  .yoz-about-dialog .yoz-about-bio { margin-bottom: 0; font-size: 15px; line-height: 1.5; }
  .yoz-about-desktop { display: none !important; }
  .yoz-about-mobile { display: inline; }
  .yoz-about-folio { position: absolute; bottom: 29px; right: 28px; font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #99928c; }
  .yoz-about-back { display: block; position: absolute; inset: 0; transform: rotateY(180deg); }
  .yoz-about-back .yoz-about-portrait { left: 0; right: auto; bottom: 38px; width: 47%; height: calc(100% - 58px); object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 58%, transparent 100%), linear-gradient(to left, transparent, #000 8%); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 58%, transparent 100%), linear-gradient(to left, transparent, #000 8%); }
  .yoz-about-back-copy { position: relative; width: 46%; margin: 46px 20px 80px auto; }
  .yoz-about-back-copy .yoz-about-eyebrow { font-size: 8px; margin-bottom: 10px; }
  .yoz-about-back-copy .yoz-about-bio { font-size: 13.5px; line-height: 1.45; }
  .yoz-about-back .yoz-about-say-hi { position: absolute; right: 20px; bottom: 20px; min-width: 124px; min-height: 40px; padding: 10px 16px; font-size: 14px; gap: 16px; }
  .yoz-about-dialog .yoz-about-flip { display: inline-flex; align-items: center; gap: 9px; position: absolute; z-index: 3; bottom: 18px; left: 22px; min-height: 36px; padding: 6px; border: 0; background: transparent; color: #696460; font: 500 12px/1.2 'Halenoir Compact', ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
  .yoz-about-flip span { font-size: 19px; }
  .yoz-about-dialog .yoz-about-close { top: 10px; right: 10px; }
}
@media (max-width: 359px) {
  .yoz-about-dialog { padding-inline: 16px; }
  .yoz-about-front { padding-inline: 24px; }
  .yoz-about-face { min-height: 326px; }
  .yoz-about-back-copy { width: 46%; margin-right: 18px; }
  .yoz-about-back .yoz-about-say-hi { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .yoz-about-dialog, .yoz-about-dialog::backdrop, .yoz-about-stage, .yoz-about-flipper { transition: none; }
}
