/* Beverly Hills Coven — shared across the gate and the rooms behind it.
   Edit here, never in a page, so the two can never drift apart. */

  :root{
    --header:#09080c;
    --plum-deep:#1d1230;
    --plum:#2e1e45;
    --lilac-soft:#d8c9ee;
    --gold:#c9a227;
    --gold-light:#e8d08a;
    --ink:#f3edfa;
    --muted:#b9a9cf;
    --faint:#8d7fa6;
    --flame:#ffb347;
    --pill:999px;
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0}
  body{
    background:
      radial-gradient(1100px 640px at 50% -10%, #4a3270 0%, rgba(74,50,112,0) 62%),
      radial-gradient(900px 560px at 85% 110%, #3a2359 0%, rgba(58,35,89,0) 60%),
      linear-gradient(180deg,#2e1e45 0%,#241733 55%,#1d1230 100%);
    background-attachment:fixed;
    color:var(--ink);
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:16.5px;
    line-height:1.75;
    font-weight:300;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit}

  /* ---------- candlelight ----------
     A lit room rather than a video file: the glow on the wall breathes,
     the flames flicker on their own timings, and a slow grain gives it the
     tremble of film. Nothing to download, nothing to buffer, and it plays
     the same on a phone as on a desk. */
  .candlelight{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
  }
  /* the light the candles throw into the room */
  .room{
    position:absolute;
    inset:0;
    background:
      radial-gradient(520px 460px at 6% 94%,  rgba(255,150,60,.16) 0%, rgba(255,158,64,0) 70%),
      radial-gradient(500px 440px at 95% 97%, rgba(255,146,54,.15) 0%, rgba(255,150,54,0) 70%),
      radial-gradient(420px 400px at 10% 72%, rgba(255,140,44,.11) 0%, rgba(255,140,44,0) 72%),
      radial-gradient(400px 380px at 91% 68%, rgba(255,146,50,.10) 0%, rgba(255,146,50,0) 72%),
      radial-gradient(340px 320px at 17% 46%, rgba(255,160,60,.07) 0%, rgba(255,160,60,0) 74%),
      radial-gradient(320px 300px at 86% 42%, rgba(255,160,60,.065) 0%, rgba(255,160,60,0) 74%);
    animation:breathe 7.5s ease-in-out infinite;
  }
  .room.b{
    background:
      radial-gradient(300px 280px at 25% 86%, rgba(255,170,70,.14) 0%, rgba(255,170,70,0) 72%),
      radial-gradient(300px 280px at 73% 88%, rgba(255,128,38,.13) 0%, rgba(255,128,38,0) 72%),
      radial-gradient(260px 240px at 6%  22%, rgba(255,176,86,.09) 0%, rgba(255,176,86,0) 74%),
      radial-gradient(240px 230px at 93% 18%, rgba(255,176,86,.08) 0%, rgba(255,176,86,0) 74%);
    animation:breathe 5.1s ease-in-out infinite reverse;
  }
  @keyframes breathe{
    0%,100%{opacity:.86}
    28%{opacity:1}
    46%{opacity:.78}
    67%{opacity:.97}
    82%{opacity:.84}
  }

  /* ---- a candle, not a glowing shape ----
     Three things separate a real flame from a drawn one: it stands on a
     candle, it has a dark blue cone where the wick is, and its outline keeps
     changing. So the wax is here under every near flame, the blue sits at the
     base of the fire, and the silhouette itself is animated — border-radius
     and all — rather than merely scaled.

     The motion never visibly repeats, because the three layers run on three
     unrelated clocks: the sway on --d, the flicker on --d/2.7, the halo on
     --d/1.9. Their loop only comes round again far past anyone's patience. */
  .candle{
    position:absolute;
    left:var(--x);
    bottom:var(--y);
    width:calc(16px * var(--s));
    height:calc((var(--wh,90px) + 32px) * var(--s));
    margin-left:calc(-12px * var(--s));
    opacity:var(--o,1);
  }

  /* the taper: lit only by its own flame, so bright at the lip, gone by the
     foot, and shaded down both sides so it reads as round, not as a stripe */
  .wax{
    position:absolute;
    left:50%;
    bottom:0;
    width:calc(13px * var(--s));
    height:calc(var(--wh,90px) * var(--s));
    margin-left:calc(-6.5px * var(--s));
    border-radius:
      calc(6px * var(--s)) calc(7px * var(--s)) calc(2px * var(--s)) calc(2px * var(--s)) /
      calc(8px * var(--s)) calc(10px * var(--s)) calc(3px * var(--s)) calc(3px * var(--s));
    background:
      linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.14) 24%, rgba(255,238,200,.11) 46%, rgba(0,0,0,.16) 68%, rgba(0,0,0,.64) 100%),
      linear-gradient(180deg, rgba(255,234,190,.95) 0%, rgba(242,202,142,.52) 5%, rgba(192,148,96,.26) 14%, rgba(128,94,66,.115) 30%, rgba(74,56,42,.04) 56%, rgba(40,30,26,0) 100%);
    box-shadow:inset 0 calc(2px * var(--s)) calc(7px * var(--s)) rgba(255,210,142,.6);
    filter:blur(.35px);
    /* light falls off with distance from the flame, so the candle fades into
       the dark instead of standing there as a lit column */
    -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.88) 10%,rgba(0,0,0,.5) 30%,rgba(0,0,0,.2) 55%,rgba(0,0,0,.06) 78%,transparent 100%);
    mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.88) 10%,rgba(0,0,0,.5) 30%,rgba(0,0,0,.2) 55%,rgba(0,0,0,.06) 78%,transparent 100%);
  }
  /* the wick, and the pool of melted wax catching the light around it */
  .wax::before{
    content:"";
    position:absolute;
    left:50%;top:calc(-1px * var(--s));
    width:calc(11px * var(--s));
    height:calc(4px * var(--s));
    margin-left:calc(-5.5px * var(--s));
    border-radius:50%;
    background:radial-gradient(ellipse at 50% 50%, rgba(255,238,198,.95) 0%, rgba(255,198,112,.6) 55%, rgba(255,170,70,0) 100%);
  }
  .wax::after{
    content:"";
    position:absolute;
    left:50%;top:calc(-3px * var(--s));
    width:calc(1.3px * var(--s));
    height:calc(3.5px * var(--s));
    margin-left:calc(-.65px * var(--s));
    border-radius:40%;
    background:linear-gradient(180deg,#2b1a10,#120a06);
    opacity:.85;
  }

  /* the fire, sitting just above the wick and leaning as the air moves */
  .fire{
    position:absolute;
    left:50%;
    bottom:calc(var(--wh,90px) * var(--s) - 1px);
    width:calc(9.5px * var(--s));
    height:calc(31px * var(--s));
    margin-left:calc(-4.75px * var(--s));
    transform-origin:50% 100%;
    animation:sway var(--d) ease-in-out infinite;
    animation-delay:var(--dl);
  }
  /* halo — taller than it is wide, and sitting high, because heat rises */
  .fire::before{
    content:"";
    position:absolute;
    left:50%;top:50%;
    width:calc(150px * var(--s));
    height:calc(196px * var(--s));
    margin:calc(-112px * var(--s)) 0 0 calc(-75px * var(--s));
    border-radius:50%;
    background:radial-gradient(ellipse at 50% 58%, rgba(255,200,124,.26) 0%, rgba(255,178,88,.12) 17%, rgba(255,162,60,.05) 37%, rgba(255,152,52,.016) 62%, rgba(255,150,50,0) 100%);
    animation:halo calc(var(--d) / 1.9) ease-in-out infinite;
    animation-delay:var(--dl);
  }
  /* the flame itself: white core, amber envelope, blue at the wick */
  .fire::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50% 50% 42% 42% / 95% 95% 7% 7%;
    background:
      radial-gradient(ellipse 24% 15% at 50% 58%, rgba(255,255,250,.98) 0%, rgba(255,251,226,.78) 46%, rgba(255,230,156,0) 82%),
      radial-gradient(ellipse 38% 9% at 50% 98%, rgba(132,182,255,.52) 0%, rgba(96,140,235,.18) 56%, rgba(80,120,220,0) 100%),
      linear-gradient(180deg, rgba(255,246,216,.52) 0%, rgba(255,216,128,.74) 20%, rgba(255,172,62,.80) 46%, rgba(234,124,28,.66) 70%, rgba(146,58,10,.36) 88%, rgba(60,40,70,.10) 100%);
    box-shadow:0 0 calc(9px * var(--s)) rgba(255,176,72,.6);
    filter:blur(.45px) hue-rotate(var(--hue,0deg));
    transform-origin:50% 100%;
    animation:flicker calc(var(--d) / 2.7) ease-in-out infinite;
    animation-delay:var(--dl);
    will-change:transform,opacity,border-radius;
  }

  /* at a distance you see the fire, never the candle */
  .candle.far{--wh:0px}
  .candle.far .wax{display:none}

  /* the outline changes shape, which is what a drawn flame never does */
  @keyframes flicker{
    0%,100%{border-radius:50% 50% 42% 42% / 95% 95% 7% 7%;transform:translateX(0) scale(1,1);opacity:.94}
    13%{border-radius:45% 55% 39% 45% / 91% 85% 14% 10%;transform:translateX(-.8px) scale(.94,1.09);opacity:1}
    27%{border-radius:55% 45% 46% 38% / 83% 93% 9% 15%;transform:translateX(.6px) scale(1.05,.93);opacity:.84}
    41%{border-radius:48% 52% 41% 43% / 93% 83% 13% 11%;transform:translateX(-.5px) scale(.96,1.12);opacity:.99}
    56%{border-radius:54% 46% 45% 39% / 85% 91% 10% 14%;transform:translateX(.7px) scale(1.04,.91);opacity:.87}
    70%{border-radius:46% 54% 40% 44% / 92% 84% 15% 9%;transform:translateX(-.4px) scale(.95,1.07);opacity:1}
    85%{border-radius:52% 48% 43% 41% / 86% 90% 11% 13%;transform:translateX(.4px) scale(1.02,.96);opacity:.9}
  }
  @keyframes sway{
    0%,100%{transform:rotate(0deg) translateX(0)}
    22%{transform:rotate(1.7deg) translateX(.7px)}
    44%{transform:rotate(-.9deg) translateX(-.6px)}
    63%{transform:rotate(1.1deg) translateX(.4px)}
    81%{transform:rotate(-1.4deg) translateX(-.3px)}
  }
  @keyframes halo{
    0%,100%{transform:scale(1);opacity:.9}
    22%{transform:scale(1.1);opacity:1}
    48%{transform:scale(.93);opacity:.72}
    71%{transform:scale(1.06);opacity:.95}
  }

  /* film grain — the tremble that makes it read as footage, not as CSS */
  .grain{
    position:absolute;
    inset:-150px;
    opacity:.055;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
    animation:grain 1.1s steps(6) infinite;
  }
  @keyframes grain{
    0%{transform:translate(0,0)}
    20%{transform:translate(-8%,4%)}
    40%{transform:translate(5%,-7%)}
    60%{transform:translate(-4%,-5%)}
    80%{transform:translate(7%,6%)}
    100%{transform:translate(0,0)}
  }
  /* keep the edges of the frame dark, the way a lit room falls off */
  .vignette{
    position:absolute;
    inset:0;
    background:radial-gradient(118% 88% at 50% 50%, rgba(0,0,0,0) 46%, rgba(12,7,22,.42) 100%);
  }

  @media (prefers-reduced-motion:reduce){
    .room,.room.b,.grain,.fire,.fire::before,.fire::after,.mark::before{animation:none !important}
  }

  /* ---------- the page: the mark, the question, the way in ---------- */
  /* The gate only. As a bare `main` this centred and flex-stacked every
     page on the site, including pages of long text — which is what made the
     house rules look chewed up. */
  main.gate{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:40px 20px 136px;
    position:relative;
    z-index:10;
  }
  h1.sr{
    position:absolute;width:1px;height:1px;overflow:hidden;
    clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;
  }

  /* No frame and no circle: the emblem is cut to its own outline and simply
     stands in the candlelight. The glow behind it is light in the room, not
     a border. */
  .mark{
    position:relative;
    display:block;
    line-height:0;
    margin:0 0 30px;
  }
  .mark::before{
    content:"";
    position:absolute;
    left:50%;top:52%;
    width:150%;height:150%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,178,86,.20) 0%, rgba(255,160,56,.07) 42%, rgba(255,150,50,0) 70%);
    animation:held 7.5s ease-in-out infinite;
    pointer-events:none;
  }
  @keyframes held{
    0%,100%{opacity:.85;transform:translate(-50%,-50%) scale(1)}
    35%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}
    62%{opacity:.72;transform:translate(-50%,-50%) scale(.97)}
  }
  .mark img{
    position:relative;
    display:block;
    width:clamp(190px,min(50vw,42vh),500px);
    height:auto;
    filter:drop-shadow(0 0 34px rgba(255,170,70,.34)) drop-shadow(0 10px 40px rgba(12,7,22,.6));
  }

  .invitation{
    margin:0;
    max-width:690px;
    color:var(--lilac-soft);
    font-size:17.5px;
    font-weight:300;
    line-height:1.85;
    letter-spacing:.012em;
    text-shadow:0 1px 16px rgba(12,7,22,.9), 0 0 42px rgba(12,7,22,.7);
  }
  .invitation p{margin:0 0 20px}
  .invitation p:last-child{
    margin-bottom:0;
    font-family:"Bodoni Moda",Didot,Georgia,serif;
    font-size:20px;
    line-height:1.55;
    color:var(--gold-light);
    font-style:italic;
    letter-spacing:.01em;
  }

  /* ---------- buttons ----------
     One base pill. The header wears it small; the gate wears .btn-access. */
  .btn{
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:11px;
    letter-spacing:.22em;
    text-transform:uppercase;
    text-decoration:none;
    padding:8px 20px;
    border-radius:var(--pill);
    border:1px solid var(--gold);
    transition:background .25s,color .25s,box-shadow .25s;
    white-space:nowrap;
    display:inline-block;
  }
  .btn-ghost{color:var(--gold-light);background:transparent}
  .btn-ghost:hover{background:rgba(201,162,39,.14);box-shadow:0 0 18px rgba(201,162,39,.25)}
  .btn-solid{
    color:#17102a;
    background:linear-gradient(180deg,var(--gold-light),var(--gold));
    font-weight:600;
  }
  .btn-solid:hover{box-shadow:0 0 22px rgba(232,208,138,.45)}
  .btn-access{
    font-size:12.5px;
    letter-spacing:.38em;
    padding:17px 50px;
    box-shadow:0 0 36px rgba(232,208,138,.28);
    margin-top:34px;
  }
  .btn-access:hover{box-shadow:0 0 52px rgba(255,186,96,.6)}

  /* ---------- the header, worn by every room behind the gate ----------
     Events and Shop to the left of the mark, Discover and Donate to the
     right, Member and Join on the line above — the order Common Closet uses,
     so the two sites feel like one hand made them. */
  .bhc-header{
    background:var(--header,#09080c);
    border-bottom:1px solid rgba(201,162,39,.38);
    position:relative;
    z-index:20;
  }
  .bhc-topline{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
    padding:9px 22px;
    border-bottom:1px solid rgba(201,162,39,.16);
  }
  .bhc-main{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:24px;
    padding:10px 22px 14px;
  }
  .bhc-nav{display:flex;align-items:center;gap:34px}
  .bhc-nav-left{justify-content:flex-end}
  .bhc-nav-right{justify-content:flex-start}
  .bhc-nav a{
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:12px;
    letter-spacing:.26em;
    text-transform:uppercase;
    text-decoration:none;
    color:var(--lilac-soft);
    padding-bottom:4px;
    border-bottom:1px solid transparent;
    transition:color .25s,border-color .25s;
  }
  .bhc-nav a:hover{color:var(--gold-light);border-bottom-color:var(--gold)}
  /* the mark keeps its own cut outline here too — no ring, no circle */
  .bhc-logo{display:block;line-height:0}
  .bhc-logo img{
    display:block;
    width:auto;height:84px;
    filter:drop-shadow(0 0 16px rgba(255,170,70,.28));
    transition:filter .3s;
  }
  .bhc-logo:hover img{filter:drop-shadow(0 0 26px rgba(255,190,100,.5))}
  .bhc-burger{
    display:none;
    background:none;border:1px solid rgba(201,162,39,.5);
    border-radius:var(--pill);
    padding:10px 13px;cursor:pointer;
  }
  .bhc-burger span{display:block;width:18px;height:1.5px;background:var(--gold-light);margin:4px 0;border-radius:2px}
  .bhc-nav-mobile{display:none;flex-direction:column;padding:6px 22px 20px;gap:2px}
  .bhc-nav-mobile a{
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:13px;letter-spacing:.18em;text-transform:uppercase;
    text-decoration:none;color:var(--lilac-soft);
    padding:13px 2px;border-bottom:1px solid rgba(201,162,39,.14);
  }
  .bhc-nav-mobile.open{display:flex}

  /* ---------- a room behind the gate ---------- */
  .hall{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:72px 20px 120px;
    position:relative;
    z-index:10;
  }
  .hall h1{
    font-family:"Bodoni Moda",Didot,Georgia,serif;
    font-weight:400;
    font-size:clamp(30px,6.4vw,58px);
    line-height:1.04;
    margin:0 0 24px;
    letter-spacing:.06em;
    text-transform:uppercase;
    background:linear-gradient(180deg,#f7ead0,var(--gold));
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;
  }
  .rule{
    width:112px;height:1px;margin:0 auto 26px;
    background:linear-gradient(90deg,transparent,var(--gold),transparent);
  }
  .hall .when{
    margin:0;
    font-family:"Bodoni Moda",Didot,Georgia,serif;
    font-style:italic;
    font-size:clamp(21px,3.4vw,30px);
    line-height:1.4;
    color:var(--gold-light);
    letter-spacing:.015em;
    text-shadow:0 1px 16px rgba(12,7,22,.9), 0 0 42px rgba(12,7,22,.7);
  }
  .hall .date{
    margin:12px 0 0;
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:11.5px;
    letter-spacing:.34em;
    text-transform:uppercase;
    color:var(--gold);
    opacity:.9;
  }
  .hall .lede{
    margin:0;
    max-width:520px;
    color:var(--lilac-soft);
    font-size:17.5px;
    font-weight:300;
    line-height:1.85;
    text-shadow:0 1px 16px rgba(12,7,22,.9), 0 0 42px rgba(12,7,22,.7);
  }

  /* ---------- footer ---------- */
  footer{
    border-top:1px solid rgba(201,162,39,.2);
    background:rgba(9,8,12,.9);
    padding:28px 20px 34px;
    text-align:center;
    position:relative;
    z-index:10;
  }
  .foot-wrap{max-width:620px;margin:0 auto;font-size:13.5px;line-height:1.85;color:var(--muted);font-weight:300}
  .foot-wrap p{margin:0}
  .foot-wrap .legal{color:var(--faint);font-size:12.5px;margin-top:6px}
  .foot-mark{
    font-family:"Jost",Helvetica,Arial,sans-serif;
    font-size:10.5px;letter-spacing:.34em;text-transform:uppercase;
    color:var(--gold);opacity:.85;margin-bottom:14px;
  }

  @media (max-width:860px){
    body{font-size:17px}
    main.gate{padding:24px 18px 96px}
    .mark{margin-bottom:22px}
    .invitation{font-size:15.5px;line-height:1.8;max-width:430px}
    .invitation p{margin-bottom:16px}
    .invitation p:last-child{font-size:18px;line-height:1.5}
    .btn{padding:7px 15px;font-size:10.5px;letter-spacing:.12em}
    .btn-access{padding:15px 38px;letter-spacing:.3em;margin-top:26px;font-size:12px}
    .bhc-main{grid-template-columns:auto 1fr auto;gap:14px;padding:10px 16px 14px}
    .bhc-nav{display:none}
    .bhc-burger{display:block;justify-self:start}
    .bhc-logo{justify-self:center}
    .bhc-logo img{height:62px}
    .bhc-topline{padding:8px 16px;gap:8px}
    .hall{padding:44px 18px 96px}
    .hall .lede{font-size:16px;max-width:420px}
    /* a phone holds fewer candles, and holds them further off */
    .candle{transform:scale(.52);transform-origin:50% 100%}
    .room{filter:brightness(.7)}
    .room.b{filter:brightness(.6)}
  }

/* ===================================================================
   Membership, waivers, the ceremony bill and the forms.
   Built on the Map to the Moon pattern: a timed bill of the evening,
   house rules, then one card that asks for the few things we need.
   =================================================================== */

.page{
  flex:1;
  position:relative;
  z-index:10;
  padding:52px 20px 110px;
}
.wrap{max-width:720px;margin:0 auto}
.wrap-narrow{max-width:580px;margin:0 auto}

.eyebrow{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:11px;letter-spacing:.42em;text-transform:uppercase;
  color:var(--gold);text-align:center;margin:0 0 18px;opacity:.95;
}
.page h1{
  font-family:"Bodoni Moda",Didot,Georgia,serif;
  font-weight:400;
  font-size:clamp(30px,5.6vw,52px);
  line-height:1.06;
  margin:0 0 18px;
  letter-spacing:.05em;
  text-transform:uppercase;
  text-align:center;
  background:linear-gradient(180deg,#f7ead0,var(--gold));
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.page h2{
  font-family:"Bodoni Moda",Didot,Georgia,serif;
  font-weight:400;font-style:italic;
  font-size:clamp(21px,3vw,28px);
  color:var(--gold-light);
  margin:0 0 20px;
  text-align:center;
  letter-spacing:.01em;
}
.standfirst{
  text-align:center;color:var(--lilac-soft);
  font-size:17px;line-height:1.85;font-weight:300;
  max-width:560px;margin:0 auto 14px;
  text-shadow:0 1px 16px rgba(12,7,22,.9);
}
.meta-line{
  text-align:center;
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:12px;letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold-light);margin:0 0 30px;
}
.meta-line .sep{opacity:.5;margin:0 8px}

/* a panel — the one place the page gets a frame */
.panel{
  border:1px solid rgba(201,162,39,.3);
  border-radius:var(--radius,28px);
  background:linear-gradient(180deg,rgba(24,14,40,.5),rgba(16,9,28,.38));
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  box-shadow:0 0 70px rgba(12,7,22,.5);
  padding:30px 30px 32px;
  margin:0 0 26px;
}

/* the bill of the evening */
.bill{margin:0 0 10px}
.bill .row{
  display:grid;
  grid-template-columns:auto 86px 1fr;
  align-items:baseline;
  gap:14px;
  padding:15px 0;
  border-bottom:1px solid rgba(201,162,39,.14);
}
.bill .row:last-child{border-bottom:0}
.bill .flamemark{
  width:9px;height:9px;border-radius:50%;
  background:radial-gradient(circle at 50% 40%, #fff6dd 0%, var(--flame) 45%, rgba(200,90,16,0) 78%);
  box-shadow:0 0 10px rgba(255,170,70,.8);
  align-self:center;
}
.bill .t{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-light);white-space:nowrap;
}
.bill .w{color:var(--ink);font-size:16px;line-height:1.6;font-weight:300}
.bill .w b{font-weight:500;color:#fff}
.bill .w span{display:block;color:var(--muted);font-size:14px;line-height:1.55;margin-top:3px}

/* house rules — NOT .rule, which is the thin gold divider and would
   flatten every one of these into a 112px hairline */
.asks{display:grid;gap:13px;text-align:left}
.ask{
  color:var(--lilac-soft);font-size:15.5px;line-height:1.68;font-weight:300;
  padding-left:24px;position:relative;
}
.ask::before{
  content:"\2726";
  position:absolute;left:0;top:1px;
  color:var(--gold);font-size:11px;line-height:1.9;opacity:.85;
}

/* the three agreements */
.waiver{margin:0 0 22px}
.waiver:last-of-type{margin-bottom:6px}
.waiver h3{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:11.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--gold);margin:0 0 9px;font-weight:500;
}
.waiver p{
  margin:0 0 10px;color:var(--lilac-soft);
  font-size:15px;line-height:1.72;font-weight:300;
}
.waiver p:last-child{margin-bottom:0}
.fineprint{
  color:var(--faint);font-size:12.5px;line-height:1.6;
  margin:18px 0 0;padding-top:16px;
  border-top:1px solid rgba(201,162,39,.14);
}

/* form */
.field{display:block;margin:0 0 16px}
.lbl{
  display:block;
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-light);margin:0 0 7px;
}
.lbl .hint{color:var(--faint);letter-spacing:.08em;text-transform:none;font-size:12px}
.field input,.field textarea,.field select{
  width:100%;
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:16px;font-weight:300;
  color:var(--ink);
  background:rgba(8,5,14,.5);
  border:1px solid rgba(201,162,39,.3);
  border-radius:14px;
  padding:13px 15px;
  transition:border-color .2s,box-shadow .2s;
}
.field input::placeholder,.field textarea::placeholder{color:#6f6287}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(201,162,39,.16);
}

/* the two plans */
.plans{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 20px}
.plan{position:relative;display:block;cursor:pointer}
.plan input{position:absolute;opacity:0;width:0;height:0}
.plan .box{
  display:block;text-align:center;
  border:1px solid rgba(201,162,39,.32);
  border-radius:18px;
  padding:18px 12px 16px;
  background:rgba(8,5,14,.4);
  transition:border-color .2s,background .2s,box-shadow .2s;
}
.plan .amount{
  display:block;
  font-family:"Bodoni Moda",Didot,Georgia,serif;
  font-size:30px;line-height:1.1;color:var(--gold-light);
}
.plan .per{
  display:block;
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:10.5px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--muted);margin-top:7px;
}
.plan .note{display:block;font-size:12px;color:var(--faint);margin-top:6px}
.plan input:checked + .box{
  border-color:var(--gold);
  background:rgba(201,162,39,.1);
  box-shadow:0 0 26px rgba(201,162,39,.22);
}
.plan input:focus-visible + .box{box-shadow:0 0 0 3px rgba(201,162,39,.3)}

/* the single box that carries all three */
.check{
  display:flex;gap:13px;align-items:flex-start;
  border:1px solid rgba(201,162,39,.34);
  border-radius:18px;
  padding:17px 18px;
  background:rgba(201,162,39,.055);
  cursor:pointer;
  margin:0 0 20px;
}
.check input{
  appearance:none;-webkit-appearance:none;
  flex:0 0 auto;
  width:21px;height:21px;margin:1px 0 0;
  border:1px solid var(--gold);
  border-radius:6px;
  background:rgba(8,5,14,.5);
  cursor:pointer;
  position:relative;
  transition:background .2s,box-shadow .2s;
}
.check input:checked{background:linear-gradient(180deg,var(--gold-light),var(--gold));box-shadow:0 0 16px rgba(232,208,138,.45)}
.check input:checked::after{
  content:"";position:absolute;left:6.5px;top:2.5px;
  width:5px;height:10px;border:solid #17102a;border-width:0 2px 2px 0;
  transform:rotate(43deg);
}
.check input:focus-visible{box-shadow:0 0 0 3px rgba(201,162,39,.35)}
.check span{color:var(--ink);font-size:14.5px;line-height:1.65;font-weight:300}

.submit-row{display:flex;justify-content:center;margin-top:4px}
.btn-wide{width:100%;text-align:center;padding:17px 30px;letter-spacing:.3em;font-size:12px;margin-top:0}
.btn-cap{
  text-align:center;color:var(--faint);font-size:12.5px;line-height:1.6;margin-top:14px;
}
.note{
  border:1px solid rgba(201,162,39,.4);
  border-radius:14px;padding:13px 16px;margin:0 0 20px;
  color:var(--gold-light);font-size:14.5px;line-height:1.6;
  background:rgba(201,162,39,.08);
}
.note.bad{border-color:rgba(226,96,96,.5);color:#f0bcbc;background:rgba(190,60,60,.1)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

.back{
  display:block;text-align:center;margin-top:26px;
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:11px;letter-spacing:.26em;text-transform:uppercase;
  color:var(--faint);text-decoration:none;
}
.back:hover{color:var(--gold-light)}

@media (max-width:860px){
  .page{padding:34px 16px 90px}
  .panel{padding:22px 19px 24px;border-radius:22px}
  .bill .row{grid-template-columns:auto 72px 1fr;gap:11px;padding:13px 0}
  .bill .t{font-size:11.5px;letter-spacing:.1em}
  .bill .w{font-size:15.5px}
  .plans{grid-template-columns:1fr}
  .standfirst{font-size:16px}
  .meta-line{font-size:11px;letter-spacing:.2em}
}

/* ---------- the welcome: one candle, and then it goes up ---------- */
.fw{
  position:fixed;inset:0;
  /* Above the header and the page both. A firework that goes off behind an
     opaque black bar is a firework nobody sees; the canvas takes no clicks,
     so nothing underneath becomes unreachable. */
  z-index:60;
  pointer-events:none;
}
.celebrate{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:62vh;
}
.onecandle{
  position:relative;
  /* The candle is anchored to the bottom of this box and grows upward, so the
     box's height is what decides where the flame lands. At 300px the flame
     stood above the top of the window on a desktop screen and the whole
     display went off out of sight. */
  height:256px;
  width:100%;
  margin:0 0 6px;
}
.onecandle .candle{bottom:0}
.onecandle .fire{transition:transform .5s ease-out, opacity .35s ease-out}
.onecandle .fire.swell{transform:scale(1.5,2.1);transform-origin:50% 100%}
.onecandle .fire.gone{opacity:0;transform:scale(.2,.2);transform-origin:50% 100%}
.reveal{opacity:0;transform:translateY(14px);transition:opacity 1.1s ease,transform 1.1s ease}
.reveal.on{opacity:1;transform:none}
@media (max-width:860px){
  .onecandle{height:220px}
  .onecandle .candle{--s:1.7 !important}
}

/* An inch and a half of wax taken off the bottom of the desktop candle.
   The flame is anchored by the box's lower edge, so shortening the wax and
   the box by the same amount closes the gap under the candle and leaves the
   flame exactly where it was. The phone keeps its own candle, untouched. */
@media (min-width:861px){
  .onecandle .candle{--wh:110px !important}
}

/* where the night is held — shown only on the page a paid member reaches,
   so the address survives a mail provider filing the letter as spam */
.panel-where{margin:30px 0 0;text-align:center}
.panel-where .eyebrow{margin:0 0 16px}
.where-name{
  font-family:"Bodoni Moda",Georgia,serif;
  font-size:26px;line-height:1.2;color:var(--gold-light);margin:0;
}
.where-line{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.9;color:var(--ink);margin:6px 0 0;
}
.where-line b{font-weight:600}
.where-addr{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.6;color:var(--gold-light);
  margin:14px 0 0;letter-spacing:.01em;
}
.where-note{
  font-family:"Jost",Helvetica,Arial,sans-serif;
  font-size:14px;line-height:1.7;color:var(--muted);margin:14px 0 0;
}
@media (max-width:560px){
  .where-name{font-size:22px}
  .where-addr{font-size:16px}
}

/* ---------- the members' gate ----------
   The panel that asks for a membership, framed the way the emblem is framed:
   a double gold band with a lily opening at each corner and the star off the
   top of the mark sitting on the rule. The lilies are drawn as line-work
   rather than painted, so they read as a flourish at this size and cost
   nothing to load.

   The centring is set here on purpose. .wrap-narrow asks for margin:0 auto,
   but .panel comes later in this file and its own margin wins, which is how
   this panel ended up sitting left of everything around it. */
.panel-gate{
  position:relative;
  max-width:560px;
  margin:48px auto 26px;
  text-align:center;
  padding:60px 46px 50px;
  border:2px solid rgba(201,162,39,.45);
  overflow:visible;
}
.panel-gate::before{
  content:"";
  position:absolute;inset:8px;
  border:1px solid rgba(201,162,39,.3);
  border-radius:19px;
  pointer-events:none;
}
/* Above the frame, which is laid out behind everything. */
.panel-gate > *{position:relative}
.panel-gate h2{margin-bottom:14px}

.gate-corner{
  position:absolute;width:108px;height:108px;
  pointer-events:none;overflow:visible;
}
.gate-corner.tl{top:-10px;left:-10px}
.gate-corner.tr{top:-10px;right:-10px;transform:scaleX(-1)}
.gate-corner.bl{bottom:-10px;left:-10px;transform:scaleY(-1)}
.gate-corner.br{bottom:-10px;right:-10px;transform:scale(-1)}
.gate-star{
  position:absolute;top:-16px;left:50%;margin-left:-16px;
  width:32px;height:32px;pointer-events:none;
}
.gate-vine{fill:none;stroke:var(--gold);stroke-width:1.3;stroke-linecap:round}
.gate-petal{fill:rgba(232,208,138,.09);stroke:var(--gold-light);stroke-width:1.15;stroke-linejoin:round}
.gate-leaf{fill:rgba(201,162,39,.14);stroke:var(--gold);stroke-width:1.15;stroke-linejoin:round}
.gate-seed{fill:var(--gold-light)}
.gate-fill{fill:var(--gold-light)}

@media (max-width:560px){
  .panel-gate{padding:46px 22px 38px;margin-top:38px;border-radius:22px}
  .panel-gate::before{border-radius:15px}
  .gate-corner{width:74px;height:74px}
  .gate-star{top:-13px;margin-left:-13px;width:26px;height:26px}
}

/* ---------- the two faces ----------
   Pirata One carries the headings: a blackletter is the one kind of type
   that reads as a coven without a single ornament added. Cinzel Decorative
   takes everything that was already set in capitals — the gold eyebrows, the
   buttons, the address — where its lack of true lowercase is no loss and its
   engraved look answers the gold of the frames.

   Cinzel Decorative has no real lowercase at all, so it never touches a
   paragraph: a page of it is a page of capitals, and nobody reads those for
   long. What paragraphs are set in is settled in the block below. Numbers
   and the gate's italic line stay in Bodoni. Declared after everything else
   so these win without !important.
   ---------------------------------------------------------------------- */
.page h1,
.page h2,
.hall h1,
.where-name{
  font-family:"Pirata One","Bodoni Moda",Didot,Georgia,serif;
}
/* Blackletter has longer ascenders than the face it replaces, so the lines
   it sits on need a little more room than Bodoni asked for. */
.page h1,.hall h1{line-height:1.14}
.page h2{line-height:1.2}

.eyebrow,
.waiver h3,
.lbl,
.meta-line,
.btn,
.back,
.where-addr,
.foot-mark{
  font-family:"Cinzel Decorative","Bodoni Moda",Georgia,serif;
}
/* The one label that is not in capitals, so the one that keeps its face. */
.lbl .hint{font-family:"EB Garamond",Georgia,serif;font-weight:400}

/* ---------- what is read ----------
   Jost was drawn in the 1930s after the Bauhaus and it looks it: on a page
   of candles and blackletter it was the one thing announcing the century it
   was made in. EB Garamond is a sixteenth-century face, it has true
   lowercase, a real italic and enough weight at 500 to hold on a dark
   ground — which is the whole job here.

   It is set a little smaller and a little heavier than the sans it replaces.
   A serif of the same nominal size reads larger, and 300 weight that was
   right for Jost goes thin and silvery in a Garamond over this background. */
body,
.standfirst,
.ask,
.note,
.fineprint,
.btn-cap,
.waiver p,
.bill .w,
.plan .per,
.plan .note,
.where-line,
.where-note,
.invitation p,
footer p{
  font-family:"EB Garamond",Georgia,"Times New Roman",serif;
}
.standfirst{font-size:16.5px;line-height:1.7;font-weight:500}
.ask{font-size:16px;font-weight:500}
.waiver p{font-weight:400}

/* Capitals go on belonging to the engraved face. */
.bhc-nav a,
.bhc-nav-mobile a,
.hall .date,
.bill .t{
  font-family:"Cinzel Decorative","Bodoni Moda",Georgia,serif;
}

/* What you type stays in the sans: a text field is a machine, not a page. */
.field input,.field textarea,.field select{
  font-family:"Jost",Helvetica,Arial,sans-serif;
}

/* ---------- the closet, hung in this house ----------
   The dresses belong to the Project and are bought there; what is built here
   is the window they hang in, so that Shop does not drop a member out of the
   candlelight onto a white page. */
.wrap-wide{max-width:1000px;margin:0 auto}

.closet{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin:0 0 30px;
}
.piece{
  display:block;text-decoration:none;color:inherit;
  border:1px solid rgba(201,162,39,.3);
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(24,14,40,.5),rgba(16,9,28,.38));
  box-shadow:0 0 40px rgba(12,7,22,.4);
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.piece:hover,.piece:focus-visible{
  border-color:rgba(201,162,39,.7);
  transform:translateY(-3px);
  box-shadow:0 12px 44px rgba(12,7,22,.6);
}
.piece img{
  display:block;width:100%;height:auto;
  aspect-ratio:3/4;object-fit:cover;
  background:rgba(8,5,14,.5);
}
.piece .pname{
  display:block;text-align:center;
  font-family:"Cinzel Decorative","Bodoni Moda",Georgia,serif;
  font-size:13px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--gold-light);padding:15px 14px 0;
}
.piece .pcol{
  display:block;text-align:center;
  font-family:"EB Garamond",Georgia,serif;
  font-size:15px;font-style:italic;color:var(--muted);padding:3px 14px 0;
}
.piece .pprice{
  display:block;text-align:center;
  font-family:"Bodoni Moda",Didot,Georgia,serif;
  font-size:17px;color:var(--gold-light);padding:7px 14px 17px;
}

@media (max-width:860px){
  .closet{grid-template-columns:repeat(2,1fr);gap:14px}
  .piece .pname{font-size:11.5px;letter-spacing:.1em;padding-top:12px}
  .piece .pcol{font-size:14px}
  .piece .pprice{font-size:15px;padding-bottom:14px}
}

/* A heading the page needs for its structure but does not want to show. */
.sr-only{
  position:absolute;width:1px;height:1px;
  margin:-1px;padding:0;border:0;
  clip:rect(0 0 0 0);clip-path:inset(50%);
  overflow:hidden;white-space:nowrap;
}

/* The legal row at the bottom: the links a visitor only looks for when they
   want them, so gold enough to find and quiet enough to ignore. */
.foot-links{margin-top:14px}
.foot-links a,.foot-wrap a{color:var(--gold);text-decoration:none;border-bottom:1px solid rgba(201,162,39,.3)}
.foot-links a:hover,.foot-wrap a:hover{color:var(--gold-light);border-bottom-color:var(--gold)}
.foot-links .sep{color:var(--faint);margin:0 6px;border:0}

/* The donate page opens straight on the sentence, with no label above it, so
   the first panels sit closer to the header than a titled page would. */
.page.page-tight{padding-top:16px}
@media (max-width:860px){.page.page-tight{padding-top:10px}}

/* Set in capitals, so it reads as a statement of what the house is for. */
.standfirst.caps{
  text-transform:uppercase;letter-spacing:.07em;
  font-size:14px;line-height:1.9;font-weight:400;
}
@media (max-width:860px){.standfirst.caps{font-size:12.5px;letter-spacing:.06em}}

/* The giving page sits closer together: the gift is asked for right under the
   label, and the frame is no taller than what stands inside it. */
.page-tight .panel{margin-bottom:14px}
.page-tight .panel-gate{margin:28px auto 14px;padding:28px 40px 24px;max-width:548px}
@media (max-width:860px){.page-tight .panel-gate{padding:30px 22px 26px}}

/* Each frame gives back an eighth of an inch, and the label sits right on the
   button it introduces. */
.page-tight .panel-lede{padding:24px 30px 26px}
.page-tight .panel-gate .eyebrow{margin-bottom:6px}

/* ---------- a word in the prose that goes somewhere ----------
   Gold, and underlined far enough below the baseline that the descenders of
   a serif face are not struck through by their own link. */
.standfirst a{
  color:var(--gold-light);
  text-decoration:underline;
  text-decoration-color:rgba(201,162,39,.55);
  text-underline-offset:4px;
  text-decoration-thickness:1px;
  transition:color .2s,text-decoration-color .2s;
}
.standfirst a:hover{color:#fff6dc;text-decoration-color:var(--gold)}

/* ---------- the wish, as it is set on the page ----------
   The same words as the sheet a member prints, laid out the same way: short
   centred lines with a ruled blank where a name goes, so what is read here
   and what is copied by hand are recognisably one text. */
.spell{
  max-width:520px;margin:0 auto;
  font-family:"EB Garamond",Georgia,serif;
  font-size:18px;line-height:2.1;
  text-align:center;color:var(--ink);
}
.spell p{margin:0 0 20px}
.spell p:last-child{margin-bottom:0}
.spell .amen{font-style:italic;color:var(--gold-light)}
.spell .fill{
  display:inline-block;min-width:118px;
  border-bottom:1px solid rgba(232,208,138,.6);
  margin:0 3px;
}
.spell .fill.wide{min-width:190px}
.spell-note{
  max-width:460px;margin:26px auto 0;
  font-family:"EB Garamond",Georgia,serif;
  font-style:italic;font-size:15px;line-height:1.6;
  text-align:center;color:var(--muted);
}
@media (max-width:860px){
  .spell{font-size:16.5px;line-height:2}
  .spell .fill{min-width:92px}
  .spell .fill.wide{min-width:140px}
}
