/* Entrance art direction. All colours come from the existing Lucky Glass palette. */
.atelier {
  --atelier-edge: clamp(24px, 4.6vw, 88px);
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: #e7dcd7; color: #33241b;
  font-weight: 400;
  transition: opacity .7s ease, transform 1s cubic-bezier(.22,.61,.2,1);
}
.atelier::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 73% 45%, #f4ece880 0, transparent 52%);
}
.atelier a { text-decoration: none; }
.atelier :focus-visible { outline: 2px solid #9a4a2e; outline-offset: 6px; }
.atelier:focus { outline: none; }
.atelier-masthead {
  position: relative; z-index: 2; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding: 30px var(--atelier-edge) 12px;
}
.atelier-brand { display: flex; gap: 12px; align-items: center; }
.atelier-brand svg { width: 36px; height: 44px; }
.atelier-brand > span { font: 500 15px/1.4 var(--text); letter-spacing: .19em; }
.atelier-brand small { display: block; font: 400 8px/1.8 var(--text); letter-spacing: .2em; }
.atelier-masthead nav { display: flex; align-items: baseline; gap: clamp(30px, 3.6vw, 64px); margin-left: auto; }
.atelier-masthead nav a { position: relative; min-height: 44px; display: flex; align-items: center; font: 500 26px/1.2 var(--voice); color: #33241b; transition: color .25s; }
.atelier-masthead nav a:first-child { font-style: italic; }
.atelier-masthead nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.atelier-masthead nav a:hover::after, .atelier-masthead nav a:focus-visible::after { transform: scaleX(1); }
.atelier-masthead nav a:hover { color: #9a4a2e; }
.atelier-composition {
  position: relative; isolation: isolate; flex: 1;
  display: grid; grid-template-columns: 46% 54%; align-items: center;
  width: 100%; max-width: 1800px; margin: 0 auto;
  padding: 34px var(--atelier-edge) 24px; min-height: 650px;
}
.atelier-copy { position: relative; z-index: 2; padding-bottom: 18px; }
.atelier-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; letter-spacing: .19em; margin: 0 0 30px; }
.atelier-eyebrow > span { width: 6px; height: 6px; background: #9a4a2e; border-radius: 50%; }
.atelier h1 { font: 400 clamp(62px, 7.35vw, 124px)/1.16 var(--title); letter-spacing: -.052em; margin-left: -.045em; text-wrap: initial; }
.atelier h1 > span { display: block; width: max-content; }
.atelier h1 > span + span { margin-top: 4px; }
.atelier-voice { font: italic 500 clamp(27px, 3.1vw, 48px)/1.25 var(--voice); color: #9a4a2e; margin: 20px 0 0 4px; }
.atelier-invitation { margin-top: clamp(30px, 3.6vw, 56px); width: max-content; max-width: 100%; }
/* Typography leads the invitation; space keeps the artwork in focus. */
.atelier-cta { position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 6px 0; color: #9a4a2e; }
.atelier-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; opacity: .45; transform: scaleX(.55); transform-origin: left; transition: transform .3s, opacity .3s; }
.atelier-cta-label { font: 500 clamp(27px, 2.5vw, 36px)/1.2 var(--voice); }
.atelier-cta-label i { font-weight: 500; }
.atelier-cta:hover::after, .atelier-cta:focus-visible::after { transform: scaleX(1); opacity: 1; }
.atelier-invitation .atelier-invitation-note { max-width: 360px; font: 500 clamp(21px, 1.8vw, 26px)/1.35 var(--voice); color: #6e5a4c; margin: 24px 0 0; }
.atelier-invitation-note em { display: block; margin-top: 9px; font-weight: 500; }
.atelier-art { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0 -15px 0 -12px; min-width: 0; }
.atelier-aura { position: absolute; z-index: -1; left: 6%; right: -4%; top: 3%; bottom: 14%; border-radius: 50%; background: radial-gradient(ellipse, #efc7a82e 0, #f4ece852 44%, transparent 70%); }
.atelier-art canvas { display: block; width: 112%; max-width: none; height: auto; margin: 0 -6%; filter: drop-shadow(5px 10px 4px #33241b17); }
.atelier-fallback { display: block; width: 78%; margin: 0 auto; box-shadow: 10px 15px 40px #33241b15; }
.atelier-art canvas { display: none; }
.atelier-art.is-ready canvas { display: block; }
.atelier-art.is-ready .atelier-fallback { display: none; }
.atelier-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 84%; margin: 10px auto 0; position: relative; z-index: 1; }
.atelier-work-index { font-size: 9px; letter-spacing: .12em; color: #6e5a4c; }
.atelier-work-index > span { opacity: .5; margin: 0 12px; }
.atelier-art figcaption a { font: italic 500 22px var(--voice); display: flex; gap: 12px; align-items: center; min-height: 44px; }
.atelier-art figcaption a span { font: 400 17px var(--text); }
.atelier-art figcaption a:hover { color: #9a4a2e; }
.atelier-announcement { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.atelier.is-leaving { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.atelier.is-playing .atelier-eyebrow,
.atelier.is-playing h1 > span,
.atelier.is-playing .atelier-voice,
.atelier.is-playing .atelier-invitation { animation: atelier-reveal 1.1s cubic-bezier(.22,.61,.2,1) both; }
.atelier.is-playing h1 > span { animation-delay: .1s; }
.atelier.is-playing h1 > span + span { animation-delay: .25s; }
.atelier.is-playing .atelier-voice { animation-delay: .45s; }
.atelier.is-playing .atelier-invitation { animation-delay: .65s; }
@keyframes atelier-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media(min-width: 1600px) { .atelier-art { max-width: 820px; } }
@media(min-width: 901px) and (max-height: 800px) {
  .atelier-masthead { padding-top: 18px; }
  .atelier-composition { min-height: 540px; padding-top: 12px; padding-bottom: 8px; }
  .atelier h1 { font-size: clamp(62px, 6.8vw, 104px); }
  .atelier-art canvas { width: min(110%, 70vh); align-self: center; margin: 0; }
  .atelier-eyebrow { margin-bottom: 20px; }
  .atelier-invitation { margin-top: 28px; }
  .atelier-voice { margin-top: 12px; }
}
@media(max-width: 1100px) and (min-width: 761px) {
  .atelier-masthead nav { margin: 0; }
  .atelier-composition { grid-template-columns: 45% 55%; }
  .atelier h1 { font-size: 7.4vw; }
  .atelier-art canvas { width: 100%; margin: 0; }
  .atelier-art { margin-right: 0; }
  .atelier-art figcaption { width: 94%; }
  .atelier-work-index { font-size: 8px; letter-spacing: .03em; }
}
@media(max-width: 760px) {
  .atelier-masthead { padding-top: 18px; padding-bottom: 8px; gap: 10px; }
  .atelier-brand svg { width: 29px; height: 36px; }
  .atelier-brand { gap: 8px; }
  .atelier-brand > span { font-size: 12px; }
  .atelier-brand small { font-size: 6px; }
  .atelier-masthead nav { margin: 0; gap: 0; }
  .atelier-masthead nav a { font-size: 24px; }
  .atelier-masthead nav a:not(:first-child) { display: none; }
  .atelier-composition { display: flex; flex: none; flex-direction: column; align-items: stretch; min-height: 0; padding-top: 28px; padding-bottom: 12px; }
  .atelier-copy { display: contents; }
  .atelier-eyebrow { order: 0; font-size: 8px; letter-spacing: .14em; margin-bottom: 16px; }
  .atelier h1 { order: 1; font-size: clamp(41px, 13vw, 78px); line-height: 1.15; }
  .atelier h1 > span { display: inline; }
  .atelier h1 > span + span { display: block; margin-top: 0; }
  .atelier-voice { order: 2; font-size: 29px; margin: 10px 0 0; }
  .atelier-art { order: 3; align-self: auto; margin: 4px -12px 0; }
  .atelier-art canvas { width: 100%; margin: 0; max-height: 420px; object-fit: contain; }
  .atelier-art figcaption { width: 94%; margin-top: 4px; }
  .atelier-work-index { font-size: 7px; letter-spacing: .08em; }
  .atelier-work-index > span { margin: 0 6px; }
  .atelier-art figcaption a { font-size: 19px; }
  .atelier-invitation { order: 4; margin: 20px 0 6px; width: auto; }
  .atelier-cta { width: auto; }
  .atelier-invitation .atelier-invitation-note { font-size: 22px; margin-top: 20px; margin-left: 0; }
}
@media(prefers-reduced-motion: reduce) {
  .atelier *, .atelier { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
