/* One V3 header, shared by the home, About and project pages. */
.refined-portfolio .Site { border: 0 !important; }
.v3-site-head { display: block; position: sticky; top: 0; z-index: 40; width: 100%; max-width: none; margin: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); color: #242523; font-family: "Inter Portfolio", Arial, sans-serif; line-height: 1.4; }
.v3-head-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; max-width: 1440px; margin-inline: auto; padding-inline: clamp(22px,4.2vw,64px); }
.v3-head-inner::after { content: ""; position: absolute; bottom: 0; left: clamp(22px,4.2vw,64px); right: clamp(22px,4.2vw,64px); height: 1px; background: #dedfd9; }
.v3-site-head a { color: inherit; text-decoration: none; text-transform: none; }
.v3-site-head .v3-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 21px; font-weight: 500; letter-spacing: -.025em; white-space: nowrap; }
.v3-site-head .v3-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.v3-links > a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.v3-links > a:not(.v3-cv)::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.v3-links > a[aria-current]::after, .v3-links > a:hover::after, .v3-links > a:focus-visible::after { transform: scaleX(1); }
.v3-site-head .v3-cv { gap: 4px; padding: 9px 15px; border: 1px solid #242523; font-weight: 500; transition: color 220ms ease, background-color 220ms ease; }
.v3-site-head .v3-cv:hover, .v3-site-head .v3-cv:focus-visible { background: #242523; color: #fff; }
.v3-site-head .menu { display: none; }
.v3-site-head :focus-visible { outline: 2px solid #242523; outline-offset: 4px; }
@media(max-width:760px) {
 .v3-head-inner { height: 62px; }
 .v3-site-head .v3-brand { font-size: 18.5px; }
 .v3-site-head .v3-links { display: none; }
 .v3-site-head .menu { display: block; position: static; margin: 0; }
 .v3-site-head .menu summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; cursor: pointer; }
 .v3-site-head .menu summary::-webkit-details-marker { display: none; }
 .v3-site-head .menu summary i { display: block; width: 17px; height: 9px; border-block: 1.5px solid #242523; }
 .v3-site-head .menu[open] summary i { transform: scaleY(.25); }
 .v3-site-head .menu nav { position: absolute; top: 62px; left: 0; right: 0; display: grid; gap: 0; background: #fff; padding: 8px 22px 20px; max-height: calc(100dvh - 62px); overflow-y: auto; border-bottom: 1px solid #dedfd9; box-shadow: 0 24px 30px -24px #0003; }
 .v3-site-head .menu nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 0; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; border-bottom: 1px solid #dedfd9; }
 .v3-site-head .menu nav a[aria-current] { font-weight: 600; }
 .v3-site-head .menu nav a:last-child { border-bottom: 0; font-size: 15px; color: #62645f; }
}
@media(prefers-reduced-motion:reduce) { .v3-site-head a, .v3-links > a::after { transition: none; } }
