/* The two strokes of our mark open into the actual homepage. */
.opening-intro { display: none; position: fixed; inset: 0; z-index: 999999; overflow: hidden; color: var(--ink); pointer-events: none; }
html { scrollbar-gutter: stable; }
html.ax-opening { overflow: hidden; }
.ax-opening .opening-intro { display: block; pointer-events: auto; }
.ax-opening:not(.ax-opening-ready) .opening-art * { animation-play-state: paused; }
.ax-opening:not(.ax-opening-ready) .opening-skip { visibility: hidden; }
.opening-art { position: absolute; inset: 0; pointer-events: none; }
.opening-curtain { position: absolute; inset: -1px; background: var(--paper); }
.opening-curtain-a { clip-path: polygon(0 0, 100% 0, 0 100%); }
.opening-curtain-b { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.opening-grid { position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(var(--ink) .6px, transparent .6px); background-size: 42px 42px; mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 74%); animation: opening-grid 1.18s cubic-bezier(.2,.7,.25,1) both; }
.opening-logo, .opening-echo { position: absolute; left: 50%; top: 42%; width: min(46vw, 52svh); aspect-ratio: 1; transform: translate(-50%, -50%); }
.opening-logo { z-index: 2; color: var(--orange); }
.opening-logo > svg { display: block; width: 100%; height: 100%; transform: rotate(-7deg); overflow: visible; }
.opening-stroke { transform-box: view-box; transform-origin: center; }
.opening-stroke-a { animation: opening-stroke-a .68s cubic-bezier(.18,.8,.2,1) both; }
.opening-stroke-b { animation: opening-stroke-b .68s .09s cubic-bezier(.18,.8,.2,1) both; }
.opening-logo-cut { animation: opening-cut .4s .42s both; }
.opening-echo { color: var(--orange); opacity: 0; }
.opening-echo svg { width: 100%; height: 100%; transform: rotate(-7deg); }
.opening-echo svg > path { fill: none; stroke: currentColor; stroke-width: .16; }
.opening-echo svg > path:last-child { display: none; }
.opening-echo-a { animation: opening-echo 1.18s .06s cubic-bezier(.16,.7,.22,1) both; }
.opening-echo-b { animation: opening-echo 1.18s .18s cubic-bezier(.16,.7,.22,1) both; }
.opening-echo-c { animation: opening-echo 1.18s .3s cubic-bezier(.16,.7,.22,1) both; }
.opening-name { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); overflow: hidden; font-family: var(--display); font-size: clamp(70px, min(16vw, 22svh), 220px); font-weight: 500; line-height: .95; letter-spacing: -.075em; white-space: nowrap; }
.opening-name > span:first-child { display: block; animation: opening-name .65s .36s cubic-bezier(.16,.8,.2,1) both; }
.opening-name-line { display: block; width: 100%; height: 1px; margin-top: 18px; background: currentColor; transform-origin: left; animation: opening-name-line .65s .46s cubic-bezier(.2,.7,.2,1) both; }
.opening-seam { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; stroke: var(--orange); stroke-width: 1.5; }
.opening-skip { position: absolute; right: var(--gutter); bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: transparent; color: var(--secondary); font: 12px var(--sans); animation: opening-skip .3s .45s both; }
.opening-skip > .ax-icon { width: 16px; height: 16px; }
.opening-skip:hover { color: var(--ink); }
.ax-opening .hero-brand-x { visibility: hidden; }
.ax-opening .drag-hand-cue { animation-play-state: paused; }
.ax-opening-reveal .opening-curtain-a { animation: opening-curtain-a .9s cubic-bezier(.65,0,.2,1) forwards; }
.ax-opening-reveal .opening-curtain-b { animation: opening-curtain-b .9s cubic-bezier(.65,0,.2,1) forwards; }
.ax-opening-reveal .opening-grid, .ax-opening-reveal .opening-echo, .ax-opening-reveal .opening-skip { animation: opening-fade .25s forwards; }
.ax-opening-reveal .opening-name { animation: opening-name-exit .42s cubic-bezier(.55,0,.25,1) forwards; }
.ax-opening-reveal .opening-seam { animation: opening-seam .85s both; }
.ax-opening-reveal .site-header { animation: opening-header .65s .16s both; }
.ax-opening-reveal .hero-brand > span { animation: opening-hero .85s .08s cubic-bezier(.16,.8,.25,1) both; }
.ax-opening-reveal .hero-meta, .ax-opening-reveal .work-heading { animation: opening-content .7s .25s both; }
.ax-opening-reveal .card-comfy { animation: opening-card .7s .32s both; }
.ax-opening-reveal .card-nouvelle { animation: opening-card .7s .34s both; }
@keyframes opening-stroke-a { from { transform: translate(-100%, -130%); opacity: 0; } 14% { opacity: 1; } to { transform: translate(0, 0); opacity: 1; } }
@keyframes opening-stroke-b { from { transform: translate(100%, -130%); opacity: 0; } 14% { opacity: 1; } to { transform: translate(0, 0); opacity: 1; } }
@keyframes opening-cut { from { opacity: 0; } to { opacity: 1; } }
@keyframes opening-echo { 0% { transform: translate(-50%, -50%) scale(2.6) rotate(18deg); opacity: 0; } 18% { opacity: .35; } 75% { opacity: .2; } 100% { transform: translate(-50%, -50%) scale(1.02) rotate(0); opacity: 0; } }
@keyframes opening-grid { from { transform: scale(1.18); opacity: 0; } to { transform: scale(1); opacity: .13; } }
@keyframes opening-name { from { transform: translateY(120%) rotate(5deg); } to { transform: translateY(0) rotate(0); } }
@keyframes opening-name-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes opening-skip { from { opacity: 0; } to { opacity: 1; } }
@keyframes opening-curtain-a { to { transform: translate(-100%, -100%); } }
@keyframes opening-curtain-b { to { transform: translate(100%, 100%); } }
@keyframes opening-name-exit { to { translate: 0 -45px; opacity: 0; } }
@keyframes opening-fade { to { opacity: 0; } }
@keyframes opening-seam { 0% { opacity: 0; stroke-dasharray: 0 150; } 28% { opacity: .65; stroke-dasharray: 150 150; } 100% { opacity: 0; stroke-dasharray: 150 150; } }
@keyframes opening-header { from { translate: 0 -14px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes opening-hero { from { clip-path: inset(0 0 100% 0); translate: 0 24px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
@keyframes opening-content { from { translate: 0 20px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes opening-card { from { translate: 0 42px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@media (max-width: 700px) {
  .opening-logo, .opening-echo { width: min(86vw, 47svh); }
  .opening-name { bottom: 11%; }
  .opening-grid { background-size: 30px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ax-opening { overflow: auto; }
  .ax-opening .opening-intro { display: none; }
  .ax-opening .hero-brand-x { visibility: visible; }
}
