/* Until the invitation opens, the prologue is the whole page. */
.entry-sequence:not([hidden]):not(.opening):not(:has(#entry-basic[open])) ~ :is(main, footer, #open-menu, #directory) { display:none !important; }
.entry-sequence:has(#entry-basic[open]) { display:none; }
.entry-sequence {
  --entry-gold:#edc582; --entry-cream:#fff7e8; --entry-edge:clamp(1.25rem,5vw,6rem);
  position:relative; isolation:isolate; overflow:hidden; display:grid; align-items:center;
  min-height:100vh; min-height:100svh; color:var(--entry-cream); background:#050a12;
}
.entry-set,.entry-take,.entry-film,.entry-haze,.entry-light { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.entry-set { z-index:-1; overflow:hidden; background:#08101c; }
.entry-take {
  background-color:#08101c; background-position:var(--shot-focus); background-size:cover; background-repeat:no-repeat;
}
.entry-film { object-fit:cover; object-position:var(--shot-focus); opacity:0; transition:opacity .85s; }
.entry-film.playing { opacity:1; }
.entry-conversation { --shot-focus:62% 42%; background-image:url("assets/in-conversation.webp"); }
.entry-preparation {
  --shot-focus:60% 42%; background-image:url("assets/before-speaking.webp");
  transform:scale(1.018); transform-origin:67% 42%; opacity:1;
  transition:opacity 1.6s ease-in-out, transform 2.8s cubic-bezier(.25,.7,.2,1);
}
.entry-sequence:is([data-step="shared"],[data-step="comfortable"]) .entry-preparation { transform:scale(1.035); }
.entry-sequence.form-second .entry-preparation { opacity:0; transform:scale(1.06); }
.entry-set::before,.entry-set::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; }
.entry-set::after {
  background:radial-gradient(ellipse at 50% 49%,#07101ed1 0%,#07101eb8 19%,#07101e63 43%,#07101e10 73%),
    linear-gradient(0deg,#020911a8,transparent 37%,transparent 74%,#04102033);
}
.entry-set::before {
  z-index:2; opacity:0; transition:opacity .75s;
  background:linear-gradient(90deg,#040c18b0,#06101c75 51%,#071020bf 100%);
}
.entry-sequence:is([data-step="shared"],[data-step="comfortable"],[data-step="sharp"],[data-step="help"]) .entry-set::before { opacity:1; }
.entry-light {
  background:conic-gradient(from 128deg at 88% -14%,transparent 13deg,#ebc47f05 18deg,#ebc48715 24deg,#efc77703 32deg,transparent 38deg),conic-gradient(from 120deg at 15% -7%,transparent 0deg,#b0c2d209 20deg,transparent 34deg);
  transform-origin:80% 0; transition:transform 2.4s ease,opacity 1.3s;
}
.entry-haze {
  background:radial-gradient(ellipse at 30% 105%,#ae946f19,transparent 37%),radial-gradient(ellipse at 88% 35%,#ba976517,transparent 49%);
  animation:entry-air 16s ease-in-out infinite alternate;
}
@keyframes entry-air { to { transform:scale(1.12) translateY(-1.1%); opacity:.75; } }
.entry-sequence[data-step="shared"] .entry-light,.entry-sequence[data-step="comfortable"] .entry-light { transform:rotate(-6deg) scale(1.12); }
.entry-sequence[data-step="second"] .entry-light { transform:rotate(2deg) scale(1.07); }
.entry-composition { display:grid; align-items:center; justify-items:center; isolation:isolate; padding:6.5rem var(--entry-edge); }
.entry-panel { grid-area:1/1; width:min(100%,76rem); text-align:center; }
.entry-panel[aria-hidden="true"] { pointer-events:none; }
.entry-panel h1,.entry-panel h2 {
  color:var(--entry-cream); max-width:18ch; margin:0 auto; text-wrap:balance; font:400 clamp(3.4rem,min(7.9vw,12.35svh),9rem)/1 var(--serif);
  letter-spacing:-.028em; text-shadow:0 .055em .35em #0005;
}
.entry-panel h1:focus,.entry-panel h2:focus { outline:none; }
.entry-panel em { color:var(--entry-gold); font-weight:400; }
.entry-line { display:block; }
@media (prefers-reduced-motion:no-preference) {
  .entry-sequence[data-step="first"] #entry-question { animation:entry-question-arrives .72s cubic-bezier(.2,.7,.2,1) both; }
  .entry-sequence[data-step="first"] #entry-question em { animation:entry-question-arrives .78s .13s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes entry-question-arrives {
    from { opacity:0; transform:translateY(.1em); filter:blur(2px); }
    to { opacity:1; transform:none; filter:blur(0); }
  }
}
.entry-response h2 { font-size:clamp(3.55rem,min(8.4vw,13.5svh),10rem); max-width:22ch; }
.entry-long h2 { font-size:clamp(3.05rem,min(7vw,10.5svh),7.8rem); max-width:21ch; }
.entry-panel p { max-width:38rem; margin:clamp(.95rem,2.75vh,2rem) auto 0; color:#efeadf; font:400 clamp(1.03rem,1.5vw,1.32rem)/1.55 var(--sans); text-wrap:pretty; }
.entry-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:.75rem; margin-top:clamp(1.8rem,5vh,3.4rem); }
.entry-choice {
  display:inline-flex; align-items:center; justify-content:center; gap:.75rem; min-height:3.05rem; min-width:8.35rem;
  padding:.76rem 1.65rem; border:1px solid #e9d9bc7d; border-radius:9rem; background:#080e19a6; color:var(--entry-cream);
  font:600 clamp(.93rem,1.24vw,1.06rem)/1.25 var(--sans); cursor:pointer;
  transition:background .25s,border-color .25s,color .25s,transform .25s;
}
.entry-choice.primary { background:var(--entry-gold); color:#121b27; border-color:var(--entry-gold); }
.entry-choice span { font-size:1.17em; line-height:1; }
.entry-choice:focus-visible,.entry-whisper:focus-visible,.entry-foot button:focus-visible { outline:3px solid var(--entry-cream); outline-offset:5px; }
.entry-whisper {
  color:var(--entry-cream); background:transparent; border:0; border-radius:0;
  padding:.65rem .15rem; min-height:44px; cursor:pointer;
  font:550 .98rem/1.35 var(--sans); text-decoration:underline;
  text-underline-offset:.36em; text-decoration-color:#e1c19080; text-decoration-thickness:1px;
}
.entry-whisper:hover { color:var(--entry-gold); text-decoration-color:currentColor; }
@media(hover:hover) {
  .entry-choice:hover { border-color:var(--entry-cream); background:#293440; }
  .entry-choice.primary:hover { background:#ffe1a8; border-color:#ffe1a8; }
}
.entry-foot { position:absolute; bottom:0; left:var(--entry-edge); z-index:3; padding-block:clamp(.35rem,2.75svh,2rem); font:500 .87rem/1.25 var(--sans); }
.entry-foot button { background:none; color:#f0e5ce; min-height:44px; padding:.65rem .2rem; border:0; }
#entry-basic { margin:1.4rem auto 0; text-align:center; }
.entry-sequence.opening { position:fixed; z-index:100; inset:0; overflow:hidden; pointer-events:none; }
@media(max-width:700px) {
  .entry-take {
    height:84%;
    mask-image:linear-gradient(#000 59%,transparent 100%);
    -webkit-mask-image:linear-gradient(#000 59%,transparent 100%);
  }
  .entry-preparation { --shot-focus:43% 38%; }
  .entry-conversation { --shot-focus:42% 43%; }
  .entry-set::after {
    background:linear-gradient(180deg,#040b1712 0%,#07101e18 20%,#07101e99 35%,#07101edb 55%,#07101e94 75%,#07101e00 100%);
  }
  .entry-set::before { background:linear-gradient(180deg,#07101e55,#07101eb0 44%,#07101ed4 100%); }
  .entry-composition { padding:5.6rem var(--entry-edge); }
  .entry-panel h1,.entry-panel h2 { font-size:clamp(3.15rem,min(11.7vw,11svh),5.2rem); }
  .entry-response h2 { font-size:clamp(3.6rem,min(13.9vw,12svh),6.25rem); }
  .entry-long h2 { max-width:16.5ch; font-size:clamp(2.7rem,min(10.7vw,9.8svh),4.65rem); }
  .entry-panel p { font-size:1.02rem; max-width:31rem; }
  .entry-actions { margin-top:1.8rem; }
  .entry-choice { min-width:7.5rem; }
}
@media(max-height:475px) and (min-width:550px) {
  .entry-composition { padding-block:3.7rem; }
  .entry-panel h1,.entry-panel h2 { font-size:clamp(2.5rem,11svh,4.5rem); }
  .entry-actions { margin-top:1.1rem; }
  .entry-panel p { margin-top:.75rem; }
  .entry-foot { padding-block:.3rem; }
}
@media(prefers-reduced-motion:reduce) { .entry-sequence * { animation:none!important; transition:none!important; } }

/* Answer in the same typographic voice as the question. */
.entry-panel .entry-choice {
  position: relative;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--entry-cream);
  min-width: 0;
  min-height: 48px;
  padding: .3rem .25rem;
  font: italic 400 clamp(1.5rem,2.75vw,2.55rem)/1.16 var(--serif);
}
.entry-panel .entry-choice::after {
  position: absolute;
  content: "";
  left: .25rem;
  right: .25rem;
  bottom: .14rem;
  height: 1px;
  background: var(--entry-gold);
  opacity: .65;
  transform-origin: left;
  transition: transform .28s ease, opacity .28s;
}
.entry-panel:not(.entry-response) .entry-actions { column-gap: clamp(1.7rem,5.3vw,6.2rem); }
.entry-panel .entry-choice:hover,.entry-panel .entry-choice:focus-visible { color: var(--entry-gold); background: transparent; }
.entry-panel .entry-choice:hover::after,.entry-panel .entry-choice:focus-visible::after { opacity: 1; transform: scaleX(.68); }
.entry-panel .entry-choice:focus-visible { outline: 2px dashed var(--entry-gold); outline-offset: 4px; }
.entry-ripple {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  width: min(105vmax,84rem);
  aspect-ratio: 1;
  background: radial-gradient(circle closest-side, transparent 12%, #ffdeb407 29%, #ffdeb41a 37%, transparent 39%, transparent 58%, #f2c98b23 63%, #ffe6b98a 65%, transparent 66%, transparent 78%, #ffe4ad32 81%, transparent 83%);
}
/* Leave the speaker's expression in view beside the first question. */
@media (min-width: 741px) {
  .entry-sequence[data-step="first"] .entry-composition { justify-items:end; }
  .entry-panel[data-panel="first"] { width:min(50%,48rem); }
  #entry-question { font-size:clamp(3.4rem,5.65vw,7.2rem); }
  .entry-sequence[data-step="first"] .entry-set::after {
    background:linear-gradient(90deg,#07101e24 12%,#07101e48 45%,#07101edf 70%,#07101ef5),linear-gradient(0deg,#050b1850,transparent 48%);
  }
}
@media (max-width: 740px) and (orientation:portrait) {
  .entry-sequence[data-step="first"] .entry-preparation { height:64svh; --shot-focus:46% 36%; mask-image:linear-gradient(#000 64%,transparent); }
  .entry-sequence[data-step="first"] .entry-set { background:#07101e; }
  .entry-sequence[data-step="first"] .entry-conversation { opacity:0; }
  .entry-sequence[data-step="first"] .entry-set::after { background:linear-gradient(180deg,#09132012,#09132006 29%,#07101e66 49%,#07101e 64%); }
  .entry-sequence[data-step="first"] .entry-composition { padding:clamp(12rem,44svh,27rem) var(--entry-edge) 2.5rem; }
  .entry-sequence[data-step="first"] #entry-question { font-size:clamp(3rem,min(12vw,10svh),5rem); }
}
