/* v2: single page built for giving. Layered on top of style.css. */
.dim{color:rgba(244,236,216,.84);}
.nav__give{font-family:'Cinzel','Trajan Pro',Georgia,serif;font-weight:600;letter-spacing:.1em;font-size:clamp(.62rem,1.5vw,.78rem);
  color:var(--ink);background:var(--amber);text-decoration:none;padding:.5rem 1rem;border-radius:2px;white-space:nowrap;transition:background .25s ease;}
.nav__give:hover{background:var(--amber-warm);}
@media(max-width:520px){
  .nav__links a:first-child{display:inline;}
  .nav__links a.nav__link:nth-child(2){display:none;}  /* Screening Room is also in the footer */
  .nav__give{padding:.5rem .9rem;font-size:.64rem;}
}

/* Hero: title, hook, and two clear actions on the first screen */
.door__veil{position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(10,13,20,.15) 0%,rgba(10,13,20,0) 35%,rgba(10,13,20,.55) 62%,rgba(10,13,20,.9) 100%);}
.door__center{position:absolute;top:34%;left:0;right:0;z-index:2;text-align:center;}
.door__center .door__title{position:static;top:auto;}
.door__center .door__credit{position:static;right:auto;bottom:auto;text-align:center;margin:1.1rem auto 0;max-width:none;}
.door__lower{position:absolute;left:0;right:0;bottom:calc(5% + env(safe-area-inset-bottom,0px));z-index:2;text-align:center;
  padding:0 clamp(1.2rem,6vw,3rem);opacity:0;animation:fade 1200ms ease 1200ms forwards;}
.door__lead{max-width:36rem;margin:0 auto 1.5rem;font-size:clamp(1.02rem,.95rem + .7vw,1.4rem);line-height:1.5;color:var(--ivory);
  text-shadow:0 1px 14px rgba(0,0,0,.95);}
.door__btns{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;}
.door__btns .btn{padding:.95rem 1.5rem;font-size:.74rem;}
.door__btns .btn--ghost{background:rgba(10,13,20,.55);border-color:rgba(244,236,216,.45);}
@media(max-width:520px){.door__center{top:30%;}.door__btns .btn{flex:1 1 9.5rem;text-align:center;}}
@media(prefers-reduced-motion:reduce){.door__lower{animation:none;opacity:1;}}

/* Trailer first */
.section--trailer{padding-top:clamp(2.6rem,7vw,5rem);}
.after-video{margin:1.8rem 0 0;max-width:none;}
.after-video .btn{padding:.95rem 1.7rem;}
.synopsis{font-size:1.1em;line-height:1.75;}

/* Director note */
.draftflag{display:none;margin:-.4rem 0 1rem;font-family:'Cinzel',serif;font-size:.62rem;letter-spacing:.14em;color:var(--ink);background:var(--amber);padding:.25rem .6rem;border-radius:2px;width:fit-content;}
body.is-preview .draftflag{display:inline-block;}
.dnote{border-left:2px solid var(--amber);padding:.2rem 0 .2rem 1.4rem;max-width:44rem;}
.dnote p{font-size:1.18em;line-height:1.7;color:var(--ivory);max-width:none;}
.dnote footer{border:0;padding:0;margin-top:1.2rem;font-size:.95rem;color:var(--ivory-dim);}
.dnote footer strong{display:block;font-family:'Cinzel',serif;font-weight:600;letter-spacing:.08em;color:var(--ivory);font-size:.95rem;}

/* Giving block */
.give .lead{margin-top:.2rem;}
.give__choose{margin-top:2.2rem;font-size:.8rem;letter-spacing:.24em;color:var(--amber);font-family:'Cinzel',serif;font-weight:500;text-transform:uppercase;}
.tiers{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem;max-width:36rem;margin:1.2rem auto 0;}
@media(min-width:620px){.tiers{grid-template-columns:repeat(4,1fr);max-width:48rem;}}
.tier{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;min-height:4.4rem;padding:.9rem .6rem;
  text-decoration:none;text-align:center;color:var(--ink);background:var(--amber);border-radius:2px;
  font-family:'Cinzel',serif;transition:background .2s ease,transform .2s ease;}
.tier:hover,.tier:focus-visible{background:var(--amber-warm);transform:translateY(-1px);}
.tier__amt{font-size:1.15rem;font-weight:600;letter-spacing:.06em;}
.tier__note{font-family:'EB Garamond',Georgia,serif;font-size:.86rem;line-height:1.25;color:rgba(10,13,20,.82);}
.tier--other{background:transparent;color:var(--amber);border:1px solid var(--amber);}
.tier--other:hover,.tier--other:focus-visible{background:var(--amber);color:var(--ink);}
.tier--other .tier__amt{font-size:.82rem;letter-spacing:.12em;}
.give__credit{margin:1.5rem auto 0;max-width:34rem;font-size:1.08rem;color:var(--ivory);}
.give__secure{margin:.5rem auto 0;font-size:.95rem;}

.give__goal{max-width:34rem;margin:1.2rem auto 0;font-size:1.05rem;line-height:1.5;color:var(--ivory);}
/* Goal meter (hidden until real numbers are set in config.js) */
.meter{max-width:34rem;margin:1.8rem auto 0;}
.meter__bar{height:10px;border-radius:5px;background:rgba(244,236,216,.14);overflow:hidden;}
.meter__bar span{display:block;height:100%;width:0;background:var(--amber);border-radius:5px;transition:width 1s ease;}
.meter__text{margin:.6rem auto 0;font-size:1rem;color:var(--ivory);}

/* Where it goes */
.uses{margin-top:3rem;text-align:left;}
.uses .eyebrow{text-align:center;}
.uses .grid3{gap:1.2rem;margin-top:1rem;}
.use{border-top:1px solid var(--amber);padding-top:.9rem;}
.use__n{display:block;font-family:'Cinzel',serif;font-size:.72rem;letter-spacing:.24em;color:var(--amber);margin-bottom:.4rem;}
.use p{margin:0;color:var(--ivory-dim);max-width:none;}

.fineprint{margin:1.6rem auto 0;max-width:42rem;font-size:.95rem;line-height:1.6;color:rgba(244,236,216,.78);}
.fineprint+.fineprint{margin-top:.8rem;}
.fineprint a{color:var(--ivory);}

body{padding-bottom:0;}

/* Thanks page share */
.sharebox{margin:1.8rem auto 0;max-width:30rem;}
.sharebox .btn{width:100%;text-align:center;padding:1rem;}
.sharebox p{margin:.7rem auto 0;font-size:.95rem;}

.give__credit,.door__lead,.lead{text-wrap:balance;}

.door__center .door__assoc{margin:.5rem auto 0;max-width:none;text-align:center;font-family:'Cinzel',serif;font-size:clamp(.6rem,1.5vw,.78rem);letter-spacing:.12em;color:rgba(244,236,216,.78);text-shadow:0 1px 10px rgba(0,0,0,.9);opacity:0;animation:fade 1500ms ease 1100ms forwards;}
@media(prefers-reduced-motion:reduce){.door__center .door__assoc{animation:none;opacity:1;}}

/* Voices (quotes band) */
#voices{padding-bottom:clamp(2.4rem,6vw,4rem);}
#director{border-top:1px solid var(--rule);}
.voices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18.5rem),1fr));gap:2.4rem 3rem;margin-top:.6rem;}
.quote{margin:0;border-left:2px solid var(--amber);padding:.1rem 0 .1rem 1.4rem;}
.quote blockquote{margin:0;}
.quote p{font-size:1.15em;line-height:1.65;color:var(--ivory);max-width:none;margin:0;}
.quote figcaption{margin-top:1rem;font-size:.95rem;color:var(--ivory-dim);}
.quote figcaption strong{display:block;font-family:'Cinzel',serif;font-weight:600;letter-spacing:.08em;color:var(--ivory);font-size:.95rem;}
.quote--pending{display:none;}
body.is-preview .quote--pending{display:block;opacity:.75;}

/* Hero v3 (Nov 5): title up over the fire, hook lifted so the lit temple stays clear */
.door__center{top:max(84px,11%);}
.door__center .door__lead{max-width:min(34rem,calc(100% - 2.8rem));margin:1.5rem auto 0;
  text-shadow:0 1px 14px rgba(0,0,0,.95),0 0 30px rgba(0,0,0,.65);
  opacity:0;animation:fade 1200ms ease 1300ms forwards;}
@media(min-width:900px){.door__center .door__lead{max-width:44rem;}}
@media(prefers-reduced-motion:reduce){.door__center .door__lead{animation:none;opacity:1;}}

/* Footer links: inline text on desktop, big spaced-out buttons on phones */
.foot__links{display:flex;align-items:center;flex-wrap:wrap;}
.foot__links a{white-space:nowrap;}
.foot__links a + a::before{content:"\00b7";display:inline-block;margin:0 .9rem;color:var(--ivory-dim);}
@media(max-width:1023px){
  .foot{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1.3rem;text-align:center;}
  .foot__links{order:-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;width:100%;max-width:34rem;margin:0 auto;}
  .foot__links a + a::before{content:none;}
  .foot__links a{white-space:normal;display:flex;align-items:center;justify-content:center;text-align:center;min-height:3.5rem;padding:.6rem .4rem;
    border:1px solid rgba(244,236,216,.34);border-radius:3px;background:rgba(244,236,216,.06);
    font-family:'Cinzel',serif;font-size:.76rem;letter-spacing:.07em;line-height:1.25;color:var(--ivory);
    -webkit-tap-highlight-color:rgba(232,163,61,.25);}
  .foot__links .foot__support{display:none;}
  .foot__links a:active{transform:scale(.97);}
}
@media(max-width:380px){.foot__links a{font-size:.7rem;letter-spacing:.04em;}}

/* Hero v4 (Nov 5): title block sits lower, clear of the nav; the hook rests in the dark band just above the lit temple */
.door__center{top:max(100px,15%);}
.door__center .door__assoc{text-wrap:balance;}
.door__lead{position:absolute;left:0;right:0;bottom:48%;z-index:2;margin:0 auto;text-align:center;
  max-width:min(34rem,calc(100% - 2.8rem));
  text-shadow:0 1px 14px rgba(0,0,0,.95),0 0 30px rgba(0,0,0,.7);
  opacity:0;animation:fade 1200ms ease 1300ms forwards;}
@media(min-width:900px){.door__lead{max-width:44rem;}}
@media(prefers-reduced-motion:reduce){.door__lead{animation:none;opacity:1;}}

/* Hero v5 (Nov 5): credit + association line drop into the dark treeline and read more clearly; the hook rests just above the golden dome */
.door__center .door__credit{margin-top:clamp(2.2rem,10svh,8rem);color:var(--ivory);font-size:clamp(.74rem,1.7vw,.95rem);
  text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 14px rgba(0,0,0,.9);}
.door__center .door__assoc{color:rgba(244,236,216,.92);text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.9);}
.door__lead{bottom:45.5%;}
@media(max-width:380px){
  .door__center .door__credit{margin-top:clamp(1.2rem,7.5svh,8rem);}
  .door__lead{font-size:.98rem;}
}

/* Hero v6 (Nov 5): byline anchored in the black treeline; title untouched; hook rests just above the golden dome */
.door__byline{position:absolute;left:0;right:0;top:36.5%;z-index:2;text-align:center;}
.door__byline .door__credit{position:static;right:auto;bottom:auto;text-align:center;margin:0 auto;max-width:none;
  color:var(--ivory);font-size:clamp(.74rem,1.7vw,.95rem);text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 14px rgba(0,0,0,.9);}
.door__byline .door__assoc{margin:.55rem auto 0;max-width:none;text-align:center;font-family:'Cinzel',serif;
  font-size:clamp(.6rem,1.5vw,.78rem);letter-spacing:.12em;color:rgba(244,236,216,.92);text-wrap:balance;
  text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 12px rgba(0,0,0,.9);opacity:0;animation:fade 1500ms ease 1100ms forwards;}
@media(prefers-reduced-motion:reduce){.door__byline .door__assoc{animation:none;opacity:1;}}
.door__lead{bottom:44.8%;}
@media(max-width:380px){
  .door__byline{top:34.5%;}
  .door__lead{font-size:.94rem;line-height:1.42;bottom:44.5%;}
}

/* Hero v7 (Nov 18): credit + association line move up onto the dark treeline (Michael's marked box) and sit closer together.
   Vertical center follows the hero photo's treeline (35.1% of the picture height) so it holds on phone, tablet and desktop. */
.door__byline{--hh:max(100svh,520px);top:max(min(calc(var(--hh) * .351),calc(var(--hh) * .5 - 11.2vw)),calc(max(100px,15%) + clamp(1.3rem,6.2vw,4.4rem) + 54px));transform:translateY(-50%);}
.door__byline .door__assoc{margin-top:.2rem;}

/* Hero v8 (Nov 18): tighter line spacing everywhere, and a flow layout for short landscape screens (phones turned sideways,
   short browser windows) so the title, credit, statement and buttons stack instead of overlapping. */
.door__lead{line-height:1.34;}
.lead{line-height:1.4;}
.give__goal{line-height:1.4;}
.synopsis{line-height:1.6;}
.dnote p{line-height:1.55;}
.quote p{line-height:1.5;}
.fineprint{line-height:1.48;}
.read__body p{line-height:1.6;}
@media (orientation:landscape) and (max-height:600px){
  .door{height:auto;min-height:max(100svh,340px);display:flex;flex-direction:column;align-items:center;
    padding:calc(68px + .9rem) clamp(1.2rem,5vw,3rem) calc(1.1rem + env(safe-area-inset-bottom,0px));}
  .door__center,.door__byline,.door__lead,.door__lower{position:relative;top:auto;left:auto;right:auto;bottom:auto;transform:none;width:100%;}
  .door__title span{font-size:clamp(1.3rem,min(6.2vw,12.5svh),4.4rem);}
  .door__byline{margin-top:.55rem;}
  .door__lead{margin:.85rem auto 0;max-width:44rem;font-size:clamp(.92rem,.84rem + .6vw,1.2rem);}
  .door__lower{margin-top:1rem;padding:0;}
  .door__btns .btn{padding:.72rem 1.3rem;}
}
@media (max-width:340px){.door__lead{font-size:.9rem;line-height:1.3;}}

/* Hero v9 (Nov 18): the hero buttons hug their text (same words, same type size, smaller boxes). */
.door__btns{gap:.6rem;}
.door__btns .btn{padding:.65rem 1.05rem;flex:0 0 auto;white-space:nowrap;text-align:center;line-height:1.4;}
.door__btns .btn:not(.btn--ghost){border:1px solid transparent;}

/* Hero v10 (Nov 18): on sideways phones / short windows the hero buttons shrink so they don't dominate the screen. */
@media (orientation:landscape) and (max-height:600px){
  .door__btns{gap:.5rem;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
  .door__btns .btn{font-size:.64rem;letter-spacing:.12em;padding:.42rem .85rem;line-height:1.35;}
  .door__lower{margin-top:.8rem;}
}

/* Voices + director's note v11: tightest line spacing, italic quotes */
.quote p{font-style:italic;line-height:1.12;}
.dnote p{line-height:1.12;}
