@font-face {
  font-family: 'Oooh Baby';
  src: url('./assets/oooh-baby.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./assets/dm-sans.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  background: #08090b;
  color: #f0eeea;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; overflow-x: hidden; }
body, main { min-height: 100svh; }
.atmosphere, #sculpture { position: fixed; inset: 0; }
.atmosphere {
  pointer-events: none;
  background: radial-gradient(ellipse at 59% 44%, #17202738, transparent 51%), #08090b;
}
#sculpture { width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity 1.5s; }
.scene-ready #sculpture { opacity: 1; }
main { position: relative; }
.artwork {
  appearance: none;
  position: absolute;
  top: 10svh;
  left: 29%;
  width: 60%;
  height: 72svh;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.artwork:focus { outline: none; }
.artwork:focus-visible { outline: 1px solid #cad2dc80; outline-offset: 10px; }
.introduction {
  position: absolute;
  left: 7.5%;
  bottom: 8.5svh;
  pointer-events: none;
  animation: reveal 1.5s ease both;
}
h1 {
  margin: 0;
  font-family: 'Oooh Baby', 'Brush Script MT', cursive;
  font-size: clamp(3.5rem, 5.8vw, 6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  white-space: nowrap;
}
h1 span { white-space: nowrap; }
p {
  margin: .35rem 0 0 .15rem;
  font-family: 'DM Sans', sans-serif;
  color: #a8aab1;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .01em;
}
::selection { background: #c2b09740; color: #fff; }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  .artwork { top: 10svh; left: 5%; width: 90%; height: 60svh; }
  .introduction { left: 8%; bottom: 10svh; }
  h1 { font-size: clamp(2.5rem, 11vw, 4.75rem); }
  p { margin-top: .35rem; font-size: 1rem; }
}
@media (max-height: 500px) and (min-width: 701px) {
  .introduction { bottom: 8svh; }
  h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  #sculpture { transition: none; }
  .introduction { animation: none; }
}
