
:root{
  --night:#120b16;
  --plum:#24142b;
  --brass:#d6bd93;
  --brass-dim:#8f7b5c;
  --ivory:#efe6d8;
  --mist:#a999a6;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
*,*::before,*::after{box-sizing:inherit}
html,body{height:100%;margin:0}
html{color-scheme:dark;scroll-padding-top:env(safe-area-inset-top,0px)}
body{
  background:var(--night);
  color:var(--ivory);
  font-family:"Jost",system-ui,sans-serif;
  font-weight:300;
  overflow:hidden;
}
#bg{position:fixed;inset:0;width:100%;height:100%;display:block}
.vignette{
  position:fixed;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 50% 45%,transparent 35%,rgba(10,5,13,.75) 100%);
}
main{
  position:relative;z-index:2;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:2rem 1.5rem;
}
.mark{
  width:46px;height:46px;margin-bottom:2.2rem;opacity:0;
  animation:rise 2.4s .3s cubic-bezier(.2,.7,.2,1) forwards;
}
h1{
  margin:0;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:300;
  font-size:clamp(3rem,11vw,8.5rem);
  letter-spacing:.32em;
  padding-left:.32em;
  line-height:1;
  background:linear-gradient(100deg,#8f7b5c 0%,#efdfbf 30%,#d6bd93 45%,#fff6e0 52%,#d6bd93 60%,#8f7b5c 100%);
  background-size:250% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  opacity:0;
  animation:rise 2.8s .6s cubic-bezier(.2,.7,.2,1) forwards, sheen 9s 3.4s ease-in-out infinite;
}
.line{
  width:1px;height:64px;margin:2.4rem 0 1.8rem;
  background:linear-gradient(to bottom,transparent,var(--brass));
  transform-origin:top;transform:scaleY(0);
  animation:draw 2s 1.8s ease forwards;
}
.whisper{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-style:italic;font-weight:300;
  font-size:clamp(1.15rem,2.6vw,1.6rem);
  color:var(--mist);
  margin:0;max-width:30ch;line-height:1.5;
  opacity:0;animation:rise 2.4s 2.4s ease forwards;
}
.cta{
  margin-top:3rem;opacity:0;animation:rise 2.4s 3s ease forwards;
  min-height:150px;display:flex;flex-direction:column;align-items:center;
}
button.request{
  font:inherit;font-weight:300;font-size:.82rem;letter-spacing:.34em;padding:1.05rem 2.4rem 1.05rem calc(2.4rem + .34em);
  color:var(--brass);background:transparent;cursor:pointer;
  border:1px solid var(--brass-dim);border-radius:0;
  position:relative;overflow:hidden;
  transition:color .6s,border-color .6s;
}
button.request::before{
  content:"";position:absolute;inset:0;
  background:var(--brass);transform:translateY(101%);
  transition:transform .7s cubic-bezier(.2,.7,.2,1);z-index:-1;
}
button.request{z-index:0}
button.request:hover,button.request:focus-visible{color:var(--night);border-color:var(--brass)}
button.request:hover::before,button.request:focus-visible::before{transform:translateY(0)}
:focus-visible{outline:1px solid var(--ivory);outline-offset:5px}

form{
  display:none;flex-direction:column;align-items:center;gap:1.4rem;width:min(340px,86vw);
}
form.open{display:flex;animation:rise 1.2s ease forwards}
label{font-size:.75rem;color:var(--mist);letter-spacing:.14em;align-self:flex-start}
.field{width:100%;display:flex;flex-direction:column;gap:.5rem}
input{
  font:inherit;font-size:1rem;color:var(--ivory);background:transparent;
  border:0;border-bottom:1px solid var(--brass-dim);border-radius:0;
  padding:.5rem 0;width:100%;text-align:left;
  transition:border-color .5s;
}
input:focus{outline:none;border-bottom-color:var(--brass)}
input::placeholder{color:#5f5063}
.send{margin-top:.4rem}
.note{
  font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:1.3rem;
  color:var(--brass);max-width:26ch;line-height:1.5;margin:0;display:none;
}
.note.show{display:block;animation:rise 1.8s ease forwards}
.err{color:#d9a3a3;font-size:.8rem;min-height:1em;margin:0}
footer{
  position:fixed;z-index:2;left:0;right:0;bottom:calc(1.6rem + env(safe-area-inset-bottom,0px));
  text-align:center;font-size:.72rem;letter-spacing:.3em;color:#6d5d72;
  opacity:0;animation:rise 2s 3.6s ease forwards;
}

@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes draw{to{transform:scaleY(1)}}
@keyframes sheen{0%,55%{background-position:100% 0}100%{background-position:-60% 0}}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01s!important;animation-delay:0s!important}
}

/* Production integration: scroll-safe, responsive, accessible inline invitation. */
html,body{height:auto;min-height:100%;margin:0}body{min-height:100svh;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}
canvas,.vignette{pointer-events:none}main{flex:1 0 auto;height:auto;min-height:calc(100svh - 64px);padding:clamp(22px,5vh,48px) 18px 22px;justify-content:center;min-width:0}
.mark{flex-shrink:0}h1{font-size:clamp(1.95rem,10vw,8.5rem);letter-spacing:.30em;padding-left:.30em;white-space:nowrap;max-width:100%}.line{flex-shrink:0}.cta{width:100%;min-height:150px;max-width:480px;}
button.request{letter-spacing:.24em;word-spacing:.28em;max-width:100%;padding:1.05rem 1.65rem;line-height:1.5}button.request:disabled{opacity:.55;cursor:wait}button.request:disabled::before{display:none}
form.open{gap:1.1rem;width:min(360px,100%);max-width:100%}input:not([type=checkbox]){min-width:0}input::placeholder{color:#8e7c91}input:-webkit-autofill{-webkit-text-fill-color:var(--ivory);box-shadow:0 0 0 1000px #24142b inset}
.consent{display:flex;gap:10px;align-items:flex-start;text-align:left;letter-spacing:0;font-size:.81rem;line-height:1.5;color:var(--ivory);width:100%}.consent input{width:16px;height:16px;flex-shrink:0;margin:3px 0 0;accent-color:var(--brass)}
.form-privacy{font-size:.77rem;line-height:1.5;margin:0;color:var(--mist);text-align:left;width:100%}.text-button{background:none;border:0;padding:0;color:var(--brass);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.text-button:hover{color:var(--ivory)}
.trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.err{color:#f0b5b5;font-size:.85rem;line-height:1.4;margin:0}.err:empty{display:none}.note{max-width:34ch;}.note.show{display:block}.note strong{display:block;font-weight:400;font-size:1.6rem;margin-bottom:.6rem}
footer{position:relative;bottom:auto;left:auto;right:auto;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;min-height:64px;padding:12px 20px max(16px,env(safe-area-inset-bottom));letter-spacing:.24em;color:#ad98ad;font-size:.67rem}footer .text-button{letter-spacing:.12em;text-decoration:none}
dialog{background:radial-gradient(ellipse at 50% 0%,#30203a,#160d1b 80%);color:var(--ivory);border:1px solid var(--brass-dim);width:min(640px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow:auto;padding:30px 28px;box-shadow:0 24px 80px #080409b3;line-height:1.65}dialog::backdrop{background:#0b0710bc;backdrop-filter:blur(8px)}dialog h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;color:var(--brass);font-size:2.4rem;margin:0 0 16px}dialog .close{position:absolute;right:15px;top:10px;background:none;border:0;color:var(--brass);font:26px/1 system-ui;cursor:pointer}dialog .dialog-copy{font-size:.9rem;line-height:1.65}dialog a{color:var(--brass);overflow-wrap:anywhere}dialog strong{color:var(--brass);font-weight:400}dialog .close-action{display:block;margin:20px auto 0} [hidden]{display:none!important}
#cancel{margin:0 auto;font-size:.75rem;color:var(--mist)}#turnstile-widget:empty{display:none}
@media(max-width:600px){main{padding-top:30px;padding-bottom:24px;min-height:calc(100svh - 60px)}.mark{width:40px;height:40px;margin-bottom:1.65rem}h1{font-size:clamp(1.85rem,10vw,4rem);letter-spacing:.24em;padding-left:.24em}.line{height:48px;margin:1.65rem 0 1.35rem}.cta{margin-top:2rem;min-height:112px}.whisper{font-size:1.22rem}footer{min-height:60px;font-size:.6rem}button.request{font-size:.72rem;letter-spacing:.19em;word-spacing:.25em;padding:1rem 1.25rem}dialog{padding:24px 20px}}
@media(max-height:700px){.mark{margin-bottom:1.25rem}.line{height:42px;margin:1.5rem 0 1.25rem}.cta{margin-top:1.75rem;min-height:100px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.mark,h1,.whisper,.cta,footer{opacity:1}.line{transform:none}}

/* V12: animated jewel and letter-edge highlights. */
.mark#orb{position:relative;inset:auto;display:block;width:clamp(140px,28vh,240px);height:clamp(140px,28vh,240px);margin:0 auto .4rem;flex:none;pointer-events:none}
.wordmark-wrap{position:relative;max-width:100%;flex:none;isolation:isolate}
.wordmark-glints{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:3;filter:drop-shadow(0 0 4px rgba(255,236,196,.9)) drop-shadow(0 0 10px rgba(214,189,147,.5))}
@media(max-width:600px){.mark#orb{width:clamp(120px,24svh,185px);height:clamp(120px,24svh,185px)}.wordmark-wrap h1{font-size:clamp(1.7rem,9.5vw,4rem)}}
@media(max-height:700px){.mark#orb{width:clamp(110px,22svh,165px);height:clamp(110px,22svh,165px)}}
@media(prefers-reduced-motion:reduce){.wordmark-glints{display:none}}
/* V13: two entry points, one consent and security flow. */
.invitation-actions{display:flex;flex-direction:column;align-items:center;gap:1.15rem}
.private-action{font:inherit;font-size:.88rem;color:var(--brass);background:none;border:0;border-bottom:1px solid var(--brass-dim);padding:.25rem .1rem;cursor:pointer;letter-spacing:.07em}
.private-action:hover{color:var(--ivory);border-color:var(--ivory)}
#private-intro{width:100%;margin:0 0 .1rem}.private-title{font:400 1.65rem/1.15 'Cormorant Garamond',Georgia,serif;color:var(--brass);margin:0 0 .35rem}.private-copy{font-size:.82rem;line-height:1.4;color:var(--mist);margin:0}#code{letter-spacing:.12em;text-transform:uppercase}
