/* AdopeDesigner, portfolio of Jens De Backer: phones */
body { background-color: #1F1A2C; 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.3 0.67, zoom 1.6, 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 { outline: 2px solid #FFF042; outline-offset: 3px; }
.on-light:hover { color: #1F1A2C; }
.on-light:focus-visible { outline-color: #1F1A2C; }
.btn-white:hover { background: #FFF042 !important; color: #1F1A2C !important; text-decoration: none !important; }
/* Gradient buttons (CV, See all work): a piece of the cover gradient on the first part, with a soft, uneven edge; 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; }
.btn-accent:hover { background: #FFFFFF !important; color: #1F1A2C !important; text-decoration: none !important; }
.btn-line:hover { background: #FFF042 !important; border-color: #FFF042 !important; color: #1F1A2C !important; text-decoration: none !important; }
.btn-ink:hover { background: #5A1FC0 !important; color: #FFFFFF !important; text-decoration: none !important; }
.read-on:hover { color: #FFFFFF !important; text-decoration: none !important; }
.btn-outline:hover { background: #FFFFFF !important; color: #1F1A2C !important; text-decoration: none !important; }
/* scroll hint: a line that draws itself downwards and runs out at the bottom, over and over */
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: 50% 0%; } 45% { transform: scaleY(1); transform-origin: 50% 0%; } 55% { transform: scaleY(1); transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.scroll-line > span { animation: scroll-line 1.9s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes dot-idle { 0%, 70%, 100% { opacity: 1; } 35% { opacity: 0.2; } }
@keyframes dot-hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } }
.dots-idle > span { animation: dot-idle 1.8s ease-in-out infinite; }
.dots-idle > span:nth-child(2) { animation-delay: 0.22s; }
.dots-idle > span:nth-child(3) { animation-delay: 0.44s; }
.read-on:hover .dot, .read-on:focus-visible .dot { animation: dot-hop 0.9s ease-in-out infinite; }
.read-on [data-story-dot]:nth-child(2) .dot { animation-delay: 0.12s; }
.read-on [data-story-dot]:nth-child(3) .dot { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .btn-glint { transition: none; }
  .dots-idle > span, .read-on .dot, .scroll-line > span { animation: none !important; }
}
/* The round Menu button of the phone pages: it slides away while you read on and comes back when you scroll up; only a real pointer can hover it */
.menu-pill { transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
.menu-pill:focus-visible { transform: none !important; }
@media (hover: hover) { .menu-pill:hover { background: #FFF042 !important; } }
@media (prefers-reduced-motion: reduce) { .menu-pill { transition: none; } }

body { background-color: #1F1A2C; 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.3 0.67, zoom 1.6, 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 { outline: 2px solid #FFF042; outline-offset: 3px; }
.on-light:hover { color: #1F1A2C; }
.on-light:focus-visible { outline-color: #1F1A2C; }
.btn-white:hover { background: #FFF042 !important; color: #1F1A2C !important; text-decoration: none !important; }
.btn-accent:hover { background: #FFFFFF !important; color: #1F1A2C !important; text-decoration: none !important; }
.btn-line:hover { background: #FFFFFF !important; color: #1F1A2C !important; text-decoration: none !important; }
.btn-ink:hover { background: #5A1FC0 !important; color: #FFFFFF !important; text-decoration: none !important; }
.read-on:hover { color: #FFFFFF !important; text-decoration: none !important; }
.read-arrow { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.read-on:hover .read-arrow, .read-on:focus-visible .read-arrow { transform: translateX(7px); }
/* What I can do for you: the row under the pointer is lit and shows its photo. Until a row is touched, the first one is. */
.skill-row:hover, .skill-row:focus-visible { text-decoration: none !important; }
.skill-name { transition: color 0.3s ease; }
.skill-arrow { transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.skill-shot { transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.skill-row:hover .skill-name, .skill-row:focus-visible .skill-name, .skills:not(:hover):not(:focus-within) > li:first-child .skill-name { color: #FFFFFF !important; }
.skill-row:hover .skill-arrow, .skill-row:focus-visible .skill-arrow, .skills:not(:hover):not(:focus-within) > li:first-child .skill-arrow { opacity: 1 !important; transform: translateX(0) !important; }
.skill-row:hover .skill-shot, .skill-row:focus-visible .skill-shot, .skills:not(:hover):not(:focus-within) > li:first-child .skill-shot { opacity: 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); }
.btn-outline:hover { background: #FFFFFF !important; color: #1F1A2C !important; text-decoration: none !important; }
@keyframes dot-idle { 0%, 70%, 100% { opacity: 1; } 35% { opacity: 0.2; } }
@keyframes dot-hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } }
.dots-idle > span { animation: dot-idle 1.8s ease-in-out infinite; }
.dots-idle > span:nth-child(2) { animation-delay: 0.22s; }
.dots-idle > span:nth-child(3) { animation-delay: 0.44s; }
.read-on:hover .dot, .read-on:focus-visible .dot { animation: dot-hop 0.9s ease-in-out infinite; }
.read-on [data-story-dot]:nth-child(2) .dot { animation-delay: 0.12s; }
.read-on [data-story-dot]:nth-child(3) .dot { animation-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .link-arrow svg, .skill-name, .skill-arrow, .skill-shot, .foot-link span, .read-arrow { transition: none; }
  .dots-idle > span, .read-on .dot { animation: none !important; }
}
/* The phone layout, kept firm against inline styles written by the scripts */
.skill-row .skill-name { color: rgb(255, 255, 255) !important; }
.skill-row .skill-arrow { display: none !important; }
.skill-row .skill-shot { position: relative !important; top: auto !important; right: auto !important; transform: none !important; width: 100% !important; opacity: 1 !important; }

body { margin: 0; background: #1F1A2C; font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif; }
a { color: #FFFFFF; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #FFF042; outline-offset: 3px; }
/* The pages of the site: dimmed, and the page you are on carries the gradient of the titles */
.m-link { color: rgba(255,255,255,0.42); transition: color 0.2s ease; }
.m-link:focus-visible { color: #FFFFFF; text-decoration: none; }
.m-link[aria-current="page"] span { color: #FFFFFF; background-image: linear-gradient(100deg, #FF3B30 0%, #FF8A1F 22%, #FFC93C 44%, #FFFFFF 78%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Hover only where there is a pointer to hover with: on a touch screen it would stick after a tap */
@media (hover: hover) {
  .m-link:hover { color: #FFFFFF; text-decoration: none; }
  .m-close:hover { background: #FFF042 !important; }
  .m-line:hover { background: #FFF042 !important; border-color: #FFF042 !important; color: #1F1A2C !important; text-decoration: none !important; }
  .m-small:hover { text-decoration: underline; text-underline-offset: 4px; }
}
/* Gradient button (CV): the same piece of the cover gradient as in the header of the large screens */
@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; }
/* Opened from a page, after the menu of creativo-code.com: a sheet with a round edge sweeps in from the right, in the purple of the gradient, and settles into the dark ground. Then the lines slide in from the right, one after the other. Closing sweeps the sheet back out. */
[data-menu] { clip-path: ellipse(95% 80% at 200% 50%); transition: clip-path 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
[data-menu].is-open { clip-path: ellipse(170% 120% at 50% 50%); transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1); }
[data-menu]::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; background: #5A1FC0; opacity: 1; pointer-events: none; transition: opacity 0s linear 0.5s; }
[data-menu].is-open::after { opacity: 0; transition: opacity 0.55s ease 0.4s; }
[data-menu] [data-menu-rise] { opacity: 0; transform: translateX(96px); transition: opacity 0s linear 0.5s, transform 0s linear 0.5s; }
[data-menu].is-open [data-menu-rise] { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 60ms + 560ms); }
@media (prefers-reduced-motion: reduce) {
  [data-menu], [data-menu].is-open { clip-path: none; transition: none; }
  [data-menu]::after { display: none; }
  [data-menu] [data-menu-rise], [data-menu].is-open [data-menu-rise] { transform: none; transition: none; }
  .btn-glint, .m-link { transition: none; }
}
