/* Work, AdopeDesigner: large screens */
body { margin: 0; background: #1F1A2C; font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif; --shader-bg-base: #1F1A2C; --shader-bg-palette: #5A1FC0, 1 0.1 0, 1 0.22 0, 1 0.4 0, 1 0.68 0; --shader-bg-field: center 0.2 0.46, zoom 1, spread 0.2, stack -0.05 -0.19, lead 0.34 -0.3, cursor 0.2, travel 0.3; }
a { color: #FFFFFF; text-decoration: none; }
a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
::selection { background: #FDC30A; color: #1F1A2C; }
a:focus-visible, button:focus-visible { outline: 2px solid #FFF042; outline-offset: 3px; }
.btn-white:hover { background: #FFF042 !important; color: #1F1A2C !important; text-decoration: none !important; }
/* Gradient button (CV): a piece of the cover gradient on the first part; on hover it grows across the whole pill */
@property --fill { syntax: '<percentage>'; inherits: false; initial-value: 46%; }
.btn-glint { transition: --fill 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn-glint:hover, .btn-glint:focus-visible { --fill: 165%; color: #1F1A2C !important; text-decoration: none !important; }
/* Filter: the chosen discipline is white and underlined, like the current page in the menu */
.work-filter { transition: color 0.2s ease; }
.work-filter:hover { color: #FFFFFF !important; }
.work-filter[aria-pressed="true"] { color: #FFFFFF !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* Projects: the picture moves a little closer and the arrow slides in, as in "What I can do for you" */
.work-card:hover, .work-card:focus-visible { text-decoration: none !important; }
.work-card[hidden] { display: none !important; }
.work-zoom { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-card:hover .work-zoom, .work-card:focus-visible .work-zoom { transform: scale(1.04); }
.work-arrow { transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-card:hover .work-arrow, .work-card:focus-visible .work-arrow { opacity: 1 !important; transform: translateX(0) !important; }
@media (max-width: 759px) {
  .work-card { grid-column: 1 / -1 !important; }
}
.foot-link:hover, .foot-link:focus-visible { text-decoration: none !important; }
.foot-link span { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 2px; transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.foot-link:hover span, .foot-link:focus-visible span { background-size: 100% 2px; }
.link-arrow svg { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.link-arrow:hover svg, .link-arrow:focus-visible svg { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .btn-glint, .work-filter, .work-zoom, .work-arrow, .foot-link span, .link-arrow svg { transition: none; }
}
