/* Shared portfolio masthead. Independent of each destination's content layout. */
.portfolio-nav {font-family:"Outfit",system-ui,sans-serif;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:0;border:0;border-bottom:1px solid #333942;background:transparent;color:#f1f3f6;position:relative}
.portfolio-nav .portfolio-wordmark {display:inline-flex;align-items:center;gap:0;flex:none;color:#f1f3f6;background:none;text-decoration:none;font:680 clamp(16px,1.4vw,21px)/1 system-ui,sans-serif;letter-spacing:-.065em;text-transform:none}
.portfolio-wordmark b {font-weight:400;color:#b4bac3}
.portfolio-wordmark>span {width:14px;height:16px;margin-right:9px;background:#ffda42;clip-path:polygon(0 0,100% 0,73% 47%,100% 47%,66% 100%,0 100%);transform:rotate(5deg)}
.portfolio-nav .portfolio-destinations {display:flex;align-items:center;gap:clamp(14px,2.8vw,38px);margin:0;flex-wrap:nowrap;color:#b7bec8;font:500 15px/1.3 "Outfit",system-ui,sans-serif}
.portfolio-destinations a {display:inline-flex;align-items:center;position:relative;min-height:44px;padding:0;color:inherit;text-decoration:none;letter-spacing:0;white-space:nowrap}
.portfolio-destinations a[aria-current] {color:#f6f8fc}
.portfolio-destinations a[aria-current]::after {content:"";position:absolute;bottom:6px;left:0;width:16px;height:2px;background:#ffda42}
.portfolio-nav a:hover {color:white;text-decoration:underline;text-underline-offset:.28em}
.portfolio-nav a:focus-visible {outline:2px solid #ffda42;outline-offset:3px}
.writing-mast {background:#0a0e13;padding-inline:clamp(16px,4vw,64px)}.writing-mast .portfolio-nav{max-width:1400px;margin:auto}
@media(max-width:560px){.portfolio-nav{min-height:63px;gap:8px}.portfolio-nav .portfolio-destinations{gap:12px;font-size:13px}.portfolio-wordmark>span{width:9px;height:12px;margin-right:5px}.portfolio-nav .portfolio-wordmark{font-size:16px}}
@media(max-width:370px){.portfolio-nav .portfolio-destinations{gap:9px;font-size:12px}.portfolio-nav .portfolio-wordmark{font-size:15px}}

/* Light / dark switch. Light is the default; dark applies only with data-theme="dark". */
.portfolio-nav .portfolio-destinations {margin-left:auto}
.theme-switch {flex:none;display:inline-grid;grid-auto-flow:column;align-items:center;gap:2px;height:36px;padding:3px;margin:0;border:1px solid #3a424d;border-radius:11px 11px 11px 3px;background:transparent;color:#8f99a6;cursor:pointer}
.theme-switch svg {display:block;box-sizing:content-box;width:17px;height:17px;padding:5px 6px;border-radius:8px 8px 8px 2px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.theme-switch[aria-checked="true"] .theme-moon {background:#ffda42;color:#0b0e12}
.theme-switch:hover {border-color:#5b6673}
.theme-switch:focus-visible {outline:2px solid #ffda42;outline-offset:3px}
:root:not([data-theme="dark"]) .theme-switch {border-color:#c3ccd7;color:#6a7685}
:root:not([data-theme="dark"]) .theme-switch .theme-sun {background:#121820;color:#ffda42}
:root:not([data-theme="dark"]) .theme-switch:hover {border-color:#8894a3}
:root:not([data-theme="dark"]) .theme-switch:focus-visible {outline-color:#121820}
:root:not([data-theme="dark"]) .portfolio-nav {border-bottom-color:#cfd6df;color:#121820}
:root:not([data-theme="dark"]) .portfolio-nav .portfolio-wordmark {color:#121820}
:root:not([data-theme="dark"]) .portfolio-wordmark b {color:#5d6978}
:root:not([data-theme="dark"]) .portfolio-nav .portfolio-destinations {color:#4d5967}
:root:not([data-theme="dark"]) .portfolio-destinations a[aria-current] {color:#0d1218}
:root:not([data-theme="dark"]) .portfolio-destinations a[aria-current]::after {background:#121820}
:root:not([data-theme="dark"]) .portfolio-nav a:hover {color:#000}
:root:not([data-theme="dark"]) .portfolio-nav a:focus-visible {outline-color:#121820}
:root:not([data-theme="dark"]) .writing-mast {background:#f6f8fb}
@media(max-width:560px){.theme-switch{height:32px;padding:2px}.theme-switch svg{width:15px;height:15px;padding:5px}.theme-switch[aria-checked="true"] .theme-sun,.theme-switch[aria-checked="false"] .theme-moon{display:none}}
@media(max-width:430px){.portfolio-nav{gap:6px}.portfolio-nav .portfolio-destinations{gap:10px;font-size:12.5px}.portfolio-nav .portfolio-wordmark{font-size:15px}.theme-switch{height:30px;border-radius:9px 9px 9px 3px}.theme-switch svg{padding:4px}}
