/* Coming-soon page: quiet, dark, slow, like a fragrance film. The full site is kept as index-full.html. */
:root { --ink: #d9d9de; --dim: #8e8e96; }
html, body { margin: 0; background: #050203; color: var(--ink); }
html.lock { overflow: hidden; }                                  /* no scrolling while the intro plays */
body { overflow-x: hidden; }
.hero { box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2.4vh, 26px); padding: 84px 5vw 26px; text-align: center; overflow: clip; }
#art { position: relative; aspect-ratio: var(--ar); height: min(62vh, 62svh, calc(90vw / var(--ar)), var(--nh)); container-type: inline-size; will-change: transform; }
#art img, #art canvas { position: absolute; display: block; }
#art canvas { left: -50%; top: -30%; width: 200%; height: 160%; pointer-events: none; }
#title, #foot { opacity: 0; }
.ready #title, .ready #foot { animation: fade 2.6s .5s ease-out forwards; }
.ready #foot { animation-delay: 1.4s; }
#hit { position: absolute; left: 50.3%; top: 48.4%; width: 44%; aspect-ratio: 1; translate: -50% -50%; border: 0; border-radius: 50%; background: none; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
#hit:focus-visible { outline: 1px solid rgba(255, 255, 255, .55); outline-offset: 4px; }
h1 { margin: 0; font: italic 500 clamp(1.05rem, 2.8vw, 1.7rem)/1.2 "Playfair Display", Georgia, "Times New Roman", serif; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--ink); opacity: 0; }
.ready h1 { animation: tracks 3.2s 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }

/* the little doodle: a hand-drawn arrow and "interested?", pointing up at the star; the arrow draws itself */
.doodle { position: absolute; inset: 0; color: rgba(225, 225, 232, .55); pointer-events: none; opacity: 0; }
.ready .doodle { animation: fade 1.6s 3.6s ease-out forwards; }
.doodle span { position: absolute; left: 8%; top: 75%; font: 500 5.4cqw/1 Caveat, "Segoe Script", cursive; transform: rotate(-6deg); transform-origin: left; white-space: nowrap; }
.doodle svg { position: absolute; left: 19%; top: 57%; width: 23%; height: 18%; overflow: visible; }
.doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ready .doodle path { animation: draw 1.4s 3.8s ease-in-out forwards; }
.ready .doodle path:nth-child(2) { animation-delay: 4.8s; animation-duration: .4s; } .ready .doodle path:nth-child(3) { animation-delay: 5.1s; animation-duration: .4s; }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tracks { from { opacity: 0; letter-spacing: .9em; text-indent: .9em; } to { opacity: .9; letter-spacing: .5em; text-indent: .5em; } }

/* the Awakening Meter (sign-ups out of 1000) and the visit count */
.meter { width: min(72vw, 340px); }
.mrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font: 500 .6rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--dim); }
.mrow b { font-weight: 500; letter-spacing: .2em; color: var(--ink); }
.bar { height: 2px; background: rgba(255, 255, 255, .12); position: relative; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #8f93a8, #f3f4ff); box-shadow: 0 0 10px rgba(225, 230, 255, .7), 0 0 26px rgba(205, 212, 255, .35); transition: width 2.2s cubic-bezier(.2, .7, .2, 1); }
.visits { margin: 4px 0 0; font: 500 .58rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: #5f5f67; }

/* the second section: the line, the meter, the button. Its pieces rise in one after another when it scrolls into view. */
.about { box-sizing: border-box; min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3.4vh, 32px); padding: 12vh 6vw; text-align: center; border-top: 1px solid rgba(255, 255, 255, .07); }
.about > * { opacity: 0; transform: translateY(16px); transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.about.in > * { opacity: 1; transform: none; } .about.in > :nth-child(2) { transition-delay: .15s; } .about.in > :nth-child(3) { transition-delay: .3s; } .about.in > :nth-child(4) { transition-delay: .45s; } .about.in > :nth-child(5) { transition-delay: .6s; }
.quote { margin: 0; max-width: 16ch; font: italic 500 clamp(2.1rem, 6.4vw, 4rem)/1.12 "Playfair Display", Georgia, "Times New Roman", serif; letter-spacing: .005em; color: #ececf0; }
footer { padding: 4vh 5vw 5vh; text-align: center; font: 500 .56rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .4em; text-transform: uppercase; color: #4f4f57; }

/* the sign-up card, opened by clicking the star */
dialog { padding: clamp(26px, 6vw, 46px); width: min(92vw, 400px); box-sizing: border-box; border: 1px solid rgba(255, 255, 255, .14); background: #0a090b; color: var(--ink); box-shadow: 0 30px 120px rgba(0, 0, 0, .8), 0 0 80px rgba(210, 215, 255, .06); }
dialog[open] { animation: rise .6s cubic-bezier(.2, .8, .2, 1); }
dialog::backdrop { background: rgba(3, 2, 3, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .6s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
form { position: relative; display: grid; gap: 16px; }
.x { position: absolute; right: -14px; top: -14px; width: 36px; height: 36px; border: 0; background: none; color: var(--dim); font: 300 1.7rem/1 Georgia, serif; cursor: pointer; }
.x:hover { color: var(--ink); }
.eyebrow { margin: 0; font: 500 .68rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .4em; text-transform: uppercase; color: var(--dim); }
h2 { margin: 0; font: italic 700 clamp(2rem, 8vw, 2.6rem)/1 "Playfair Display", Georgia, serif; letter-spacing: .02em; }
.lead { margin: 0 0 6px; font: italic 500 1.05rem/1.3 "Playfair Display", Georgia, serif; color: var(--dim); }
label { display: grid; gap: 6px; font: 500 .66rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); }
input { font: 400 1rem/1.4 "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; color: var(--ink); background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; padding: 8px 0; outline: none; transition: border-color .3s; }
input:focus { border-bottom-color: rgba(255, 255, 255, .8); }
input:user-invalid { border-bottom-color: #c9605a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.go, .cta { margin-top: 8px; padding: 15px 18px; font: 600 .72rem/1 Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: .38em; text-indent: .38em; text-transform: uppercase; color: var(--ink); background: none; border: 1px solid rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.go:hover, .go:focus-visible, .cta:hover, .cta:focus-visible { background: #e9e9ee; color: #050203; border-color: #e9e9ee; outline: none; }
.go:disabled { opacity: .5; cursor: default; }
.msg { margin: 0; min-height: 1.2em; font: italic 500 .95rem/1.3 "Playfair Display", Georgia, serif; color: var(--ink); }
.msg.err { color: #d98a85; }
.fine { margin: 0; font: 400 .72rem/1.5 "Helvetica Neue", Arial, sans-serif; color: #6f6f77; }
form.done > :not(.msg):not(.x):not(.eyebrow):not(h2) { display: none; }

@media (prefers-reduced-motion: reduce) {
  #title, #foot, h1, .doodle { animation: none !important; opacity: 1; } h1 { opacity: .9; } .bar i { transition: none; }
  .doodle path { animation: none !important; stroke-dashoffset: 0; } dialog[open], dialog::backdrop { animation: none; }
  .about > * { opacity: 1; transform: none; transition: none; }
}
