/* roham.io — typography and spacing (loaded after the page's own styles) */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.rf-root,#lb{font-size:14px !important;line-height:1.32 !important;font-optical-sizing:auto;font-kerning:normal;text-rendering:optimizeLegibility}
.rf-root p{line-height:1.46;text-wrap:pretty}
.rf-root a{text-decoration-thickness:1px;text-underline-offset:.16em}
.rf-root a:focus-visible,.rf-root button:focus-visible,#lb button:focus-visible{outline:2px solid #000;outline-offset:2px}
@media (hover:hover) and (pointer:fine){.rf-root a{transition:color 150ms ease}}

/* About intro: contact lines sit above the bio, in the same two columns as the lists below, so nothing collides */
section[aria-label="About"]>section:first-of-type{grid-template-columns:minmax(0,1fr) !important;row-gap:22px !important}
section[aria-label="About"]>section:first-of-type>div:first-child{column-count:2;column-gap:8px;overflow-wrap:anywhere}
@media (min-width:1280px){
section[aria-label="About"]>section:first-of-type{grid-template-columns:max-content minmax(0,1fr) !important;column-gap:22px !important}
section[aria-label="About"]>section:first-of-type>div:first-child{column-count:1}
}

/* Phone and single-column view: larger text, looser lines, tighter section gaps, easier tap targets */
@media (max-width:820px){
.rf-root,#lb{font-size:15.5px !important;line-height:1.36 !important}
.rf-root p{line-height:1.52}
section[aria-label="About"]>section{padding-bottom:36px !important}
section[aria-label="About"]>section:first-of-type{padding-bottom:44px !important}
section[aria-label="About"]>section:first-of-type>div:first-child{line-height:1.9}
}

/* Slideshow: short fade on open, opacity only */
#lb.open{animation:rf-fade 180ms cubic-bezier(.23,1,.32,1)}
@keyframes rf-fade{from{opacity:0}}
