/* Shared portfolio bindings; original route, media and hero implementations are retained. */
/* About's first layout can precede the production context controller.
   Start on Night; the controller owns colors as soon as its attribute exists. */
body:has(.about-page):not([data-context-nav]){--context-bg:rgba(7,9,13,.93);--context-border:#2c3037;--context-title:#fafafa;--context-muted:#b6b8c0}
body:has(.about-page):not([data-context-nav]) .site-nav{background:var(--context-bg);border-color:var(--context-border);color:var(--context-title)}
body:has(.about-page):not([data-context-nav]) .site-nav :is(nav a,.nav-note){color:var(--context-muted)}
body:has(.about-page):not([data-context-nav]) .site-nav :is(.logo,a[aria-current=page]){color:var(--context-title)}
.yhy-integrated.final-preview{
  --bg:var(--yhy-surface);--ink:var(--yhy-ink);--muted:var(--yhy-muted);--line:var(--yhy-line);
  --max:var(--pf-layout-max);--gutter:var(--pf-layout-gutter);
  --ds-content-ink:var(--yhy-muted);--ds-control-ink:var(--yhy-muted);--ds-action-ink:var(--yhy-ink);
  --ds-action-duration:var(--yhy-action-duration);--ds-action-ease:var(--yhy-action-ease);
  --ds-radius:var(--pf-radius-media);--ds-edge:var(--yhy-line);
  --ds-page-space:var(--pf-space-section);--ds-section-space:var(--pf-space-section);
  --ds-block-space:var(--pf-space-block);--ds-stage-inset:var(--pf-space-block);
  --ds-content-space:var(--pf-space-content);--ds-stage-gap:var(--pf-space-content);
  --ds-type-body:var(--pf-type-reading);--ds-type-nav:var(--pf-type-nav);
  font-family:var(--yhy-font);font-size:var(--yhy-type-body);line-height:var(--yhy-leading-ui)
}
.yhy-integrated.ink-study .intro.ink-intro h1{font-size:var(--pf-type-home-display)}
.yhy-integrated.ink-study #main .intro.ink-intro .ink-description{font-size:var(--yhy-type-body);line-height:var(--yhy-leading-body);letter-spacing:normal}
.yhy-integrated .ink-banner,.yhy-integrated .ink-space{background:var(--yhy-surface)}
/* About's Night palette, display type and entry animations retain their own CSS. */
/* Reading and career groups share portfolio roles without changing the hero. */
.yhy-integrated .about-page{--about-reading:var(--pf-type-reading);--about-meta:var(--pf-type-meta)}
.yhy-integrated.mu-study .about-page .sky-copy>.about-copy{font-size:var(--about-reading);line-height:var(--pf-type-reading-line);letter-spacing:normal}
.yhy-integrated .about-page .about-copy p+p{margin-top:var(--pf-space-paragraph)}
.yhy-integrated .about-page .about-copy .about-location{margin-top:var(--yhy-space-6)}
.yhy-integrated .about-page .experience>h2{font-size:var(--yhy-type-heading);font-weight:var(--yhy-weight-medium);line-height:var(--yhy-leading-heading);margin-bottom:var(--pf-space-content)}
.yhy-integrated .about-page .experience article{padding-block:var(--pf-space-content)}
.yhy-integrated .about-page .experience h3{font-size:var(--pf-type-entry-title);line-height:var(--pf-type-heading-line);margin-bottom:var(--yhy-space-2)}
.yhy-integrated .about-page .experience :is(.years,article>div>p){font-size:var(--about-meta);line-height:1.5}
.yhy-integrated .about-page .experience article>div>p+p{margin-top:var(--yhy-space-1)}
.yhy-integrated .about-page .experience article>p:not(.years){font-size:var(--about-reading);line-height:var(--pf-type-reading-line)}
@media(max-width:760px){
  .yhy-integrated .about-page{--about-reading:var(--pf-type-reading-mobile);--about-meta:var(--pf-type-meta-mobile)}
  .yhy-integrated .about-page .experience article{row-gap:0}
  .yhy-integrated .about-page .experience .years{margin-bottom:var(--yhy-space-3)}
  .yhy-integrated .about-page .experience article>p:not(.years){margin-top:var(--yhy-space-6)}
}
/* The production context owns nav colors from its first style calculation. */
.yhy-integrated :is(.work-link,.next-project>a){text-decoration:none}
/* Editorial project cards retain their treatment; Next project uses the shared project-arrow. */
.yhy-integrated :is(.work-card,.next-project){--line:#d5d5d1;--ds-edge:#e8e8e8;--ds-content-ink:#737373;--ink:#191919;--bg:#fafafa;--stage:#eceef0;--muted:#61615f}
.yhy-integrated .work-meta h2{font-size:var(--yhy-type-heading);line-height:var(--yhy-leading-heading)}
.yhy-integrated .back-arrow .yhy-icon{width:var(--yhy-action-icon);height:var(--yhy-action-icon)}
.yhy-integrated .back-to-top{width:var(--yhy-lg-height);height:var(--yhy-lg-height);border-radius:var(--yhy-control-radius);border-color:var(--yhy-action-border);background:var(--yhy-surface);color:var(--yhy-muted);box-shadow:none}
.yhy-integrated .back-to-top .yhy-icon{width:24px;height:24px}
.yhy-integrated .back-to-top:is(:hover,:focus-visible){background:var(--yhy-hover-quiet);color:var(--yhy-ink);box-shadow:none}
.yhy-integrated .back-to-top:is(:hover,:active) svg{transform:none}
.yhy-integrated .back-to-top[data-obscures-control]{visibility:hidden;pointer-events:none}
.yhy-integrated :is(.ce-button,.lm-overlay__retry):active{transform:none}
.yhy-integrated.final-preview .lm-overlay__retry:active{color:var(--yhy-muted)}
.yhy-integrated.final-preview .lm-overlay__retry:focus-visible{color:var(--yhy-ink)}
@media(hover:hover){.yhy-integrated.final-preview .lm-overlay__retry:hover{color:var(--yhy-ink)}}
.yhy-integrated .lm-overlay__retry{min-height:var(--yhy-sm-height);border-radius:var(--yhy-control-radius);border-color:var(--yhy-action-border)}
.yhy-integrated.final-preview .pm3__state-picker{background:var(--yhy-selection-track);border:1px solid var(--yhy-line);border-radius:var(--yhy-control-radius);gap:2px;padding:3px}
/* State copy follows the same responsive width and center as the tile grid. */
.yhy-integrated.final-preview .pm3 .pm3__footer--segments .pm3__copy{width:min(100%,var(--pm3-grid-width,720px));margin-inline:auto}
/* The handoff, controls, artwork and copy share the adjacent tile size and left edge. */
.yhy-integrated.final-preview .pm3[data-pm3-matched-size] :is(.pm3__state-controls,.pm3__viewport,.pm3__footer){width:min(100%,var(--pm3-grid-width));justify-self:start}
.yhy-integrated.final-preview .pm3[data-pm3-matched-size] .pm3__panel .fp-paris-grid,.yhy-integrated.final-preview .pm3[data-pm3-matched-size] .pm3__footer--segments .pm3__copy{margin-inline:0}
.yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow]{display:flex;align-items:center;justify-content:flex-start;width:min(100%,var(--pm3-grid-width));gap:var(--yhy-space-6);padding-block:var(--yhy-space-6);margin-bottom:var(--ds-content-space);border-color:var(--yhy-line)}
.yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] li{display:flex;align-items:center;gap:var(--yhy-space-6);min-width:min-content;padding:0}
.yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] li::after{content:none}
.yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] .rv-handoff-label{min-width:min-content}
.yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] .yhy-icon{width:var(--yhy-md-icon);height:var(--yhy-md-icon);flex:none;color:var(--yhy-muted)}
.yhy-integrated.final-preview .pm3__state-button{border-radius:5px;min-height:var(--yhy-sm-height);font-size:var(--yhy-sm-font);line-height:var(--yhy-sm-line);color:var(--yhy-muted);transition:color var(--yhy-action-duration) var(--yhy-action-ease),background-color var(--yhy-action-duration) var(--yhy-action-ease)}
.yhy-integrated.final-preview .pm3__state-button:active{background:transparent;color:var(--yhy-muted);transform:none}
.yhy-integrated.final-preview .pm3__state-button[aria-pressed=true]{background:var(--yhy-selection-surface);color:var(--yhy-ink);font-weight:var(--yhy-weight-medium);box-shadow:var(--yhy-selection-shadow)}
.yhy-integrated.final-preview .pm3__state-button[aria-pressed=true]:is(:hover,:active){background:var(--yhy-selection-surface)}
.yhy-integrated.final-preview .pm3__state-button:hover{color:var(--yhy-ink)}
.yhy-integrated.final-preview :is(.pm3__state-button,.back-to-top,.back-link):focus-visible{outline:var(--yhy-focus-width) solid var(--yhy-ink);outline-offset:var(--yhy-focus-offset)}
.yhy-integrated.final-preview .pm3__state-button:focus-visible{outline-offset:1px}
.yhy-integrated.final-preview .pm3:focus-visible{outline:var(--yhy-focus-width) solid var(--yhy-ink);outline-offset:var(--yhy-focus-offset)}
.yhy-integrated :is(button:disabled,button[aria-disabled=true]){opacity:.45}
.yhy-integrated button[aria-busy=true]{opacity:.72}
@media(max-width:760px){
  .yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow]{gap:var(--yhy-space-3);padding-block:var(--yhy-space-5)}
  .yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] li{gap:var(--yhy-space-3)}
  .yhy-integrated.final-preview .rv-handoff-flow[data-pm3-matched-flow] .yhy-icon{width:var(--yhy-sm-icon);height:var(--yhy-sm-icon)}
  .yhy-integrated.final-preview{--gutter:var(--pf-layout-gutter-mobile);--ds-type-body:var(--pf-type-reading-mobile);--ds-page-space:var(--pf-space-section-mobile);--ds-section-space:var(--pf-space-section-mobile);--ds-block-space:var(--pf-space-block-mobile);--ds-stage-inset:var(--pf-space-block-mobile);--ds-content-space:var(--pf-space-content-mobile);--ds-stage-gap:var(--pf-space-content-mobile)}
  .yhy-integrated.ink-study .intro.ink-intro h1{font-size:var(--pf-type-home-display-mobile)}
  .yhy-integrated .back-to-top{width:var(--yhy-sm-height);height:var(--yhy-sm-height)}
  .yhy-integrated .back-to-top .yhy-icon{width:20px;height:20px}
  .yhy-integrated.final-preview .pm3__state-button{font-size:13px;padding-inline:2px}
}
.yhy-integrated .site-nav .integrated-contact-trigger{--action-color:var(--context-muted,var(--yhy-muted));color:var(--action-color);font-size:var(--pf-type-nav,14px)}
.yhy-integrated .site-nav .integrated-contact-trigger:is(:hover,:focus-visible,[aria-expanded=true]){--action-color:var(--context-title,var(--yhy-ink))}
.yhy-integrated .site-nav .integrated-contact-trigger:focus-visible{outline-color:var(--context-title,var(--yhy-ink))}
.yhy-integrated .site-nav .integrated-contact-trigger .yhy-icon{width:var(--yhy-nav-icon);height:var(--yhy-nav-icon)}
.yhy-integrated #main .end-note>.integrated-contact-trigger{display:flex;margin-top:12px;font-size:clamp(30px,3vw,48px);line-height:1.25;font-weight:400;letter-spacing:-.035em;--action-color:var(--yhy-muted)}
.yhy-integrated #main .end-note>.integrated-contact-trigger:is(:hover,:focus-visible,[aria-expanded=true]){--action-color:var(--yhy-ink)}
.yhy-integrated .end-note .integrated-contact-trigger .yhy-icon{width:var(--yhy-display-icon);height:var(--yhy-display-icon)}
.integrated-contact-trigger .yhy-icon{transition:transform var(--yhy-action-duration) var(--yhy-action-ease)}
.integrated-contact-trigger[aria-expanded=true] .yhy-icon[data-symbol=chevron-down]{transform:rotate(180deg)}
.yhy-integrated .integrated-contact{border-radius:var(--yhy-panel-radius);background:var(--yhy-surface-overlay);box-shadow:var(--yhy-shadow-overlay)}
.yhy-integrated .integrated-contact .cp-mail{justify-content:center;align-items:center}
.yhy-integrated .rv-contact h2{margin:0}
.yhy-integrated .rv-contact .integrated-contact-trigger{--action-color:var(--yhy-ink);font:inherit;line-height:1.25;gap:.2em}
.yhy-integrated .rv-contact .integrated-contact-trigger:hover{--action-color:var(--yhy-muted)}
.integration-review{position:fixed;left:22px;bottom:var(--yhy-action-inset,16px);z-index:90;display:flex;align-items:center;gap:var(--yhy-space-3,12px);padding:0 var(--yhy-space-3,12px);border:1px solid var(--yhy-line);border-radius:var(--yhy-control-radius);background:var(--yhy-surface);box-shadow:var(--yhy-shadow-overlay);color:var(--yhy-muted);font:var(--yhy-caption-font,12px)/var(--yhy-body-line,20px) var(--yhy-font)}
.integration-review>span{display:flex;align-items:center;gap:var(--yhy-space-2,8px);padding-right:var(--yhy-space-3,12px);border-right:1px solid var(--yhy-line)}
@media(max-width:760px){.yhy-integrated #main .end-note>.integrated-contact-trigger{font-size:30px}.integration-review{left:var(--yhy-action-inset,16px)}}
@media(prefers-reduced-motion:reduce){.integrated-contact-trigger .yhy-icon{transition:none}}
@media print{.integration-review,.integrated-contact{display:none!important}}
