/* AG, Elevate Our Leaders, AdopeDesigner: 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, 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; }
/* Next case: the picture moves a little closer and the arrow slides in, as on the Work page */
.next-case:hover, .next-case:focus-visible { text-decoration: none !important; }
.work-zoom { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.next-case:hover .work-zoom, .next-case: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); }
.next-case:hover .work-arrow, .next-case:focus-visible .work-arrow { opacity: 1 !important; transform: translateX(0) !important; }
/* On a narrow screen the columns stack */
.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-zoom, .work-arrow, .foot-link span, .link-arrow svg { transition: none; }
}
/* The phone layout, kept firm against inline styles written by the scripts */
.case-col { grid-column: 1 / -1 !important; }
.case-four { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; }
.case-three { grid-template-columns: minmax(0px, 1fr) !important; }
.case-mark { display: 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, 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; }
/* Next case: the picture moves a little closer and the arrow slides in, as on the Work page */
.next-case:hover, .next-case:focus-visible { text-decoration: none !important; }
.work-zoom { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.next-case:hover .work-zoom, .next-case: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); }
.next-case:hover .work-arrow, .next-case:focus-visible .work-arrow { opacity: 1 !important; transform: translateX(0) !important; }
/* On a narrow screen the columns stack */
.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-zoom, .work-arrow, .foot-link span, .link-arrow svg { transition: none; }
}
/* The phone layout, kept firm against inline styles written by the scripts */
.case-col { grid-column: 1 / -1 !important; }
.case-four { grid-template-columns: repeat(2, minmax(0px, 1fr)) !important; }
.case-three { grid-template-columns: minmax(0px, 1fr) !important; }
.case-mark { display: none !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; }
}
