/* Vessel of Light — the Shop. Phone first. */
:root{
  --paper:#F7F2E7;
  --paper-sunk:#EFE6D3;
  --ink:#1B2A4A;
  --ink-soft:#3E4A66;
  --gold:#7E6216;        /* gold for text: readable on paper */
  --gold-bright:#B8922F; /* gold for marks only */
  --muted:#5E5A4F;
  --line:#D9CFB8;
  --field:#FFFDF8;
  --alert:#8A2B1F;
  --serif:"EB Garamond",Garamond,"Times New Roman",Georgia,serif;
  --hebrew:"Frank Ruhl Libre","EB Garamond",serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--serif);font-size:1.1875rem;line-height:1.55;
  font-feature-settings:"onum" 0,"lnum" 1;
}
img{max-width:100%;display:block}
a{color:var(--ink)}
.wrap{max-width:34rem;margin:0 auto;padding:0 1.25rem}

/* top line */
.top{display:flex;justify-content:space-between;align-items:flex-start;padding-top:1.1rem}
.logo{display:block;line-height:0}
.logo img{height:2.9rem;width:auto}
@media (min-width:44rem){.logo img{height:3.4rem}}
.bsd{margin:0;font-family:var(--hebrew);font-size:.8rem;color:var(--muted)}

/* type */
h1,h2{font-weight:500;line-height:1.12;margin:0;color:var(--ink)}
h1{font-size:2.35rem;letter-spacing:-.01em}
h2{font-size:1.6rem}
p{margin:.75rem 0 0}
.lede{font-size:1.25rem;color:var(--ink-soft)}
.fine{font-size:.95rem;color:var(--muted);line-height:1.45}
.price{font-size:1.15rem;color:var(--gold);font-weight:500;margin-top:.9rem}

/* the books — the one bold thing */
.books{margin:1.4rem 0 1.6rem;padding:0}
.books .pair{position:relative;aspect-ratio:100/76}
.book{
  position:absolute;width:52%;aspect-ratio:1/1;border-radius:3px 7px 7px 3px;overflow:hidden;
  box-shadow:0 1px 0 rgba(27,42,74,.25),0 10px 18px -6px rgba(27,42,74,.35),0 26px 40px -18px rgba(27,42,74,.35);
  background:var(--paper-sunk);
}
.book::after{ /* the spine */
  content:"";position:absolute;inset:0 auto 0 0;width:9%;
  background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(255,255,255,.12) 40%,rgba(0,0,0,.08) 70%,rgba(0,0,0,0));
}
.book img{width:100%;height:100%;object-fit:cover}
.book.one{left:2%;top:2%;transform:rotate(-4deg);z-index:1}
.book.two{right:2%;top:24%;transform:rotate(3deg);z-index:2}
.books figcaption{margin-top:.9rem;font-size:.95rem;color:var(--muted);font-style:italic}
@media (prefers-reduced-motion:no-preference){
  .book.one{animation:settle-a .9s cubic-bezier(.2,.7,.2,1) both}
  .book.two{animation:settle-b .9s .12s cubic-bezier(.2,.7,.2,1) both}
  @keyframes settle-a{from{transform:translateY(14px) rotate(-1deg);opacity:0}to{transform:rotate(-4deg);opacity:1}}
  @keyframes settle-b{from{transform:translateY(14px) rotate(0deg);opacity:0}to{transform:rotate(3deg);opacity:1}}
}

/* buttons */
.btn{
  display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:3.5rem;
  padding:.8rem 1.2rem;border-radius:10px;border:1.5px solid var(--ink);
  font-family:var(--serif);font-size:1.25rem;font-weight:600;text-decoration:none;cursor:pointer;
  -webkit-appearance:none;appearance:none;
}
.btn-primary{background:var(--ink);color:var(--paper);margin-top:1.4rem}
.btn-primary:active{transform:translateY(1px)}
.btn-quiet{background:transparent;color:var(--ink);width:100%;min-height:3rem;font-size:1.05rem;font-weight:500;padding:.55rem 1rem}
.btn[disabled]{opacity:.6;cursor:default}
.linkish{background:none;border:0;padding:.35rem 0;font:inherit;font-size:1rem;color:var(--ink);text-decoration:underline;cursor:pointer}
:focus-visible{outline:3px solid var(--gold-bright);outline-offset:2px}

.includes{list-style:none;margin:1.1rem 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:.3rem .9rem;font-size:1.08rem}
.includes li{position:relative;padding-left:1.1rem}
.includes li::before{content:"";position:absolute;left:0;top:.62em;width:.42rem;height:.42rem;border-radius:50%;background:var(--gold-bright)}
@media (min-width:30rem){.includes{grid-template-columns:1fr 1fr}}

/* sections */
section{padding:2.2rem 0 0}
.rule{border:0;border-top:1px solid var(--line);margin:2.6rem 0 0}

/* steps: a real sequence */
.steps{list-style:none;margin:1rem 0 0;padding:0;counter-reset:s}
.steps li{position:relative;padding:0 0 1.05rem 2.75rem;counter-increment:s}
.steps li::before{
  content:counter(s);position:absolute;left:0;top:.1rem;width:1.85rem;height:1.85rem;border-radius:50%;
  border:1.5px solid var(--gold);color:var(--gold);font-weight:600;font-size:1rem;
  display:flex;align-items:center;justify-content:center;line-height:1;
}
.steps li:not(:last-child)::after{content:"";position:absolute;left:.9rem;top:2.15rem;bottom:.2rem;border-left:1px solid var(--line)}

/* forms */
form{margin-top:1.1rem}
.field{margin-top:1.15rem}
.field>label,.field .label{display:block;font-weight:500;margin-bottom:.4rem}
.field .num{color:var(--gold);font-weight:600;margin-right:.25rem}
input[type=text],input[type=email],input[type=tel],textarea{
  width:100%;font-family:var(--serif);font-size:1.15rem;color:var(--ink);
  background:var(--field);border:1px solid #CBBF9F;border-radius:10px;padding:.8rem .9rem;
}
textarea{min-height:8rem;resize:vertical;line-height:1.45}
input::placeholder,textarea::placeholder{color:#8A7F66}
.or{font-size:.95rem;color:var(--muted);margin:.6rem 0 .45rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.file-btn{position:relative}
.thumbs{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.thumb{display:flex;flex-direction:column;align-items:center;gap:.25rem}
.thumb img{width:5.2rem;height:5.2rem;object-fit:cover;border-radius:6px;border:1px solid var(--line)}
.thumb-x{background:none;border:0;padding:.1rem .3rem;font:inherit;font-size:.85rem;color:var(--muted);text-decoration:underline;cursor:pointer}

.voice-live{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.voice-live .btn-quiet{width:auto}
.voice-live .dot{width:.7rem;height:.7rem;border-radius:50%;background:var(--alert)}
@media (prefers-reduced-motion:no-preference){.voice-live .dot{animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.25}}}
.voice-done audio{width:100%;margin:.2rem 0 .2rem}
.voice-done .row{display:flex;gap:1.25rem}

.form-msg{color:var(--alert);font-weight:500;margin-top:1rem}
.form-msg:empty{display:none}
.done-box{margin-top:1.1rem;padding:1.2rem 1.1rem;background:var(--paper-sunk);border-radius:10px}
.done-box h2{font-size:1.45rem}

.doors-line{margin-top:1.5rem;padding-top:1.1rem;border-top:1px solid var(--line);font-size:1.08rem;color:var(--ink-soft)}
.doors-line a{color:var(--ink);font-weight:500}

/* other doors */
.doors ul{list-style:none;margin:.9rem 0 0;padding:0}
.doors li{padding:.75rem 0;border-top:1px solid var(--line)}
.doors li:last-child{border-bottom:1px solid var(--line)}
.doors a{font-weight:500;font-size:1.2rem}
.doors span{display:block;font-size:.95rem;color:var(--muted)}

footer{margin:2.8rem 0 0;padding:1.6rem 0 2.6rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--muted);text-align:center}
.foot-mark{height:2.4rem;width:auto;margin:0 auto .7rem}
footer a{color:var(--muted)}

@media (min-width:44rem){
  body{font-size:1.25rem}
  h1{font-size:2.9rem}
  .btn-primary{width:auto;min-width:16rem}
}
