/* scribblewink, the coming soon page: the shop's dark look (ink ground, cream paper, gold). One screen: the line, the
   sign-up, and the back of the card beside its envelope (the fronts stay unseen until the shop opens). */
@font-face{font-family:"Piazzolla";src:url("fonts/piazzolla.woff2") format("woff2");font-weight:500 900;font-display:swap}
@font-face{font-family:"Albert Sans";src:url("fonts/albert-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
:root{
  --bg:#17110a;--bg-2:#211910;--cream:#fcf6ee;--ink:#17110a;--text:#f6efe3;--muted:#c2b6a3;--gold:#c9974a;
  --btn-hover:#dcae63;--scrim:rgba(6,4,2,.7);--sheet-head:#2b2118;--ghost:rgba(252,246,238,.09);--ghost-2:rgba(252,246,238,.16);--btn-off:#8a6c3d;--btn-off-ink:#2a2016;--hint:#6f6351;--focus:#e3b96f;--under:rgba(252,246,238,.3);--err:#f0b9a4;
  --env-0:#fcf6ee;--env-1:#f0e5d1;--env-2:#e2d2b6;--env-3:#d3bf9d;
  --card-shadow:0 2px 2px rgba(0,0,0,.25),0 22px 44px -14px rgba(0,0,0,.7);
  --display:"Piazzolla",Georgia,"Times New Roman",serif;
  --body:"Albert Sans","Helvetica Neue",Arial,sans-serif;
  --gutter:20px;--max:1200px;
}
@media (min-width:900px){:root{--gutter:48px}}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{overflow-x:clip}
body{margin:0;min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto;background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
h1,p{margin:0}
img,svg{display:block;max-width:100%;height:auto}
[hidden]{display:none!important}
a{color:inherit}
::selection{background:var(--gold);color:var(--ink)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.wrap{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}

/* ---------- the logo */
.head .wrap{display:flex;justify-content:center;align-items:center;height:72px}
.logo{display:block;padding-block:6px}
.logo img{width:150px}

/* ---------- the screen. Phone: the line, the picture, the sign-up, in that order. Wide: text left, picture right. */
.soon{display:grid;align-items:center;padding-block:12px 44px}
.soon-in{display:grid;gap:26px;justify-items:center;text-align:center}
.soon-text{display:contents}
h1{order:1;font-family:var(--display);font-weight:800;font-size:clamp(32px,10.2vw,60px);line-height:.96;letter-spacing:-.03em;word-spacing:.12em;text-wrap:balance}
.sub{order:2;margin-top:-10px;font-size:18px;color:var(--muted);max-width:26em;text-wrap:balance}
.duo{order:3}
.join,.done{order:4}

/* ---------- the picture: the back of the card, as Luke prints it, standing in front of its envelope */
.duo{position:relative;width:min(62vw,260px);aspect-ratio:300/236}
.env{position:absolute;right:0;bottom:0;width:72%}
.env .t0{fill:var(--env-0)}.env .t1{fill:var(--env-1)}.env .t2{fill:var(--env-2)}.env .t3{fill:var(--env-3)}.env .seal{fill:var(--gold)}
.back{position:absolute;left:0;top:0;width:44%;border-radius:2px;box-shadow:var(--card-shadow)} /* taste-skill-ignore: the shop's own card shadow; the card lies on its envelope */

/* ---------- the sign-up */
.join{width:100%;max-width:460px;display:grid;gap:12px}
.join-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap} /* taste-skill-ignore: a label for screen readers, not a rule */
.field{display:grid;gap:10px}
.field input{width:100%;min-height:54px;padding:12px 20px;border:0;border-radius:999px;background:var(--cream);color:var(--ink);font:inherit;font-size:17px;text-align:center}
.field input::placeholder{color:var(--hint);opacity:1}
.field input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.btn{min-height:54px;padding:12px 26px;border:0;border-radius:999px;background:var(--gold);color:var(--ink);font:inherit;font-weight:700;font-size:17px;cursor:pointer;transition:background-color .18s ease,transform .18s ease}
.btn:hover{background:var(--btn-hover)}
.btn:active{transform:scale(.98)}
.btn[disabled]{background:var(--btn-off);color:var(--btn-off-ink);cursor:default;transform:none}
.hp{position:absolute;left:-9999px;top:auto;overflow:hidden}
.join-msg{min-height:0;font-weight:600;color:var(--err)}
.join-msg:empty{display:none}
.join-note{font-size:16px;line-height:1.5;color:var(--muted)}
.join-note a,.foot a{text-decoration:underline;text-decoration-color:var(--under);text-decoration-thickness:1px;text-underline-offset:4px}
.join-note a:hover,.foot a:hover{text-decoration-color:currentColor}
.done{max-width:460px;padding:22px 24px;border-radius:18px;background:var(--bg-2);outline:0}
.done-h{font-family:var(--display);font-weight:800;font-size:28px;line-height:1.1;letter-spacing:-.02em;color:var(--gold);margin-bottom:6px}

/* ---------- the foot: one thing a line, as on the shop (the copyright, then Privacy below it, then Powered by) */
.foot{padding:20px 0 30px;text-align:center;font-size:16px;color:var(--muted)}
.foot .wrap{display:grid;justify-items:center}
.foot p{display:flex;align-items:center;min-height:32px}
.foot a{display:inline-flex;align-items:center;min-height:44px}
.foot .cmm{margin-left:.3em;min-height:0;display:inline}

/* ---------- privacy: a pop-up over the page (the plain /privacy/ page is the fallback with script off) */
dialog.sheet{border:0;padding:0;margin:auto;width:min(680px,calc(100% - 28px));max-width:none;max-height:min(86dvh,820px);border-radius:18px;background:var(--bg-2);color:var(--text);overflow:hidden}
dialog.sheet[open]{display:flex;flex-direction:column}
dialog.sheet::backdrop{background:var(--scrim)}
body:has(dialog[open]){overflow:hidden}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 26px;background:var(--sheet-head)}
.sheet-head h2{margin:0;font-family:var(--display);font-weight:800;font-size:26px;line-height:1.1;letter-spacing:-.02em}
.x{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--text);cursor:pointer;transition:background-color .18s ease}
.x:hover{background:var(--ghost)}
.x:active{background:var(--ghost-2)}
.sheet-body{padding:6px 26px 28px;overflow:auto;scrollbar-width:thin}
.sheet-body:focus-visible{outline-offset:-3px}
.sheet-body h3{margin:20px 0 0;font-size:17px;font-weight:700;line-height:1.35}
.sheet-body p{margin-top:6px}
.sheet-body a{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:4px}

@media (min-width:600px) and (max-width:899px){.duo{width:300px}}
@media (min-width:900px){
  .head .wrap{justify-content:flex-start;height:104px}
  .logo img{width:190px}
  .soon{padding-block:24px 72px}
  .soon-in{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:72px;justify-items:start;text-align:left;align-items:center}
  .soon-text{display:grid;gap:26px;justify-items:start}
  h1{font-size:clamp(46px,4.9vw,72px)}
  .sub{margin-top:-6px;font-size:20px;max-width:none}
  .duo{order:0;justify-self:end;width:min(100%,440px)}
  .join{max-width:560px}
  .field{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px;border-radius:999px;background:var(--cream)}
  .field input{min-height:52px;text-align:left;background:transparent;padding-left:22px}
  .field input:focus-visible{outline:0}
  .field:focus-within{outline:3px solid var(--focus);outline-offset:3px}
  .field .btn{min-height:52px}
  .field .btn:focus-visible{outline-color:var(--ink);outline-offset:-5px}
}

/* ---------- arrival: the parts rise in turn, once. Nothing waits on script, and nothing moves if motion is off. */
@media (prefers-reduced-motion:no-preference){
  h1,.sub,.join,.back,.env{animation:rise .7s cubic-bezier(.22,1,.36,1) both}
  .sub{animation-delay:.08s}.join{animation-delay:.16s}.env{animation-delay:.2s}.back{animation-delay:.32s}
  @keyframes rise{from{opacity:0;transform:translateY(22px)}}
  dialog.sheet[open]{animation:sheet-in .3s ease}
  @keyframes sheet-in{from{opacity:0;transform:translateY(14px)}}
}

/* ---------- the small pages: privacy, thanks, not found */
.small{padding-block:28px 64px}
.small-in{max-width:720px}
.small h1{font-size:clamp(38px,6vw,64px);margin-bottom:18px;animation:none}
.small h2{font-family:var(--display);font-weight:800;font-size:24px;line-height:1.15;letter-spacing:-.02em;color:var(--gold);margin:30px 0 6px}
.small p{max-width:38em}
.small p a{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:4px}
.small-back{margin-top:36px}
.small .btn{display:inline-flex;align-items:center;text-decoration:none}
