/* Reading belongs to the selected object; nothing floats over the room. */
.contact-tabs{display:flex;gap:20px;margin-top:20px;border-bottom:1px solid #a5896650;flex:none}
.contact-tabs a{display:flex;align-items:center;min-height:44px;color:#725a45;text-decoration:none;font-size:15px;border-bottom:2px solid transparent}
.contact-tabs a[aria-current=page]{border-color:#5d3d28;color:#3e2d23}
.contact-page .contact-intro{margin-top:28px}
.contact-page[data-compact=true] .contact-intro{margin-top:12px}
.contact-page[data-compact=true] .contact-tabs{margin-top:12px}
.contact-page[data-landscape=true] .contact-tabs{position:absolute;right:50px;top:18px;margin:0}
.contact-page[data-landscape=true] .contact-actions{padding-top:30px}
.contact-profile{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y;padding:16px 3px 24px 0;font-size:calc(16px * var(--profile-scale,1));line-height:1.55}
.contact-profile:focus-visible{outline:2px solid #7d562e;outline-offset:3px}
.contact-profile :is(h1,h2,h3){font-family:Georgia,serif;line-height:1.2;font-weight:normal;color:#3e2d23;letter-spacing:0;margin:1em 0 .6em}
.contact-profile h1{font-size:1.55em;margin-top:0}.contact-profile h2{font-size:1.3em}.contact-profile h3{font-size:1.1em}
.contact-profile p{margin:.75em 0}.contact-profile .eyebrow{font-size:.8em;color:#8b7157}
.contact-profile img{display:block;width:100%;height:auto;border-radius:12px;margin:12px 0}
.contact-profile a{color:#6c462e;text-underline-offset:3px;overflow-wrap:anywhere}
.contact-profile :is(.fact,.proof){padding:12px 0;border-bottom:1px solid #a5896636}
.contact-profile .fact :is(span,strong){display:block}.contact-profile .fact span{color:#8b7157;font-size:.8em}
.contact-profile .link-row{display:flex;flex-wrap:wrap;gap:8px 18px}
.contact-page[data-page=about]{padding-bottom:30px}
.contact-page[data-page=about][data-landscape=true]{display:flex;flex-direction:column;padding:22px 46px 20px}
.contact-page[data-page=about][data-landscape=true] .contact-brand{display:none}
.contact-page[data-page=about][data-landscape=true] .contact-tabs{position:static;flex:none;margin:0;min-height:44px}
.contact-page[data-page=about] .contact-tabs a{font-size:calc(14px * var(--profile-scale,1));min-height:calc(40px * var(--profile-scale,1))}
.project-summary{font-weight:500;color:#f1e4cc;line-height:1.55}
.reference-copy{font-size:15px;line-height:1.55}.reference-copy :is(h1,h2){font-size:25px;line-height:1.15;margin:8px 0 16px}.reference-copy h3{font-size:19px;line-height:1.25;margin:12px 0}
.reference-copy p{margin:9px 0}.reference-copy .eyebrow,.reference-copy article>span{font-size:11px;letter-spacing:.04em;color:#77644e}
.reference-copy a{color:inherit;text-underline-offset:3px;overflow-wrap:anywhere}.reference-copy .link-row{display:flex;gap:10px 16px;flex-wrap:wrap}
.reference-copy img{max-width:70px;max-height:70px;object-fit:cover;border-radius:50%;float:right;margin:4px 0 8px 14px}
.reference-copy .fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reference-copy .fact :is(span,strong){display:block}.reference-copy .fact span{font-size:11px}
.reference-copy ul{padding-left:18px}.reference-copy li{margin-bottom:9px}.j-reference-page .j-page-inner{padding-bottom:52px}
.reference-copy .portrait-copy{font-size:12px}.reference-copy .portrait-copy>*{display:block}
/* The preserved document is the failure/no-JS view on its original URL. */
.entry-fallback{position:fixed;inset:0;z-index:120;overflow:auto;background:#f6f0e4;color:#302b25;padding:24px max(24px,calc((100vw - 880px)/2));font:17px/1.6 Studio,Arial,sans-serif}
.entry-fallback :is(h1,h2,h3){line-height:1.2;font-weight:500}.entry-fallback h1{font-size:clamp(28px,5vw,42px)}
.entry-fallback img{max-width:220px;height:auto;border-radius:12px}.entry-fallback a{color:inherit;text-underline-offset:3px}.entry-fallback :is(.nav-links,.link-row){display:flex;gap:12px 22px;flex-wrap:wrap}
.entry-fallback :is(.section,.fact,.proof,.bio-box,.project,.source){padding:12px 0}.entry-fallback .fact>*{display:block}
body[data-entry] #world{visibility:hidden}.studio-running body[data-entry] #world{visibility:visible}
.studio-running .entry-fallback{display:none}
.studio-source{display:none;position:fixed;inset:0;z-index:120;overflow:auto;padding:28px max(24px,calc((100vw - 880px)/2));background:#f6f0e4;color:#302b25;font:17px/1.6 Studio,Arial,sans-serif}
html:not(.studio-running) .studio-source:target{display:block}.studio-source a{color:inherit}.studio-source ul{padding-left:20px}.studio-source li{margin:24px 0}
@media(max-width:700px),(max-height:600px) and (pointer:coarse){.reference-copy{font-size:16px;line-height:1.65}.reference-copy :is(h1,h2){font-size:27px}.reference-copy .fact-grid{gap:14px 20px}}

.contact-profile h1:focus{outline:none}

.j-reference-page .j-page-inner{display:block;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.j-reference-page .j-page-footer{position:static;margin-top:24px}

/* Keep the phone reading surface free of desktop scrollbar chrome.
   Native overflow, wheel, touch and keyboard scrolling remain available. */
.contact-profile::-webkit-scrollbar{display:none}
