/* The supplied gold logo appears after its lotus outline is drawn. */
body.logo-reveal-active { overflow: hidden; }
.logo-reveal {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  color: #f6e7c3;
  background: radial-gradient(ellipse at 50% 43%, #25231a 0%, #10151d 54%, #080d14 100%);
  overflow: hidden;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
}
.logo-reveal[open] { display: grid; place-items: center; }
.logo-reveal::backdrop { background: #080d14; }
.logo-reveal.is-leaving { opacity: 0; transform: scale(1.02); pointer-events: none; }
.logo-reveal-content { position: relative; width: min(100%, 700px, 115vh); text-align: center; }
.lotus-art { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.logo-reveal .lotus-drawing, .logo-reveal .lotus-logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.logo-reveal .lotus-drawing { fill: none; stroke: none; overflow: visible; }
.lotus-traces { filter: drop-shadow(0 0 7px #e0b04f80); }
.lotus-traces path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lotus-draw 1250ms var(--draw-delay, 0ms) cubic-bezier(.3,.1,.25,1) both;
}
.lotus-dot { fill: #f4d28a; stroke: none; animation: lotus-appear 500ms 650ms both; }
.lotus-petals { clip-path: inset(0 0 41% 0); opacity: 0; animation: lotus-appear 650ms 1200ms ease-out forwards; }
.lotus-wordmark {
  opacity: 0;
  clip-path: inset(59% 100% 0 0);
  animation: lotus-wordmark 750ms 1550ms ease-out forwards;
}
.logo-image-ready .lotus-traces { animation: lotus-trace-fade 550ms 1600ms ease-out forwards; }
.logo-reveal-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.logo-image-unavailable .logo-reveal-title {
  position: static; width: auto; height: auto; margin: -12% 0 12px;
  clip-path: none; white-space: normal;
  font: 500 clamp(20px, 5vw, 40px)/1.2 Georgia, serif; letter-spacing: .12em;
}
.logo-reveal-subtitle {
  position: relative;
  margin: -5% 0 0;
  color: #c8c6bf;
  font: 10px/1.8 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  animation: lotus-appear 500ms 1900ms both;
}
.logo-reveal-rule {
  display: block; width: 76px; height: 1px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, #d4b773, transparent);
  animation: lotus-appear 500ms 2100ms both;
}
@keyframes lotus-draw { to { stroke-dashoffset: 0; } }
@keyframes lotus-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes lotus-trace-fade { to { opacity: 0; } }
@keyframes lotus-wordmark {
  from { opacity: 0; clip-path: inset(59% 100% 0 0); }
  to { opacity: 1; clip-path: inset(59% 0 0 0); }
}
@media (max-width: 480px) {
  .logo-reveal { padding: 10px; }
  .logo-reveal-subtitle { font-size: 9px; letter-spacing: 1.7px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-reveal, .logo-reveal * { animation: none !important; transition: none !important; }
  .logo-reveal .lotus-logo { opacity: 1; }
  .logo-reveal .lotus-wordmark { clip-path: inset(59% 0 0 0); }
  .logo-reveal .lotus-traces { display: none; }
}
