/* ==========================================================================
   INITY — shared across every coded page template.
   Additions to inity-base.css. No tokens are redefined here.
   ========================================================================== */

/* ---------------------------------------------------------- skip to content */
.skip{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:100;
  background:var(--ink);
  color:var(--ivory);
  font-size:.74rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:12px 20px;
}
.skip:focus{left:12px;top:12px}

/* `main` is a plain wrapper — it must not introduce a box of its own. */
main#main{display:block}

/* -------------------------------------------------- WordPress admin bar */
/* So a logged-in editor previewing a draft doesn't get the nav tucked under it.
   The base sheet sets `inset: 0 0 auto 0` on .nav; `top` here overrides that. */
body.admin-bar .nav{top:32px}
@media screen and (max-width:782px){
  body.admin-bar .nav{top:46px}
}

/* ------------------------------------------------------------ video facade */
/* A click-to-load poster. No YouTube script, no cookie, nothing third-party
   until someone actually asks for the video. Shared because the homepage and
   the channel page both use it. */
.vfac{
  display:block;
  width:100%;
  text-align:left;
  padding:0;
  color:inherit;
  cursor:pointer;
}

.vfac__fig{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--ink);
}
.vfac__fig img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform 1.1s cubic-bezier(.2,.7,.3,1);
}
.vfac:hover .vfac__fig img{transform:scale(1.045)}

.vfac__veil{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(15,19,21,0) 42%,rgba(15,19,21,.42) 100%);
  transition:background .4s ease;
}
.vfac:hover .vfac__veil{background:linear-gradient(to bottom,rgba(15,19,21,.06) 30%,rgba(15,19,21,.52) 100%)}

.vfac__play{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:clamp(52px,5vw,68px);
  height:clamp(52px,5vw,68px);
  display:grid;place-items:center;
  border:1px solid rgba(225,214,197,.55);
  border-radius:50%;
  color:var(--ivory);
  background:rgba(15,19,21,.24);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  transition:background .35s,color .35s,border-color .35s,transform .45s cubic-bezier(.2,.7,.3,1);
}
.vfac__play svg{width:38%;height:38%;margin-left:6%}
.vfac:hover .vfac__play{
  background:var(--sand);
  border-color:var(--sand);
  color:var(--ink);
  transform:translate(-50%,-50%) scale(1.07);
}
.vfac:focus-visible .vfac__play{background:var(--sand);border-color:var(--sand);color:var(--ink)}

.vfac__body{display:block;padding-top:18px}
.vfac__body .cap{display:block;margin-bottom:10px}
.vfac__t{display:block;transition:color .3s}
.vfac:hover .vfac__t{color:var(--blue)}
.vfac__m{
  display:block;margin-top:10px;
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--mute);
}

.vfac__fig iframe{
  position:absolute;inset:0;
  width:100%;height:100%;
  border:0;
}

/* ------------------------------------------------------------ cta buttons */
/* One button is the strongest close; two need to sit as a pair rather than
   stack. Shared because the homepage CTA and the channel CTA both use it. */
.cta__pair{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  margin-top:clamp(8px,1.4vw,18px);
}
.cta__handle{
  margin-top:clamp(14px,2vw,22px);
  font-size:.7rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:#4A525A;
}

/* ------------------------------------------------------------ plain prose */
/* For a page on an INITY template whose body has not been built yet. */
.inity-prose p{font-size:.97rem;line-height:1.78;color:var(--mute)}
.inity-prose p + p{margin-top:1.2em}
.inity-prose a{color:var(--blue)}
